|
| 1 | +## v25.3.0-rc.1 |
| 2 | + |
| 3 | +Release Date: July 23, 2025 |
| 4 | + |
| 5 | +{% include releases/new-release-downloads-docker-image.md release=include.release %} |
| 6 | + |
| 7 | +<h3 id="v25-3-0-rc-1-sql-language-changes">SQL language changes</h3> |
| 8 | + |
| 9 | +- The `CITEXT` data type is now supported, enabling case-insensitive comparisons for `CITEXT` columns. Internally, `CITEXT` is equivalent to using the undetermined level 2 collation `und-u-ks-level2`. For example, under `CITEXT`, the expression `'test' = 'TEST'` returns `TRUE`. |
| 10 | + [#149819][#149819] |
| 11 | +- Added support for automatically determining the region column for a `REGIONAL BY ROW` table using a foreign key constraint. The foreign key is specified by setting a new table storage parameter `infer_rbr_region_col_using_constraint`, and must contain the region column. This can be useful for applications that are unable to guarantee that a child row is inserted or updated from the same region as the matching parent row. |
| 12 | + [#150366][#150366] |
| 13 | +- The session setting `optimizer_min_row_count`, which sets a lower bound on row count estimates for relational expressions during query planning, is now set to `1` by default. |
| 14 | + [#150376][#150376] |
| 15 | + |
| 16 | +<h3 id="v25-3-0-rc-1-operational-changes">Operational changes</h3> |
| 17 | + |
| 18 | +- A new feature is now available that automatically captures Go execution traces on a scheduled interval. This feature incurs a performance penalty and is generally intended for use under the guidance of Cockroach Labs Support. This feature can be configured using the following cluster settings: |
| 19 | + - `obs.execution_tracer.interval`: Enables the tracer and sets the interval for capturing traces. Set to a value greater than 0 to activate. |
| 20 | + - `obs.execution_tracer.duration`: Specifies the duration for each captured trace. |
| 21 | + - `obs.execution_tracer.total_dump_size_limit`: Sets the maximum disk space allowed for storing execution traces. Older traces are automatically deleted when this limit is reached. |
| 22 | + [#149705][#149705] |
| 23 | +- The value of `sql.stats.error_on_concurrent_create_stats.enabled` now defaults to `false`, suppressing error counters for auto stats jobs that fail due to concurrent stats jobs in progress. |
| 24 | + [#149857][#149857] |
| 25 | + |
| 26 | +<h3 id="v25-3-0-rc-1-bug-fixes">Bug fixes</h3> |
| 27 | + |
| 28 | +- Fixed a slow memory leak that was introduced in v25.1.8, v25.2.1, v25.2.2, and v25.3 betas. The leak would accumulate whenever a node executed a part of the distributed plan (the gateway node of the plan was not affected), and could only be mitigated by restarting the node. |
| 29 | + [#149920][#149920] |
| 30 | +- Fixed an issue where some SQL metrics were not reported when `server.child_metrics.enabled` was enabled, `server.child_metrics.include_aggregate.enabled` was disabled, and `sql.metrics.application_name.enabled` and `sql.metrics.database_name.enabled` were also disabled. Specifically, metrics with no children now report their aggregate metrics regardless of the `server.child_metrics.include_aggregate.enabled` cluster setting. |
| 31 | + [#149929][#149929] |
| 32 | +- Fixed a bug that would allow a race condition in foreign key cascades under `READ COMMITTED` and `REPEATABLE READ` isolation levels. |
| 33 | + [#150296][#150296] |
| 34 | +- Fixed an issue where discarding zone configs on sequences did not actually remove the configuration. |
| 35 | + [#150360][#150360] |
| 36 | + |
| 37 | +<h3 id="v25-3-0-rc-1-performance-improvements">Performance improvements</h3> |
| 38 | + |
| 39 | +- Mutation statements (`UPDATE` and `DELETE`) that perform lookup joins into multi-region tables (perhaps as part of a `CASCADE`) are now more likely to parallelize the lookups across ranges, improving their performance. |
| 40 | + [#150016][#150016] |
| 41 | + |
| 42 | + |
| 43 | +[#150376]: https://github.com/cockroachdb/cockroach/pull/150376 |
| 44 | +[#149705]: https://github.com/cockroachdb/cockroach/pull/149705 |
| 45 | +[#149857]: https://github.com/cockroachdb/cockroach/pull/149857 |
| 46 | +[#149929]: https://github.com/cockroachdb/cockroach/pull/149929 |
| 47 | +[#150360]: https://github.com/cockroachdb/cockroach/pull/150360 |
| 48 | +[#149819]: https://github.com/cockroachdb/cockroach/pull/149819 |
| 49 | +[#150366]: https://github.com/cockroachdb/cockroach/pull/150366 |
| 50 | +[#149920]: https://github.com/cockroachdb/cockroach/pull/149920 |
| 51 | +[#150296]: https://github.com/cockroachdb/cockroach/pull/150296 |
| 52 | +[#150016]: https://github.com/cockroachdb/cockroach/pull/150016 |
0 commit comments