@sougou sougou released this Dec 10, 2018 · 191 commits to master since this release

Assets 2

Vitess 3.0 many new features over 2.2.

Download

  • Server binaries are available in the Docker image "vitess/lite:v3.0.0-rc.1".
  • Java client packages are published on Maven Central (To be uploaded).
  • Source code is available via the tag "v3.0.0-rc.1".

Upgrading

All Vitess 3.0 changes are backward compatible with the 2.2 release. Please make sure that you follow the recommended upgrade order: vttablet->vtctld->vtgate.

Changes since 2.2

Usability

  • Tutorial that runs on Minikube
  • Tutorial that runs on local host
  • Simplified db parameters for vttablet
  • Formal support for externally managed mysql

Monitoring

  • Prometheus plug-in

SQL constructs

  • Comment directives: QUERY_TIMEOUT_MS=1000, MULTI_SHARD_AUTOCOMMIT, SKIP_QUERY_PLAN_CACHE
  • Partial Scatter
  • New ALTER VSCHEMA syntax
  • Multi-table DDL statements
  • Workbench connectivity
  • Cross-shard subqueries
  • Improved handling of select * constructs

Performance

  • vtbench: Benchmarking tool
  • MySQL protocol performance improvements
  • Faster reparents
  • Parallelized backups (4X faster)
  • Snappier InitShardMaster and PlannedReparentShard
  • Improved coordination with Orchestrator

New MySQL versions support

  • MySQL 8.0 and MariaDB 10.3

Build

  • Pure Go 1.11. You can now build with CGO_ENABLED=0.

Resharding and VReplication

  • ShowResharding
  • CancelResharding
  • Safer MigrateServedTypes
  • Auto-reverse direction of MigrateServedTypes to allow rollback of a previous MigrateServedTypes
  • Workflow SplitDiff parallelized across shards
  • SplitClone uses destination master for comparison