OpenInsight’s database management system is based on pluggable storage implementations, called filing systems.  The most common example is Linear Hash, which is implemented by the RTP57 filing system function.  The configuration information for those filing systems, which primarily defines the set of tables available to an application, is stored persistently (i.e., is not lost when you log out of OpenInsight) in a .DBT file.

In OpenInsight terms, a table is available if it is attached, and thus can be opened. As a result, without additional coding, a table is not available unless it is in the application’s .DBT file.  The .DBT table is stored as a DOS file in the same folder as the OpenInsight executable (typically, X:\Revsoft\OI32bit).  A separate .DBT file is created for each application: for example,  the .DBT file for EXAMPLES is called EXAMPLES.DBT.   A .DBT file is created when a database is defined.

The .DBT file should be updated when any of the following actions occurs:

A .DBT file should be deleted only if the following are true:

In OpenInsight's ancestor programs (Revelation and Advanced Revelation), .DBT tables did not exist, which meant that when the user logged on, the logic to attach all the tables required for the application had to be either programmed, or attached by entering commands.  This was a laborious process.  The centralized table definition in one .DBT file makes managing the attaching process more efficient.  Database Manager and Table Builder, among other tools, make extensive use of the application's .DBT table, allowing you to see at a glance which tables and volumes are attached.