These functions are used to perform database operations such as: open and close, connect and disconnect, extend working memory, manage backup and recovery.
General
Open a database (for backward compatibility).Open a database with specified memory devices.Open a database on persistent storage (for backward compatibility).Close a database.Close all database instances.Remove a shared memory segment associated with a database.Connect to a database.Connect to a database specifying a context.Returns the database context data associated with an existing database connection.Disconnect from a database.Register a user-defined function.Initialize database parameters.Extend database memory.Extend database memory using user context.Extend database memory within a transaction.Extend database memory by adding a memory device.Extend database memory by adding a memory device using user context.Extend database memory within a transaction by adding a memory device.Reduce database memory by detaching a memory device.Reduce database memory by detaching a memory device.Register custom collation functions for a database instance.Snapshot
Save a database image to an external file.Save an entire class to an external file.Save transient (in-memory) classes to an external file.Save persistent classes to an external file.Export the entire database contents in JSON format.Save the database internal data layout definition to an external file.Save the database dictionary to an external file.Load a database image from an external file.Load an entire class from an external file.Load transient (in-memory) classes from an external file.Load persistent classes from an external file.Load database files from persistent storage.Recovery
Inspect the state of all connections and perform recovery if dead connections are detected.This function is extended version ofmco_db_sniffer()function.Determine from the log file if any database connections were not properly closed.Allows an application to explicitly recover a database.Allows an application to explicitly recover any database connections that were not properly closed.Auxiliary
List all registered database names.Remove all objects from a database.Return the number of bytes required to load the database registry.Return the last generated autoid value.Return the class code of the object referenced by an object handle.Copy an object handle.Determine if an object has been deleted within the current transaction.Adjust Asynchronous IO parameters for persistent databases.Stop Asynchronous IO.