Solved

Transaction log virtual log files

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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sorting a SQL script 5 37
Create a Calendar table 29 41
HIghlights of SSIS? 3 41
Need split for SQL data 4 31
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
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
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

737 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