Re: [HACKERS] Slow count(*) again...

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: [HACKERS] Slow count(*) again...
Дата
Msg-id 4D4B2740.3070902@agliodbs.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Slow count(*) again...  (Chris Browne <cbbrowne@acm.org>)
Ответы Re: [HACKERS] Slow count(*) again...
Re: [HACKERS] Slow count(*) again...
Re: [HACKERS] Slow count(*) again...
Список pgsql-performance
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

В списке pgsql-performance по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: [HACKERS] Slow count(*) again...
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: [HACKERS] Slow count(*) again...