Runbook

PostgreSQL tablespace full

Back to Runbooks

Overview

This incident type occurs when the PostgreSQL tablespace of a database has reached its maximum storage capacity. When tablespace is full, it can no longer store any new data and any attempt to insert new data will fail. This can cause disruption in the normal operation of the database and affect the performance of applications that rely on the database.

Parameters

Debug

Check the disk space usage of the PostgreSQL tablespace

Check the size of the tablespace

List the largest tables in the database

List the largest indexes in the database

Check the available space in the tablespace

Large data inserts: If a large amount of data is inserted into the database at once, it can fill up the tablespace quickly and cause it to become full.

Repair

Increase the storage capacity of the tablespace by adding more disk space to the server where the database is hosted.

Learn more

Related Runbooks

Check out these related runbooks to help you debug and resolve similar issues.