Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 90E47476E6B for ; Fri, 13 Dec 2002 09:50:22 -0500 (EST) Received: from smtp3.arnet.com.ar (smtp3.arnet.com.ar [200.45.191.14]) by postgresql.org (Postfix) with SMTP id 69FD2476E2F for ; Fri, 13 Dec 2002 09:49:42 -0500 (EST) Received: (qmail 4045 invoked from network); 13 Dec 2002 14:48:51 -0000 Received: from unknown (HELO 77) (200.45.99.243) by smtp3.arnet.com.ar with SMTP; 13 Dec 2002 14:48:50 -0000 Message-ID: <002a01c2a2b6$fa1a9970$4d00a8c0@77> From: "Ing. Gabriel Monsalvo" To: Subject: Database Server is too Slow Date: Fri, 13 Dec 2002 11:50:27 -0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0027_01C2A29D.D43985E0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/178 X-Sequence-Number: 6673 This is a multi-part message in MIME format. ------=_NextPart_000_0027_01C2A29D.D43985E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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:=20 - 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=3Dxxxx takes a lot of time= .=20 explain select max(numoble) from obligacion where periodo=3D200100; QUERY PLAN=20 ---------------------------------------------------------------------------= ---------------------- Aggregate (cost=3D6160676.57..6160676.57 rows=3D1 width=3D16) -> Index Scan using obligacion8 on obligacion (cost=3D0.00..6156384.72 rows= =3D1716743 width=3D16) Index Cond: (periodo =3D 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. ------=_NextPart_000_0027_01C2A29D.D43985E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!
I need help, i mounted a Postgresql server= on IBM=20 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=20 have over 25 millons of records, and everything is slow.
i optimized with indexes,vacuum analyze an= d tuning=20 up the kernel for shared memory usage.
but the server is too slow when:
    - create index for any= =20 table with more than 5 millions
    - vacuum takes over fou= r hours=20 in this type of tables.
    - select max (field)&nb= sp;from=20 table where field2=3Dxxxx takes a lot of time. 
 
explain select max(numoble) from obligacio= n where=20 periodo=3D200100;
 
QUERY PLAN
 
------------------------------------------------------------------= -------------------------------
 
Aggregate (cost=3D6160676.57..6160676.57 r= ows=3D1=20 width=3D16)
 
-> Index Scan using obligacion8 on obli= gacion=20 (cost=3D0.00..6156384.72 rows=3D1716743 width=3D16)
 
Index Cond: (periodo =3D=20 200100::numeric)
 
(3 rows)
 
please, i need help about this, i read a l= ot of=20 documantation for tune up a postgresql server and still having=20 problems.
anybody have a similar problem? how to sol= ve=20 it???
 
thanks in advance.
 
 
------=_NextPart_000_0027_01C2A29D.D43985E0--