English 中文(简体)
OrientDB Tutorial

OrientDB Database Commands

OrientDB Record Commands

OrientDB Class Commands

OrientDB Cluster Commands

OrientDB Property Commands

OrientDB Vertex Commands

OrientDB Edge Commands

OrientDB Advanced Concepts

OrientDB Interfaces

OrientDB Useful Resources

Selected Reading

OrientDB - Freeze Database
  • 时间:2024-10-18

OrientDB - Freeze Database


Previous Page Next Page  

Whenever you want to make the database state as static it means a state where the database didn’t respond to any of the read and write operations. Simply said, the database is in freeze state.

In this chapter, you can learn how to freeze the database from the OrientDB command pne.

The following statement is the basic syntax of the freeze database command.

FREEZE DATABASE

Note − You can use this command only after connecting to a particular database either in remote or local database.

Example

In this example, we will use the same database named ‘demo’ that we created in the previous chapter. We will freeze this database from CLI.

You can use the following command to freeze the database.

Orientdb {db = demo}> FREEZE DATABASE

If it is successfully executed, you will get the following output.

Database  demo  was frozen successfully
Advertisements