[jboss-svn-commits] JBL Code SVN: r30771 - in labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/postgresql: database-locations/remote-db/resourceA and 1 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Dec 18 10:49:58 EST 2009
Author: whitingjr
Date: 2009-12-18 10:49:58 -0500 (Fri, 18 Dec 2009)
New Revision: 30771
Modified:
labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/postgresql/database-locations/remote-db/resourceA/connection.properties
labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/postgresql/database-locations/remote-db/resourceA/resource.properties
labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/postgresql/database-locations/remote-db/resourceB/connection.properties
labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/postgresql/database-locations/remote-db/resourceB/resource.properties
labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/postgresql/db-profile.properties
Log:
Updated resource properties to support container connection pooling and statement caching.
Modified: labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/postgresql/database-locations/remote-db/resourceA/connection.properties
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/postgresql/database-locations/remote-db/resourceA/connection.properties 2009-12-18 15:49:11 UTC (rev 30770)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/postgresql/database-locations/remote-db/resourceA/connection.properties 2009-12-18 15:49:58 UTC (rev 30771)
@@ -1,6 +1,6 @@
# Resource A
-db-vendor-jdbc-connectionURL.A=jdbc:arjuna:pgsql1//${db-vendor-jdbc-serverName.A}/${db-vendor-jdbc-database.A}
+db-vendor-jdbc-connectionURL.A=jdbc:postgresql://${db-vendor-jdbc-serverName.A}/${db-vendor-jdbc-database.A}
db-vendor-jdbc-userName.A=dtf11
db-vendor-jdbc-password.A=dtf11
Modified: labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/postgresql/database-locations/remote-db/resourceA/resource.properties
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/postgresql/database-locations/remote-db/resourceA/resource.properties 2009-12-18 15:49:11 UTC (rev 30770)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/postgresql/database-locations/remote-db/resourceA/resource.properties 2009-12-18 15:49:58 UTC (rev 30771)
@@ -21,8 +21,20 @@
# class used to relax integrity constraint
db-vendor-constraint-class.A=${postgresql.db-vendor-constraint-class}
-db-connection.caching.A=false
-
db-vendor-driver.configuration.xml.A=<entry><key>ServerName</key><value>${db-vendor-jdbc-serverName.A}</value></entry><entry><key>DatabaseName</key><value>${db-vendor-jdbc-database.A}</value></entry><entry><key>User</key><value>${db-vendor-jdbc-userName.A}</value></entry><entry><key>Password</key><value>${db-vendor-jdbc-password.A}</value></entry>
-db-vendor-driver.cachePreparedStatements.B=${postgresql.db-vendor-driver.cachePreparedStatements}
+db.supports.xa.A=${postgresql.db.supports.xa}
+
+# JBoss pool settings
+
+db-connection-share.prepared.statements.A=${postgresql.db-connection-share.prepared.statements}
+db-connection-prepared.statement.cache.size.A=${postgresql.db-connection-prepared.statement.cache.size}
+
+# JBoss managed connection factory settings
+
+db-pool-min.size.A=${postgresql.db-pool-min.size}
+db-pool-max.size.A=${postgresql.db-pool-max.size}
+db-connection-blocking.timeout.A=${postgresql.db-connection-blocking.timeout}
+db-connection-idle.timeout.A=${postgresql.db-connection-idle.timeout}
+db-connection-background.interval.A=${postgresql.db-connection-background.interval}
+db-connection-background.validation.A=${postgresql.db-connection-background.validation}
Modified: labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/postgresql/database-locations/remote-db/resourceB/connection.properties
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/postgresql/database-locations/remote-db/resourceB/connection.properties 2009-12-18 15:49:11 UTC (rev 30770)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/postgresql/database-locations/remote-db/resourceB/connection.properties 2009-12-18 15:49:58 UTC (rev 30771)
@@ -1,6 +1,6 @@
# Resource A
-db-vendor-jdbc-connectionURL.B=jdbc:arjuna:pgsql1//${db-vendor-jdbc-serverName.B}/${db-vendor-jdbc-database.B}
+db-vendor-jdbc-connectionURL.B=jdbc:postgresql://${db-vendor-jdbc-serverName.B}/${db-vendor-jdbc-database.B}
db-vendor-jdbc-userName.B=dtf12
db-vendor-jdbc-password.B=dtf12
Modified: labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/postgresql/database-locations/remote-db/resourceB/resource.properties
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/postgresql/database-locations/remote-db/resourceB/resource.properties 2009-12-18 15:49:11 UTC (rev 30770)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/postgresql/database-locations/remote-db/resourceB/resource.properties 2009-12-18 15:49:58 UTC (rev 30771)
@@ -21,8 +21,18 @@
# class used to relax integrity constraint
db-vendor-constraint-class.B=${postgresql.db-vendor-constraint-class}
-db-connection.caching.B=false
-
db-vendor-driver.configuration.xml.B=<entry><key>ServerName</key><value>${db-vendor-jdbc-serverName.B}</value></entry><entry><key>DatabaseName</key><value>${db-vendor-jdbc-database.B}</value></entry><entry><key>User</key><value>${db-vendor-jdbc-userName.B}</value></entry><entry><key>Password</key><value>${db-vendor-jdbc-password.B}</value></entry>
-db-vendor-driver.cachePreparedStatements.B=${postgresql.db-vendor-driver.cachePreparedStatements}
+db.supports.xa.B=${postgresql.db.supports.xa}
+
+# JBoss managed connection factory settings
+
+db-connection-share.prepared.statements.B=${postgresql.db-connection-share.prepared.statements}
+db-connection-prepared.statement.cache.size.B=${postgresql.db-connection-prepared.statement.cache.size}
+
+db-pool-min.size.B=${postgresql.db-pool-min.size}
+db-pool-max.size.B=${postgresql.db-pool-max.size}
+db-connection-blocking.timeout.B=${postgresql.db-connection-blocking.timeout}
+db-connection-idle.timeout.B=${postgresql.db-connection-idle.timeout}
+db-connection-background.interval.B=${postgresql.db-connection-background.interval}
+db-connection-background.validation.B=${postgresql.db-connection-background.validation}
Modified: labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/postgresql/db-profile.properties
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/postgresql/db-profile.properties 2009-12-18 15:49:11 UTC (rev 30770)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/postgresql/db-profile.properties 2009-12-18 15:49:58 UTC (rev 30771)
@@ -1,3 +1,4 @@
+
# report to profiling system vendor support for xa, used to verify command line parameters
db.supports.xa=true
@@ -3,12 +4,5 @@
# needs 'user', 'password', 'serverName', 'databaseName'
-# specify which packages or classes are to be profiled. These will be identical across any database installation
-postgresql.db-vendor-profiling=org.postgresql
-# inclusion xpaths
-postgresql.db-vendor-package.xpath=org.postgresql
-
-postgresql.db-vendor.method.xpaths=org.postgresql.xa.PGXADataSource:getXAConnection
-
-postgresql.db-vendor-jdbc-same.driverClass=org.postgresql.ds.PGConnectionPoolDataSource
+postgresql.db-vendor-jdbc-same.driverClass=org.postgresql.ds.PGSimpleDataSource
postgresql.db-vendor-jdbc-xa.driverClass=org.postgresql.xa.PGXADataSource
@@ -22,6 +16,15 @@
# class used to relax integrity constraint
postgresql.db-vendor-constraint-class=org.jboss.jbossts.performance.persistence.vendor.PostgreSQL
-postgresql.db-connection.caching=false
+postgresql.db-vendor-profiling=org.postgresql
+postgresql.db-vendor-package.xpath=org.postgresql
+postgresql.db-vendor.method.xpaths=org.postgresql.xa.PGXADataSource:getXAConnection
-postgresql.db-vendor-driver.cachePreparedStatements=true
+postgresql.db-pool-min.size=5
+postgresql.db-pool-max.size=20
+postgresql.db-connection-blocking.timeout=1000
+postgresql.db-connection-idle.timeout=200000
+postgresql.db-connection-background.interval=1000
+postgresql.db-connection-background.validation=false
+postgresql.db-connection-share.prepared.statements=true
+postgresql.db-connection-prepared.statement.cache.size=20
\ No newline at end of file
More information about the jboss-svn-commits
mailing list