Results 1 to 5 of 5
  1. #1
    Join Date
    May 2003
    Location
    Rochester, NY
    Posts
    135

    Question Unanswered: SQL S2000 - how can i see tran log space used?

    With SQL Server release 6.X you could use 'dbcc checktale(syslogs)' to determine how much of the log has been used. I have read that the system tables have gone by the wayside in version 7.X and that this command will not work in 2000 since the tables have been eliminated. I can see the transaction logs current allocation and can set the log to auto increase but can't find a way to check the log for percent used. Is there a way?

  2. #2
    Join Date
    Apr 2003
    Posts
    30
    dbcc loginfo

    Refer to Andrew Zanevsky's classic article "shrinking the transaction log" on web.

  3. #3
    Join Date
    May 2003
    Posts
    23
    Try this:

    DBCC SQLPERF ( LOGSPACE )

  4. #4
    Join Date
    Aug 2002
    Location
    Scotland
    Posts
    1,578
    True, you can use DBCC SQLPERF(LOGSPACE) in all versions.
    Also use SP_HELPFILE to determine information.
    --Satya SKJ
    Microsoft SQL Server MVP
    [IMG]http://sqlserver-qa.net/google_bart.gif[/IMG]

  5. #5
    Join Date
    May 2003
    Location
    Rochester, NY
    Posts
    135
    Originally posted by ts555
    Try this:

    DBCC SQLPERF ( LOGSPACE )
    Thx, this is what we were looking for!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •