?
Solved

Transaction log virtual log files

Posted on 2002-03-06
2
Medium Priority
?
1,172 Views
Last Modified: 2012-06-27
Is there a way to find information about the virtual log files/pages created in the transaction log file?

the problem i've got is my transaction log file is 7.2Gb in size but it is only using 37% of it.

when i try to truncate it it tells me all the pages are in use.

I'd like to find out the size of all the pages, because i'm guessing it is just 1 big 7.2Gb page because i did get it to shrink from 7.5Gb on Monday.

Don't tell me how to truncate the transaction log, because i know how to do that, i just want to know if i can get info on the virtual pages.

Matt.
0
Comment
Question by:UncleMatt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
simonsabin earned 400 total points
ID: 6844228
What you are after is

dbcc loginfo

This shows you the virtual files. (undocumented)

0
 
LVL 2

Author Comment

by:UncleMatt
ID: 6844322
nice one cheers, it doesn't explain my predicament, but answers the question perfectly.

Typical Microsoft not to document stuff like this.

Matt.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how the fundamental information of how to create a table.
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question