![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
So, one tries to resize a datafile and receives the ORA-03297 error. In our case, we have nearly 2000 tables in the tablespace. Short of moving them all elsewhere, or doing an export / import, is there any way to see WHAT objects may be above the size limit we are trying to shrink to, and move only those objects? I'm not sure how to actually map that out. Just curious. |
#3
| |||
| |||
|
|
So, one tries to resize a datafile and receives the ORA-03297 error. In our case, we have nearly 2000 tables in the tablespace. Short of moving them all elsewhere, or doing an export / import, is there any way to see WHAT objects may be above the size limit we are trying to shrink to, and move only those objects? I'm not sure how to actually map that out. Just curious. |
#4
| |||
| |||
|
|
http://jonathanlewis.wordpress.com/2...ablespace-hwm/ -- Regards Jonathan Lewishttp://jonathanlewis.wordpress.com "ExecMan" <artme... (AT) yahoo (DOT) com> wrote in message news:716c8dfc-c1fd-4cea-a820-a43e0293b7b2 (AT) d17g2000yql (DOT) googlegroups.com... So, one tries to resize a datafile and receives the ORA-03297 error. In our case, we have nearly 2000 tables in the tablespace. Short of moving them all elsewhere, or doing an export / import, is there any way to see WHAT objects may be above the size limit we are trying to shrink to, and move only those objects? *I'm not sure how to actually map that out. Just curious. |
#5
| |||
| |||
|
|
Good article. Very helpful. What does a command like this do? alter table SHOPCART_SESSIONS move; It runs, but what does it do to the table? Rebuild it? |
#6
| |||
| |||
|
|
On Thu, 01 Dec 2011 12:19:40 -0800, ExecMan wrote: So, one tries to resize a datafile and receives the ORA-03297 error. In our case, we have nearly 2000 tables in the tablespace. Short of moving them all elsewhere, or doing an export / import, is there any way to see WHAT objects may be above the size limit we are trying to shrink to, and move only those objects? *I'm not sure how to actually map that out. Just curious. As Jonathan has pointed out, you can find out the requested information from DBA_EXTENTS view. Are you really sure that you want to do that? If that is a used and alive tablespace, the space is likely to be needed again, in which case you will take a performance hit, possibly a big one, too. --http://mgogala.byethost5.com |
#7
| |||
| |||
|
|
Good article. Very helpful. What does a command like this do? alter table SHOPCART_SESSIONS move; It runs, but what does it do to the table? Rebuild it? |
![]() |
| Thread Tools | |
| Display Modes | |
| |