ITPub博客

首页 > IT职业 > IT生活 > 有意思的move

有意思的move

原创 IT生活 作者:wsf3809 时间:2007-12-21 10:25:22 0 删除 编辑

SQL> create table aa(id varchar2(1000));

Table created

SQL> insert into aa values('a');

1 row inserted

SQL> insert into aa values('a');

1 row inserted

SQL> insert into aa values('a');

1 row inserted

SQL> insert into aa values('b');

1 row inserted

SQL> insert into aa values('b');

1 row inserted

SQL> insert into aa values('c');

1 row inserted

SQL> insert into aa values('d');

1 row inserted

SQL> insert into aa values('e');

1 row inserted

SQL> insert into aa values('f');

1 row inserted

SQL> insert into aa values('g');

1 row inserted

SQL> commit;

Commit complete

SQL> select * from aa;

ID
--------------------------------------------------------------------------------
a
a
a
b
b
c
d
e
f
g

10 rows selected
SQL> create index aa11 on aa(id) tablespace wsf;

Index created

哈哈这个时候我exp出这个数据,导入到新用户中,居然索引指向的表空间还是wsf。 然后继续test

SQL> drop index aa11;

Index dropped
现在在导入另外一个用户中,这个一次索引表空间所使用的就是和表是一个空间了。很非常的奇怪。。。

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/700806/viewspace-995379/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
  • 博文量
    36
  • 访问量
    46481