1927857 update not working properly for SQLAPI
[csql.git] / csql.conf
blob87a5cbb6efd8926eee59023aecc72141d3f8d82f
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. 
10 PAGE_SIZE= 8192
12 #Total number of client process which can connect and work with the 
13 # database concurrently
14 MAX_PROCS = 100
16 # Maximum size of the system database.
17 MAX_SYS_DB_SIZE=1048576
19 #Maximum size of the user database file.
20 MAX_DB_SIZE=10485760
22 #Shared memory key to be used by the system to create and locate system database.
23 SYS_DB_KEY=1222
25 #Shared memory key to be used by the system to create and locate user database.
26 USER_DB_KEY=4555
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. 
33 MAP_ADDRESS=400000000
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
41 MUTEX_TIMEOUT_SECS=0
42 MUTEX_TIMEOUT_USECS=1000
43 MUTEX_TIMEOUT_RETRIES=10
45 #Lock timeout interval seconds
46 LOCK_TIMEOUT_SECS=0
47 LOCK_TIMEOUT_USECS=100
48 LOCK_TIMEOUT_RETRIES=10
50 #####################################Cache Section########################
52 #Whether to enable caching of tables from target database
53 CACHE_TABLE=false
55 #DSN Name to connect to the target database.
56 #This should be present in ~/odbc.ini file
57 DSN=myodbc3
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
61 CACHE_NETWORK_ID=-1
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
69 REPLICATION=false
71 #Network ID of the current running instance(localhost).
72 #An entry for this network id should be present in csqlnw.conf file
73 MY_NETWORK_ID=1
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########################