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/csql/log/log.out
31 #The virtual memory start address at which the shared memory segment
32 # will be created and attached.
35 # Whether to enable durability
38 # Can be set true only when DURABILITY is true
41 #Give full path for the database file where table and record information will
42 #be stored for durability
43 DATABASE_FILE=/tmp/csql/db
45 #Important: For Server section parameters, make sure that the value is same for the
46 # server process and all the csql client process which connects to it. otherwise,
47 # behavior is undefined
48 #####################################Client Section########################
50 #Mutex timeout interval seconds
52 MUTEX_TIMEOUT_USECS=5000
53 MUTEX_TIMEOUT_RETRIES=10
55 #Lock timeout interval seconds
57 LOCK_TIMEOUT_USECS=5000
58 LOCK_TIMEOUT_RETRIES=10
60 #####################################Cache Section########################
62 #Whether to enable caching of tables from target database
65 #Set cache id for multiple bidirectional cache node for single data source
67 #DSN Name to connect to the target database.
68 #This should be present in ~/odbc.ini file
75 ENABLE_BIDIRECTIONAL_CACHE=false
77 CACHE_RECEIVER_WAIT_SECS=10
79 #Give full path for the file where all the cached table information is stored
80 TABLE_CONFIG_FILE=/tmp/csql/csqltable.conf
82 #Mode of operation SYNC or ASYNC
85 ##########################SqlNetworkServer Section########################
87 # Whether to enable SqlNetwork server
90 #Set port for Network access
93 #Whether to enable Replication across the sites
96 #No of sites to replicate
99 #Give full path for the file where all the peer site information is stored
100 NETWORK_CONFIG_FILE=/tmp/csql/csqlnw.conf
102 # MSGKEY for creating msg queue for MsgQueue Server
106 #####################################End Section########################