1-)Create a table with sys dba privileges.
2-)Create an index on this table.
3-)Add some constraints on table.
4-)Check which tablespace this table and index belongs to.
5-)Move table from one tablespace from one to another
6-)Insert data to table after moving tablespace and investigate reaction of select statement.
1-)
,
2-)
3-) It is also possible to do these constraints while creating table
4-)
Retrieved data;
5-)
6-)The first two insert statements before changing table's tablespace
Retrieved data;
The last insert statement after changing table's tablespace from SYSTEM to XXXT.
Error after changing only table's tablespace;
As seen on scenerio above, If there is an index created on table,it is a must to change that indexes' tablespace too. Index remained at its last block. So need to change it;
Just leave yourself on way and walk,the way will appear.
Hiç yorum yok:
Yorum Gönder