473,379 Members | 1,245 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Transaction Log Too large

Recently , I find that there is timeout occur when runing 'select .
statement'
Some said the Transaction Log too large will make SQL become slowly

Now, the transaction log is 14407M , is it too large ? Can I delete it ? (Do
I need to do backup first ?)

Apr 20 '07 #1
2 1086
On Apr 20, 11:14 am, "Agnes" <a...@dynamictech.com.hkwrote:
Recently , I find that there is timeout occur when runing 'select .
statement'
Some said the Transaction Log too large will make SQL become slowly

Now, the transaction log is 14407M , is it too large ? Can I delete it ? (Do
I need to do backup first ?)
You would have better luck posting this question in a SQL group. But I
am familiar with SQL and I know that you cannot delete the transaction
log but there are various methods from shrinking it.

Apr 20 '07 #2
HI Agnes
You need to schedule regular transaction log backups which will
automatically truncate the log and archive the old one to a directory of
your choice. This should be coupled with a database backup at regular
intervals so that you dont have a long restore process if something goes
wrong. Create a database maintenance plan and configure it.
Check out microsoft articles on creating a database maintenance plan.
Regards
Parag

<za***@construction-imaging.comwrote in message
news:11**********************@o5g2000hsb.googlegro ups.com...
On Apr 20, 11:14 am, "Agnes" <a...@dynamictech.com.hkwrote:
>Recently , I find that there is timeout occur when runing 'select .
statement'
Some said the Transaction Log too large will make SQL become slowly

Now, the transaction log is 14407M , is it too large ? Can I delete it ?
(Do
I need to do backup first ?)

You would have better luck posting this question in a SQL group. But I
am familiar with SQL and I know that you cannot delete the transaction
log but there are various methods from shrinking it.

Apr 20 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: enigma | last post by:
Just wondering if you could help me on this one. I'm not sure if my transaction logs are behaving oddly or what. I've successfuly managed to shrink my transaction logs from 7GB down to 1MB and now...
1
by: Krzysztof Rozmus | last post by:
Hi, I have stored procedure (MS SQL Server 2000) which operates on around 600 000 rows (SELECT, UPDATE, INSERT) and executes in 5 minutes, when I put it in SQL transaction it slows down to...
8
by: Alex | last post by:
Hi, I have a test system that is setup the same as a production system and would like to frequently copy the database over. pg_dump takes a few hours and even sometimes hangs. Are there any...
6
by: Chris Ochs | last post by:
I want to do a series of inserts within a single transaction block, but with postgresql if one insert fails, the whole block is aborted. Is there any way to get around this behavior so that...
2
by: Iwan Petrow | last post by:
Hi, I have three tables T1,T2,T3 with reletions between them. I want to fill a row as follows: 1. fill T1 2. fill T2 3. fill T3 If any of the operations fail - all fail.
15
by: Zeng | last post by:
Hi, The bigger my C# web-application gets, the more places I need to put in the tedious retrying block of code to make sure operations that can run into database deadlocks are re-run (retried)...
1
by: Hubert Fröhlich | last post by:
Hi list, when doing a large Insert I get in the logfile: 2004-08-03 07:23:46 LOG: recycled transaction log file "000001BA000000BD" 2004-08-03 07:34:00 LOG: recycled transaction log file...
4
by: yashgt | last post by:
Hi, We have created a SQL server 2000 database. We observe that the transaction log keeps growing over time. We are now about to run out of space. We have been periodically shrinking the...
5
by: Kruton | last post by:
Hello everyone, This is more of an architectural question about SQL Server. Can someone please explain why when I perform a query such as the one below that updates a table using begin and end...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.