RavenDB 2.x  Beginner's Guide
上QQ阅读APP看书,第一时间看更新

Management Studio's multi-databases feature

RavenDB supports multi-databases, the Management Studio provides an easy way to create and manage new and multiple databases from the same user interface. On the left-side of the Management Studio, the toolbar shows a hyperlink button with the name of the current database we are working with. This hyperlink button is used to display the Databases screen and show the list of all the other available databases. You can shift the current database by selecting a new one from the list of available databases.

Also, we have the Settings button (the cogwheel button) which allows us to set common options for all databases and specific bundle (which is the RavenDB extensions) options.

Creating a new database

When the Management Studio is started up, it shows the Databases screen and displays the list of all hosted databases. Each database in the list is displayed in a rectangle with the number of documents that this database has. On selecting a database from the list, the Management Studio status bar displays more statistics information about the selected database.

The Databases screen allows you to create a new database using the Create a New Database wizard form which also allows you to add some functionality to your database, such as database replication, data compression, data encryption, and so on.