pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feedImprove the Postgres Query performance
3+ messages / 2 participants
[nested] [flat]
* Improve the Postgres Query performance
@ 2011-06-21 20:34 Tripura <k_tripura@hotmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Tripura @ 2011-06-21 20:34 UTC (permalink / raw)
To: pgsql-performance
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.htm...
Sent from the PostgreSQL - performance mailing list archive at Nabble.com.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Improve the Postgres Query performance
@ 2011-06-22 07:05 Craig Ringer <craig@postnewspapers.com.au>
parent: Tripura <k_tripura@hotmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Craig Ringer @ 2011-06-22 07:05 UTC (permalink / raw)
To: Tripura <k_tripura@hotmail.com>; +Cc: pgsql-performance
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Improve the Postgres Query performance
@ 2011-06-22 20:57 Tripura <k_tripura@hotmail.com>
parent: Craig Ringer <craig@postnewspapers.com.au>
0 siblings, 0 replies; 3+ messages in thread
From: Tripura @ 2011-06-22 20:57 UTC (permalink / raw)
To: pgsql-performance
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.htm...
Sent from the PostgreSQL - performance mailing list archive at Nabble.com.
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2011-06-22 20:57 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-06-21 20:34 Improve the Postgres Query performance Tripura <k_tripura@hotmail.com>
2011-06-22 07:05 ` Craig Ringer <craig@postnewspapers.com.au>
2011-06-22 20:57 ` Tripura <k_tripura@hotmail.com>
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