dbTalk Databases Forums  

Turn off log file?

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


Discuss Turn off log file? in the microsoft.public.sqlserver.dts forum.



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

Default Turn off log file? - 11-12-2003 , 10:21 PM






I am new to SQL and DTS. I am trying to import a 3 GB text file and the log file had grow so big that it run out of disk space. My question is; if I don't care about the log file, can I turn it off? How?

Thanks in advance.

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

Default Re: Turn off log file? - 11-12-2003 , 11:51 PM






No

SQL Server requires the transaction log file in order to make sure amongst
other things that things are consistent in the DB.

Things that will help you

1. DB in SIMPLE recovery mode
2. No triggers on table you are inserting into
3. On the last tab of the datapump task you can set DTS to import using
batches

ALSO look at the BULK INSERT TSQL command and the BATCHSIZE parameter

--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"mitcas" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
I am new to SQL and DTS. I am trying to import a 3 GB text file and the
log file had grow so big that it run out of disk space. My question is; if
I don't care about the log file, can I turn it off? How?
Quote:
Thanks in advance.



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.