Scaling out relational data models, and SQL, through co-location
citusdata.com
citusdata.com
Question: Do you know of ANY db that you can do 1 db/customer ?(for 1 million customers) Just like I thought, no.
EDIT: Well, looks like someone beat me to it
There's no reason you can't either run more servers or multiple instances of postgres per server, with docker or otherwise.
I'm probably going to try using Citus Data instead of moving to Cassandra if I ever get big. We'll see.
In a usecase where you consider independent databases, with few interactions between them, for millions of users (and a few MBs + binary blobs of data per user) I'd certainly consider it as a possible solution.
But the most significant factor is whether you need to do queries that span multiple users/tenants. If you need to, you will require postgres_fdw and nor performance neither manageability will be good at all.
But 30MB is a lot yes.
If you need that, shouldn't you use one database?