drop table 后 索引真的删除了?
create table tmp_a (a int);
插入100000记录
create index tmp_index_tmp_a on tmp_a(a);
drop table tmp_a;
发现在dba_objects 多出一个名字怪异(BIN$NYel3zMuS5WDAGRwv3dFfQ==$0)的索引,并且索引空间并没有释放。
我用的是10.2.
重启,改object依然存在,不知道oracle怎么处理的。
查了下手册,说是应该自动删除的
请大家给解释下^_^
All table indexes and domain indexes are dropped, as well as any triggers defined on the table, regardless of who created them or whose schema contains them. If table is partitioned, then any corresponding local index partitions are also dropped.
|