{"full_name":"questdb/questdb","owner":"questdb","name":"questdb","shard":"1","url":"https://github.com/questdb/questdb","description":"QuestDB is a high performance, open-source, time-series database","homepage":"https://questdb.com","topics":["time-series","low-latency","database","sql","questdb","tsdb","time-series-database","capital-markets","market-data","real-time-analytics","tick-data","kdb","parquet","apache-arrow","historian"],"tag_pages":["apache-arrow","database","low-latency","market-data","parquet","real-time-analytics","sql","time-series","tsdb"],"language":"Java","license":"Apache-2.0","avatar":"https://avatars.githubusercontent.com/u/52297642?v=4","created_at":"2014-04-28T23:29:15Z","pushed_at":"2026-11-15T19:00:57Z","metrics":{"stars":17530,"forks":1698,"watchers":134,"issues":2957,"prs":5258,"releases":113,"issues_open":1222,"issues_closed":1735,"prs_open":260,"prs_closed":888,"prs_merged":4110,"discussions":71},"growth":{"day":{"stars":0,"forks":0,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[17516,17522,17522,17523,17528,17530,17530],"forks":[1694,1694,1698,1698,1699,1698,1698],"watchers":[null,134,134,134,134,134,134],"issues_open":[null,1192,1200,1196,1214,1217,1222],"prs_open":[null,262,259,257,260,259,260]},"boards":{},"same_owner":[],"issues":[{"number":1631,"title":"Add all-contribs 🎉 ","comments":65,"created_at":"2021-11-30T12:35:27Z"},{"number":3727,"title":"About \"could not get table writer\"","comments":31,"created_at":"2023-09-09T08:07:52Z"},{"number":2202,"title":"recent unsafe memory access operation in compiled Java code","comments":31,"created_at":"2022-06-08T13:58:12Z"},{"number":5812,"title":"function.cursorClosed() not called consistently","comments":25,"created_at":"2025-07-04T15:23:03Z"},{"number":3816,"title":"Table partitions for all tables in the QuestDB","comments":21,"created_at":"2023-10-05T13:06:29Z"},{"number":1679,"title":"SQL: Join Column Type Mismatch","comments":21,"created_at":"2021-12-13T22:50:43Z"},{"number":4120,"title":"Port remaining parallelizable aggregate functions to off-heap data structures","comments":18,"created_at":"2024-01-11T12:35:32Z"},{"number":2189,"title":"could not open read-only [file=/home/tey/.questdb/db/stock_history/default/change_percent.d","comments":16,"created_at":"2022-06-05T07:13:13Z"}],"discussions":[{"number":7881,"title":"QuestDB in a CodeLaser <> Claude Code benchmark","comments":1,"category":"Show and tell","created_at":"2026-10-12T17:20:49Z"},{"number":7607,"title":"QuestDB 10.0.1 on Windows Docker: V9FS corruption disappeared with Linux/ext4 Docker volume","comments":0,"category":"Show and tell","created_at":"2026-09-06T09:29:35Z"},{"number":6646,"title":"Keep Sender Object Alive","comments":1,"category":"Ideas","created_at":"2026-01-14T13:22:31Z"},{"number":6447,"title":"Proposal: Security Assessment from Team Atlanta (DARPA AIxCC)","comments":3,"category":"Ideas","created_at":"2025-11-25T04:21:40Z"},{"number":5956,"title":"Production Usage in Aviation & Border Systems: Clarification on Replication / HA Roadmap","comments":2,"category":"Ideas","created_at":"2025-07-17T22:25:12Z"},{"number":5635,"title":"QuestDB as a Railway.app template","comments":0,"category":"Show and tell","created_at":"2025-04-29T05:35:48Z"},{"number":5511,"title":"Data Ingest via curl / PHP?","comments":1,"category":"Ideas","created_at":"2025-03-25T10:26:29Z"},{"number":5468,"title":"SAMPLE BY months FROM-TO for multiple unique regions","comments":0,"category":"Ideas","created_at":"2025-03-14T11:52:02Z"}],"latest_release":{"name":"10.2.0","tag":"10.2.0","published_at":"2026-11-10T10:22:14Z","body":"# QuestDB 10.2.0\r\n\r\nQuestDB 10.2.0 adds `GROUPING SETS`, `ROLLUP` and `CUBE`, row-level retention for materialized views, a `DEDUP SKIP` mode that keeps the first-written row, and opt-in power-loss durability for WAL tables, enabled with `cairo.commit.mode=adaptive`. QWP ingestion of small messages is much faster, and this release fixes a large batch of wrong-result, crash and hang bugs in queries, out-of-order ingestion and Parquet partitions.\r\n\r\nThis release contains **a few breaking changes**. Read the [Breaking changes](#breaking-changes-boom) section before you upgrade, especially if you create materialized views with `LIMIT` or window functions, send the designated timestamp twice over QWP, or may need to downgrade after using `DEDUP SKIP`.\r\n\r\nFor any questions or feedback, please join us on [Slack](https://slack.questdb.com/) or on [Discourse](https://community.questdb.com/).\r\n\r\nSee also our _prettier_ [release notes](https://questdb.com/release-notes/) page.\r\n\r\n## Breaking changes :boom:\r\n\r\n- **`CREATE MATERIALIZED VIEW` rejects `LIMIT` in queries that read the base table, and base-table window functions nested in expressions or `SAMPLE BY` subqueries.** Replaying older `SHOW CREATE` output that contains them fails. [#7263](https://github.com/questdb/questdb/pull/7263)\r\n- **QWP rejects table blocks that carry the designated timestamp twice**, once through `at(...)` and once as a named column. Before this change, QuestDB accepted them and stored wrong timestamps. A sender that uses both forms on one table now gets a schema error on every later batch for that table. [#8052](https://github.com/questdb/questdb/pull/8052)\r\n- **An unknown `cairo.commit.mode` value now fails startup**, instead of silently selecting `nosync`. [#7411](https://github.com/questdb/questdb/pull/7411)\r\n- **After 10.2.0 has run on a database, downgrading, writing with the older version and upgrading again is not supported.** See [downgrade to an earlier release](https://questdb.com/docs/concepts/durability/#downgrade). [#7411](https://github.com/questdb/questdb/pull/7411)\r\n- **Downgrading after using `DEDUP SKIP`:** older versions treat `SKIP` tables as `UPSERT` without an error, and suspend WAL apply when they replay a logged `ALTER TABLE ... DEDUP SKIP`. [#7885](https://github.com/questdb/questdb/pull/7885)\r\n\r\n## Highlights\r\n\r\n### `GROUPING SETS`, `ROLLUP` and `CUBE`\r\n\r\n`GROUP BY` and `SAMPLE BY` now accept `ROLLUP`, `CUBE` and `GROUPING SETS`, with the `GROUPING()` and `GROUPING_ID()` functions. One query returns subtotals and a grand total in a single scan of the input:\r\n\r\n```sql\r\nSELECT symbol, side, sum(amount)\r\nFROM trades\r\nGROUP BY ROLLUP(symbol, side);\r\n```\r\n\r\nGrouping sets run in parallel where the plan allows. `SAMPLE BY` grouping sets support `FILL` with `NULL`, constants or `NONE`. `cairo.sql.max.grouping.sets` caps how many grouping sets one query expands to (default 4096). Grouping sets do not vectorize: they ran 1.4x slower than the equivalent `UNION ALL` of plain `GROUP BY`s serially, and up to 6.9x slower in parallel, in the PR's benchmark. [#6853](https://github.com/questdb/questdb/pull/6853)\r\n\r\n### Passthrough views and row-level retention\r\n\r\nMaterialized views can now be passthrough views: a filtered copy of a table (`SELECT ... WHERE`, no `SAMPLE BY`), kept up to date as rows arrive. The new `EXPIRE ROWS` policy adds row-level retention on top, and hides expired rows of a materialized view from every query: `WHEN <predicate>`, `KEEP LATEST`, `KEEP [N] HIGHEST|LOWEST`, or a window predicate. For monotonic `WHEN` policies, such as `ts < now()`, a background job also frees the disk; `cairo.mat.view.row.expiry.cleanup.*` settings control it. `ALTER MATERIALIZED VIEW ... SET EXPIRE ROWS` and `... DROP EXPIRE` change a view's policy. [#7263](https://github.com/questdb/questdb/pull/7263)\r\n\r\n### `DEDUP SKIP`: keep the first row\r\n\r\nThe new `DEDUP SKIP` mode keeps the first-written row and drops later duplicates, where `UPSERT` keeps the ","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}