Pigsty Blog Articles

Posts in 2026
  • From AGPL to Apache: Why I Changed Pigsty's License

    January 29, 2026 in PostgreSQL

    From AGPL to Apache: Why I Changed Pigsty's License

    Pigsty switched from AGPLv3 to Apache 2.0. Aren't you worried about freeloaders? Freeloaders welcome — if you want to become the Debian of databases, a permissive license is table stakes.

    Read more

    Pigsty switched from AGPLv3 to Apache 2.0. Aren't you worried about freeloaders? Freeloaders welcome — if you want to become the Debian of databases, a permissive license is table stakes.

    Read more

  • Pigsty v4.0: Victoria Stack + Security Hardening

    January 28, 2026 in Pigsty

    Pigsty v4.0: Victoria Stack + Security Hardening

    VictoriaMetrics/Logs replace Prometheus/Loki for 10x observability performance, Vector handles logs, unified UI, firewall/SELinux/credential hardening.

    Read more

    VictoriaMetrics/Logs replace Prometheus/Loki for 10x observability performance, Vector handles logs, unified UI, firewall/SELinux/credential hardening.

    Read more

  • Agent OS: We're Building DOS Again

    January 26, 2026 in Database

    Agent OS: We're Building DOS Again

    LLM = CPU. Context = RAM. Database = Disk. Agent = App. The mapping is surprisingly clean. And if OS history is any guide, we may know what comes next — and what's still missing.

    Read more

    LLM = CPU. Context = RAM. Database = Disk. Agent = App. The mapping is surprisingly clean. And if OS history is any guide, we may know what comes next — and what's still missing.

    Read more

  • Claude Code Observability

    January 25, 2026 in Database

    Claude Code Observability

    Export Claude Code's OTEL logs and metrics to Victoria stack, visualize with Grafana dashboards.

    Read more

    Export Claude Code's OTEL logs and metrics to Victoria stack, visualize with Grafana dashboards.

    Read more

  • Claude Code Quick Start: Using Alternative LLMs at 1/10 the Cost

    January 04, 2026 in Database

    Claude Code Quick Start: Using Alternative LLMs at 1/10 the Cost

    How to install and use Claude Code? How to achieve similar results at 1/10 of Claude's cost with alternative models? A one-liner to get CC up and running!

    Read more

    How to install and use Claude Code? How to achieve similar results at 1/10 of Claude's cost with alternative models? A one-liner to get CC up and running!

    Read more

Posts in 2025
  • Git for Data: Instant PostgreSQL Database Cloning

    December 27, 2025 in PostgreSQL

    Git for Data: Instant PostgreSQL Database Cloning

    How to instantly clone a massive PostgreSQL database without consuming extra storage? PostgreSQL 18 and XFS can spark some serious magic.

    Read more

    How to instantly clone a massive PostgreSQL database without consuming extra storage? PostgreSQL 18 and XFS can spark some serious magic.

    Read more

  • Did RedNote Exit the Cloud?

    December 26, 2025 in Cloud

    Did RedNote Exit the Cloud?

    When a company that was "born on the cloud" goes "self-host first," does that count as cloud exit? A repost of a deleted piece on the infrastructure coming-of-age for Chinas internet giants.

    Read more

    When a company that was "born on the cloud" goes "self-host first," does that count as cloud exit? A repost of a deleted piece on the infrastructure coming-of-age for Chinas internet giants.

    Read more

  • Data 2025: Year in Review with Mike Stonebraker

    December 24, 2025 in Database

    Data 2025: Year in Review with Mike Stonebraker

    A conversation between Mike Stonebraker (Turing Award Winner, Creator of PostgreSQL), Andy Pavlo (Carnegie Mellon), and the DBOS team.

    Read more

    A conversation between Mike Stonebraker (Turing Award Winner, Creator of PostgreSQL), Andy Pavlo (Carnegie Mellon), and the DBOS team.

    Read more

  • What Database Does AI Agent Need?

    December 21, 2025 in Database

    What Database Does AI Agent Need?

    The bottleneck for AI Agents isnt in database engines but in upper-layer integration. Muscle memory, associative memory, and trial-and-error courage will be key.

    Read more

    The bottleneck for AI Agents isnt in database engines but in upper-layer integration. Muscle memory, associative memory, and trial-and-error courage will be key.

    Read more

  • MySQL and Baijiu: The Internet’s Obedience Test

    December 20, 2025 in Database

    MySQL and Baijiu: The Internet’s Obedience Test

    MySQL is to the internet what baijiu is to China: harsh, hard to swallow, yet worshipped because culture demands obedience. Both are loyalty tests—will you endure discomfort to fit in?

    Read more

    MySQL is to the internet what baijiu is to China: harsh, hard to swallow, yet worshipped because culture demands obedience. Both are loyalty tests—will you endure discomfort to fit in?

    Read more