创建:
create cluster emp_dept_cluster
(deptno number(2))
size 1024
/create table emp
( deptno number(2) primary key,
loc varchar2(10)
)
cluster emp_dept_cluster(deptno))
/
这个例子是建表的时候同时建聚簇索引;
我能不能先建表,因为数据库中有些表都建好了,然后在加上聚簇索引呢
create cluster emp_dept_cluster
(deptno number(2))
size 1024
/create table emp
( deptno number(2) primary key,
loc varchar2(10)
)
cluster emp_dept_cluster(deptno))
/
这个例子是建表的时候同时建聚簇索引;
我能不能先建表,因为数据库中有些表都建好了,然后在加上聚簇索引呢
用plsql developer进去改是不行的,只能开始的时候建好
但在Oracle中,還得另外建聚集索引
========================================
这个是复合索引的语法吧?聚集是什么呢?