sql - Does inserting/updating/deleting record auto update indexes? -
does inserting/ updating or deleting record in db auto update indexes?
i've seen rebuild commands indexes , can't understand if have these manually, what's purpose of indexes. inconvenient spend time rebuilding indexes every week or so.
when index fragmentation becomes high, indexes inefficient. there need rebuild index.
let sql server tell indexes rebuild
rebuilding index drops , re-creates index. removes fragmentation, reclaims disk space compacting pages based on existing fill factor setting, , reorders index rows in contiguous pages.
Comments
Post a Comment