今天在公司修改一个表的freelist的时候,报错:
ORA-10620: Operation not allowed on this segment 。
最后检查发现原来是表空间的问题,表空间的段管理方式是AUTO的 ,所以没法修改freelist,而且我做测试,在AUTO方式管理的表空间上,创建新表时,指定的freeslist也不会生效。
SQL> create table t (x number(2)) storage (FREELISTS 2);
Table created.
SQL> select table_name,freelists from user_tables where table_name='T';
TABLE_NAME FREELISTS
------------------------------ ----------
T
SQL>
freelist为空,没有值。
原因:
ORA-10620: Operation not allowed on this segment
Cause: Cannot alter freelist storage parameter for segments in tablespaces with AUTO SEGMENT SPACE MANAGEMENT
Action: Recheck the segment name and re-issue the statement
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/751371/viewspace-617410/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/751371/viewspace-617410/