File Removed
[csql.git] / test / tools / Durability / csql.conf
blobd4e47de0226639347839f8c1a9022c62fed5eb61
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=2222
25 #Shared memory key to be used by the system to create and locate user database.
26 USER_DB_KEY=3333
28 #Give full path for the log file where important system actions are stored.
29 LOG_FILE=/tmp/csql/log/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 # Whether to enable durability
36 DURABILITY=false
38 #Give full path for the database file where table and record information will
39 #be stored for durability
40 DATABASE_FILE=/tmp/csql/db
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########################
47 #Mutex timeout interval seconds
48 MUTEX_TIMEOUT_SECS=0
49 MUTEX_TIMEOUT_USECS=5000
50 MUTEX_TIMEOUT_RETRIES=10
52 #Lock timeout interval seconds
53 LOCK_TIMEOUT_SECS=0
54 LOCK_TIMEOUT_USECS=5000
55 LOCK_TIMEOUT_RETRIES=10
57 #####################################Cache Section########################
59 #Whether to enable caching of tables from target database
60 CACHE_TABLE=false
62 #Set cache id for multiple bidirectional cache node for single data source
63 CACHE_ID=1
64 #DSN Name to connect to the target database.
65 #This should be present in ~/odbc.ini file
66 DSN=myodbc3
68 USER=
70 PASSWORD=
72 ENABLE_BIDIRECTIONAL_CACHE=false
74 CACHE_RECEIVER_WAIT_SECS=10
76 #Give full path for the file where all the cached table information is stored
77 TABLE_CONFIG_FILE=/tmp/csql/csqltable.conf
79 #Mode of operation SYNC or ASYNC
80 CACHE_MODE=SYNC
82 ##########################SqlNetworkServer Section########################
84 # Whether to enable SqlNetwork server
85 CSQL_SQL_SERVER=false
87 #Set port for Network access
88 PORT=5678
90 #Whether to enable Replication across the sites
91 REPLICATION=false
93 #No of sites to replicate
94 REPLICATION_SITES=16
96 #Give full path for the file where all the peer site information is stored
97 NETWORK_CONFIG_FILE=/tmp/csql/csqlnw.conf
99 # MSGKEY for creating msg queue for MsgQueue Server
100 MSG_KEY=2525
102 ID_SHM_KEY=1947
103 #####################################End Section########################