dbTalk Databases Forums  

Transaction log

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Transaction log in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
michael v
 
Posts: n/a

Default Transaction log - 01-22-2006 , 02:21 PM






when doing my wash of data I have no use of the transaction log. I take a
backup before start of washing and alway wash all data.

So what I would prefer was to disable the transaction logging. I already
chose Simple as option of the database but that doesn't prevent the file
from growing.

It makes it easier to shrink the physical file, though...

So my question is whether it is possible to change a setting more on the
database or use a t-sql command before initiating my queries that will
prevent the transaction log from growing.



Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Transaction log - 01-22-2006 , 05:47 PM






Hello michael,

You cannot completely remove logging. What you can do though is use SIMPLE
as your recovery model as you are doing. This will not stop the transaction
log expanding when doing something like an INSERT or an UPDATE if you choose
to do these operations as one batch. The lazy writer will simply not be
able to write what is in the log to disk for you. What you can do to help
it along though is to do the operations in smaller batches this way the lazy
writer can get in there and flush dirty pages to disk.

Allan


Quote:
when doing my wash of data I have no use of the transaction log. I
take a backup before start of washing and alway wash all data.

So what I would prefer was to disable the transaction logging. I
already chose Simple as option of the database but that doesn't
prevent the file from growing.

It makes it easier to shrink the physical file, though...

So my question is whether it is possible to change a setting more on
the database or use a t-sql command before initiating my queries that
will prevent the transaction log from growing.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.