Re: [SQL] Transactional vs. Read-only (Retrieval) database

From: "Samuel J(dot) Sutjiono" <ssutjiono(at)wc-group(dot)com>
To: "Josh Berkus" <josh(at)agliodbs(dot)com>, <pgsql-general(at)postgresql(dot)org>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: [SQL] Transactional vs. Read-only (Retrieval) database
Date: 2002-04-12 14:51:47
Message-ID: 00ce01c1e231$929619f0$110a010a@headquarters.wcgroup.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

Hi Josh,

Thank you very much for your input.

About managing disk access and memory, do you know how to ensure the
"read-only (to do the search on)" tables(i.e. product catalog) loaded and
stay loaded in memory (provided buffer size is big enough for those tables)
? Are you familiar with RAMDISK ?

On different subject, do you know how to monitor the number of connections
in PostgreSQL ?

Regards,
Samuel

----- Original Message -----
From: "Josh Berkus" <josh(at)agliodbs(dot)com>
To: "Samuel J. Sutjiono" <ssutjiono(at)wc-group(dot)com>;
<pgsql-general(at)postgresql(dot)org>; <pgsql-sql(at)postgresql(dot)org>
Sent: Thursday, April 11, 2002 7:16 PM
Subject: Re: [SQL] Transactional vs. Read-only (Retrieval) database

> Sam,
>
> > I'd like to get some opinions if there are any benefits (i.e. in
> > terms of performance) of creating two separate databases, one for
> > transactions (insert, update, delete) and the other one is for
> > retrieval/search (select).
>
> No. Not in Postgresql, unless you wanted to get really exotic. Also,
> keep in mind that you cannot join tables from seperate databases in
> postgresql.
>
> There are *lots* of performance advantages to be had by managing disk
> access and memory carefully. But not through seperate databases.
>
> -Josh Berkus
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jean-Luc Lachance 2002-04-12 15:52:36 Re: Critical performance problems on large databases
Previous Message Lincoln Yeoh 2002-04-12 14:49:17 Re: Critical performance problems on large databases

Browse pgsql-sql by date

  From Date Subject
Next Message Dan Schwitalla 2002-04-12 15:50:01 PL/PGSQL question on transactions
Previous Message cnliou 2002-04-12 10:50:49 Problem With A Rule (clear version)