The following folders are inside the FairCom root folder:
Folder |
Description |
---|---|
/config |
|
/data |
|
/drivers |
|
/server |
|
/tools |
|
/tranlogs |
|
FairCom Folders
When you install the FairCom Server, its root folder is placed in the folder of your choice. The name of the root folder includes the product name followed by the operating system and the exact version. The version corresponds to the underlying core engine that powers the FairCom Server. It follows the pattern, Major, Minor, Patch, and Build.
Drivers Folder
The directory structure for the drivers folder is similar to the image shown below. The exact directory structure may differ depending on your platform.
This drivers folder contains tutorials, drivers, and connectors for the many programming languages, APIs, and connectors that FairCom supports. The subfolders are organized by language and API. Inside each subfolder is a ReadMe file that walks you through running the tutorial, which takes only a few minutes.
Server Folder
The executable is in the <FairCom-Installation-Folder>\server directory. It is named as follows (omit the ending of .exe on Linux/Unix systems):
This is the main file you need to know about in this folder.
Data Folder
The data folder (<FairCom-Installation-Folder>\data) contains log files. It also contains one folder for each database that you create. Your data and index files are in these database folders.
The image below shows two database folders: ctreeSQL.dbs and testdata. By default, FairCom products ships with a single database named ctreeSQL. Use that name in any of the APIs that ask you to enter the name of your database.
The sql_server.log file contains JSON log entries for each SQL operation you perform. This is useful for troubleshooting SQL. You can turn on logging to this file by placing the following command in the ctsrvr.cfg file.
SQL_DEBUG LOG_STMT_TIMES_FETCH
There are also FairCom System files (*.fcs). Most are transaction log files that ensure all data written into the FairCom Database Engine is durably captured on disk. The following FCS files contain useful troubleshooting information:
Config Folder
The config folder (<FairCom-Installation-Folder>\config) contains configuration files that you modify to change the behavior of the FairCom Server. These configuration files are referenced throughout this document.
Tools Folder
The <FairCom-Installation-Folder>\tools folder contains command‑line utilities you can use to manage your database.
In addition to these tools, a set of browser‑based tools is available for graphically managing your database, see Browser‑Based Graphical Tools.