Skip to main content

MessageQueueInternal

Short Description

Waiting for another process to be attached to a shared message queue.

Detailed Description​

MessageQueueInternal is in the Inter Process Communication (IPC) wait class. In this case the wait is to receive bytes from a message queue. Message queues provide an asynchronous communication protocol in which the sender and receiver of messages don't need to interact at the same time - messages are held in a queue until the recipient retrieves them. Amongst other places, MessageQueue* waits are seen in parallel query co-ordination.

How to reduce this wait​

In a database with Shared Message Queues set up, it will be normal to see this wait state.

PostgreSQL documentation - The Statistics Collector

PostgreSQL docs - Wait Events of Type IPC

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.