37.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. In the navigation panel, go to Databases.

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

  3. Click Three vertical dots iconDrop 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. Click Delete.

  6. Confirm the operation.