1 # CSQL System Configuration File
3 #####################################Server Section########################
4 #Important: For Server section parameters, make sure that the value is same for the
5 # server process and all the csql client process which connects to it. otherwise,
6 # behavior is undefined
8 # Page size. Each database is logically divided into pages and allocation happens
9 # in this unit of pages. Increasing this value will reduce frequent allocation of pages.
12 #Total number of client process which can connect and work with the
13 # database concurrently
16 # Maximum size of the system database.
17 MAX_SYS_DB_SIZE=1048576
19 #Maximum size of the user database file.
22 #Shared memory key to be used by the system to create and locate system database.
25 #Shared memory key to be used by the system to create and locate user database.
28 #Give full path for the log file where important system actions are stored.
29 LOG_FILE=/tmp/log/csql/log.out
31 #The virtual memory start address at which the shared memory segment
32 # will be created and attached.
35 #Important: For Server section parameters, make sure that the value is same for the
36 # server process and all the csql client process which connects to it. otherwise,
37 # behavior is undefined
38 #####################################Client Section########################
40 #Mutex timeout interval seconds
42 MUTEX_TIMEOUT_USECS=1000
43 MUTEX_TIMEOUT_RETRIES=10
45 #Lock timeout interval seconds
47 LOCK_TIMEOUT_USECS=100
48 LOCK_TIMEOUT_RETRIES=10
50 #####################################Cache Section########################
52 #Whether to enable caching of tables from target database
55 #DSN Name to connect to the target database.
56 #This should be present in ~/odbc.ini file
59 #Network ID of the cache server running in target database host.
60 #An Entry for this network id should be present in csqlnw.conf file
63 #Give full path for the file where all the cached table information is stored
64 TABLE_CONFIG_FILE=/tmp/csql/cache.table
66 #####################################Replication Section########################
68 #Whether to enable replication of tables to another instance of csql
71 #Network ID of the current running instance(localhost).
72 #An entry for this network id should be present in csqlnw.conf file
75 #Give full path for the file where all the peer host and port information is stored.
76 #This file is used in case of caching as well as replication.
77 NETWORK_CONFIG_FILE=/tmp/csql/csqlnw.conf
79 #Time to wait for the peer site to respond. If it exceeds this time, then it timesout
80 NETWORK_RESPONSE_TIMEOUT=3
82 #Time interval within which csql will try to connect to the peer site.
83 NETWORK_CONNECT_TIMEOUT=5
84 #####################################SQLLogStore Section########################
86 #This specifies the maximum space that shall be used by csql to store all the
87 #transaction logs sent to either cache or replicated peer in case of async mode
88 MAX_LOG_STORE_SIZE=1048576
89 #####################################End Section########################