ωō、苡蒍。

导航

2013年5月8日 #

聚簇索引和非聚簇索引

摘要: --聚簇索引: -- 在Oracle当中,聚簇不是索引的组织形式,而是表的组织形式。 --多用于表之间的连接字段。 --1.先创建一个聚族 CREATE CLUSTER emp_dept_cluster(deptno number(6))SIZE 1024; --2.在聚簇索引上建立索引 CREATE INDEX emp_dept_cluster_index ON CLUSTER emp_dept_cluster; --3.创建表 CREATE TABLE dept1( deptno NUMBER(6) PRIMARY KEY, dname VARCHAR2(50) )CLUSTER emp_ 阅读全文

posted @ 2013-05-08 11:48 前总2012 阅读(208) 评论(0) 推荐(0) 编辑