Catalogue / chartmogul-2023-ingestion-database

ChartMogul folded its single-instance ingestion database into its five platform shards and switched the tables from LIST to HASH partitioning

ChartMogul, 2023. Ingestion database behind webhook normalisation.

Organisation
ChartMogul
Evidence
Reported from production
Source
How Migrating Our Database Eliminated Data Processing Incidents

ChartMogul blog, published 2023-07-18

Records

Decision#d1

Move the ingestion tables off their own single Postgres instance into the already sharded platform database

Decision#d2

Partition by HASH of the account instead of one LIST partition per account

Decision#d3

Migrate live with AWS DMS, one shard at a time, switching accounts over with a feature flag

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.