1 # CSQL System Configuration File
3 #####################################Server Section########################
5 # Site ID for this CSQL server
8 #Important: For Server section parameters, make sure that the value is same for the
9 # server process and all the csql client process which connects to it. otherwise,
10 # behavior is undefined
12 # Page size. Each database is logically divided into pages and allocation happens
13 # in this unit of pages. Increasing this value will reduce frequent allocation of pages.
16 #Total number of client process which can connect and work with the
17 # database concurrently
20 # Maximum size of the system database.
21 MAX_SYS_DB_SIZE=1048576
23 #Maximum size of the user database file.
26 #Shared memory key to be used by the system to create and locate system database.
29 #Shared memory key to be used by the system to create and locate user database.
32 #Log level 0->no logging 1->Fine 2->Finer 3->Finest
35 #Give full path for the log file where important system actions are stored.
36 LOG_FILE=/tmp/csql/log/log.out
38 #The virtual memory start address at which the shared memory segment
39 # will be created and attached.
42 # Whether to enable durability
45 # Whether to enable memory map architecture for user database
48 # Specifies the durability mode for redo log generation
50 # 1 ->uses standard redo logging with O_APPEND mode
51 # 2 ->uses standard logging with serialization
52 # 3 ->uses O_SYNC flag
53 # 4 ->uses O_DIRECT flag
57 #Give full path for the database file where table and record information will
58 #be stored for durability
59 DATABASE_FILE=/tmp/csql/db
61 #Important: For Server section parameters, make sure that the value is same for the server process and all the csql client process which connects to it. otherwise, behavior is undefined
63 # Give full path for the std error file to store all the errors during database operations
66 #Restarts auxillary servers (SQL, Cache,etc), if they crash
69 #####################################Client Section########################
71 #Mutex timeout interval seconds
73 MUTEX_TIMEOUT_USECS=5000
74 MUTEX_TIMEOUT_RETRIES=10
76 #Lock timeout interval seconds
78 LOCK_TIMEOUT_USECS=5000
79 LOCK_TIMEOUT_RETRIES=10
84 #Enable statement cache for statements with no parameters
85 STMT_CACHE_NOPARAM=false
87 #####################################Cache Section########################
89 #Whether to enable caching of tables from target database
92 #DSN Name to connect to the target database.
93 #This should be present in ~/odbc.ini file
96 # Whethere to enable bidirectional updates for cached tables.
97 ENABLE_BIDIRECTIONAL_CACHE=false
99 CACHE_RECEIVER_WAIT_SECS=10
101 #Mode of operation SYNC or ASYNC
104 ##########################SqlNetworkServer Section########################
106 # Whether to enable SqlNetwork server
107 CSQL_SQL_SERVER=false
109 #Set port for Network access
112 # Max number of seconds that the network layer waits to receive a pkt
113 NETWORK_RESPONSE_TIMEOUT=3
115 # Max number of seconds that the network layer waits to connect to sql server
116 NETWORK_CONNECT_TIMEOUT=5
118 #Give full path for the file where all the table information is stored
119 TABLE_CONFIG_FILE=/tmp/csql/csqltable.conf
121 #Give full path of the file where all the DSN information is stored
122 DS_CONFIG_FILE=/tmp/csql/csqlds.conf
124 # Give full path for conflict Resolution file
125 CONFL_RESOL_FILE=/tmp/csql/conflResoFile.txt
127 # MSGKEY for creating msg queue for MsgQueue Server
130 # Maximum message that the message queue server is able to handle for
131 # asynchronous updates. This value is is default value of 'kernel.msgmax'
135 # Maximum number of messages that the message queue server will hold for a site
136 # that is down in the replication group.
139 # Shared memory key for id generators
141 #####################################End Section########################