Re: Precomputed constants?

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: Precomputed constants?
Дата
Msg-id 20060614151804.GB34196@pervasive.com
обсуждение исходный текст
Ответ на Re: Precomputed constants?  (Böszörményi Zoltán <zboszor@dunaweb.hu>)
Ответы Re: Precomputed constants?  (Zoltan Boszormenyi <zboszor@dunaweb.hu>)
Список pgsql-performance
On Wed, Jun 14, 2006 at 01:30:10PM +0200, B?sz?rm?nyi Zolt?n wrote:
> Replacing random() with a true constant gives me index scan
> even if it's hidden inside other function calls. E.g.:

The database has no choice but to compute random() for every row; it's
marked VOLATILE.
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461

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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: how to partition disks
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Performance of pg_dump on PGSQL 8.0