Solved

Transaction log virtual log files

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

Turn Insights Into Action

You’ve already invested in ITSM tools, chat applications, automation utilities, and more. Fortify these solutions with intelligent communications so you can drive business processes forward.

With xMatters, you'll never miss a beat.

Question has a verified solution.

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

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

695 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