Re: how much ram do i give postgres?

From: Josh Close <narshe(at)gmail(dot)com>
To: POSTGRES <pgsql-general(at)postgresql(dot)org>
Subject: Re: how much ram do i give postgres?
Date: 2004-10-20 18:34:13
Message-ID: 4a0cafe2041020113447982646@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 20 Oct 2004 18:47:25 +0100, Gary Doades <gpd(at)gpdnet(dot)co(dot)uk> wrote:
> What about triggers? Also constraints (check contraints, integrity
> constraints) All these will slow the inserts/updates down.

No triggers or constraints. There are some foreign keys, but the
tables that have the inserts don't have anything to them, even
indexes, to help speed up the inserts.

>
> If you have integrity constraints make sure you have indexes on the
> referenced columns in the referenced tables and make sure the data
> types are the same.
>
> How long does 100,000 rows take to insert exactly?

I believe with the bulk inserts, 100k only takes a couple mins.

>
> How many updates are you performing each hour?

I'm not sure about this. Is there a pg stats table I can look at to
find this out..... I suppose I could do a count on the time stamp
also. I'll let you know when I find out.

>
> Regards,
> Gary.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dennis Gearon 2004-10-20 18:34:54 max length bit(x) bit varying(x)
Previous Message Andrew Sullivan 2004-10-20 18:29:51 Re: Sequence question