Solved

Transaction log virtual log files

Posted on 2002-03-06
2
1,120 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
2 Comments
 
LVL 7

Accepted Solution

by:
simonsabin earned 100 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

708 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now