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

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -