Administrator Guide : Administering solidDB® : Creating a new database : Setting up database environment
  
Setting up database environment
By default the solidDB® database files, log, message, and trace files are created in the solidDB® working directory. For production environments, you might want to set up an environment where, for example, database files, backup files, and log files are located on different disks.
Default working directory settings
A working directory is the directory that contains the files related to running a particular solidDB® instance.
The following table shows the most common solidDB® files, their factory value locations, and how to modify the locations.
File
Factory value location
How to modify
license file (solid.lic or solideval.lic)
working directory
Define path in SOLIDDIR environmental variable.
solid.ini configuration file
working directory
Define path in SOLIDDIR environmental variable.
database files (solid.db)
working directory
Define with IndexFile.FileSpec parameter
transaction log files (sol#####.log)
working directory
Define location with Logging.LogDir parameter
or
Define location and file name with Logging.FileNameTemplate parameter.
Note If you specify a directory for the log files, the directory must exist before you start solidDB®: solidDB® cannot create directories.
message file (solmsg.out)
working directory
Location and name cannot be changed; the solmsg.out file is always output in the working directory.
error file (solerror.out)
working directory
Location and name cannot be changed; the solerror.out file is always output in the working directory.
trace file (soltrace.out)
working directory
Define with Com.TraceFile parameter.
Recommendations for production environments
If you do not want to run the installer on your production environment node, install solidDB® on a separate node and copy the executable programs, libraries, and drivers manually to your production node, as applicable for your setup.
To prevent loss of data in a disk failure, store the database files and transaction log files on different physical drives. Using different physical drives also provides best performance, especially during database checkpoints when both database files and transaction log files are written at the same time.
Use local disks (instead of network disks) for storing the database files and log files.
Using local disks is especially important with a solidDB® HotStandby setup. The HotStandby configurations are targeted for environments with shared nothing architecture. Such architecture is best achieved by having the primary and secondary databases in separate nodes, each using local disks. Network disks have a risk of being a logical/physical single point of failure in the system.
Related concepts
Viewing error messages and log files
Related information
Configuration files and parameter settings
Configuration files and parameter settings
Performing backup and recovery
Running several servers on one computer
See also
Creating a new database