pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Josh Berkus <josh@agliodbs.com>
To: pgsql-performance@postgresql.org
Subject: Re: [HACKERS] Slow count(*) again...
Date: Thu, 03 Feb 2011 14:08:00 -0800
Message-ID: <4D4B2740.3070902@agliodbs.com> (raw )
In-Reply-To: <871v3o3jgu.fsf@cbbrowne.afilias-int.info >
References: <201102012247.p11Ml6u02682@momjian.us >
<4D48914B.4050403@dunslane.net >
<4D489AD1.1010105@vmsinfo.com >
<AANLkTiknZi97dDwm7sHqy0EL7tpNEP9sY5uPV6AN+q=u@mail.gmail.com >
<4D499E55.4020107@vmsinfo.com >
<4D49A6B9.4060608@2ndquadrant.com >
<4D49C482.4010707@vmsinfo.com >
<4D49F0BA.9000901@2ndquadrant.com >
<4D4A16BF.1020304@vmsinfo.com >
<4D4A4844.3020409@2ndquadrant.com >
<4D4AD9F6.6040903@vmsinfo.com >
<4D4AE16E.9040807@peak6.com >
<4D4B17B4.9030406@vmsinfo.com >
<871v3o3jgu.fsf@cbbrowne.afilias-int.info >
On 2/3/11 1:18 PM, Chris Browne wrote:
> mladen.gogala@vmsinfo.com (Mladen Gogala) writes:
>> I must say that this purist attitude is extremely surprising to
>> me. All the major DB vendors support optimizer hints,
I don't think that's actually accurate. Can you give me a list of
DBMSes which support hints other than Oracle?
> Well, the community declines to add hints until there is actual
> consensus on a good way to add hints.
>
> Nobody has ever proposed a way to add hints where consensus was arrived
> at that the way was good, so...
Well, we did actually have some pretty good proposals (IIRC) for
selectively adjusting the cost model to take into account DBA knowledge.
These needed some refinement, but in general seem like the right way to go.
However, since this system wasn't directly compatible with Oracle Hints,
folks pushing for hints dropped the solution as unsatisfactory. This is
the discussion we have every time: the users who want hints specifically
want hints which work exactly like Oracle's, and aren't interested in a
system designed for PostgreSQL. It's gotten very boring; it's like the
requests to support MySQL-only syntax.
--
-- Josh Berkus
PostgreSQL Experts Inc.
http://www.pgexperts.com
view thread (246+ messages) latest in thread
Message-ID: <4D4B2740.3070902@agliodbs.com>
Permalink: ../4D4B2740.3070902@agliodbs.com/
Also on: postgresql.org/message-id/4D4B2740.3070902@agliodbs.com
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: josh@agliodbs.com
Subject: Re: [HACKERS] Slow count(*) again...
In-Reply-To: <4D4B2740.3070902@agliodbs.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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