Skip to content

Commit 1352f96

Browse files
committed
query_cache_limit docs
1 parent 53a1cd7 commit 1352f96

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

docs/configuration/pgdog.toml/general.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ General settings are relevant to the operations of the pooler itself, or apply t
88

99
### `host`
1010

11-
The IP address of the local network interface PgDog will bind to to listen for connections.
11+
The IP address of the local network interface PgDog will bind to listen for connections.
1212

1313
!!! note
1414
This setting cannot be changed at runtime.
@@ -17,7 +17,7 @@ Default: **`0.0.0.0`** (all interfaces)
1717

1818
### `port`
1919

20-
The TCP port PgDog will bind to to listen for connections.
20+
The TCP port PgDog will bind to listen for connections.
2121

2222
Default: **`6432`**
2323

@@ -29,7 +29,7 @@ Default: **`6432`**
2929
Number of Tokio threads to spawn at pooler startup. In multi-core systems, the recommended setting is two (2) per
3030
virtual CPU. The value `0` means to spawn no threads and use the current thread runtime (single-threaded). This option is better on IO-bound systems where multi-threading is not necessary and could even hamper performance.
3131

32-
Default: **`0`** (current thread runtime)
32+
Default: **`2`**
3333

3434
!!! note
3535
This setting cannot be changed at runtime.
@@ -370,6 +370,12 @@ Enable automatic conversion of single-statement write transactions to use [two-p
370370

371371
Default: **`true`** (enabled)
372372

373+
### `query_cache_limit`
374+
375+
Limit on the number of statements saved in the statement cache used to accelerate query parsing. The saved statements are visible by running the `SHOW QUERY_CACHE` in the [admin database](../../administration/index.md).
376+
377+
Default: **`50_000`**
378+
373379
## Logging
374380

375381
### `log_connections`

0 commit comments

Comments
 (0)