Re: Hosting options on Postgres - what's best?

From: Alex Turner <armtuk(at)gmail(dot)com>
To: Just Someone <just(dot)some(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Hosting options on Postgres - what's best?
Date: 2005-05-11 03:39:36
Message-ID: 33c6269f05051020392bb499b5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

It depends.

We do all of the above depending on the situation. Some programs we
want to have cross client reporting and querying, so we use just
application level security with a client_id field. Some programs we
just want to be able to dump restore the whole DB in one go so we just
different schemas, and in some casses where an app wasn't really
designed for ASP model, we have different databases, or where each
version of the App has custom extensions, or the database with all
clients would just be too unwieldy.

That probably doesn't help much. Assess what your needs are, and then
pick the appropriate solution :)

Alex Turner
netEconomist

On 5/10/05, Just Someone <just(dot)some(at)gmail(dot)com> wrote:
> Hi,
>
> I'm looking into creating a hosted application with Postgres as the
> SQL server. I would like to get some ideas and oppinions about the
> different ways to separate the different clients, using postgres.
>
> The options I had in mind:
>
> 1) Create a different database per client. How much overhead will this add?
>
> 2) Use schemas and authentication. So each client is a different
> schema on the database.
>
> 3) Use application level security (per object security maintained by the app).
>
> 4) ????
>
> Any ideas? Opinnions?
>
> js.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vikas 2005-05-11 04:30:19 Re: database export in pgsql
Previous Message Alex Turner 2005-05-11 03:34:08 Re: Adventures in Quest for GUI RAD