惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Proofpoint News Feed
V
V2EX
WordPress大学
WordPress大学
Google DeepMind News
Google DeepMind News
Martin Fowler
Martin Fowler
小众软件
小众软件
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
The Cloudflare Blog
T
Tailwind CSS Blog
H
Help Net Security
腾讯CDC
爱范儿
爱范儿
人人都是产品经理
人人都是产品经理
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The GitHub Blog
The GitHub Blog
Microsoft Security Blog
Microsoft Security Blog
Stack Overflow Blog
Stack Overflow Blog
D
DataBreaches.Net
C
Check Point Blog
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com

Blog — PlanetScale

Keeping a Postgres queue healthy — PlanetScale Patterns for Postgres Traffic Control — PlanetScale Graceful degradation in Postgres — PlanetScale High memory usage in Postgres is good, actually — PlanetScale Stripe Projects partnership: Provision PlanetScale Postgres and MySQL databases from the Stripe CLI — PlanetScale Enhanced tagging in Postgres Query Insights — PlanetScale Behind the scenes: How Database Traffic Control works — PlanetScale Introducing Database Traffic Control — PlanetScale Scaling Postgres connections with PgBouncer — PlanetScale Drizzle joins PlanetScale — PlanetScale Video Conferencing with Postgres — PlanetScale Faster PlanetScale Postgres connections with Cloudflare Hyperdrive — PlanetScale Introducing the PlanetScale MCP server — PlanetScale Database Transactions — PlanetScale Automating our changelog with Cursor commands — PlanetScale Postgres 18 is now available — PlanetScale Using MotherDuck with PlanetScale — PlanetScale $50 PlanetScale Metal is GA for Postgres — PlanetScale AI-Powered Postgres index suggestions — PlanetScale $5 PlanetScale is live — PlanetScale Announcing Vitess 23 — PlanetScale $50 PlanetScale Metal — PlanetScale Report on our investigation of the 2025-10-20 incident in AWS us-east-1 — PlanetScale $5 PlanetScale — PlanetScale Benchmarking Postgres 17 vs 18 — PlanetScale Larger than RAM Vector Indexes for Relational Databases — PlanetScale Partnering with Cloudflare to bring you the fastest globally distributed applications — PlanetScale Processes and Threads — PlanetScale PlanetScale for Postgres is now GA — PlanetScale Postgres High Availability with CDC — PlanetScale
Announcing Vitess 18 — PlanetScale
Vitess Engin · 2023-11-07 · via Blog — PlanetScale

Vitess Engineering Team |

MySQL compatibility improvements

Vitess 18 is now generally available, with a number of new enhancements designed to improve usability, performance, and MySQL compatibility.

Foreign key constraints

In the past, foreign key constraints had to be managed outside Vitess. This was a significant blocker for adoption. We are now able to support Vitess-managed foreign key constraints within the same shard. This includes the ability to import data into Vitess from an existing MySQL database with foreign key constraints. We plan to extend foreign key constraint support to cross-shard relationships in a future release.

Note

Foreign key constraints are supported in PlanetScale. You can enable them in your database settings page.

General compatibility

The Vitess query planner has been significantly enhanced, paving the way for advanced query capabilities. The newly revamped version is more robust and flexible. This allows Vitess to provide better support for complex aggregations, sophisticated subqueries, and derived tables. Complex queries on sharded databases will perform better as a result of these changes.

Usability enhancements

Cobra

The Vitess CLI has been migrated to cobra. In addition to standardizing and modernizing our CLI infrastructure, this change provides two major benefits.

We now auto-generate reference documentation for both released and development versions of Vitess.

This means that developers spend less time performing mechanical documentation changes and more time on features, bug fixes, and more in-depth documentation. End users benefit from more reliably up-to-date reference docs.

In addition, Vitess commands now support shell completion:

Vitess commands support shell completion

Vtctldclient

We have completed the migration of all client commands to vtctldclient. The legacy vtctl/vtctlclient binaries are now fully deprecated and we plan to remove them in Vitess 19.

This migration provides several benefits:

  • Clean separation of commands makes it easier to develop new features without impacting other commands.
  • It presents an API that other clients (both Vitess and third-party) can use to interface with Vitess.
  • It enables future features. For example, we can now use configuration files and start building support for dynamic configuration.

VReplication and online DDL

We now have the ability to import data with foreign key relationships in a way that properly maintains those relationships.

Additionally, we now support near-zero downtime migration of data from an external database. Previously, there was a perceptible cutover duration during which queries would error out.

Online DDL can now provide better progress estimates.

Point in time recoveries

While Vitess has supported Point in Time Recovery for years, the functionality was dependent on running a binlog server and was not widely used. In this release, we've added the ability to restore to a specific timestamp without relying on an external binlog server. Recovery to a known GTID position without a binlog server has been supported since Vitess 17.

The old functionality that relied on a binlog server is now deprecated and will be removed in a future release.

Tablet throttler

The throttler now uses gRPC for communication with other tablets instead of HTTP, except as a fallback during version upgrades. The use of HTTP was a security concern and will be removed in the next release.

Arewefastyet

Arewefastyet, our benchmarking system, now has a new look aimed at improving the reliability and usability of the website. We have also made several bug fixes and enhancements to the benchmarking system.

Try it out

We are very pleased with the great strides we have made with v18 and hope you will be as well. We encourage all current Vitess users and everyone who has been considering it to try this new release! We also look forward to your feedback, which can be provided via Vitess GitHub issues or the Vitess Slack.