Orientdb 简明教程
OrientDB - Release Database
在本章中,你可以了解如何通过 OrientDB 命令行使数据库从冻结状态中复原。
In this chapter, you can learn how to release the database from the freeze state through OrientDB command line.
以下语句为复原数据库命令的基本语法。
The following statement is the basic syntax of the Release database command.
RELEASE DATABASE
Note − 在连接到处于冻结状态的特定数据库后,你才能使用此命令。
Note − You can use this command only after connecting to a particular database, which is in freeze state.
Example
在本示例中,我们将使用上一章中创建的同名数据库“demo”。我们将解除上一章冻结的数据库。
In this example, we will use the same database named ‘demo’ that we created in the previous chapter. We will release the database that was freezed in the previous chapter.
可使用以下命令复原数据库。
You can use the following command to release the database.
Orientdb {db = demo}> RELEASE DATABASE
如果已成功执行,你将获得以下输出。
If it is successfully executed, you will get the following output.
Database 'demo' was release successfully