Re: Multi tenancy : schema vs databases - Mailing list pgsql-general

From John R Pierce
Subject Re: Multi tenancy : schema vs databases
Date
Msg-id 48b4f158-a975-0f7c-60c5-8cf0538b2ea3@hogranch.com
Whole thread Raw
In response to Re: Multi tenancy : schema vs databases  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-general
On 10/1/2016 11:39 AM, Jeff Janes wrote:
>
> As others have said, different databases makes connection pooling less
> efficient, which could be very important to you, or could be irrelevant.

1000 apps running at once each with their own DB and 10s of connections
== 10s of 1000s of database connections, which means 10s of 1000s of
database processes.

1000 apps only connecting as needed for each transaction == database
server forks for every connection, expensive.





--
john r pierce, recycling bits in santa cruz



pgsql-general by date:

Previous
From: Rakesh Kumar
Date:
Subject: Re: Multi tenancy : schema vs databases
Next
From: John R Pierce
Date:
Subject: Re: Multi tenancy : schema vs databases