I guess there must be auto reindex everytime a delete takes place. If there are too many deletes for many tables resulting in many records deleted, reindexing will also be time consuming. Is there any way where reindexing is avoided in delete and it's done later in a batch mode?
+4
A:
There is no auto-reindex after deletes (on any of the mainstream RDBMS's).
Statistics are updated (provided they are not turned off).
Re-indexing is typically a long operation, carried out during maintenance window.
Mitch Wheat
2010-03-05 06:52:17
Thanks. Is there any way to supress the statistics (turn off) so that time is saved there too?
KP
2010-03-05 08:01:44
You can turn off auto updating of statistics, but it will most likely be detrimental to performance.
Mitch Wheat
2010-03-06 15:46:52