2. Creating Databases : How a Database Is Created : How the Createdb Command Works
 
Share this page                  
How the Createdb Command Works
A database is created using the createdb system command (or the equivalent operation in Director or VDBA). When the createdb command is executed, the following occurs:
The system catalogs in the master database (iidbdb) are updated.
A subdirectory is created under the database location for the database, with the name of the database.
Directories are created under the work, journal, dump, and checkpoint locations for the database. These directories may not be created at the time the database is created, but at the time, for example, that a checkpoint is first run against the database.
The configuration file (aaaaaaaa.cnf) and the core system catalogs (aaaaaaax.t00, x=b through e) are created in the new database directory.
The DBMS system catalogs for the new database are created and modified.
The standard catalog interface is created.
The user interface system catalogs (restricted by any -f flag options) are created.
Select permission for the system catalogs is granted to public.