Storage space, chunk, and log creation
The dbschema -c command generates SQL administration API commands for reproducing storage spaces, chunks, logical logs, and physical logs. If you use the dbschema -c -ns command, the database server generates onspaces or onparams utility commands for reproducing storage spaces, chunks, physical logs, and logical logs.
For example:
- Run the following command to generate a file named
dbschema1.out
that contains the commands for reproducing the storage spaces, chunks, physical logs, and logical logs in SQL Admin API format:dbschema -c dbschema1.out
- Run the following command to generate a file named
dbschema2.out
that contains the commands for reproducing the storage spaces, chunks, physical logs, and logical logs in onspaces and onparams utility format:dbschema -c -ns dbschema2.out
Optionally, specify -q before you specify -c
or -c -ns
to suppress the database version when
you run the command. For example, specify:
dbschema -q -c -ns dbschema3.out