More The Changelog: Software Development, Open Source episodes

Postgres at PlanetScale (Interview) thumbnail

Postgres at PlanetScale (Interview)

Published 25 Aug 2026

Duration: 1:42:17

"PlanetScale launched a $5 PostgreSQL plan, detailed metal deployment for performance, previewed sharded PostgreSQL product Niki, and discussed AI workloads, CI/CD challenges, and engineering-driven scaling strategies."

Episode Description

Sam Lambert is back after 4 years and he does not hold back! We cover $5 PlanetScale Postgres, the Neki "do-over" of Vitess, agents shipping schema ch...

Overview

The podcast discusses PlanetScale's database platform, emphasizing its scalability, reliability, and growing use in AI workloads. The system supports large-scale operations with features like database branching, online schema changes, rollbacks, and traffic control, ensuring safety for both human and agent-driven workflows. It is designed to prevent outages by blocking harmful schema changes - such as dropping recently used columns - and enables instant rollbacks with zero data loss, even for massive 500TB tables. The platform is built to handle flaky agents and evolving codebases, using internal AI to analyze tens of millions of queries per second, optimize performance, and generate actionable insights.

PlanetScale is developing Niki, a sharded PostgreSQL solution that builds on 15 years of Vitess and five years of cloud expertise, targeting the growing demand from AI startups and large enterprises. Unlike its MySQL-based predecessors, Niki is designed as a general-purpose, scalable system from the ground up. The company leverages hyperscaler bare metal (AWS, Google Cloud) for performance but differentiates through software optimization, Kubernetes-based state management, and a bring-your-own-cloud model. While the platform is used by major AI companies, the team avoids marketing it as an "AI database," focusing instead on core engineering strengths like long-term maintainability, developer experience, and out-engineering competitors through technical excellence rather than branding.

What If

  • What if you built a sharded PostgreSQL tool like Niki for your niche?

    • Move: Identify a high-growth, underserved use case (e.g., AI startups with scaling pain) and build a minimal sharded Postgres wrapper using PlanetScale's learnings, focusing on one killer feature (e.g., zero-downtime schema rollout at scale).
    • Why Now?: AI-driven apps are hitting database scaling limits fast, and developers are actively abandoning brittle setups; timing aligns with rising demand for reliable, simple sharding.
    • Expected Upside: Capture early adopters who'd otherwise migrate to complex infra, establish defensible positioning before hyperscalers clone the idea, and monetize via usage-based pricing from day one.
  • What if you used AI to auto-generate safe database migrations for your customers?

    • Move: Build a CLI tool that analyzes query logs, detects performance bottlenecks, and proposes (or applies) schema/index changes via PlanetScale branches with built-in rollback guards.
    • Why Now?: AI can now interpret real query patterns and emulate expert DBA decisions - combine this with existing rollback tech to offer "automated optimization" that feels safe and instant.
    • Expected Upside: Turn a manual, high-risk task into a productized service; differentiate your app or dev tooling by baking in autonomous database maintenance, reducing customer ops burden and churn.
  • What if you launched a $5/month PostgreSQL tier to attract solo devs and grow virally?

    • Move: Launch a tightly scoped but fully functional PostgreSQL offering at $5/month (like PlanetScale's entry tier), including branching, rollbacks, and CI/CD integration via GitHub.
    • Why Now?: Solo founders and indie hackers are building AI-powered apps that need production-grade databases early - low-cost entry removes friction and aligns with trend of "bundled dev infra."
    • Expected Upside: Acquire thousands of early-stage users who scale with you; convert 5 - 10% into paid tiers as their apps grow, creating a land-and-expand engine with minimal CAC.

Takeaway

  • Implement database branching and deploy requests in your development workflow to enable safe, isolated schema changes and zero-downtime rollbacks, even for large-scale databases.
  • Adopt a "bring your own cloud" (BYOC) model for customer deployments to leverage their existing cloud discounts, improve security control, and reduce cost barriers.
  • Integrate automated safeguards (gates) into your database change process to block risky operations - like dropping recently used columns - and prevent outages before they occur.
  • Use AI internally to analyze query patterns and generate actionable optimization recommendations (e.g., index additions/removals), reducing manual tuning and improving performance over time.
  • Focus on long-term maintainability ("day 1,000") by designing systems that support continuous evolution, including automated codebase pruning and agent-assisted refactoring, especially when scaling AI-driven applications.

Recent Episodes of The Changelog: Software Development, Open Source

21 Jul 2026 Canary tokens and digital tripwires (Interview)

"Thinkst, a 50-person cybersecurity firm, specializes in Canary honeypots and Canary Tokens, offering simple, no-maintenance detection tools with $22.5M ARR, no price hikes in a decade, and AI-driven threat awareness."

5 Jun 2026 From open source hits to OpenAI (Interview)

A deep dive into open source contributions, AI-driven developer roles, challenges in maintaining projects like Spectrum and GitHub's acquisitions, balancing altruistic work with career growth, technical topics such as GraphQL and database scalability, and the evolving landscape of cloud environments and plugin ecosystems.

15 May 2026 MCP on Code Mode (Interview)

The Field CTO role focuses on data-driven product alignment with customer needs, advocating secure cloud environments, the Model Context Protocol for agent interactions, and balancing automation with security in AI-driven development workflows.

13 May 2026 Automation at the speed of Swamp (Friends)

The text explores the shift to secure cloud-based software development, AI's transformative role in reshaping workflows and roles, the challenges of cross-disciplinary communication, emerging automation practices like agent-driven systems, and the evolving implications of AI on developer responsibilities and team dynamics.

24 Apr 2026 Exploring with agents (Interview)

Software development grapples with agent integration complexities, necessitating tool redesign for agent-first workflows, addressing security and identity challenges, balancing single/multi-agent trade-offs, reimagining collaboration through workspaces, and redefining developer roles in an AI-driven, open-source landscape.

More The Changelog: Software Development, Open Source episodes