dbTalk Databases Forums  

Transaction Log error

microsoft.public.sqlserver.server microsoft.public.sqlserver.server


Discuss Transaction Log error in the microsoft.public.sqlserver.server forum.



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

Default Transaction Log error - 10-16-2003 , 11:49 PM






I've been getting the following error message:
"Server: Msg 9002, Level 17, State 2, Line 1
The log file for database 'msdb' is full. Back up the
transaction log for the database to free up some log
space."
eventhough i've backed up the log file & shrunk the
database with
"backup log msdb with no_log
dbcc shrinkdatabase (msdb)".

The same thing happened to "tempdb" too.
What can I do to resolve the transaction log problem?

How do I change the default location of the mentioned
databases to a bigger hardisk?

Thanks a million!!






Reply With Quote
  #2  
Old   
Tibor Karaszi
 
Posts: n/a

Default Re: Transaction Log error - 10-17-2003 , 01:28 AM






To move the log, read KB article 224071. In general, you detach and attach, but it is different for
tempdb.

Why do you shrink the database. Doing regular log backups will empty the log. No need to shrink the
file as well...

--
Tibor Karaszi, SQL Server MVP
Archive at: http://groups.google.com/groups?oi=djq&as ugroup=microsoft.public.sqlserver


"Wendy W" <wendy_wrp (AT) wrpworld (DOT) com> wrote

Quote:
I've been getting the following error message:
"Server: Msg 9002, Level 17, State 2, Line 1
The log file for database 'msdb' is full. Back up the
transaction log for the database to free up some log
space."
eventhough i've backed up the log file & shrunk the
database with
"backup log msdb with no_log
dbcc shrinkdatabase (msdb)".

The same thing happened to "tempdb" too.
What can I do to resolve the transaction log problem?

How do I change the default location of the mentioned
databases to a bigger hardisk?

Thanks a million!!








Reply With Quote
  #3  
Old   
Ray Higdon
 
Posts: n/a

Default Re: Transaction Log error - 10-17-2003 , 01:42 AM



Sometimes it helps to increase the growth increment of those databases as
well (especially Tempdb)

HTH

--
Ray Higdon MCSE, MCDBA, CCNA
---
"Wendy W" <wendy_wrp (AT) wrpworld (DOT) com> wrote

Quote:
I've been getting the following error message:
"Server: Msg 9002, Level 17, State 2, Line 1
The log file for database 'msdb' is full. Back up the
transaction log for the database to free up some log
space."
eventhough i've backed up the log file & shrunk the
database with
"backup log msdb with no_log
dbcc shrinkdatabase (msdb)".

The same thing happened to "tempdb" too.
What can I do to resolve the transaction log problem?

How do I change the default location of the mentioned
databases to a bigger hardisk?

Thanks a million!!








Reply With Quote
  #4  
Old   
John Bandettini
 
Posts: n/a

Default Re: Transaction Log error - 10-17-2003 , 03:30 AM



Wendy

I agree with Tibor.

I am a little puzzled what the thinking is that after
getting a message telling you a database is full, one of
your actions is to try to shrink the database?????????

Regards

John

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 - 2013, Jelsoft Enterprises Ltd.