InterSystems Programming Tools Index
Databases
[Back] [Next]
   
Server:docs2
Instance:LATEST
User:UnknownUser
 
-
Go to:
Search:    

Manage Caché database files programmatically (disable and enable journaling, copy, configure, and so on).
Background Information
Caché stores data and code in database files. For an introduction, see Namespaces and Databases in the Caché Programming Orientation Guide.
Typically you create and configure databases via the Management Portal. See Configuring Databases in the chapter “Configuring Caché” in the Caché System Administration Guide.
Available Tools
SYS.Database class
Represents Caché database files, as configured in Caché. Properties of an instance indicate configuration details for that database as well as current read-only details such as size and last expansion time.
Methods in this class enable you to work with database files. These methods include:
This class also provides queries that provide information about databases. These queries include:
Availability: %SYS namespace.
Config.Databases class
Enables you to modify and obtain information about the [Databases] section of the CPF file. (Note that you usually perform this configuration via the Management Portal, as noted above.)
The class also provides the List() and MirrorDatabaseList() class queries.
The class documentation includes examples and details.
Availability: %SYS namespace.
%Installer.Manifest class and other classes in the %Installer package
Enable you to define and use an installation manifest. Among other tasks, you can configure databases and namespaces.
Availability: All namespaces.
^DATABASE routine
This routine provides ways to manage databases; it is an alternative to using the Management Portal. For details, see the Caché Security Administration Guide.
Availability: %SYS namespace.