two way caching changes related to config, deamon
[csql.git] / csql.conf
blob01b03494c0b8f67363a5491d6f07abfdcea4cd9d
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=1422
25 #Shared memory key to be used by the system to create and locate user database.
26 USER_DB_KEY=4455
28 #Give full path for the log file where important system actions are stored.
29 LOG_FILE=/tmp/log1/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=5000
43 MUTEX_TIMEOUT_RETRIES=10
45 #Lock timeout interval seconds
46 LOCK_TIMEOUT_SECS=0
47 LOCK_TIMEOUT_USECS=5000
48 LOCK_TIMEOUT_RETRIES=10
50 #####################################Cache Section########################
52 #Whether to enable caching of tables from target database
53 CACHE_TABLE=true
55 #DSN Name to connect to the target database.
56 #This should be present in ~/odbc.ini file
57 DSN=myodbc3
59 ENABLE_BIDIRECTIONAL_CACHE=true
61 CACHE_RECEIVER_WAIT_SECS=10
63 #Give full path for the file where all the cached table information is stored
64 TABLE_CONFIG_FILE=/tmp/csql1/csqltable.conf
66 #####################################End Section########################