Re: controlling log size

From: Jason (jafinck_at_pplweb.com)
Date: 09/16/03


Date: Tue, 16 Sep 2003 10:17:48 -0700


Thanks Sue

>-----Original Message-----
>You don't want to set something up to delete your
>transaction logs but probably want to come up with a solid
>backup plan that keeps the transaction log at a manageable
>size and allows for a recovery plan that meets the
business
>needs.
>When you backup a transaction log, you mark parts of the
>log as inactive which means you can write data to those
>parts of the log. The inactive part of the log can be
reused
>for writing new transactions. Backing up a transaction log
>doesn't change the size, it just means you have those
>inactive parts of the log to use for recording
transactions
>and then the log won't continue to grow as parts of it
will
>be able to be reused.
>If you need to reduce the physical size of the log, you
can
>do this using dbcc shrinkfile. But you really want to
focus
>on the backups and not let the log go, the shrink it, let
it
>go then shrink it, etc as it's not a good use of your
server
>resources to keep doing the file shrinking. Managing the
>size through appropriate backusp would be better.
>Also, if you don't use the transaction logs as part of
your
>recovery plan, you could look at the simple recovery
model.
>For more information refer to books online - there are
>several topics on transaction logs and recovery models
which
>can do a better job of explaining this in more detail.
>
>-Sue
>
>
>On Mon, 15 Sep 2003 11:23:29 -0700, "Jason"
><jafinck@pplweb.com> wrote:
>
>>Hi,
>>
>>I have a question on controlling log size. I see that
by
>>default the log will fill up the whole disk.
>>
>>How can I make it use say 1 gig of space and then after
it
>>hits 1 gig delete the old data as it needs room for now
>>log data?
>>
>>Can this be done in MSDE too?
>>
>>thanks
>>-Jason
>
>.
>



Relevant Pages

  • Re: MDBDATA folder size
    ... Full online backups normally purges the transaction logs after they are ... the Exchange service was not shut down gracefully and the database files are ... power fail, and so on), and restore after backup. ... Circular logging allows you to remove the logs automatically-This option is ...
    (microsoft.public.exchange.admin)
  • Re: Sharepoint transaction logs
    ... Perhaps you should just backup your transaction logs, ... > the portal_Site transaction log files do not shrink. ... > Has anybody just kept the portal_Site db recovery option to simple? ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Error in Exchange
    ... play in .edb file or with database and how information is saved into .edb ... You really should try to find the hardware issue first as it will most ... On Oct 6 I again take a full backup of exchange and as you know, ... transaction logs are saved in that backup. ...
    (microsoft.public.exchange.admin)
  • SQL 2000 after upgrade to server 2003 from NT4
    ... transaction logs. ... SQL Server Scheduled Job 'Transaction Log Backup Job for DB Maintenance Plan ...
    (microsoft.public.sqlserver.setup)
  • Re: disaster recovery log file question
    ... We recently had an exchange failure here due to faulty drives. ... backup and server is running fine now. ... Transaction logs are not committed during a backup, ...
    (microsoft.public.exchange.admin)

Quantcast