News for hackers. Stuff that matters.
Re:Show HN: PgDog – Shard Postgres without extensions by imbradn on Tuesday May 27, 2025 @02:47PM (#44109635)
Logical replication row filtering is a much better alternative to the ship and drop approach.
Re:Show HN: PgDog – Shard Postgres without extensions by levkk on Tuesday May 27, 2025 @03:00PM (#44109752)
Interesting. I've been thinking about it as well. I wrote some code to prototype it here: https://github.com/pgdogdev/pgdog/blob/main/pgdog/src/backen...
Re:Show HN: PgDog – Shard Postgres without extensions by imbradn on Tuesday May 27, 2025 @08:16PM (#44111742)
We used it to shard a database at Instacart after your time instead of the “replicate everything and drop the data on the shard approach”. That combined with dropping all the indexes (minus the primary key) worked well for the data copy/initial sharding.
Re:Show HN: PgDog – Shard Postgres without extensions by levkk on Wednesday May 28, 2025 @12:46AM (#44112819)
That's good to know. Don't hesitate to reach out if you ever want to chat about this stuff. My email: [email protected]