adding test scripts
[csql.git] / test / cache / CacheTable / csql1.conf
blob646535ee5a8539604ef45a4e85995e20f656c1f1
1 # CSQL System Configuration File
3 #####################################Server Section########################
5 # Site ID for this CSQL server
6 SITE_ID=1
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. 
14 PAGE_SIZE= 8192
16 #Total number of client process which can connect and work with the 
17 # database concurrently
18 MAX_PROCS = 100
20 # Maximum size of the system database.
21 MAX_SYS_DB_SIZE=1048576
23 #Maximum size of the user database file.
24 MAX_DB_SIZE=10485760
26 #Shared memory key to be used by the system to create and locate system database.
27 SYS_DB_KEY=4000
29 #Shared memory key to be used by the system to create and locate user database.
30 USER_DB_KEY=4500
32 #Log level 0->no logging 1->Fine 2->Finer 3->Finest
33 LOG_LEVEL=0
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. 
40 MAP_ADDRESS=400000000
42 # Whether to enable durability
43 DURABILITY=false
45 #checkpoint server interval in seconds
46 CHECKPOINT_SECS=600
48 #minimum redo log size for checkpoint to be initiated
49 CHECKPOINT_LOG_SIZE=10485760
51 # Whether to enable memory map architecture for user database
52 MMAP=true
54 # Specifies the durability mode for redo log generation
55 # Valid values are 
56 # 1 ->uses standard redo logging with O_APPEND mode
57 # 2 ->uses standard logging with serialization
58 # 3 ->uses O_SYNC flag
59 # 4 ->uses O_DIRECT flag
61 DURABLE_MODE=1
63 #Give full path for the database file where table and record information will
64 #be stored for durability
65 DATABASE_FILE=/tmp/csql/db
67 #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
69 # Give full path for the std error file to store all the errors during database operations
70 STDERR_FILE=stderr
72 #Restarts auxillary servers (SQL, Cache,etc), if they crash
73 MONITOR_SERVERS=false
75 #####################################Client Section########################
77 #Mutex timeout interval seconds
78 MUTEX_TIMEOUT_SECS=0
79 MUTEX_TIMEOUT_USECS=5000
80 MUTEX_TIMEOUT_RETRIES=10
82 #Lock timeout interval seconds
83 LOCK_TIMEOUT_SECS=0
84 LOCK_TIMEOUT_USECS=5000
85 LOCK_TIMEOUT_RETRIES=10
87 #Statement Cache Size
88 STMT_CACHE_SIZE=10
90 #Enable statement cache for statements with no parameters
91 #Only SELECT statement with no date, time, timestamp fields will be cached.
92 STMT_CACHE_NOPARAM=false
94 #####################################Cache Section########################
96 #Whether to enable caching of tables from target database
97 #CACHE_TABLE=false
98 CACHE_TABLE=true
100 #DSN Name to connect to the target database.
101 #This should be present in ~/odbc.ini file
102 DSN=oracle
104 # Whethere to enable bidirectional updates for cached tables.
105 ENABLE_BIDIRECTIONAL_CACHE=true
107 CACHE_RECEIVER_WAIT_SECS=10
109 #Mode of operation SYNC or ASYNC
110 CACHE_MODE=SYNC
112 # If CACHE_MODE=OFFLINE then size of OfflineLogFile
113 OFFLINE_FILE_SIZE=1048576
115 ##########################SqlNetworkServer Section########################
117 # Whether to enable SqlNetwork server
118 CSQL_SQL_SERVER=false
120 #Set port for Network access
121 PORT=5678
123 # Max number of seconds that the network layer waits to receive a pkt
124 NETWORK_RESPONSE_TIMEOUT=3
126 # Max number of seconds that the network layer waits to connect to sql server
127 NETWORK_CONNECT_TIMEOUT=5 
129 #Whether to enable Replication across the sites
130 REPLICATION=false
132 #No of sites to replicate
133 REPLICATION_SITES=16
135 #Give full path for the file where all the table information is stored
136 TABLE_CONFIG_FILE=/tmp/csql/csqltable.conf
138 #Give full path of the file where all the DSN information is stored
139 DS_CONFIG_FILE=/tmp/csql/csqlds.conf
141 #Give full path for the file where all the peer site information is stored
142 NETWORK_CONFIG_FILE=/tmp/csql/csqlnw.conf
144 # Give full path for conflict Resolution file
145 CONFL_RESOL_FILE=/tmp/csql/conflResoFile.txt
147 # MSGKEY for creating msg queue for MsgQueue Server
148 MSG_KEY=2525
150 # Maximum message that the message queue server is able to handle for 
151 # asynchronous updates.  This value is is default value of 'kernel.msgmax'
152 # parameter. 
153 ASYNC_MSGMAX=8192
155 # Maximum number of messages that the message queue server will hold for a site
156 # that is down in the replication group.
157 MAX_QUEUE_LOGS=100
159 # Shared memory key for id generators
160 ID_SHM_KEY=1947
161 #####################################End Section########################
162 DSN=myodbc3
163 DSN=myodbc3
164 DSN=myodbc3
165 DSN=myodbc3
166 DSN=myodbc3
167 DSN=myodbc3
168 DSN=myodbc3
169 DSN=myodbc3