Neki, sharded Postgres, is now available. Learn more
Navigation

Blog


Matt Lord

Data migrations are a critical part of the database lifecycle, and are sometimes necessary for version upgrades, sharding, or moving to a new platform. In many cases, migrations are painful and error-prone. In this article, we walk through how migrations are performed at PlanetScale, and offer advice on how to improve the migration experience. →


Ben Dicken [@BenjDicken]

Sharding a database comes with many benefits: Scalability, failure isolation, write throughput, and more. However, one of the lesser-known benefits comes from improved backups and restore performance. →


Matt Lord

Learn the basics of Change Data Capture (CDC) and how to leverage Vitess VStream API to build data pipelines. →


Shlomi Noach

Learn about the options for running non-blocking schema changes natively to MySQL, using Vitess, or other tools →


Andres Taylor

The Vitess query planner takes multiple passes over a query plan to optimize it as much as possible before execution. A recent tricky bug report led to an improvement in how the optimizer functions. →


Ben Dicken [@BenjDicken]

Large databases often have a small number of very large tables that makes scaling difficult. How can you scale with these while keeping your database performant? This article covers three techniques. →


Holly Guevara [@hollylawly]

Learn about the different types of sharding: directory-based, range-based, and hash-based plus some of the pros and cons of each. →


Harshit Gangal, Deepthi Sigireddi

How we implemented a consistent lookup Vindex in Vitess to ensure data consistency without using 2PC →


Ben Dicken [@BenjDicken]

The adaptive hash index helps to improve performance of the already-fast B-tree lookups →


Ben Dicken [@BenjDicken]

Learn how to visualize the memory usage of a MySQL connection →


Arvind Murty

My experience working as an intern in the Vitess query serving team for PlanetScale. →


Mike Coutermarsh

Learn how PlanetScale uses GitHub Actions and PlanetScale to automate schema changes on our own application. →


Ben Dicken [@BenjDicken]

MySQL has built-in functionality for collecting statistics on and profiling your MySQL queries. Learn how to leverage these features to identify problems. →


Brian Morrison II

Understand the different versions of UUIDs and why using them as a primary key in MySQL can hurt database performance. →


Brian Morrison II

Amazon Aurora is pitched as a straightforward and scalable database service on AWS, but there are associated costs that you might not be aware of. →


Brian Morrison II

Learn about a few common mistakes when designing your MySQL database schema. →


Brian Morrison II

Learn the key differences between Amazon Aurora blue/green deployments and PlanetScale branching. →


Brian Morrison II

Learn different considerations and best practices for quickly and efficiently recovering your database when downtime hits. →


Savannah Longoria

In this blog post, we explore how complex data and geographic features can be represented in MySQL. →


Brian Morrison II

Learn about how Amazon Aurora replication works, and how it compares to the traditional MySQL replication strategy used by PlanetScale. →


Brian Morrison II

Learn about the various isolation levels used by MySQL to allow concurrency in your database. →


Shlomi Noach, Manan Gupta

Today, PlanetScale launched support for foreign key constraints. This article covers some of the behind-the-scenes technical challenges we had to overcome to support them. →


Savannah Longoria

Learn what HTAP is, how HTAP compares to OLAP and OLTP, and some pros and cons of HTAP. →


Mike Coutermarsh

Learn what went into building PlanetScale webhooks from a security perspective. This article covers SSRF, webhook validation, DDoS, and more. →


Brian Morrison II

There is more to sharding than simply increasing data throughput. In this article, we explore three different benefits of sharding your database. →