pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ing. Gabriel Monsalvo <gmonsalvo@rentastucuman.gov.ar>
To: pgsql-admin@postgresql.org
Subject: Database Server is too Slow
Date: Fri, 13 Dec 2002 11:50:27 -0300
Message-ID: <002a01c2a2b6$fa1a9970$4d00a8c0@77> (raw)

Hi!
I need help, i mounted a Postgresql server on IBM netserver with RAID 5 134 GB, 2.5 GB de RAM and two Xeon 1.4 ghz.
I installed postgresql 7.3 in this box, my database have over 25 millons of records, and everything is slow.
i optimized with indexes,vacuum analyze and tuning up the kernel for shared memory usage.
but the server is too slow when: 
    - create index for any table with more than 5 millions
    - vacuum takes over four hours in this type of tables.
    - select max (field) from table where field2=xxxx takes a lot of time. 

explain select max(numoble) from obligacion where periodo=200100;

QUERY PLAN 

-------------------------------------------------------------------------------------------------

Aggregate (cost=6160676.57..6160676.57 rows=1 width=16)

-> Index Scan using obligacion8 on obligacion (cost=0.00..6156384.72 rows=1716743 width=16)

Index Cond: (periodo = 200100::numeric)

(3 rows)

please, i need help about this, i read a lot of documantation for tune up a postgresql server and still having problems.
anybody have a similar problem? how to solve it???

thanks in advance.

view thread (2+ messages)  latest in thread

Message-ID: <002a01c2a2b6$fa1a9970$4d00a8c0@77>
Permalink:  ../002a01c2a2b6$fa1a9970$4d00a8c0@77/
Also on:    postgresql.org/message-id/002a01c2a2b6$fa1a9970$4d00a8c0@77

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: gmonsalvo@rentastucuman.gov.ar
  Subject: Re: Database Server is too Slow
  In-Reply-To: <002a01c2a2b6$fa1a9970$4d00a8c0@77>
  References: <002a01c2a2b6$fa1a9970$4d00a8c0@77>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox