Welcome to Sign in | Help

Re: Probleme - tempdb

  •  10-31-2008, 9:22 AM

    Re: Probleme - tempdb

    BULă spune aici:
    "Determining the Longest Running Transaction

    If the version store is using a lot of space in tempdb, you must determine what is the longest running transaction. Use this query to list the active transactions in order, by longest running transaction.
    Copy Code

    SELECT transaction_id
    FROM sys.dm_tran_active_snapshot_database_transactions
    ORDER BY elapsed_time_seconds DESC;

    A long running transaction that is not related to an online index operation requires a large version store. This version store keeps all the versions generated since the transaction started. Online index build transactions can take a long time to finish, but a separate version store dedicated to online index operations is used. Therefore, these operations do not prevent the versions from other transactions from being removed."


    Bine, acuma, nu este obligatoriu ca tranzacţiile având cele mai mari durate să genereze cele mai multe scrieri în baza de date dar ...

    + asta
View Complete Thread
Powered by Community Server (Commercial Edition), by Telligent Systems