adding test scripts
[csql.git] / test / sqlgw / Parameter / csql.conf
bloba2cd9ffa1a9b25b09673216dae556d30fef3dcd7
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=4567
25 #Shared memory key to be used by the system to create and locate user database.
26 USER_DB_KEY=5678
28 #Log level 0->no logging 1->Fine 2->Finer 3->Finest
29 LOG_LEVEL=0
31 #Give full path for the log file where important system actions are stored.
32 LOG_FILE=/tmp/csql/log/log.out
34 #The virtual memory start address at which the shared memory segment 
35 # will be created and attached. 
36 MAP_ADDRESS=400000000
38 # Whether to enable durability
39 DURABILITY=false
41 # Can be set true only when DURABILITY is true
42 MMAP=false
44 #Give full path for the database file where table and record information will
45 #be stored for durability
46 DATABASE_FILE=/tmp/csql/db
48 #Important: For Server section parameters, make sure that the value is same for the 
49 #           server process and all the csql client process which connects to it. otherwise, 
50 #           behavior is undefined
51 #####################################Client Section########################
53 #Mutex timeout interval seconds
54 MUTEX_TIMEOUT_SECS=0
55 MUTEX_TIMEOUT_USECS=5000
56 MUTEX_TIMEOUT_RETRIES=10
58 #Lock timeout interval seconds
59 LOCK_TIMEOUT_SECS=0
60 LOCK_TIMEOUT_USECS=5000
61 LOCK_TIMEOUT_RETRIES=10
63 #####################################Cache Section########################
65 #Whether to enable caching of tables from target database
66 CACHE_TABLE=true
68 #Set cache id for multiple bidirectional cache node for single data source
69 SITE_ID=1
71 #DSN Name to connect to the target database.
72 #This should be present in ~/odbc.ini file
73 DSN=myodbc3
75 # Whethere to enable bidirectional updates for cached tables.
76 ENABLE_BIDIRECTIONAL_CACHE=false
78 CACHE_RECEIVER_WAIT_SECS=10
80 #Mode of operation SYNC or ASYNC
81 CACHE_MODE=SYNC
83 ##########################SqlNetworkServer Section########################
85 # Whether to enable SqlNetwork server
86 CSQL_SQL_SERVER=false
88 #Set port for Network access
89 PORT=5678
91 #Whether to enable Replication across the sites
92 REPLICATION=false
94 #No of sites to replicate
95 REPLICATION_SITES=16
97 #Give full path for the file where all the table information is stored
98 TABLE_CONFIG_FILE=/tmp/csql/csqltable.conf
100 #Give full path of the file where all the DSN information is stored
101 DS_CONFIG_FILE=/tmp/csql/csqlds.conf
103 #Give full path for the file where all the peer site information is stored
104 NETWORK_CONFIG_FILE=/tmp/csql/csqlnw.conf
106 # MSGKEY for creating msg queue for MsgQueue Server
107 MSG_KEY=2530
109 ID_SHM_KEY=1950
110 #####################################End Section########################