Kaynağa Gözat

[ci fw-only Java/act] hibernate pgsql updates performance tune #1 - reduce the db connection number (#3813)

Green Luo 7 yıl önce
ebeveyn
işleme
356b1f16ef

+ 4 - 1
frameworks/Java/act/src/main/resources/conf/hibernate_pgsql/db.properties

@@ -3,4 +3,7 @@ app.batch.save=false
 
 db.impl=act.db.hibernate.HibernatePlugin
 db.url=jdbc:postgresql://${pgsql.host}:5432/hello_world?loggerLevel=OFF
-db.isolationLevel=4
+
+db.maxConnections=20
+db.minConnections=10
+db.autoCommit=true