以前装过10g的,没有做笔记,昨天使用duplicate方法装了个11g ADG,过程艰辛,记录下:
一、环境配置
主库
IP地址:192.168.233.128/24
操作系统版本:rhel5.8 64bit
数据库版本:11.2.0.1 64bit
数据库sid名:orcl
数据库名:orcl
数据库db_unique_name:orcl1
主机名:pr...
分类:
数据库 时间:
2014-11-11 10:52:44
阅读次数:
297
无向图的联通分量环啊,桥啊,生成树的边啊,联通分量啊,就是一个东西Unique Pathhttps://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=405...
分类:
移动开发 时间:
2014-11-10 23:10:28
阅读次数:
311
实例讲解在Oracle中如何使用CHECK约束(创建、启用、禁用和删除)...
分类:
数据库 时间:
2014-11-10 21:54:13
阅读次数:
286
Oracle中主键和唯一约束的区别,如何创建、删除、启用和禁用唯一约束...
分类:
数据库 时间:
2014-11-10 20:00:04
阅读次数:
276
1 在服务器端使用sqllite编写数据库
常见命令是:sqlite3 tank.db
进入之后创建表:
create table tscore (
id integer primary key autoincrement,
username varchar(32) unique not null,
totalscore integer not null, ...
分类:
Web程序 时间:
2014-11-09 22:16:40
阅读次数:
388
Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of ...
分类:
其他好文 时间:
2014-11-09 16:28:27
阅读次数:
203
索引:是针对数据所建立的目录.
作用: 可以加快查询速度
负面影响: 降低了增删改的速度.
索引的创建原则:
1:不要过度索引
2:在where条件最频繁的列上加.在重复度高的列上不加,比如性别男女;
3:尽量索引散列值,过于集中的值加索引意义不大.
索引的类型
普通索引: index 仅仅是加快查询速度.
唯一索引: unique index 行上的值不能重复
主键...
分类:
数据库 时间:
2014-11-09 12:41:53
阅读次数:
212
[Description] Given a string, find the largest unique substring.e.g. str[] = "asdfghjkkjhgf"; sub[] = "asd";[Thought] create an auxiliary space 'r...
分类:
其他好文 时间:
2014-11-09 11:13:04
阅读次数:
142
http://hi.baidu.com/wylinux/item/cbc458c2984381300831c651查看索引命令mysql> show index from tblname;mysql> show keys from tblname;· Table表的名称。· Non_unique如果...
分类:
数据库 时间:
2014-11-09 09:46:44
阅读次数:
256
在上两篇博客中我们分别阐述了分片集群的工作原理以及搭建过程。在本篇博客中我们主要一起分析分片集群的测试结果;
首先看分片集群的各个状态,可以看的出复制集A和B都是正常的:
一、开启分片集合
开启一个数据库上的分片,这是对任何集合进行分片的先决条件。 假设测试数据库为slidetest.
分片集合定义注意:它看起来和索引定义有几分相似之处,尤其是有那个unique键。在对...
分类:
数据库 时间:
2014-11-08 20:54:21
阅读次数:
285