Skip to main content

active

Short Description

The backend is executing a query.

Additional Information​

The active state will be shown when the query is being executed in the backend and is a normal database activity. Further information should be looked for to identify what activities are actually performing in the backend if a problem is suspected.

How to reduce this wait​

If an activity is being waited on, the wait_event_type and wait_event fields in the pg_stat_activity view will show help identify what is happening

PostgreSQL docs - The Statistics Collector

PostgreSQL docs - pg_stat_activity

Search online​

If this article doesn't have the information you need you can try searching online. Remember, you can contribute suggestions to this page.