Re: Question: Unusable indexes after tablespace move of table



BD, Oracle mentions the need to rebuild indexes after moving the table
in the manuals, but does not automatically perform the rebuild for you.
Oracle leaves it to the DBA to determine when he or she want to
perform this action, and to determine which method to use to rebuild
the indexes: alter index rebuild, drop/recreate. I suggest that before
using alter table move to rebuild/relocate a table you should check to
see if each index tablespace has enough free space to allow you to
rebuild each index on the table. If addequate free space does not
exist you will have to use drop/recreate.

In either case you might also want to verify that no index over time
has grown larger than your currently allocated temp tablespace can
handle. If you are just using UFS files and have plenty of disk space
this is probably not a problem. But if you use raw partitions or other
file setups where the file space cannot be allocated on the fly then
some advance work may be necessary.

HTH -- Mark D Powell --

.



Relevant Pages

  • Re: Slow performance on count(*)?
    ... The simple fact is that delete never deallocates the free space. ... Only truncate or rebuild does it. ... so it's not a simple matter of partitioning ... If you have performance problems, ...
    (comp.databases.oracle.server)
  • Re: Slow performance on count(*)?
    ... The simple fact is that delete never deallocates the free space. ... Only truncate or rebuild does it. ... unusual for any app we write to do unconstrained queries against very ...
    (comp.databases.oracle.server)
  • Re: My Entourage will not even start up!!
    ... So I did a "Advanced Rebuild" this seemed to work for a bit. ... Entourage so I would have ... open the Microsoft User Data folder in your Documents folder. ... To check how much free space is available on your startup disk: ...
    (microsoft.public.mac.office.entourage)
  • Re: Shrinking Datafile
    ... To answer the question about the space needed for a given index rebuild it is approx 1.2 times the size of the individual index. ... But if you don't have lots of free space the rebuilt index will almost never be rebuilt contiguously as the free space will invariably be small pockets here and there in the file. ... First off you will need space to add them so you will be in a catch 22 type scenario in which you need to move an index, shrink the file, grow the other file etc. ... It will also almost assuredly mean you will have windows level file level fragmentation on top of the SQL Server logical fragmentation. ...
    (microsoft.public.sqlserver.server)
  • Re: v.X cant rebuild database: not enough space?!?
    ... > error that the database could not be accessed, ... The typical rebuild would not run, ... Entourage does need up to 3 time the size of the database in free space *on ... bug where vX only checks free space on the startup disk. ...
    (microsoft.public.mac.office.entourage)