<commit_before>#
# Configuration of the driver manager
#################################################################################
driver.vfs=db
driver.project=db
driver.user=db
driver.history=db

#
# Database setup (used only in tests) 
#################################################################################

db.pool.setup.dbName=ocjutest
db.pool.setup.jdbcDriver=com.ibm.db2.jcc.DB2Driver
db.pool.setup.jdbcUrl=jdbc:db2://localhost:50000/ocjutest
db.pool.setup.jdbcUrl.params=
db.pool.setup.user=db2admin
db.pool.setup.password=password

#
# Declaration of database pools
#################################################################################
db.pools=default

#
# Configuration of the default database pool
#################################################################################

# name of the database (used only in tests)
db.pool.default.dbName=ocjutest

# name of the JDBC driver
db.pool.default.jdbcDriver=com.ibm.db2.jcc.DB2Driver

# URL of the JDBC driver
db.pool.default.jdbcUrl=jdbc:db2://localhost:50000/ocjutest

# optional parameters for the URL of the JDBC driver
db.pool.default.jdbcUrl.params=

# user name to connect to the database
db.pool.default.user=db2admin

# password to connect to the database
db.pool.default.password=password

# the URL to make the JDBC DriverManager return connections from the DBCP pool
db.pool.default.poolUrl=opencms:default

# the maximum number of objects that can be borrowed from the pool
db.pool.default.maxActive=25

# the maximum amount of time before throwing an exception when the pool is exhausted
db.pool.default.maxWait=2000

# the maximum number of objects that can sit idled in the pool
db.pool.default.maxIdle=10

# connections will be validated by evictor thread
db.pool.default.testWhileIdle=true

# number of milliseconds to sleep between runs of the evictor thread
# -1 means no idle connection evictor thread will be run
db.pool.default.timeBetweenEvictionRuns=3600000

# number of connections tested in a run of the evictor thread
db.pool.default.numTestsPerEvictionRun=3

# minimum amount of time in milliseconds a connection may be idle in the pool before it is eligable for eviction 
db.pool.default.minEvictableIdleTime=1800000

# the query to validate connections
db.pool.default.testQuery=SELECT STRUCTURE_ID FROM CMS_OFFLINE_STRUCTURE WHERE RESOURCE_PATH = '/'

# action to take when the pool is exhausted {grow|block|fail}
db.pool.default.whenExhaustedAction=block

# connections will be validated before they are borrowed from the pool
db.pool.default.testOnBorrow=false

# name of the data tablespace (used only in tests)
db.oracle.defaultTablespace=users

# name of the index tablespace (used only in tests)
db.oracle.indexTablespace=users

#name of the temporary tablespace (used only in tests)
db.oracle.temporaryTablespace=temp

#
# Configuration for statement pooling<commit_msg>removed unused properties<commit_after>#
# Configuration of the driver manager
#################################################################################
driver.vfs=db
driver.project=db
driver.user=db
driver.history=db

#
# Database setup (used only in tests) 
#################################################################################

db.pool.setup.dbName=ocjutest
db.pool.setup.jdbcDriver=com.ibm.db2.jcc.DB2Driver
db.pool.setup.jdbcUrl=jdbc:db2://localhost:50000/ocjutest
db.pool.setup.jdbcUrl.params=
db.pool.setup.user=db2admin
db.pool.setup.password=password

#
# Declaration of database pools
#################################################################################
db.pools=default

#
# Configuration of the default database pool
#################################################################################

# name of the database (used only in tests)
db.pool.default.dbName=ocjutest

# name of the JDBC driver
db.pool.default.jdbcDriver=com.ibm.db2.jcc.DB2Driver

# URL of the JDBC driver
db.pool.default.jdbcUrl=jdbc:db2://localhost:50000/ocjutest

# optional parameters for the URL of the JDBC driver
db.pool.default.jdbcUrl.params=

# user name to connect to the database
db.pool.default.user=db2admin

# password to connect to the database
db.pool.default.password=password

# the URL to make the JDBC DriverManager return connections from the DBCP pool
db.pool.default.poolUrl=opencms:default

# the maximum number of objects that can be borrowed from the pool
db.pool.default.maxActive=25

# the maximum amount of time before throwing an exception when the pool is exhausted
db.pool.default.maxWait=2000

# the maximum number of objects that can sit idled in the pool
db.pool.default.maxIdle=10

# connections will be validated by evictor thread
db.pool.default.testWhileIdle=true

# number of milliseconds to sleep between runs of the evictor thread
# -1 means no idle connection evictor thread will be run
db.pool.default.timeBetweenEvictionRuns=3600000

# number of connections tested in a run of the evictor thread
db.pool.default.numTestsPerEvictionRun=3

# minimum amount of time in milliseconds a connection may be idle in the pool before it is eligable for eviction 
db.pool.default.minEvictableIdleTime=1800000

# the query to validate connections
db.pool.default.testQuery=SELECT STRUCTURE_ID FROM CMS_OFFLINE_STRUCTURE WHERE RESOURCE_PATH = '/'

# action to take when the pool is exhausted {grow|block|fail}
db.pool.default.whenExhaustedAction=block

# connections will be validated before they are borrowed from the pool
db.pool.default.testOnBorrow=false

#
# Configuration for statement pooling
{'fraction_non_alphanumeric': 0.18077061577241627, 'fraction_numerical': 0.015124234785740008, 'mean_word_length': 5.875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6952905', 'n_tokens_mistral': 1648, 'n_tokens_neox': 1533, 'n_words': 499}