Thread: Improve the Postgres Query performance

Improve the Postgres Query performance

From
Tripura
Date:
Hello All..
This is my first PostgreSql database. It has 8 tables and 4 tables are very
huge each with 6million records.
I have a simple view on this tables and it is taking more than 3hrs to
return the results.
Can someone help me the way to improve the db return the results in a faster
way.

I am not sure ... how to improve the performace and return the faster query
results in PostgreSql.

I tried creating index on each of this tables
for example
CREATE INDEX idx_idlocalizedname
  ON "LocalizedName"
  USING btree
  (id)
  WITH (FILLFACTOR=95);

But still it did not help me much
Can someone guide me the way to improve the performance in PostgreSql
Thx,
Triprua


--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Improve-the-Postgres-Query-performance-tp4511903p4511903.html
Sent from the PostgreSQL - performance mailing list archive at Nabble.com.

Re: Improve the Postgres Query performance

From
Craig Ringer
Date:
On 22/06/11 04:34, Tripura wrote:
> Hello All..
> This is my first PostgreSql database. It has 8 tables and 4 tables are very
> huge each with 6million records.
> I have a simple view on this tables and it is taking more than 3hrs to
> return the results.
> Can someone help me the way to improve the db return the results in a faster
> way.

Please read:

  http://wiki.postgresql.org/wiki/SlowQueryQuestions

and post a follow-up with more detail.

--
Craig Ringer

Re: Improve the Postgres Query performance

From
Tripura
Date:
Hi,
Thankyou for the link, it heped me

Thx,
Tripura

--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Improve-the-Postgres-Query-performance-tp4511903p4515457.html
Sent from the PostgreSQL - performance mailing list archive at Nabble.com.