sql server - How to avoid bloating transactionlogs while creating an index? -
does know avoid bloating transactionlogs while creating index?
my problem: have script creates lot of indexes. while running script, transactionlog doesn't stop growing. there way, how reduce logging while creating index?
regards
if recovery model of database full, can temporary switch database bulk-logged recovery model
if database set simple or bulk-logged recovery model, index ddl operations (including create index) minimally logged whether operation executed offline or online.
here list of such operations can minimally logged: http://msdn.microsoft.com/en-us/library/ms191244(v=sql.105).aspx
Comments
Post a Comment