-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[main] Copy
v20.0.0
release notes (#16273)
Signed-off-by: Shlomi Noach <[email protected]>
- Loading branch information
1 parent
e76c9e5
commit 323dad2
Showing
2 changed files
with
34 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,9 @@ | |
- [Delete with Multi Target Support](#delete-multi-target) | ||
- [User Defined Functions Support](#udf-support) | ||
- [Insert Row Alias Support](#insert-row-alias-support) | ||
- **[VReplication](#vreplication)** | ||
- [Multi-tenant Imports](#multi-tenant) | ||
- [VDiff Support For OnlineDDL Migrations](#vdiff-online-ddl) | ||
- **[Query Timeout](#query-timeout)** | ||
- **[Flag changes](#flag-changes)** | ||
- [`pprof-http` default change](#pprof-http-default) | ||
|
@@ -238,37 +241,45 @@ Support is added for sharded update with limit. | |
|
||
Example: `update t1 set t1.foo = 'abc', t1.bar = 23 where t1.baz > 5 limit 1` | ||
|
||
More details about how it works is available in [MySQL Docs](https://dev.mysql.com/doc/refman/8.0/en/update.html) | ||
The support is built on performing a selection of primary keys and then performing an update with those primary keys. | ||
For query syntax, refer to the [MySQL Docs](https://dev.mysql.com/doc/refman/8.0/en/update.html) | ||
|
||
#### <a id="multi-table-update"/> Update with Multi Table Support | ||
|
||
Support is added for sharded multi-table update with column update on single target table using multiple table join. | ||
|
||
Example: `update t1 join t2 on t1.id = t2.id join t3 on t1.col = t3.col set t1.baz = 'abc', t1.apa = 23 where t3.foo = 5 and t2.bar = 7` | ||
|
||
More details about how it works is available in [MySQL Docs](https://dev.mysql.com/doc/refman/8.0/en/update.html) | ||
The support is built on performing a selection of primary keys and then performing an update with those primary keys. | ||
For query syntax, refer to the [MySQL Docs](https://dev.mysql.com/doc/refman/8.0/en/update.html) | ||
|
||
#### <a id="update-multi-target"/> Update with Multi Target Support | ||
|
||
Support is added for sharded multi table target update. | ||
|
||
Example: `update t1 join t2 on t1.id = t2.id set t1.foo = 'abc', t2.bar = 23` | ||
|
||
More details about how it works is available in [MySQL Docs](https://dev.mysql.com/doc/refman/8.0/en/update.html) | ||
The support is built on performing a selection of primary keys from all target tables and | ||
then performing an update for each table with their selected primary keys. | ||
For query syntax, refer to the [MySQL Docs](https://dev.mysql.com/doc/refman/8.0/en/update.html) | ||
|
||
#### <a id="delete-subquery"/> Delete with Subquery Support | ||
|
||
Support is added for sharded table delete with subquery | ||
|
||
Example: `delete from t1 where id in (select col from t2 where foo = 32 and bar = 43)` | ||
|
||
The support is built by performing the uncorrelated subquery first and then providing the value for deletion. | ||
|
||
#### <a id="delete-multi-target"/> Delete with Multi Target Support | ||
|
||
Support is added for sharded multi table target delete. | ||
|
||
Example: `delete t1, t3 from t1 join t2 on t1.id = t2.id join t3 on t1.col = t3.col` | ||
|
||
More details about how it works is available in [MySQL Docs](https://dev.mysql.com/doc/refman/8.0/en/delete.html) | ||
The support is built on performing a selection of primary keys from all target tables and | ||
then performing a delete operation for each table with their selected primary keys. | ||
For query syntax, refer to the [MySQL Docs](https://dev.mysql.com/doc/refman/8.0/en/delete.html) | ||
|
||
#### <a id="udf-support"/> User Defined Functions Support | ||
|
||
|
@@ -289,7 +300,7 @@ Example: | |
- `insert into user(id, name, email) valies (100, 'Alice', '[email protected]') as new on duplicate key update name = new.name, email = new.email` | ||
- `insert into user(id, name, email) valies (100, 'Alice', '[email protected]') as new(m, n, p) on duplicate key update name = n, email = p` | ||
|
||
More details about how it works is available in [MySQL Docs](https://dev.mysql.com/doc/refman/8.0/en/insert-on-duplicate.html) | ||
For query syntax, refer to the [MySQL Docs](https://dev.mysql.com/doc/refman/8.0/en/insert-on-duplicate.html) | ||
|
||
### <a id="query-timeout"/>Query Timeout | ||
On a query timeout, Vitess closed the connection using the `kill connection` statement. This leads to connection churn | ||
|
@@ -328,6 +339,19 @@ The new flag `--querylog-sample-rate float` adds support for sampling queries ba | |
|
||
The new flag `--tablet-filter-tags StringMap` adds support to VTGate for filtering tablets by tablet tag key/values, specified as comma-separated list of key:values. The tags of a tablet are defined by the VTTablet flag `--init_tags`, which is also defined as a comma-separated list of key:values. | ||
|
||
### <a id="vreplication"/>VReplication | ||
|
||
#### <a id="multi-tenant"/> Multi-tenant Imports | ||
|
||
Support for multi-tenant imports has been added to `MoveTables`. If you have a multi-tenant architecture where each | ||
tenant has their own database, you can import the tenants using multiple `MoveTables` workfows, one per tenant. | ||
Each import is initiated with the new `--tenant-id` flag. The column name (and data type) need to be specified in | ||
the VSchema of the target keyspace. | ||
|
||
#### <a id="vdiff-online-ddl"/> VDiff support for OnlineDDL migrations | ||
|
||
You can now run `VDiff`s on OnlineDDL schema change migrations, which are not yet cut over. | ||
|
||
## <a id="minor-changes"/>Minor Changes | ||
|
||
### <a id="new-stats"/>New Stats | ||
|
@@ -363,7 +387,7 @@ The vtadmin-web UI no longer has a dependency on highcharts for licensing reason | |
------------ | ||
The entire changelog for this release can be found [here](https://github.com/vitessio/vitess/blob/main/changelog/20.0/20.0.0/changelog.md). | ||
|
||
The release includes 441 merged Pull Requests. | ||
The release includes 419 merged Pull Requests. | ||
|
||
Thanks to all our contributors: @Aoang, @Ari1009, @GuptaManan100, @Its-Maniaco, @Maniktherana, @VaibhavMalik4187, @ajm188, @aparajon, @app/dependabot, @app/github-actions, @app/vitess-bot, @arthurschreiber, @bddicken, @beingnoble03, @brendar, @crazeteam, @dbussink, @deepthi, @demmer, @derekperkins, @ejortegau, @frouioui, @harshit-gangal, @mattlord, @maxenglander, @mdlayher, @notfelineit, @pavedroad, @rafer, @rohit-nayak-ps, @rvrangel, @shlomi-noach, @systay, @timvaillancourt, @tycol7, @vitess-bot, @vmg, @wangweicugw, @whuang8, @yoheimuta | ||
|