summaryrefslogtreecommitdiffstats
path: root/rubbos/rubbos_scripts/1-1-1/rubbos_conf/mysql.properties
diff options
context:
space:
mode:
authorhongbotian <hongbo.tianhongbo@huawei.com>2015-11-30 02:58:25 -0500
committerhongbotian <hongbo.tianhongbo@huawei.com>2015-11-30 02:58:25 -0500
commitb6d3d6e668b793220f2d3af1bc3e828553dc3fe6 (patch)
treeeeebb5a818b8e23ddb54fe6a609e1cd8aeebe158 /rubbos/rubbos_scripts/1-1-1/rubbos_conf/mysql.properties
parent9401f816dd0d9d550fe98a8507224bde51c4b847 (diff)
bottleneck testcase based on rubbos
JIRA: BOTTLENECK-31 Change-Id: I35b1bcdca28c4e06e316143cc895b4cdf689d0d3 Signed-off-by: hongbotian <hongbo.tianhongbo@huawei.com>
Diffstat (limited to 'rubbos/rubbos_scripts/1-1-1/rubbos_conf/mysql.properties')
-rw-r--r--rubbos/rubbos_scripts/1-1-1/rubbos_conf/mysql.properties83
1 files changed, 83 insertions, 0 deletions
diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/mysql.properties b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/mysql.properties
new file mode 100644
index 00000000..3c8c0add
--- /dev/null
+++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/mysql.properties
@@ -0,0 +1,83 @@
+
+###################### PostgreSQL DataSource configuration example
+#
+
+
+#####
+# DataSource configuration
+#
+datasource.name mysql
+
+datasource.url jdbc:mysql://node9:3313/rubbos
+datasource.classname com.mysql.jdbc.Driver
+
+datasource.username elba
+datasource.password elba
+
+
+#####
+# ConnectionManager configuration
+#
+
+# JDBC connection checking level.
+# 0 = no special checking
+# 1 = check physical connection is still open before reusing it
+# 2 = try every connection before reusing it
+jdbc.connchecklevel 1
+
+# Max age for jdbc connections
+# nb of minutes a connection can be kept in the pool
+jdbc.connmaxage 30
+
+# Max concurrent threads on same tx/connection
+# (not used with a customized jdbc datasource)
+jdbc.connmaxthreads 4
+
+# Max wait time if more than connmaxthreads threads request conn
+# value is in seconds
+# (not used with a customized jdbc datasource)
+jdbc.connexcltimeout 30
+
+# Test statement
+jdbc.connteststmt select 1
+
+
+######
+# Customizing JDBC DataSource configuration
+#
+
+# Name of the class implementing the XADataSource
+#datasource.factory org.objectweb.jonas.dbm.JonasStandardXADataSource
+
+# JNDI name use to bind the XADataSource
+#datasource.xadataname postgre1_xa
+
+# Minimum number of physical connection used by the XADataSource
+#datasource.mincon 5
+
+# Maximum number of physical connection used by the XADataSource
+#datasource.maxcon 10
+
+# Minimum number of XAConnection used by the pool
+#jdbc.minconpool 10
+
+# Maximum number of XAConnection used by the pool
+#jdbc.maxconpool 20
+
+# Time between two clean-up of old unused connection
+# (value is in millisecond)
+#jdbc.sleeptimepool 300000
+
+# Force the gc to be launched when cleaning up
+#jdbc.gcpool false
+
+# In case of no connection in the pool,
+# deadlockpool is the global time to re-try before throwing an exception
+# (value is in millisecond)
+#jdbc.deadlockpool 300000
+
+# In case of no connection in the pool,
+# loopwaitpool is the unit time to re-try
+# (value is in millisecond)
+#jdbc.loopwaitpool 10000
+