Re: Postgresql simple query performance question - Mailing list pgsql-general

From Gregory Stark
Subject Re: Postgresql simple query performance question
Date
Msg-id 87abpq27ez.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: Postgresql simple query performance question  (SHARMILA JOTHIRAJAH <sharmi_jo@yahoo.com>)
List pgsql-general
"SHARMILA JOTHIRAJAH" <sharmi_jo@yahoo.com> writes:

> I understand that. But why is that when oracle is given a hint to do full
> table scan instead of using index to get the count, it is still faster than
> postgres when both has the same explain plan? Oracle takes 34 sec and
> postgres takes 1 m10 sec . Is there anything that can be done in postgresql
> for speeding this up?

How large are the actual respective data files?

What are the columns in these tables? Do you have many char() and NUMERIC
columns?

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com
  Ask me about EnterpriseDB's On-Demand Production Tuning

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Syntax error in a large COPY
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Npsql is much faster than ODBC ?