RE: Humongous transaction log file - Repost! - URGENT!
From: Andras Jakus (andras.jakus_at_vodafone.com)
Date: 03/30/04
- Next message: Andras Jakus: "RE: linked server from SQL2000/WIN2003 to SQL2000/WIN2000"
- Previous message: Ray Mond: "Re: Humongous transaction log file - Repost! - URGENT!"
- In reply to: Bill Nguyen: "Humongous transaction log file - Repost! - URGENT!"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 29 Mar 2004 20:06:07 -0800
HI
Have you backup from .mdf file?
When no, drop the failed database, create more free space temporary on log disk (eg: detach another databases, move temporary the log files to another location or backup logs and truncate), restore from backup, detach database, delete the .ldf file and use sp_attach_single_file_db
When yes, drop the database, copy the mdf file to original location and use sp_attach_single_file_db
When the database restored, verfy the recovery modell, I think, You use "Full".
Perform the log backup periodically on maintenance plan. (Only log backup clear out the log.)
For more information use the Books Online.
JBandi
----- Bill Nguyen wrote: -----
This was posted last week with inaccurate information:
SQLserver 2000 on Win2K server
Database (mdf) file size: 213MB
Log (LDF) file size: 160GB! Yes, 160 GIGABITES!
I had to stop sql services, delete the log file in order to free the
diskspace for other databases to run.
Now when I tried to restore the database from a Database maintenance Plan
backup, it would put the LOG file right back (160GB) and keep running, I
don't know for how long before the restore process can finish!
When I cancelled the restore, the database also gone! I found the MDF file
in the folder and tried to attach it to the server but it won't let me. I
even created an empty LDF file to fool the system but it didn't work, of
course (silly me!)
Any suggestion is greatly appreciated!
Bill
- Next message: Andras Jakus: "RE: linked server from SQL2000/WIN2003 to SQL2000/WIN2000"
- Previous message: Ray Mond: "Re: Humongous transaction log file - Repost! - URGENT!"
- In reply to: Bill Nguyen: "Humongous transaction log file - Repost! - URGENT!"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|