IMPAX 6.5.1 Server Knowledge Base home > SQL Server home

Monitoring SQL database and transaction log space usage

Note:

Note:

Ensure that you are logged in using the AgfaService account; you cannot log into SQL Server Management Studio using the Administrator account.

This procedure applies to SQL Server 2005 and SQL Server 2008.

You can monitor the space usage for your database and transaction logs—how much space is available and how much is being used.

To monitor SQL database and transaction log space usage

  1. To open a query window, in the SQL Server Management Studio, click New Query.

  2. To check the database space usage, type

    Use database_name

    go

    sp_spaceused

    go

    where database_name is the name of the database to check for space usage.

  3. Click Execute.Execute

    Information on database space used is displayed.

  4. To check the transaction log space usage, open another query windows by clicking New Query.

  5. Type:

    DBCC sqlperf(logspace)

  6. Click Execute.Execute

    Information on transaction log space usage is displayed.


See also


Topic number: 46959

Applies to: IMPAX 6.5.1 Server Knowledge Base