Re: Storing database in cluster (Memory)

From: "Hiltibidal, Robert" <Robert(dot)Hiltibidal(at)argushealth(dot)com>
To: "Richard Huxton" <dev(at)archonet(dot)com>, "roopa perumalraja" <roopabenzer(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Storing database in cluster (Memory)
Date: 2007-02-06 14:15:01
Message-ID: A6C93EF9812C8346A8E8BD6AE573E52D055B97C9@ARG-EXVS01.corp.argushealth.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

You might take a look at index anding for speeding up your selects

-----Original Message-----
From: pgsql-general-owner(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of Richard Huxton
Sent: Tuesday, February 06, 2007 7:24 AM
To: roopa perumalraja
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] Storing database in cluster (Memory)

roopa perumalraja wrote:
> Hi all,
>
> As I am inserting 100million rows daily into partitioned tables
> (daily wise), it is getting slower.

What is - the inserts? By how much? What tables? What indexes? How are
you inserting these rows?

> Even the retrivel of data, select
> statement on those tables takes about 30 mintues.

All selects take 30 minutes, regardless what work they do? Or do you
have specific selects that are causing problems?

> I have tried
> increasing the parameters in postgres.conf but still that doesn't
> help me much as the no of rows are huge.

What parameters, to what values? What hardware are you running on? What
load do you place on it?

> Will the idea of storing the
> database in cluster (memory) increase the performance of
> insert/update/select in the table in a suitation like this? Thanks a
> lot in advance.

A better question would be "Why isn't my data being cached?". The
operating-system should cache regularly used files.

Still - more details please roopa and we'll see if anyone can help you.

--
Richard Huxton
Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

PRIVILEGED AND CONFIDENTIAL
This email transmission contains privileged and confidential information intended only for the use of the individual or entity named above. If the reader of the email is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that any use, dissemination or copying of this email transmission is strictly prohibited by the sender. If you have received this transmission in error, please delete the email and immediately notify the sender via the email return address or mailto:postmaster(at)argushealth(dot)com(dot) Thank you.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Brandon Aiken 2007-02-06 14:46:01 Re: PostgreSQL/FireBird
Previous Message Alvaro Herrera 2007-02-06 14:07:42 Re: Compilation Error AIX