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

From Rakesh Kumar
Subject Multi tenancy : schema vs databases
Date
Msg-id DM2PR05MB6221A469193361C5AD3DCC48CCE0@DM2PR05MB622.namprd05.prod.outlook.com
Whole thread Raw
Responses Re: Multi tenancy : schema vs databases
Re: Multi tenancy : schema vs databases
List pgsql-general
Hi

I would like to know which technique is better for supporting multi-tenancy=
 applications, going upto hundreds or even thousands of tenants.

1 - One database with difference schemas (one schema per tenant)
or
2 - One database per tenant.

The points to be considered are:

1 - which is more light weight from resources point of view.
2 - which is easier for backup/restore
3 - Which is better from security p.o.v

It is possible that this question has been asked before. Is there a  link t=
o earlier posts on the subject.

Thanks.

pgsql-general by date:

Previous
From: Paul Jungwirth
Date:
Subject: Re: Time travel?
Next
From: Thomas Munro
Date:
Subject: Re: Time travel?