-
Notifications
You must be signed in to change notification settings - Fork 21
Disable Hikari Connection Pool for using only YSQL Connection Manager #157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
sonalsagarwal
wants to merge
22
commits into
master
Choose a base branch
from
disableHikariPoolForConnMngr
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
17646f8
- changes to avoid hikari connection pool
d79fe27
- fix in connection variable
4c05101
- minor change in comment
7635af8
- changes to log statements and workload xml
95f00d2
- minor fix
a59450a
- code refactoring
620c938
- minor logging changes
f23bda1
- changes to the yaml
f53a8bd
- minor changes
3a01a88
- minor fix
22dc8dd
Close persistent connections (#158)
sonalsagarwal 69adb7a
- ading debug statements
eab9b08
- removing unnecessary code
88ce709
- reverting previous commit
f03d150
- adding some debug statements
76f0b0a
- revert previous commit
527eb1e
- minor changes
c4094e7
- autoCommit change
75b495e
- minor change
b889128
- minor change
ea0752d
- minor change
05f30d3
- minor change
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| <?xml version="1.0"?> | ||
| <parameters> | ||
| <dbtype>yugabyte</dbtype> | ||
| <driver>com.yugabyte.Driver</driver> | ||
| <port>5433</port> | ||
| <username>yugabyte</username> | ||
| <DBName>yugabyte</DBName> | ||
| <password></password> | ||
| <isolation>TRANSACTION_REPEATABLE_READ</isolation> | ||
|
|
||
| <sslCert></sslCert> | ||
| <sslKey></sslKey> | ||
| <jdbcURL></jdbcURL> | ||
|
|
||
| <useHikariPool>false</useHikariPool> | ||
| <createConnForEveryTx>false</createConnForEveryTx> | ||
|
|
||
| <batchSize>128</batchSize> | ||
| <useKeyingTime>true</useKeyingTime> | ||
| <useThinkTime>true</useThinkTime> | ||
| <enableForeignKeysAfterLoad>true</enableForeignKeysAfterLoad> | ||
| <hikariConnectionTimeoutMs>180000</hikariConnectionTimeoutMs> | ||
| <useStoredProcedures>true</useStoredProcedures> | ||
| <displayEnhancedLatencyMetrics>false</displayEnhancedLatencyMetrics> | ||
| <trackPerSQLStmtLatencies>false</trackPerSQLStmtLatencies> | ||
|
|
||
| <transactiontypes> | ||
| <transaction> | ||
| <name>NewOrder</name> | ||
| <weight>45</weight> | ||
| </transaction> | ||
| <transaction> | ||
| <name>Payment</name> | ||
| <weight>43</weight> | ||
| </transaction> | ||
| <transaction> | ||
| <name>OrderStatus</name> | ||
| <weight>4</weight> | ||
| </transaction> | ||
| <transaction> | ||
| <name>Delivery</name> | ||
| <weight>4</weight> | ||
| </transaction> | ||
| <transaction> | ||
| <name>StockLevel</name> | ||
| <weight>4</weight> | ||
| </transaction> | ||
| </transactiontypes> | ||
|
|
||
| <runtime>1800</runtime> | ||
| <rate>10000</rate> | ||
| <!-- | ||
| Set the number of retries to 0 as retrying when the number of warehouses is | ||
| high is pointless as it just leads to more failures. | ||
| --> | ||
| <maxRetriesPerTransaction>2</maxRetriesPerTransaction> | ||
| <maxLoaderRetries>2</maxLoaderRetries> | ||
|
|
||
| </parameters> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| <?xml version="1.0"?> | ||
| <parameters> | ||
| <dbtype>yugabyte</dbtype> | ||
| <driver>com.yugabyte.Driver</driver> | ||
| <port>5433</port> | ||
| <username>yugabyte</username> | ||
| <DBName>yugabyte</DBName> | ||
| <password></password> | ||
| <isolation>TRANSACTION_REPEATABLE_READ</isolation> | ||
|
|
||
| <sslCert></sslCert> | ||
| <sslKey></sslKey> | ||
| <jdbcURL></jdbcURL> | ||
|
|
||
| <useHikariPool>false</useHikariPool> | ||
| <createConnForEveryTx>true</createConnForEveryTx> | ||
|
|
||
| <batchSize>128</batchSize> | ||
| <useKeyingTime>true</useKeyingTime> | ||
| <useThinkTime>true</useThinkTime> | ||
| <enableForeignKeysAfterLoad>true</enableForeignKeysAfterLoad> | ||
| <hikariConnectionTimeoutMs>180000</hikariConnectionTimeoutMs> | ||
| <useStoredProcedures>true</useStoredProcedures> | ||
| <displayEnhancedLatencyMetrics>false</displayEnhancedLatencyMetrics> | ||
| <trackPerSQLStmtLatencies>false</trackPerSQLStmtLatencies> | ||
|
|
||
| <transactiontypes> | ||
| <transaction> | ||
| <name>NewOrder</name> | ||
| <weight>45</weight> | ||
| </transaction> | ||
| <transaction> | ||
| <name>Payment</name> | ||
| <weight>43</weight> | ||
| </transaction> | ||
| <transaction> | ||
| <name>OrderStatus</name> | ||
| <weight>4</weight> | ||
| </transaction> | ||
| <transaction> | ||
| <name>Delivery</name> | ||
| <weight>4</weight> | ||
| </transaction> | ||
| <transaction> | ||
| <name>StockLevel</name> | ||
| <weight>4</weight> | ||
| </transaction> | ||
| </transactiontypes> | ||
|
|
||
| <runtime>1800</runtime> | ||
| <rate>10000</rate> | ||
| <!-- | ||
| Set the number of retries to 0 as retrying when the number of warehouses is | ||
| high is pointless as it just leads to more failures. | ||
| --> | ||
| <maxRetriesPerTransaction>2</maxRetriesPerTransaction> | ||
| <maxLoaderRetries>2</maxLoaderRetries> | ||
|
|
||
| </parameters> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.