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:
In the navigation panel, go to Databases.
(Optional) To display system databases, turn on Show system databases.
Click
→ Drop next to the database.
(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.
Click Delete.
Confirm the operation.