Re: 7.4 - FK constraint performance

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: 7.4 - FK constraint performance
Дата
Msg-id 1076640825.10896.12.camel@jester
обсуждение исходный текст
Ответ на Re: 7.4 - FK constraint performance  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
On Thu, 2004-02-12 at 20:10, Tom Lane wrote:
> ow <oneway_111@yahoo.com> writes:
> > Sounds pretty bad for my case. Any way to avoid the 10% scan?
>
> Can't see how we optimize your case without pessimizing more-common cases.
> Sorry.

Statistics say there are 10 values. Statistics list the 10 most common
values (all of them). Given this, would it not be reasonable to assume
that 239 is a recent addition (if there at all) to the table and not
very common?

--
Rod Taylor <rbt [at] rbt [dot] ca>

Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL
PGP Key: http://www.rbt.ca/rbtpub.asc

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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: 7.4 - FK constraint performance
Следующее
От: "Ivo Anon"
Дата:
Сообщение: nextval problem