Top stories

  1. Introducing TIN: full-text search for Postgres

    PlanetScale has released TIN, a full-text search extension available immediately as a general-availability release for all Postgres and Neki databases. TIN supports Boolean, phrase and span queries, fuzzy, wildcard and regular-expression matching, case and accent folding, COUNT(*) queries, and BM25-scored top-k results. The company says the extension also handles joins, complex filters, continuous updates, replication, backups and transaction visibility.

Latest

  1. Image: PlanetScale

    Why you shouldn't do application-level sharding

    A technical article argues against application-level sharding, where the logic for routing data to database servers is embedded in application code, as a way to scale OLTP databases such as Postgres or MySQL. It follows a hypothetical fast-growing online marketplace whose buyers, sellers, orders and payments share one Postgres database through its first thousand days after sharding. Read replicas do not relieve write load on the primary, larger servers have a ceiling, and very large databases bring hours-long backups and lagging replicas.

  2. Image: PlanetScale

    Building PlanetScale with Insights Agent

    PlanetScale ran its new Insights Agent on its own databases before launch, using its large Rails API as a testing ground. The agent uses Query Insights to identify problematic queries or schema, locates the responsible code and opens a pull request with a fix. Despite already well-optimized databases, the company says the agent found multiple efficiency gains. One example involved a Flipper feature-flag override check that ran a database lookup of about a millisecond on every call even when unnecessary.

  3. Image: PlanetScale

    PlanetScale ranks #24 in Deloitte's Technology Fast 500

    PlanetScale placed #24 on the 2026 Deloitte Technology Fast 500, which ranks North American technology companies by revenue growth over three years. The database company grew revenue 3,493% from fiscal 2022 to fiscal 2025 and ranked first in the cloud services category. It previously appeared at 188th in 2023, when it was a MySQL platform built on Vitess. Since then it has added Postgres, Neki sharded Postgres, and PlanetScale Metal, launched in March 2025 to run databases on locally attached NVMe drives.

  4. Image: PlanetScale

    Introducing Insights Agent

    PlanetScale has introduced Insights Agent, agents built into its platform that combine a customer's code, database schema and Insights performance data in sandboxes to investigate and fix performance issues in databases and code. The agents can run on a repeatable schedule and open pull requests with database speedups in users' repositories. PlanetScale says it ran internal evaluations to choose model, prompt and sandbox combinations. Teams preferring their own agents can build a similar system using the PlanetScale CLI and MCP server.

  5. Image: PlanetScale

    How we migrate TBs from Heroku without logical replication

    PlanetScale released version 2.0 of its open source Heroku Migrator, a tool for moving Postgres databases off Heroku without extended downtime. Heroku's standard Postgres plans offer no logical replication, so offline migrations can require hours of downtime. The tool transfers data quickly and provides a replication-based experience, and PlanetScale has used it for customer databases ranging from hundreds of gigabytes to many terabytes.

  6. Image: PlanetScale

    Designing a reliable unplanned failover

    Neki’s engineering team describes how its Admin control plane handles unplanned failover for Postgres shards when a primary becomes unreachable, such as after a network cut or hardware failure. Unlike a planned switchover, Admin cannot confirm whether the primary is dead, choose a promotion target in advance, or obtain the primary’s final WAL position. The failover process must determine whether the primary is effectively unavailable and which replica can safely take over; meanwhile, applications cannot reliably write.

  7. Image: PlanetScale

    The hidden latency inside your database

    The article explains how network-attached storage can add latency inside a cloud database cluster because the disk sits on a separate server and communicates with the database machine over a network. It contrasts that setup with locally attached storage, where a disk connects directly to the same machine’s motherboard and is therefore closer to the processor. Network-attached storage offers high throughput, flexibility and durability, while local disks can reduce the distance data travels and improve speed.

  8. Image: PlanetScale

    Designing a planned switchover for minimum disruption

    Neki describes how it performs planned PostgreSQL shard switchovers while limiting disruption to applications. Each shard has one write-accepting primary and multiple read-only replicas; a switchover can move primary duties during work such as replacing a Kubernetes pod, upgrading a kernel or relocating the primary. The process covers preflight checks, catching a replica up before promotion, and directing client queries to the new primary. Neki also discusses handling a switchover that cannot complete.

  9. Image: PlanetScale

    What was the turning point for Postgres?

    The piece examines how Postgres became the default database choice for new applications, including projects built with AI agents. It says Postgres is the most popular database among developers and that every major cloud offers a hosted version. The article contrasts that position with continuing MySQL and Oracle use, and points to data showing Postgres leads database selections made by large language model tools.

  10. Image: PlanetScale

    Shard design doesn't start from your tables

    Neki explains how shard groups co-locate related PostgreSQL rows to keep joins and transactions on one shard. Tables in the same group hash their shard keys the same way, so rows with matching key values land together and queries can avoid fan-out across clusters. The article says shard groups should be planned during migration, but Neki’s Reshard workflow can later change a table’s shard key or shard count.

  11. Image: PlanetScale

    I don't trust ON DELETE CASCADE

    The author warns that PostgreSQL’s ON DELETE CASCADE can make deleting records risky as an application grows. Cascades can spread across many tables and recur through linked relationships, letting a single DELETE trigger cleanup throughout the database. The post says a migration can eventually turn that setup into a production outage, though it does not explain the incident further.

  12. Image: PlanetScale

    Neki update: $50 Metal, read-only replicas, Azure, and more

    PlanetScale has added read-only replicas and smaller Metal instances to Neki, its sharded Postgres service, which remains in platform preview. The new database nodes start at $50 per month and can be configured with 1/8th of a vCPU, 1GB of RAM and 10GB of locally attached NVMe SSD. The company says the replicas are intended to support workloads such as serving users across large, global customer bases; both capabilities are available to try in PlanetScale.

  13. Sequences and other volatiles in Neki

    A PlanetScale engineering article describes how its Neki query planner and runtime implement PostgreSQL sequences in a sharded system. It focuses on handling volatile expressions and synchronous evaluation across shards, explaining that sequences generate unique values for counters, identities and surrogate keys.

  14. Image: PlanetScale

    PlanetScale is now available on Azure

    PlanetScale has made its Postgres and Neki databases available in select Microsoft Azure regions, alongside its existing AWS and Google Cloud offerings. Azure customers can use platform features including high availability across three availability zones, Query Insights, schema recommendations and automated backups. The listed regions are centralus, eastus2 and westeurope; Vitess databases are not currently available on Azure.

  15. Image: PlanetScale

    What gets TOASTed in Postgres

    A technical explainer describes PostgreSQL’s TOAST mechanism, which compresses oversized values and moves them out of rows when needed. It illustrates the threshold with 2,000 copies of a letter stored uncompressed and 2,001 compressed to 26 bytes with LZ4. PostgreSQL 19, now in beta, switches the default from pglz to LZ4 in builds that support LZ4; PlanetScale says it has already made the change on PostgreSQL 17 and 18.

  16. Image: PlanetScale

    TIN v1.0.6: 2-3x faster, with support for stemming

    PlanetScale says TIN version 1.0.6 is rolling out to all customers over the next week, following version 1.0.4 released the previous week. The update adds stemming support and heap-attribute tiebreakers for top-k ORDER BY clauses, while the company claims it restores TIN’s lead in speed. The development followed customer requests and a competitor’s optimization that briefly outperformed TIN in one read-only use case.

  17. Image: PlanetScale

    What today's software owes to Bronze Age clocks

    The piece traces admission control in software to the leaky-bucket clock, a timekeeping device used in ancient civilizations. It describes early water vessels used to measure elapsed time and later Greek designs that regulated water flow, used floats to mark hours, and added gears to advance clock ticks.

  18. Image: PlanetScale

    Introducing Dedicated Read Replicas for Postgres

    PlanetScale has introduced dedicated read replicas for its Postgres databases, allowing customers to create, size and connect to additional instances that replicate asynchronously from the primary cluster. Replicas in other regions can serve nearby users' read traffic to reduce latency, while replicas in the same region can be assigned specific workloads. Customers can create individual connection credentials for each replica and control which tasks it handles.

  19. Image: PlanetScale

    Building a faster, lazier router for Postgres

    An engineering article describes how Neki’s PostgreSQL router reduces work on the path between clients and database servers by parsing responses lazily. Rather than decoding every row and column immediately, the router can walk protocol messages, identify rows and decode only values it needs. The approach is intended to limit overhead from the extra network hop required for routing queries to shards.

  20. Image: PlanetScale

    Handling hot shards

    A PlanetScale article explains how Neki users can respond when sharded databases develop uneven load, such as when some tenants generate much more data or activity than others. It describes tools for mitigating shard pressure and changing a resharding strategy without downtime, drawing on the experience of Neki’s maintainers, who also maintain Vitess.