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

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

how can i manage url using .htaccess in php? -

ios - I get the error Property '...' not found on object of type '...' -