SQL Server - Limiting Log Growth during DTS Package
Asked By davisutt
26-Jul-07 02:51 PM
SQL Server 2000 SP4. I built a large DTS package that grabs a number
of tables from an Oracle DB, does some scrubbing, updates, and date
verification
and loads to a SQL Server DB. Most of the tables are full refresh
and
a few are incremental.
Main DW: DwSQL
Staging Area: DwLoadAreaSQL
The DW is about 60 Gigs. The Staging Area is about 80 Gigs. This is
all good.
However, the log file for the staging area is 50 Gigs and I'm trying
to find ways to not require such a large log file. I tried adding a
few "BACKUP LOG DwLoadAreaSQL WITH TRUNCATE_ONLY" statements in the
DTS package but figured out that because it's 1 DTS package it's all
1
transaction. I've thought about breaking it up into multiple DTS
packages and truncating the log between running them but was hoping
to
avoid this. To be clear, I know how to shrink DB's and Log
Files...that's not the issue.
Any Ideas? Thanks.
SQL Server 2000
(1)
DwLoadAreaSQL
(1)
Oracle
(1)
Date
(1)
DwSQL
(1)
Database
(1)
Gigs
(1)
Grabs
(1)
dan.rei replied...
Change the database model to SIMPLE so that you don't bother with log
files. You can always re-grab the ORACLE data and re-run your process
if you experience any sort of problem for which keeping the
TRANSACTION LOG might have been helpful.
(I have a process that uses SQL Server for lots of computations. The
process routinely inserts and updates millions of rows in a matter of
minutes. While debugging the process I may run it dozens of times in
a day. But I never have a need to log the various INSERT and UPDATE
transactions, since if there is ever a problem, I can merely re-run
the process to generate all the necessary output tables from the
input.)
Will that work for you?
MSDE on Windows 2003 R2 box, new DL385G6 - Install Fails during SQL Services SQL Server I have been finding that I am having trouble with the Crystal Reports Server XI installation failing when it is dealing with SQL. So, as a thought and in case there was something wrong with my SQL portion of the isntall. I thought ok, I will try installing the actual MSDE application direct from Microsoft. So, I downloaded the MSDE for SQL 2000 (which is msde2000a.exe), set my switches and off to the races. It quit when
Why_can’t_recursive_queries_contain. . .? SQL Server hi I hope I didn = 92t put too many questions 1) Why can = 92t recursive queries also be unioned together with UNION operator ( instead they must use UNION ALL )? thanx SQL Server Programming Discussions SQL Server 2008 (1) SQL Server 2005 (1) SQL Server 2000 (1) SQL Server (1) Oracle (1) Ruby (1) MichaelcoAToptonlineDOTnet (1
KB948110 / MS08-040, SQL 2000 & sa authentication SQL Server Hi everyone, I'm having an issue installing KB948110 / MS08-04 security patch for SQL Server 2000 Standard. I'm getting the message: 1 or more SQL Server instances could not verify your account information when I provide sql authentication details when
SQL Express: Failed Reinstall SQL Server Dear Setup Experts: I am trying to reinstall SQL Express after playing with it some. I uninstalled it, and now, it refuses to reinstall in the face. Any ideas what this log file means and how I can get SQL Express installed? I really do not want to have to reinstall my whole system. * ** ** Start of Log File Overall summary: Final result: SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup. Exit code (Decimal): -2068643839 Exit facility code: 1203
Access 2007-> SQL Server2005 "connection was forcibly closed", GNE 1 SQL Server SQL, Server2005, "connection, was, forcibly, closed", GNE, 1" / > Hi, with an Access 2007 application, I have a very big problem connecting an SQL Server 2005. The scenario: - nearly 200 clients with Windows XP Professional (in an Active Directory Domain clients uses WAN, LAN and WLAN, different locations - one SQL Server 2005 EE, uses actually 36 databases, the Access 2007 application uses 2 of them (one