From 76cf0114dca2e232462028ab50882fdb1f0cb99d Mon Sep 17 00:00:00 2001 From: Lev Kokotov Date: Mon, 15 Jun 2026 22:43:16 -0700 Subject: [PATCH 1/2] refactor: query_plan -> query_plans --- docs/enterprise_edition/plans.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/enterprise_edition/plans.md b/docs/enterprise_edition/plans.md index babb2141..41e388a4 100644 --- a/docs/enterprise_edition/plans.md +++ b/docs/enterprise_edition/plans.md @@ -16,13 +16,13 @@ Query plan collection is disabled by default and can be enabled in `pgdog.toml`: ```toml [query_stats] enabled = true - query_plan_threshold = 100 # Queries slower than 100ms will be planned. + query_plans_threshold = 100 # Queries slower than 100ms will be planned. ``` === "Helm chart" ```yaml queryStats: enabled: true - queryPlanThreshold: 100 + queryPlansThreshold: 100 ``` The plans are stored in memory and deduplicated by _normalized_ SQL of the query. This means that queries with different parameters will be tied to the same query plan, making sure PgDog doesn't plan the same query multiple times. @@ -33,10 +33,10 @@ The query plan cache is configurable: | Argument | Description | Example | |-|-|-| -| `query_plan_threshold` | Minimum query runtime that triggers a query plan (in ms). | `100` | +| `query_plans_threshold` | Minimum query runtime that triggers a query plan (in ms). | `100` | | `query_plans_sample_rate` | Percentage of all queries executed through PgDog that will be planned, irrespective of their runtime (between 0.0 and 1.0). | `0.5` | | `query_plans_cache` | Maximum number of entries in the in-memory plan cache. | `500` | -| `query_plan_max_age` | Query plans older than this are considered stale and will be replanned if the query is executed again (in ms). | `15_000` | +| `query_plans_max_age` | Query plans older than this are considered stale and will be replanned if the query is executed again (in ms). | `15_000` | ##### Example @@ -44,19 +44,19 @@ The query plan cache is configurable: ```toml [query_stats] enabled = true - query_plan_threshold = 100 + query_plans_threshold = 100 query_plans_sample_rate = 0.5 query_plans_cache = 1_000 - query_plan_max_age = 15_000 + query_plans_max_age = 15_000 ``` === "Helm chart" ```yaml queryStats: enabled: true - queryPlanThreshold: 100 + queryPlansThreshold: 100 queryPlansSampleRate: 0.5 queryPlansCache: 1000 - queryPlanMaxAge: 15000 + queryPlansMaxAge: 15000 ``` ### Admin database From e06fea6c74b59739bac045dcd1728c7a7b3a507a Mon Sep 17 00:00:00 2001 From: Lev Kokotov Date: Mon, 15 Jun 2026 22:46:50 -0700 Subject: [PATCH 2/2] update image --- docs/examples/control_plane/docker-compose.yaml | 4 ++-- main.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/examples/control_plane/docker-compose.yaml b/docs/examples/control_plane/docker-compose.yaml index 58905fae..75e43470 100644 --- a/docs/examples/control_plane/docker-compose.yaml +++ b/docs/examples/control_plane/docker-compose.yaml @@ -1,5 +1,5 @@ x-pgdog: &pgdog - image: ghcr.io/pgdogdev/pgdog-enterprise:v2026-05-28 + image: ghcr.io/pgdogdev/pgdog-enterprise:v2026-06-15 command: ["pgdog", "--config", "/etc/pgdog/pgdog.toml", "--users", "/etc/secrets/pgdog/users.toml"] mem_limit: 1g environment: @@ -32,7 +32,7 @@ services: image: redis:7 control: - image: ghcr.io/pgdogdev/pgdog-enterprise/control:v2026-05-28 + image: ghcr.io/pgdogdev/pgdog-enterprise/control:v2026-06-15 ports: - "8099:8080" environment: diff --git a/main.py b/main.py index 1db51759..1e02e23b 100644 --- a/main.py +++ b/main.py @@ -10,7 +10,7 @@ # Latest released tag for the Enterprise Docker images. Update this in one # place; reference it in docs with {{ enterprise_tag }}. Can be overridden at # build time with the ENTERPRISE_TAG environment variable. -ENTERPRISE_TAG = os.environ.get("ENTERPRISE_TAG", "v2026-06-12") +ENTERPRISE_TAG = os.environ.get("ENTERPRISE_TAG", "v2026-06-15") def define_env(env):