Re: Performance Problem

From: Shridhar Daithankar <shridhar_daithankar(at)persistent(dot)co(dot)in>
To: "pgsql (E-mail)" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Performance Problem
Date: 2003-04-16 06:59:17
Message-ID: 200304161229.17469.shridhar_daithankar@nospam.persistent.co.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wednesday 16 April 2003 07:10, Pedro C. Arias wrote:
> Hello, i use PostgresSQL 7.3.2 on Mandrake 9.0, I create a Database to test
> performance vs. SQL-Server, the idea is migrate SQL-Server to Postgres.
> This test is retrieve a table sorted by a field ie: "select * from test
> order by id_field asc", postgress retrieve it in 43 seconds and SQL-Server
> in 8 seconds The table has 100.000 records, why the diference, how
> acelerete the performance of postgres, have any tutorial on the web to
> optimize querys ?

There are too many variables to tune for. To start with, tune postgresql.conf.
Look for number of shared buffers and sort mem. Also vacuum periodically.

More specific information would help.

Shridhar

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tony Grant 2003-04-16 07:02:38 Re: OT: mail server blocked
Previous Message Shridhar Daithankar 2003-04-16 06:58:13 Re: Disk usage