#----------------------------------------------
# Настрока пула конектов для субд !
# Желательно не менять настроек если не знаете для чего они!!!
#----------------------------------------------
# Настроки для пула с использованием BoneCP
Вы не можете просматривать ссылку пожалуйста воспользуйтесь следующими ссылками
Вход или
Регистрация
#----------------------------------------------
# Время в минутах, как часто будет делатся проверка конекта к БД.
# Default: 240 min, set to 0 to disable
idleConnectionTestPeriod
# The time (in minutes), for a connection to remain unused before it is closed off. Do not use aggressive values here!
# Default: 60 minutes, set to 0 to disable
idleMaxAge
# In order to reduce lock contention and thus improve performance, each incoming connection request picks off
# a connection from a pool that has thread-affinity, i.e. pool[threadId % partition_count].
# The higher this number, the better your performance will be for the case when you have plenty of short-lived threads.
# Beyond a certain threshold, maintenence of these pools will start to have a negative effect on performance
# (and only for the case when connections on a partition start running out).
# Default: 3, minimum: 1, recommended: 3-4 (but very app specific)
partitionCount
# The number of connections to create per partition. Setting this to 5 with 3 partitions means you will have 15 unique
# connections to the database. Note that BoneCP will not create all these connections in one go but rather start off with
# minConnectionsPerPartition and gradually increase connections as required.
# Default: 50
maxConnectionsPerPartition
# The number of connections to start off with per partition.
# Default: 10
minConnectionsPerPartition
# When the available connections are about to run out, BoneCP will dynamically create new ones in batches.
# This property controls how many new connections to create in one go (up to a maximum of maxConnectionsPerPartition).
# Note: This is a per partition setting.
# Default: 10
acquireIncrement
# Number of threads to create that will handle releasing a connection. Useful when your application is doing lots
# of work on each connection (i.e. perform an SQL query, do lots of non-DB stuff and perform another query),
# otherwise will probably slow things down.
# Default: 3, Set to 0 to disable.
releaseHelperThreads
# Instruct the pool to create a helper thread to watch over connection acquires that are never released (or released twice).
# When the pool detects such a condition it will log a stack trace of the source of the problem.
# This is intended for debugging purposes only - it incurs a large negative performance impact.
# Default: false
closeConnectionWatch
# Stops the pool from talking to the database until a first getConnection() request is made.
# Default: false
lazyInit
#----------------------------------------------
# Настроки для пула с использованием Apache DBCP
Вы не можете просматривать ссылку пожалуйста воспользуйтесь следующими ссылками
Вход или
Регистрация
#----------------------------------------------
#----------------------------------------------
# Настроки для пула с использованием C3P0
Вы не можете просматривать ссылку пожалуйста воспользуйтесь следующими ссылками
Вход или
Регистрация
#----------------------------------------------