From: Ben Chobot <bench@silentmedia.com>
To: Saurav Sarkar <saurav.sarkar1@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Database Scalability
Date: Wed, 1 Dec 2021 06:32:37 -0800
Message-ID: <607b41e4-9267-4ab5-378f-823722a10263@silentmedia.com> (raw)
In-Reply-To: <CAP+kwAVz2FhKD7b4Oz_YWdTnTozqpwF2r6+mXNUwK5_fVY_ajg@mail.gmail.com>
References: <CAP+kwAU+HoYSS_WwDa17jww6sDTSQmugs9dU=PYo1D8VN-7etQ@mail.gmail.com>
<71ee08fc-200b-e9de-f597-d0f6f7da6675@silentmedia.com>
<CAP+kwAVz2FhKD7b4Oz_YWdTnTozqpwF2r6+mXNUwK5_fVY_ajg@mail.gmail.com>
Saurav Sarkar wrote on 11/30/21 7:08 PM:
> So are all the schemas on one DB or are distributed/sharded across
> multiple DBs ?
In our use case, every db entirely homes one or more schemas. Some dbs
host many schemas for small customers, some dbs host a handful of
schemas for medium customers, and some dbs are dedicated to a single
large customer. If the customer is very large, we get a bigger db than
normal for them. So theoretically we still have a problem of vertical
scale but in practice it's rarely an issue and when it is, we can
usually split that single customer into multiple, at the application layer.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: bench@silentmedia.com, saurav.sarkar1@gmail.com
Subject: Re: Database Scalability
In-Reply-To: <607b41e4-9267-4ab5-378f-823722a10263@silentmedia.com>
References: <CAP+kwAU+HoYSS_WwDa17jww6sDTSQmugs9dU=PYo1D8VN-7etQ@mail.gmail.com> <71ee08fc-200b-e9de-f597-d0f6f7da6675@silentmedia.com> <CAP+kwAVz2FhKD7b4Oz_YWdTnTozqpwF2r6+mXNUwK5_fVY_ajg@mail.gmail.com> <607b41e4-9267-4ab5-378f-823722a10263@silentmedia.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox