dbTalk Databases Forums  

Re: log and SP

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Re: log and SP in the microsoft.public.sqlserver.olap forum.



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

Default Re: log and SP - 08-12-2003 , 12:17 PM






You could back it up before the SP, then truncate it afterwards, unless
space is an issue I don't know that I would shrink it as it will grow every
night.

HTH

--
Ray Higdon MCSE, MCDBA, CCNA
---
"hutch" <hutch (AT) nospam (DOT) com> wrote

Quote:
I have a wicked SP, by wicked I mean several temp tables,
lots of inserts, updates and deletes. I don't have time
to rewrite this SP right now so I need to fix a problem it
is causing. The problem is when it's run it blows the log
from 25 mb to 270 mb.
What would the best way to keep it from logging all the
changes?
I'm thinking about changing the db recovery from full to
simple then back again.
Or
Should I backup the log and shrink it after it runs?

The SP is only run once at night.

Anyone have any other ideas?

Thanks

-Hutch




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.