AUXDB - E4000020 - 27 September 2000

 

AUXDB is an ADC which can be used to present two physical databases as one database to application programs. In general it is envisaged that the data dictionaries of both databases will be identical. The most common use of AUXDB is to extend the "split database" facility of QAB. This ADC will be added (together with its source code) to the ADC pack in the next release of DP4.

Usage

  1. Ensure the dictionary of both databases is identical. If you have two existing and different databases which you now want to access as one database then you need to use some combination of COPYDB,UNLOAD/LOAD and RECASTDB -BYNAME to transfer the data from the two databases to two new databases with identical dictionaries.

  2. An example startup section for loading AUXDB is as follows:

    [startup]
    1=dp4srvr.w32 -aux
    2=auxdb.w32 -db time2 -auxdb time2alt -file c:\dp4\win\time2alt.txt

    time2alt.txt contains a list of the application tables whose data is to be stored on time2alt rather than time2. The file should be a text file with one table listed per line.

    It is largely immaterial which database is designated as the "db" database and which is the "auxdb" database. However if you are already using the QAB split database facility to store QAB and map dictionary data on one database, and application data on the other database and do not want to use any more databases then you are recommended to specify the map database as the "auxdb" database and to transfer some of the data tables to it. When deciding which tables to transfer you should bear in mind the limitations listed below.

  3. You can also specify tables using -table tablename as many times as necessary on the command line to auxdb.w32, e.g.

    2=auxdb.w32 -db time2 -auxdb time2alt -table customer -table employee

Limitations

Possible Further Developments

Subject to the level of interest shown in this program by customers, we may enhance AUXDB in the following ways:

DP4 Version Compatibility

4.5xx,4.6xx

Beta software is supplied without warranty and should not be used in live sites without the agreement of Itim Technology Solutions. Compatibility with an eventual final release cannot be guaranteed.

Downloads

4.522/4.618 AUXDB program