Home > Archive > microsoft.public.sqlserver.server > November 2002 > Longest running transaction





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Longest running transaction
Diane Lewis

2002-11-11, 11:23 am

I am looking for a way to identify the longest running
transaction -- ie the process that has held log space in
either tempdb or a database for the longest amount of
time.
Brian Moran

2002-11-11, 11:23 am

Are you familiar with DBCC OPENTRAN?

Displays information about the oldest active transaction and the oldest
distributed and nondistributed replicated transactions, if any, within the
specified database. Results are displayed only if there is an active
transaction or if the database contains replication information. An
informational message is displayed if there are no active transactions.

--

Brian Moran
SQL Server MVP
SQL Server Magazine Columnist


"Diane Lewis" <lewisdm@maritz.com> wrote in message
news:67d701c2899f$7d01cab0$35e
f2ecf@TKMSFTNGXA11...
> I am looking for a way to identify the longest running
> transaction -- ie the process that has held log space in
> either tempdb or a database for the longest amount of
> time.



Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net