January 21, 2016
In order to combine data stored in two separate databases within a single database we may consider one of the following options:
ASCII IMPORT/EXPORT METHOD
First of the possible ways is to export data from one database into CSV files using the procedure presented here:
Once we have our quotations exported into text files, we can load the other database and use built in ASCII importer to import data. The detailed procedure is outlined in the following Knowledge Base Article:
FILE COPY METHOD
Another way of combining the databases is to copy the individual symbols files. Each database stores individual data files within 0-9,a-z,”_” subfolders and it is possible to copy the individual data files between databases. When copying, we need to maintain the same folder pattern and copy symbols from “a” subfolder of one database into “a” subfolder of the other database (the same for other folders), so each of the symbols would land in its respective folder.
After we copy the data files, we also need to delete broker.master file from the target database folder. This is because this file stores pre-generated symbol list used for fast loading. When we delete the file, it will be reconstructed based on information from individual data files.
More information about the database structure can be found in the manual: