sql server - After Large Delete from Table? -


after perform large delete on table steps should take ensure space taken rows reallocated sql server? run statistics on table, etc?

maybe don't need anything, wondering if there follow steps.

thanks,

s

the space automatically go sql server. don't have anything.

now, database size same plus growth of log file due logging transactions. however, internally, sql server knows still has space play with.

beyond you'll want update statistics , rebuild indexes necessary. however, should part of normal nightly maintenance plan.

update:
wanted add 1 more thing. people shrink databases in order reclaim space after big delete. don't unless have no other choice. besides time takes , server overhead, problem if database has grow again sql server has reallocate space. action time consuming sql server. if know size database needs, allocate front , leave alone.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -