dbTalk Databases Forums  

shrink dts step log

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


Discuss shrink dts step log in the microsoft.public.sqlserver.dts forum.



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

Default shrink dts step log - 07-27-2005 , 02:21 AM






Hey eb
My dts step log is growing to much.
I want to add a step to this dts which will
shrink it by deleting records from table msdb.sysdtssteplog
(keeping records that are no more than 1 week old).
Is this possible??
Are there any other ways to keep this log economical
while it is being used ?
TIA
Rea

Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: shrink dts step log - 07-27-2005 , 02:05 PM






In message <69DF5032-4DE9-49B6-A551-16246450CF82 (AT) microsoft (DOT) com>, Rea
<Rea (AT) discussions (DOT) microsoft.com> writes
Quote:
Hey eb
My dts step log is growing to much.
I want to add a step to this dts which will
shrink it by deleting records from table msdb.sysdtssteplog
(keeping records that are no more than 1 week old).
Is this possible??
Are there any other ways to keep this log economical
while it is being used ?
TIA
Rea
Purging the logs through T-SQL is fine. I do. There are three tables,
steps, tasks and packages.

I don't have any scripts handy, but I could dig some out.

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



Reply With Quote
  #3  
Old   
Rea
 
Posts: n/a

Default Re: shrink dts step log - 07-28-2005 , 02:22 AM



thanks will follow your advice!

"Darren Green" wrote:

Quote:
In message <69DF5032-4DE9-49B6-A551-16246450CF82 (AT) microsoft (DOT) com>, Rea
Rea (AT) discussions (DOT) microsoft.com> writes
Hey eb
My dts step log is growing to much.
I want to add a step to this dts which will
shrink it by deleting records from table msdb.sysdtssteplog
(keeping records that are no more than 1 week old).
Is this possible??
Are there any other ways to keep this log economical
while it is being used ?
TIA
Rea

Purging the logs through T-SQL is fine. I do. There are three tables,
steps, tasks and packages.

I don't have any scripts handy, but I could dig some out.

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



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.