Remove nwmode in csqlnw.conf file and making UDPClient and UDPServer as
[csql.git] / csql.conf
blob7b9b89c6a28957b06741e2a431156834b0e81aef
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 active transactions that can run concurrently in the system
13 MAX_TRANS = 100
15 #Total number of client process which can connect and work with the 
16 # database concurrently
17 MAX_PROCS = 100
19 #Total number of threads in a process which can connect and work with the 
20 # database concurrently
21 MAX_THREADS = 10
23 # Maximum size of the system database.
24 MAX_SYS_DB_SIZE=1048576
26 #Maximum size of the user database file.
27 MAX_DB_SIZE=10485760
29 #Shared memory key to be used by the system to create and locate system database.
30 SYS_DB_KEY=1222
32 #Shared memory key to be used by the system to create and locate user database.
33 USER_DB_KEY=4555
35 #Give full path for the log file where important system actions are stored.
36 LOG_FILE=/tmp/log/csql/log.out
38 #The virtual memory start address at which the shared memory segment 
39 # will be created and attached. 
40 MAP_ADDRESS=400000000
42 #Important: For Server section parameters, make sure that the value is same for the 
43 #           server process and all the csql client process which connects to it. otherwise, 
44 #           behavior is undefined
45 #####################################Client Section########################
46 #Mutex timeout interval seconds
47 MUTEX_TIMEOUT_SECS=0
48 MUTEX_TIMEOUT_USECS=1000
49 MUTEX_TIMEOUT_RETRIES=10
51 #Lock timeout interval seconds
52 LOCK_TIMEOUT_SECS=0
53 LOCK_TIMEOUT_USECS=100
54 LOCK_TIMEOUT_RETRIES=10
56 #####################################Cache Section########################
57 CACHE_TABLE=false
58 #DSN Name to connect to the target database
59 DSN=myodbc3
61 #Give full path for the file where all the cached table information is stored
62 TABLE_CONFIG_FILE=/tmp/csql/cache.table
64 #####################################Replication Section########################
65 REPLICATION=No
67 #Give full path for the file where all the cached table information is stored
68 NETWORK_CONFIG_FILE=/tmp/csql/csqlnw.conf
70 #####################################SQLLogStore Section########################
71 MAX_LOG_STORE_SIZE=1048576
72 #####################################End Section########################
73 MY_NETWORK_ID=1
74 CACHE_NETWORK_ID=-1
75 NETWORK_RESPONSE_TIMEOUT=3
76 NETWORK_CONNECT_TIMEOUT=5