PostgreSQL · MySQL · SQL Server
Browse desktop documentation

Inspect database activity, sessions and locks

Inspect database activity, sessions and locks when a query stalls or a release is blocked. Check storage and the operational detail your database account is allowed to see.

Choose your trial
On this page

01 / FEATURES

Identify the active session

Use session details to identify the connection and query involved. Match the observation with the application or release that is running. A database session can belong to legitimate background work, so context matters before deciding it should be interrupted.

02 / FEATURES

From a question to records you can use.

Keep the query, returned records and next export step connected.

03 / FEATURES

Investigate a lock wait

Lock views help relate a waiting operation to the session holding a resource. Determine what each side is doing and whether the wait is expected. Combine that information with application logs rather than assuming the longest-running session is necessarily the problem.

04 / FEATURES

Inspect storage in context

Storage views expose database or table usage according to the engine’s metadata. Use them to investigate a change in size and decide where to look next. Available detail varies with the server version and the login’s monitoring privileges.

05 / FEATURES

Intervene deliberately

Cancellation or termination can affect other users, roll back work and trigger application retries. Confirm the target session and expected consequence before using an administrative control. The database decides whether your account has the authority to perform that action.

06 / FEATURES

Connect the live view to your monitoring

Database Activity supports interactive investigation. Continuous metrics, historical alerts, distributed traces and on-call notification remain in your monitoring system. Use the database’s specialist diagnostic tools when the incident requires plans, wait analysis or historical context beyond the current screen.

Questions & answers

Is this a continuous monitoring service?

No. It is an interactive view of current activity and storage. Keep your existing metrics, alerting and incident-response systems.

Why can two accounts see different detail?

Monitoring information depends on database privileges and engine behavior. A restricted login may see fewer sessions or less diagnostic information.

Workflow illustration

ACTIVITY & STORAGE · EXAMPLE READINGSDatabase activityEARLIERLATEST SAMPLEStorage by objectorderscustomersproductsInvestigate sessions and storage from the database workspace.