Skip to content

Ask AI

Powered by Blaze

Answers come from E2E Cloud documentation. AI can make mistakes.

Delete a database

View as Markdown

Deleting a database removes its node and its storage, and its snapshots go with it. Deleting is permanent, so keep what you need before you start. To pause a database and keep it, stop it instead. See Stop, start and restart a database.

You can delete a database in any state except Terminating, including while it is Creating, Stopped or Failed.

  • The database’s node and its storage, with all the data on it.
  • Every snapshot of the database, manual and scheduled, goes with it: the snapshots leave the list, and restoring one is possible only before the delete. The snapshot schedule turns off as soon as you delete.
  • The database’s public address. Its address on the attached VPC is released.

The parameter group the database used is kept. Once the delete finishes, you can delete the group too, when the last database using it is gone. See Use parameter groups.

The snapshots go with the database, so copy any data you want to keep first. You can restore a snapshot into a new database. Or export the data with your own PostgreSQL backup tools while the database is Running; see Connect to a database.

  1. In the side menu, under Databases, select DBaaS.
  2. Choose Delete from the database’s menu, in the list or on its page.
  3. Deleting the database’s data is permanent. To go ahead, tick “I understand and want to delete the database” followed by the database’s name.
  4. Select Delete.

The database is Terminating while it is removed, and then leaves the list. The delete is recorded on Activity Timeline as “Database deleted”.

If the launch of a new database failed, its page also has Delete database, which you can use instead.

If TIR refuses the delete, it gives the reason, for example that the database is already being deleted, and you can try again.

If the removal fails partway, the database turns Failed and TIR raises a support ticket for it. For what to do next, see Troubleshooting TIR DBaaS.

Was this page helpful?