Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion documentation/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ This page tracks significant updates to the QuestDB documentation.
- [UPSERT and SKIP modes](/docs/concepts/deduplication/#upsert-and-skip-modes) - The new `SKIP` deduplication mode in QuestDB 10.2.0 and QuestDB Enterprise 4.2.1 keeps the first row written for a key and discards later duplicates, the counterpart of `UPSERT`, which keeps the latest. Covers which row wins within a commit and across connections, choosing a mode, switching modes with [`ALTER TABLE DEDUP ENABLE`](/docs/query/sql/alter-table-enable-deduplication/), reading the mode from [`SHOW CREATE TABLE`](/docs/query/sql/show/#deduplication-clause), and how earlier versions handle such tables
- [ALTER TABLE FORCE REINDEX PARQUET](/docs/query/sql/alter-table-force-reindex-parquet/) - Rebuild bitmap and posting indexes on Parquet partitions while the table stays online, available from QuestDB 10.2.0 and QuestDB Enterprise 4.2.1. Use it to repair Parquet partitions left with stale column metadata by QuestDB 9.3.4 through 10.0.1. Covers column and partition selection, cancellation, skipped partitions, automatic repair by `ADD INDEX` and out-of-order writes, and running it on QuestDB Enterprise replicas
- [Kafka lookup enrichment](/docs/connect/message-brokers/kafka/#lookup-enrichment) - Kafka connector 0.26 and newer can look up attributes such as `ticker` from a QuestDB reference table and write them into every row, so queries need no join. Covers the lookup query and key field, supported key and value types, background reloads, unmapped keys, deduplication caveats, troubleshooting, and the four [`enrichment.*` options](/docs/connect/message-brokers/kafka/#lookup-enrichment-options). Requires the `ws` or `wss` transport
- [Resource group CPU limits](/docs/concepts/resource-groups/#a-cpu-limit-is-a-ceiling-not-a-share) - `cpu_limit` caps a resource group's query CPU at a percentage of the node's CPUs, even while the rest of the node is idle, available from QuestDB Enterprise 4.2.2. Covers how the limit is enforced for whole and fractional cores, what it does not count, how parallel queries and `CREATE TABLE ... AS SELECT` behave under it, and [what to check](/docs/operations/resource-groups/#troubleshooting) when a group waits or exceeds its limit
- [Fair scheduling inside a resource group](/docs/concepts/resource-groups/#the-scheduling-policy-divides-a-group-between-its-users) - `scheduling_policy = 'fair'`, available from QuestDB Enterprise 4.2.2, divides a group's CPU by user first, then by query, and admits the user with the fewest admitted queries first, while `fifo` stays the default
- [SET RESOURCE GROUP](/docs/query/sql/acl/set-resource-group/) - From QuestDB Enterprise 4.2.2, PostgreSQL and QWP egress clients can choose a resource group for their connection, and HTTP clients can choose one per request with the `resource_group` parameter of `/execute`. The reference covers `USE RESOURCE GROUP`, permission checks, and connection pooling.

### Reference

Expand All @@ -63,10 +66,13 @@ This page tracks significant updates to the QuestDB documentation.
- Added the `durableEpochSeqTxn`, `recoveryIncarnation`, `localDurableSeqTxn`, and `lastEpochTs` columns to [`wal_tables()`](/docs/query/functions/meta/#wal_tables) and three adaptive commit [metrics](/docs/integrations/other/prometheus/#wal-metrics), and corrected the names of `questdb_wal_apply_seq_txn` and `questdb_wal_apply_writer_txn`
- [CREATE TABLE](/docs/query/sql/create-table/#deduplication) - `DEDUP { UPSERT | SKIP } KEYS` in the syntax of both creation forms; `CREATE TABLE LIKE` copies the keys and the mode
- [Standard SQL equivalents](/docs/concepts/deep-dive/sql-extensions/#standard-sql-features-not-supported) - `INSERT ... ON CONFLICT DO NOTHING` maps to `DEDUP SKIP KEYS`
- Added the `cpu_limit` and `scheduling_policy` parameters to [CREATE RESOURCE GROUP](/docs/query/sql/acl/create-resource-group/#parameters) and [ALTER RESOURCE GROUP](/docs/query/sql/acl/alter-resource-group/), the `cpu_min_share_pct`, `cpu_limit_pct`, `cpu_limit_cores`, and `scheduling_policy` columns to [`resource_groups()`](/docs/query/functions/meta/#resource_groups), the `resource_group` parameter to [`/execute`](/docs/connect/compatibility/rest-api/#execute), and `USE RESOURCE GROUP` to the [permissions reference](/docs/security/rbac/#permissions)
- Added [`backup.activity.log.interval`](/docs/operations/backup/#configuration-reference), which sets how often QuestDB Enterprise logs a backup step that is still running, such as an object store upload or a partition compression

### Updated

- [Resource groups](/docs/concepts/resource-groups/) and [Configure and use resource groups](/docs/operations/resource-groups/) - CPU scheduling also engages when any group has a CPU limit or the `fair` policy; a group that returns from idle neither gains nor owes CPU, however long the instance has run; a degraded scheduler stops enforcing CPU limits and the `fair` policy as well as weights. Corrected that the parallel tasks of a `CREATE TABLE ... AS SELECT` are not charged to a group without a CPU limit, that `COPY ... TO` exports are managed, and that a query keeps its admission slot while it waits for CPU. Added scenarios for a tenant capped at part of the node, a team sharing a group fairly, one account sending urgent and routine queries, and a protected operator share
- [DROP RESOURCE GROUP](/docs/query/sql/acl/drop-resource-group/) and [ALTER RESOURCE GROUP](/docs/query/sql/acl/alter-resource-group/) - What dropping or renaming a group does to `USE RESOURCE GROUP` grants and to sessions that chose the group, and why `DEFAULT` limits apply to the built-in admin unless it chooses another group
- [Audited views](/docs/security/audited-views/#protection) - From QuestDB Enterprise 4.2.1, only the built-in admin can remove rows from `sys.view_audit`, or set its storage policy or TTL. `TRUNCATE TABLE`, `DROP PARTITION`, `SET TTL`, `SET PARAM`, `SET STORAGE POLICY`, and `ENABLE STORAGE POLICY` on the trail are refused to every other principal, whatever it holds. Documented how to keep the trail pruned with the built-in admin disabled, and the [upgrade steps](/docs/operations/upgrade/#upgrading-to-420)
- [Native and Python client startup](/docs/connect/clients/connect-string/#reconnect-keys) and [authentication failures](/docs/high-availability/client-failover/concepts/#authentication-is-cluster-wide) - Corrected how C, C++, Rust, and Python pools start: they connect eagerly, prewarm readers, and honor only an explicit `initial_connect_retry`, so `reconnect_*` keys alone do not retry a server that is down. Documents that native 7.3.0+ and Python 6.1.0+ senders keep retrying a rejected credential once they have connected, but stop on one before, and that pools reject conflicting settings with `lazy_connect`. Pages that described token providers as Java-only now also cover the C, C++, Rust, and Python providers
- [REINDEX](/docs/query/sql/reindex/) - Explains that `LOCK EXCLUSIVE` is required and takes the table's writer lock, and that `REINDEX` rebuilds native partitions only: it skips Parquet partitions and rejects a Parquet partition named in `PARTITION`
Expand All @@ -75,7 +81,7 @@ This page tracks significant updates to the QuestDB documentation.
- [ALTER TABLE SET TYPE](/docs/query/sql/alter-table-set-type/) and [ALTER TABLE REBASE WAL](/docs/query/sql/alter-table-rebase-wal/) - The table keeps its TTL, `FORMAT PARQUET`, per-column Parquet encoding, and deduplication keys and mode; a table converted to WAL keeps dropping partitions past its TTL
- [ALTER TABLE RESUME WAL](/docs/query/sql/alter-table-resume-wal/) - In adaptive durability mode, `RESUME WAL` may first take a save point and need the table's writer, so it can fail with `table busy` or leave the table suspended until you retry
- [Disaster recovery](/docs/high-availability/disaster-recovery/#a-primary-refuses-to-start-after-a-power-loss) - A QuestDB Enterprise primary refuses to start when its log of a table ends before the object store, and how to recover
- [Upgrade QuestDB](/docs/operations/upgrade/#upgrading-to-420) - What to check before upgrading to QuestDB Enterprise 4.2.1, and the limits on going back to an earlier release
- [Upgrade QuestDB](/docs/operations/upgrade/#upgrading-to-420) - What to check before upgrading to QuestDB Enterprise 4.2.1 and the limits on going back to an earlier release. See [resource group changes in 4.2.2](/docs/operations/upgrade/#upgrading-to-422) for CPU policy and catalog changes.
- [Monitoring and alerting](/docs/operations/monitoring-alerting/#detect-adaptive-commit-problems) - What to alert on in adaptive durability mode
- [SHOW CREATE TABLE](/docs/query/sql/show/#show-create-table) - The example output matches what the server returns, without symbol capacities or a `WITH` clause
- [Store-and-forward](/docs/high-availability/store-and-forward/concepts/) and client pages - Switched to the same plain terms throughout: *memory-only mode*, previously *memory mode*, for running without `sf_dir`, distinct from `sf_durability=memory`; *sender directory*, previously *slot*, and *journal* on the [Node.js](/docs/connect/clients/nodejs/#store-and-forward) page, for `<sf_dir>/<sender_id>/`; and *batch* for what a flush sends, which the protocol calls a frame. The [storage keys](/docs/high-availability/store-and-forward/configuration/#storage-keys) of the store-and-forward configuration page now say what each key does to flushes and sender directories, and which flushes are split into several batches or rejected
Expand Down
Loading
Loading