Re: PostgreSQL does CAST implicitely between int and a domain derive from int during SELECT query

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <pgsql-hackers(at)postgresql(dot)org>, Jean-Michel Pouré <jm(at)poure(dot)com>
Subject: Re: PostgreSQL does CAST implicitely between int and a domain derive from int during SELECT query
Date: 2009-08-26 14:16:26
Message-ID: 4A94FD6A020000250002A24D@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jean-Michel Pouré<jm(at)poure(dot)com> wrote:

> Some queries range between 400ms and 700ms.

Please post the results of EXPLAIN ANALYZE, not just EXPLAIN.

Also, it helps if you can show the definition of all tables used in
the query (including indexes) and any lines from your postgresql.conf
file which are not at the default value. (And of course, any
overrides to those settings which were in effect on the connection
when the query was run.)

Please repost with that the pgsql-performance list -- this is very
unlikely to be something which will lead to a change to the PostgreSQL
product, which is what this list is about; it's probably just
something you can tune. (Discussion can always come back here if a
problem with PostgreSQL itself is found.)

-Kevin

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jean-Michel Pouré 2009-08-26 14:17:55 Re: 8.5 release timetable, again
Previous Message Tom Lane 2009-08-26 14:07:41 Re: PostgreSQL does CAST implicitely between int and a domain derived from int during SELECT query