Skip to content

Commit 6f0bbfd

Browse files
dbartgitbook-bot
authored andcommitted
GITBOOK-1430: DOCS-5906 - Add backports to What's New pages
1 parent 047dd2b commit 6f0bbfd

21 files changed

+166
-86
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: backports-10.6.11-6
3+
---
4+
5+
* The new [slave\_max\_statement\_time system variable](https://app.gitbook.com/s/SsmexDFPv2xG2OTyO5yV/ha-and-performance/standard-replication/replication-and-binary-log-system-variables) is available to set the maximum execution time for queries on replica nodes. ([MENT-1566](https://jira.mariadb.org/browse/MENT-1566), [MDEV-27161](https://jira.mariadb.org/browse/MDEV-27161))
6+
* When a query takes more than `slave_max_statement_time` seconds to run on the replica (slave) node, the query is aborted, and replication stops with an error.
7+
* The system variable can be set to a decimal value, where the decimal component has microsecond precision.
8+
* When set to `0`, there is no timeout.
9+
* The default value is `0`.
10+
* To simplify maintenance, the [ALTER TABLE](https://app.gitbook.com/s/SsmexDFPv2xG2OTyO5yV/reference/sql-statements/data-definition/alter/alter-table) statement supports new clauses to convert tables to partitions and partitions to tables. ([MENT-1454](https://jira.mariadb.org/browse/MENT-1454))
11+
* To convert a partition to a table, use the `CONVERT PARTITION .. TO TABLE ..` clause:
12+
13+
```sql
14+
ALTER TABLE partitioned_table
15+
CONVERT PARTITION part1
16+
TO TABLE normal_table;
17+
```
18+
19+
* To convert a table to a partition, use the `CONVERT TABLE .. TO PARTITION ..` clause:
20+
21+
```sql
22+
ALTER TABLE partitioned_table
23+
CONVERT TABLE normal_table
24+
TO PARTITION part1 VALUES LESS THAN (12345);
25+
```
26+
27+
* The new `CONVERT PARTITION` and `CONVERT TABLE` clauses are crash-safe operations.
28+
* The `EXCHANGE PARTITION` clause can still be used, but it is not a crash-safe operation.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: backports-10.6.12-7
3+
---
4+
5+
* In previous releases, the number of undo logs was configurable before InnoDB was initialized. With this release, the number of undo logs can also be configured after install.
6+
* The number of undo logs is configured by the InnoDB system variable `--innodb-undo-tablespaces`.
7+
* Splitting undo logs over multiple tablespaces can reduce the size of a single tablespace, especially the InnoDB system tablespace.
8+
* In previous releases, the number of undo logs had to be configured before InnoDB was initialized, so changing the number of undo logs would require setting up a new server instance. With this backport from MariaDB Community Server 10.11, the number of undo logs can be changed so it will take effect with the next server start. (MENT-1650)
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: backports-10.6.15-10
3+
---
4+
5+
* [JSON\_OVERLAPS()](https://app.gitbook.com/s/SsmexDFPv2xG2OTyO5yV/reference/sql-functions/special-functions/json-functions/json_overlaps) has been backported. ([MENT-1853](https://jira.mariadb.org/browse/MENT-1853))
6+
* The `JSON_OVERLAPS()` function can be used to compare two JSON documents to determine if they have any key-value pairs or array elements in common.
7+
8+
```sql
9+
SELECT JSON_OVERLAPS('{"A": 1, "B": {"C":2}}', '{"A": 2, "B": {"C":2}}') AS is_overlap;
10+
```
11+
12+
```
13+
+---------------------+
14+
| is_overlap |
15+
+---------------------+
16+
| 1 |
17+
+---------------------+
18+
```
19+
20+
* [JSON\_SCHEMA\_VALID()](https://app.gitbook.com/s/SsmexDFPv2xG2OTyO5yV/reference/sql-functions/special-functions/json-functions/json_schema_valid) has been backported. ([MENT-1796](https://jira.mariadb.org/browse/MENT-1796))
21+
* The `JSON_SCHEMA_VALID()` function can be used to validate a JSON document against a JSON schema, as documented by the [JSON Schema Draft 2020.](https://json-schema.org/draft/2020-12/release-notes)
22+
* This function can also be used in a `CHECK` constraint to verify that JSON documents are only stored in the database if they include required items and that the values are within a given range and length.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: backports-10.6.16-11
3+
---
4+
5+
* A new view `sys.privileges_by_table_by_level` in the sys schema, to show privileges granted to a table on a global, schema, or table level ([MENT-2007](https://jira.mariadb.org/browse/MENT-2007))
6+
* Option s3\_debug can now be changed without the need to restart the server ([MENT-2001](https://jira.mariadb.org/browse/MENT-2001))
7+
* New Time Zone Options `%Z` and `%z` for DATE\_FORMAT ([MENT-1902](https://jira.mariadb.org/browse/MENT-1902))
8+
* Server Audit Log with Milliseconds Precision Timestamps ([MENT-1744](https://jira.mariadb.org/browse/MENT-1744))
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: backports-10.6.24-20
3+
---
4+
5+
* Two new fields are available via `SHOW REPLICA STATUS` ([MENT-2129](https://jira.mariadb.org/browse/MENT-2129))
6+
1. `Connects_Tried`, which provides the number of attempts the replica has made to connect to the primary, and
7+
2. `Master_Retry_Count`, which provides the number of times the replica will attempt to connect to a primary before giving up.
8+
* Add the server option `--replicate-rewrite-db` to system variables and SHOW REPLICA STATUS (backport of MDEV-15530) ([MENT-2421](https://jira.mariadb.org/browse/MENT-2421))
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: backports-10.6.9-5
3+
---
4+
5+
* The `UUID` data type has been backported from MariaDB Community Server 10.7 for more efficient storage of `UUID` values. ([MENT-1459](https://jira.mariadb.org/browse/MENT-1459))
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: backports-11.8.5-2-and-11.4.9-6
3+
---
4+
5+
* Log write buffering added to the [SERVER\_AUDIT](https://app.gitbook.com/s/SsmexDFPv2xG2OTyO5yV/reference/plugins/mariadb-audit-plugin) and [SERVER\_AUDIT2](https://app.gitbook.com/s/SsmexDFPv2xG2OTyO5yV/reference/plugins/mariadb-enterprise-audit) plugins ([MENT-2438](https://jira.mariadb.org/browse/MENT-2438))
6+
* The buffering is controlled by the added variables:
7+
* `server_audit_file_buffer_size` - defines the size of the buffer. The default value is 0 meaning there's no buffering at all. Setting non-zero value enables the buffering with the buffer of the specified size aligned by 8192. The maximum value is 65536.
8+
* `server_audit_sync_log_file` - flushes the buffer to the log file. While the log record is in the buffer, it cannot be seen in the log file. And if there are not many events to log, the time before records can be observed can be significant. So user can do `SET GLOBAL server_audit_log_file=1` to this variable to force write the buffer to the file, to make sure he doesn't miss the recent records.
9+
* Two new fields are available via `SHOW REPLICA STATUS` ([MENT-2129](https://jira.mariadb.org/browse/MENT-2129))
10+
1. `Connects_Tried`, which provides the number of attempts the replica has made to connect to the primary, and
11+
2. `Master_Retry_Count`, which provides the number of times the replica will attempt to connect to a primary before giving up.
12+
* The authentication plugin caching\_sha2\_password has been added, not loaded by default ([MDEV-37600](https://jira.mariadb.org/browse/MDEV-37600))

release-notes/.gitbook/includes/latest-es-11.4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ title: latest-es-11.4
55
{% hint style="info" %}
66
<p align="center">The most recent release of MariaDB Enterprise Server 11.4 is:</p>
77

8-
<h3 align="center"><a href="../../enterprise-server/11.4/11.4.8-5.md"><strong>MariaDB Enterprise Server 11.4.8-5</strong></a> <a href="https://mariadb.com/downloads/enterprise/enterprise-server/" class="button primary">Download Now</a></h3>
8+
<h3 align="center"><a href="https://mariadb.com/downloads/enterprise/enterprise-server/" class="button primary">Download Now</a></h3>
99
{% endhint %}

release-notes/.gitbook/includes/latest-es-11.8.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ title: latest-es-11.8
55
{% hint style="info" %}
66
<p align="center">The most recent release of MariaDB Enterprise Server 11.8 is:</p>
77

8-
<h3 align="center"><a href="../../enterprise-server/11.8/11.8.3-1.md"><strong>MariaDB Enterprise Server 11.8.3-1</strong></a> <a href="https://mariadb.com/downloads/enterprise/enterprise-server/" class="button primary">Download Now</a></h3>
8+
<h3 align="center"><a href="https://mariadb.com/downloads/enterprise/enterprise-server/" class="button primary">Download Now</a></h3>
99
{% endhint %}

release-notes/enterprise-server/10.6/10.6.11-6.md

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,30 +16,7 @@ MariaDB Enterprise Server 10.6.11-6 was released on 2022-12-21.
1616

1717
MariaDB Enterprise Server enables a predictable development and operations experience through an [enterprise lifecycle](../enterprise-server-lifecycle.md). These new features have been backported after reaching maturity in MariaDB Community Server:
1818

19-
* The new [slave\_max\_statement\_time system variable](https://app.gitbook.com/s/SsmexDFPv2xG2OTyO5yV/ha-and-performance/standard-replication/replication-and-binary-log-system-variables) is available to set the maximum execution time for queries on replica nodes. (MENT-1566, [MDEV-27161](https://jira.mariadb.org/browse/MDEV-27161))
20-
* When a query takes more than `slave_max_statement_time` seconds to run on the replica (slave) node, the query is aborted, and replication stops with an error.
21-
* The system variable can be set to a decimal value, where the decimal component has microsecond precision.
22-
* When set to `0`, there is no timeout.
23-
* The default value is `0`.
24-
* To simplify maintenance, the [ALTER TABLE](https://app.gitbook.com/s/SsmexDFPv2xG2OTyO5yV/reference/sql-statements/data-definition/alter/alter-table) statement supports new clauses to convert tables to partitions and partitions to tables. (MENT-1454)
25-
* To convert a partition to a table, use the `CONVERT PARTITION .. TO TABLE ..` clause:
26-
27-
```sql
28-
ALTER TABLE partitioned_table
29-
CONVERT PARTITION part1
30-
TO TABLE normal_table;
31-
```
32-
33-
* To convert a table to a partition, use the `CONVERT TABLE .. TO PARTITION ..` clause:
34-
35-
```sql
36-
ALTER TABLE partitioned_table
37-
CONVERT TABLE normal_table
38-
TO PARTITION part1 VALUES LESS THAN (12345);
39-
```
40-
41-
* The new `CONVERT PARTITION` and `CONVERT TABLE` clauses are crash-safe operations.
42-
* The `EXCHANGE PARTITION` clause can still be used, but it is not a crash-safe operation.
19+
{% include "../../.gitbook/includes/backports-10.6.11-6.md" %}
4320

4421
## Notable Changes
4522

0 commit comments

Comments
 (0)