Database Catalog

The Future Lab Bbuuzzb database engine contains a configuration option called catalog.

The catalog is a special Bbuuzzb table that is used internally by the database server to store path/file names and table aliases. The main idea is that the user/developer might not and should really not know where the database server has physically stored a table.

By default, the database server will only open tables that have been cataloged. The process of cataloging a table involves registering the table alias and path/file location with the database server. Once the table has been registered or cataloged. It may be opened by referring to its alias instead of the actual file name.

The catalog is only valid in client/server mode. The catalog can be changed by calling the configuraton function db_config_set_catalog. The catalog feature can be turned off by call the function db_config_set_catalog_flag. Once you turn off the catalog feature, all tables will have to be opened with the explicit path and file name.

The catalog is on by default when the database server initializes. It is considered a fatal error if the catalog cannot be opened by the database server.

At the present time, the database server will accept catalog commands but the code to manage the catalog is not present in the database server. The next version of the database server will have the catalog fully implemented.

Future Lab Home | Contact Webmaster | Feedback

Copyright © 1999 Future Lab Inc., Last Updated May 28, 1999