Skip to content

Commit

Permalink
SNOW-1337069 details on pooling enabled improved
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-mhofman committed May 16, 2024
1 parent a683d07 commit 6d6a716
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions doc/ConnectionPooling.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,18 @@ using (var connection = new SnowflakeDbConnection(ConnectionString))

### Pool Interfaces

| Connection Pool Feature | Connection String Parameter | Default | Method | Info |
|-----------------------------------------------------------|------------------------------|---------|---------------------------------|-----------------------------------------------------------------------------------------------------------|
| [Multiple pools](#multiple-pools) | | | | |
| [Minimum pool size](#minimum-pool-size) | MinPoolSize | 2 | | |
| [Maximum pool size](#maximum-pool-size) | MaxPoolSize | 10 | | |
| [Changed Session Behavior](#changed-session-behavior) | ChangedSession | Destroy | | Destroy or OriginalPool |
| [Pool Size Exceeded Timeout](#pool-size-exceeded-timeout) | WaitingForIdleSessionTimeout | 30s | | Values can be provided with postfix [ms], [s], [m] |
| [Expiration Timeout](#expiration-timeout) | ExpirationTimeout | 60m | | |
| [Pooling Enabled](#connection-timeout) | PoolingEnabled | true | | Pooling connections authenticated with External Browser or Key-Pair Authentication is disabled by default |
| [Connection Timeout](#pooling-enabled) | | 300s | | |
| [Current Pool Size](#current-pool-size) | | | GetCurrentPoolSize() | |
| [Clear Pool](#clear-pool) | | | ClearPool() or ClearAllPools() | |
| Connection Pool Feature | Connection String Parameter | Default | Method | Info |
|-----------------------------------------------------------|------------------------------|---------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------|
| [Multiple pools](#multiple-pools) | | | | |
| [Minimum pool size](#minimum-pool-size) | MinPoolSize | 2 | | |
| [Maximum pool size](#maximum-pool-size) | MaxPoolSize | 10 | | |
| [Changed Session Behavior](#changed-session-behavior) | ChangedSession | Destroy | | Destroy or OriginalPool |
| [Pool Size Exceeded Timeout](#pool-size-exceeded-timeout) | WaitingForIdleSessionTimeout | 30s | | Values can be provided with postfix [ms], [s], [m] |
| [Expiration Timeout](#expiration-timeout) | ExpirationTimeout | 60m | | |
| [Pooling Enabled](#connection-timeout) | PoolingEnabled | true | | Pooling connections authenticated with External Browser or Key-Pair Authentication without password is disabled by default |
| [Connection Timeout](#pooling-enabled) | | 300s | | |
| [Current Pool Size](#current-pool-size) | | | GetCurrentPoolSize() | |
| [Clear Pool](#clear-pool) | | | ClearPool() or ClearAllPools() | |

#### Multiple pools

Expand Down Expand Up @@ -349,7 +349,7 @@ using (var connection = new SnowflakeDbConnection(connectionString))

Enables or disables connection pooling for the pool identified by a given connection string.

<u>For security reasons pooling is disabled by default for External Browser or Key-Pair Authentication.</u>
<u>For security reasons pooling is disabled by default for External Browser or Key-Pair Authentication (unless password for key is provided).</u>

It can be enabled with a connection string parameter if needed.
However, be warned that using:
Expand Down

0 comments on commit 6d6a716

Please sign in to comment.