tags:

views:

90

answers:

1

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
Thanks. Is there any way to supress the statistics (turn off) so that time is saved there too?
KP
You can turn off auto updating of statistics, but it will most likely be detrimental to performance.
Mitch Wheat