49.11. Deleting a Database #

The DROP DATABASE SQL command is executed when deleting a database.

Important

Deleted databases cannot be restored.

To delete a database:

  1. Go to the Infrastructure navigation tab → Databases.

  2. (Optional) To display system databases, turn on Show system databases.

  3. Click → Drop • DROP next to the database.

  4. (Optional) To force delete the database, enable Forced deletion.

    If you enable this checkbox, all database connections will be terminated before deleting the database.

    The database will not be deleted if there are prepared transactions, logical replication slots, or subscriptions.

  5. Confirm the operation and click Delete.

FAQ