- RavenDB 2.x Beginner's Guide
- Khaled Tannir
- 184字
- 2025-04-04 22:27:51
Time for action – deleting a database using the Management Studio
You will learn how to delete a database from RavenDB using the Delete action from the contextual menu in the Databases screen.
- In the Management Studio, click on the Databases link to display the Databases screen.
- Select the
Sales
database and right-click on it to display the contextual menu and click on Delete. - Check the option case Physically delete all database data to delete all the database data and its folders.
Tip
By clicking on the Export button, you can export the database documents before deleting it.
What just happened?
In steps 1 and 2, we selected in the Management Studio the Sales
database in order to delete it.
In step 3, we deleted the database and all its related files and folders.
By checking the option Physically delete all database data, RavenDB will delete all database data and folders containing the database and all its related information, such as logs and indexes, from your computer. Otherwise, the files will remain but you will not be able to access them from the server.