Skip to content

Check storage and maintain tables

Storage lists tables with their available row counts, data sizes, index sizes and total sizes. The header summarizes database size and the space used by table data and indexes.

  1. Open Admin › Storage.
  2. Choose Size (Largest) from the sort menu.
  3. Compare Data, Index and Total for the largest tables.
  4. Check Health for maintenance candidates.
Storage sorted by largest tables, with data, index, total size and health columns

For individual indexes and Redshift distribution or sort design, continue with slow queries and indexes.

  1. Open the table row’s Maintenance actions menu.
  2. Choose an available maintenance action.
  3. Check the table name and SQL to execute: in the dialog.
  4. Review the operation’s effect on the database.
  5. Enter the connection password if requested.
  6. Confirm the operation.

Maintenance runs as a background task. Check its completion before comparing the refreshed statistics.

The SQL preview identifies the command that will run on your database.

Database Storage and maintenance
PostgreSQL Table and index sizes plus maintenance statistics. Actions include Vacuum, Vacuum & Analyze and Analyze.
MySQL and MariaDB Table data and combined index sizes from server metadata. Analyze updates statistics; Optimize performs table optimization when available.
SQLite Database file size and per-table sizes through dbstat when available. Analyze updates table statistics; an optimization that previews VACUUM operates on the whole database file.
SQL Server Table data, index and reserved-space statistics. Analyze previews an update of table statistics.
Amazon Redshift Table storage information from SVV_TABLE_INFO, alongside the design information described on the indexes page.

For statistics access and prerequisites, see admin data unavailable.

These actions are in the table structure view, separate from storage maintenance.

  1. Open Admin › Schema.
  2. Select the table.
  3. Locate Danger Zone in its structure view.
  4. Choose Truncate Table or Drop Table.
  5. Review the target, available options and SQL preview.
  6. Type the table name if the dialog requests it.
  7. Complete the required password or approval prompt.
  8. Click the action button to confirm.

Options depend on the database. Read their effects before enabling them: a cascade can affect dependent objects or other tables.