We are happy to announce a new CrateDB 6.5 stable release.
If you run analytics on large datasets, you’ll notice the difference right away: aggregations and GROUP BY queries are faster, dashboards load quicker, and the same cluster handles more queries.
Highlights of this release:
- count(DISTINCT) on string columns is up to 21x faster. One benchmark query dropped from about 8.3 seconds to under 0.4 seconds.
- GROUP BY on string columns with doc values is more than 2x faster.
- Keys-only GROUP BY on high-cardinality text columns takes 41% less time, so dashboard drop-downs and filters fill faster.
- A smarter query planner. It collects statistics for foreign tables, simplifies redundant conditions generated by BI tools and ORMs, and caches view definitions.
- Better PostgreSQL compatibility. DataGrip, Pgpool-II, and lazysql now work out of the box, and you can carry over more of your PostgreSQL schemas unchanged.
- Simpler JWT setup with OpenID Connect Discovery.
- SWAP TABLE and RENAME TABLE no longer break in-progress snapshots, and concurrent operations are protected.
You can see the complete list of changes in the release notes, and more high-level details in the related 6.5 release blog post. Please check the breaking changes in the release notes before upgrading.
You can download CrateDB 6.5 from our download page or deploy a cluster in the CrateDB Cloud Console.
Thank you to everyone who contributed!