SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


'Select Into' logs


'Select Into' logs

Author
Message
trowsell
trowsell
Valued Member
Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)

Group: General Forum Members
Points: 54 Visits: 67
Thanks all...
I've just done a count and the actual number of rows transferring will be about 3.5 - 4 million rows a day and about 4Gb.

Why do you expect using SSIS will avoid database log file growing?


I was thinking along the lines of when you do an export (ie right click on the DB, go to tasks, exports) that it doesn't fill the log files, so when transformed to an SSIS package it wouldn't either.... or is that a wrong assumption?

You will be better off with SELECT INTO and minimum logging using Simple or Bulk-logged mode


That was why I thought about doing a select into in the first instance, although I have to say I'm now thinking about the entire process in place where the iis log files get imported into the DB in the first place and that there might be a better way to manage the back ups than having to even transfer the data to a different database to back up.
Any thoughts on how to back up 1 days worth of data on a database daily rather than the whole lot every day?
GilaMonster
GilaMonster
SSC Guru
SSC Guru (224K reputation)SSC Guru (224K reputation)SSC Guru (224K reputation)SSC Guru (224K reputation)SSC Guru (224K reputation)SSC Guru (224K reputation)SSC Guru (224K reputation)SSC Guru (224K reputation)

Group: General Forum Members
Points: 224991 Visits: 46321
trowsell (11/14/2012)
Thanks all...
I've just done a count and the actual number of rows transferring will be about 3.5 - 4 million rows a day and about 4Gb.

Why do you expect using SSIS will avoid database log file growing?


I was thinking along the lines of when you do an export (ie right click on the DB, go to tasks, exports) that it doesn't fill the log files, so when transformed to an SSIS package it wouldn't either.... or is that a wrong assumption?


Exports (reading data) doesn't log. Importing (writing data) does, doesn't matter how it's written, it has to be logged.

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search