persist database

Persist an open in-memory database

Syntax

persist_db_stmt:
          PERSIST DATABASE {database_name | db_namespec}

Description

The PERSIST DATABASE statement saves the updated data of an in-memory database to the persistent storage device. The database must have been opened with the ONDISK, INMEMORY_LOAD or INMEMORY_PERSIST storage option set and have write permissions.

Example

persist database bookshop;

See Also

set storage media

Database Name Specification (db_namespec)