SQL 7.0 Transaction Logs Won't Shrink!! HELP

  • I have seen quite a few people post this type of problem, but I am finding few solutions. Your advice and/or experiences are greatly appreciated.

    Here's my scenario:

    Environment: Windows NT 4.0 SP 6, SQL 7.0 (set up for Transactional Replication)

    Problem: We have several remote dB machines configured for full recovery. On these machines are several dB's that are capturing aprox. 280 data points per second per unit. (Each dB represents one unit, and we have 21 units) No problem here. The problem is the transaction logs, that obviously grow profusely, will not SHRINK after, backups, dbcc commands and TSQL has been issued in failed attempts to shrink the logs. (in other words we've tried everything)

    My questions are:

    1. Because we are replicating, is it absolutely necessary to configure dB's for FULL recovery? How do I check in 7.0 if the dB is certainly in FULL vs. SIMPLE recovery mode?

    2. I work with SQL 2000 and shrinking files is no problem. How can we shrink these log files in SQL 7.0?

    It is rather urgent I find a solution as we are running out of hard drive space on our remote machines. Please help 🙁

    Christine


    Aurora

  • If you have trunc. log on checkpoint option set for the DB in 7 it is similar to SIMPLE in 2000, if not then is similar to FULL. There is no option for BULK INSERT type recovery and no option you can check to see the recovery setting.

    As for shirnking the log, this is a know issue and is related to the VIrtual Logs. Check out the following link for an SP to help accomplish this. http://www.sqlservercentral.com/scripts/scriptdetails.asp?scriptid=26&CategoryNm=Maintenance and Management &CategoryID=1

    "Don't roll your eyes at me. I will tape them in place." (Teacher on Boston Public)

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply