Transaction log during index defrag
- From: "AaronS" <gcsdba1@xxxxxxxxx>
- Date: 5 Jul 2006 07:41:03 -0700
Hello everyone,
Index reorgs are an important aspect of keeping your database healthy
and running smoothly. Depending on the indexes being reorged, however,
a reindex or defrag can use significant amounts of log space which is
why I've always done reorgs manually. I have a job that will backup the
transaction log when it gets to a certain percentage used, but it still
needs babysitting during the reorg as I occasionally run into "log is
full errors". I thought about setting the transaction logs to
automatically grow and shrink as needed, but I'm concerned that would
cause further disk fragmentation at the OS level. I could make the
transaction log very large in size, but I'm not sure if that's the way
to go either. I could also lower the threshold on the job to something
like 25% which might help. How do other people handle this? I'm wanting
to get out of the babysitting business!
Thanks,
Aaron
.
- Prev by Date: Re: how to troubleshoot connection problems
- Next by Date: Database corrupt or Database file corrupt
- Previous by thread: Re: how to troubleshoot connection problems
- Next by thread: Database corrupt or Database file corrupt
- Index(es):