From: | Alban Hertroys <haramrae(at)gmail(dot)com> |
---|---|
To: | Mohamed Hashim <nmdhashim(at)gmail(dot)com> |
Cc: | pgsql-performance(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org, php-db(at)lists(dot)php(dot)net, "Karthi(dot)(dot)" <karthiisforu(at)gmail(dot)com> |
Subject: | Re: Performance Problem with postgresql 9.03, 8GB RAM,Quadcore Processor Server--Need help!!!!!!! |
Date: | 2011-10-28 11:37:09 |
Message-ID: | CAF-3MvOjY17pVZXSWgYDB5dMy-B07KiVYexR4RRutxZyXeKjbA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-performance |
On 28 October 2011 09:02, Mohamed Hashim <nmdhashim(at)gmail(dot)com> wrote:
> EXPLAIN select * from stk_source ;
> QUERY
> PLAN
> -------------------------------------------------------------------------------------
> Result (cost=0.00..6575755.39 rows=163132513 width=42)
> -> Append (cost=0.00..6575755.39 rows=163132513 width=42)
> -> Seq Scan on stk_source (cost=0.00..42.40 rows=1080 width=45)
> -> Seq Scan on stk_source (cost=0.00..20928.37 rows=519179
> width=42)
> -> Seq Scan on stk_source (cost=0.00..85125.82 rows=2111794
> width=42)
> -> Seq Scan on stk_source (cost=0.00..6469658.80 rows=160500460
> width=42)
That plan gives you the best possible performance given your query.
Your example probably doesn't fit the problem you're investigating.
--
If you can't see the forest for the trees,
Cut the trees and you'll see there is no forest.
From | Date | Subject | |
---|---|---|---|
Next Message | Alban Hertroys | 2011-10-28 12:08:10 | Re: Performance Problem with postgresql 9.03, 8GB RAM,Quadcore Processor Server--Need help!!!!!!! |
Previous Message | Robert Buckley | 2011-10-28 11:23:54 | WG: PostgreSQL Naming Rules |
From | Date | Subject | |
---|---|---|---|
Next Message | Alban Hertroys | 2011-10-28 12:08:10 | Re: Performance Problem with postgresql 9.03, 8GB RAM,Quadcore Processor Server--Need help!!!!!!! |
Previous Message | Albe Laurenz | 2011-10-28 11:02:59 | SSL encryption makes bytea transfer slow |