摘要: Oracle 11g 允许将索引标记为invisible. oracle像维护其他索引一样维护invisible index,但是默认invisible index不能被优化器使用,除非显式设置 OPTIMIZER_USE_INVISIBLE_INDEXES=TRUE(可以alter system/session).可以在创建索引的时候指定 INVISIBLE关键字或 ALTER INDEX命令来invisible一个索引。CREATE INDEX idx_name on table_name(column_name) INVISIBLE;ALTER INDEX idx_name INVISI 阅读全文
posted @ 2013-04-11 11:25 码尔代夫iimax 阅读(960) 评论(0) 推荐(0) 编辑
摘要: Merging Partitions使用ALTER TABLE .. MERGE PARTITION语句将两个分区的内容合并到另外一个分区,两个源分区和关联的local index都会被drop 不能用于 hash分区表或hash subpartitions of a composite *-hash partitioned table 不能用于合并引用分区表(reference-partitioned table)合并范围分区 允许合并两个临近范围的分区到另外分区,不相邻分区无法合并。合并结果分区继承两个源分区的最大边界。demo:-- Create a Table with four... 阅读全文
posted @ 2013-04-11 11:05 码尔代夫iimax 阅读(4641) 评论(2) 推荐(0) 编辑