arunbhatt
asked on
The transaction log for database ‘xxxx’ is full.
Hi,
How do I fix "The transaction log for database ‘xxxx’ is full" if I get it after deleting huge data?
Thanks.
How do I fix "The transaction log for database ‘xxxx’ is full" if I get it after deleting huge data?
Thanks.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi,
Can transaction log file be shrink using recovery model full?
Thanks.
Can transaction log file be shrink using recovery model full?
Thanks.
ASKER
Hi,
When database is backed up: the log is backed up and log truncated. Is that true?
Thanks.
When database is backed up: the log is backed up and log truncated. Is that true?
Thanks.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can also delete and commit smaller chunks of data. Assuming you have some kind of key that ets you selectively delete chunks:
BEGIN TRAN
DELETE YourTable WHERE Key BETWEEN 1 AND 1000
COMMIT TRAN
BEGIN TRAN
DELETE YourTable WHERE Key BETWEEN 1001 AND 2000
COMMIT TRAN
BEGIN TRAN
DELETE YourTable WHERE Key BETWEEN 1 AND 1000
COMMIT TRAN
BEGIN TRAN
DELETE YourTable WHERE Key BETWEEN 1001 AND 2000
COMMIT TRAN
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
You need more space