how to profile a minute by minute transaction.

there is scheduled minute by minute transactions on a table. is profiler the tool needed to see how this impacts the log of the database?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

25112Author Commented:
this is the substance of the delete that happens every minute:


this could be few records or in 100s..
Deepak ChauhanSQL Server DBACommented:
You can check Transaction log file growth. And you can check VLF file count and status in Transaction logfile.

dbcc loginfo()
25112Author Commented:
VLF file count and status in Transaction logfile.
in dbcc loginfo()

if I can log
dbcc loginfo()
output to a table every minutes, do you have a formula to make this  meaningful data?
Deepak ChauhanSQL Server DBACommented:
To check the log space used

exec ('DBCC SQLPERF(logspace)')

To see the VLF file count and status

DBCC loginfo

This will give you information about your virtual logs inside your transaction log. The primary thing to look at here is the Status column. You can take a look where the value of "2" in the result. This will tell you which portion of the log are in use and which are not in use Status = 0. Another thing is FSeqNo column this is the virtual log sequence number and the latest is the last log. If you keep running this command as you are issuing transactions you will see these numbers keep changing

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
25112Author Commented:
thank you
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.