Re: Sequential vs. random values - number of pages in B-tree

Поиск
Список
Период
Сортировка
От Daniel Verite
Тема Re: Sequential vs. random values - number of pages in B-tree
Дата
Msg-id e95bf02e-cd18-4a2b-8e78-80d3fd61b826@mm
обсуждение исходный текст
Ответ на Re: Sequential vs. random values - number of pages in B-tree  (Francisco Olarte <folarte@peoplecall.com>)
Ответы Re: Sequential vs. random values - number of pages in B-tree  (Francisco Olarte <folarte@peoplecall.com>)
Список pgsql-general
    Francisco Olarte wrote:

> unless you know of an easy way to generate a random permutation on the
> fly without using a lot of memory, I do not.

It could be done by encrypting the stream.

For 32 bits integers:
https://wiki.postgresql.org/wiki/Skip32

For 64 bits integers:
https://wiki.postgresql.org/wiki/XTEA


Best regards,
--
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite


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

Предыдущее
От: Francisco Olarte
Дата:
Сообщение: Re: Sequential vs. random values - number of pages in B-tree
Следующее
От: Francisco Olarte
Дата:
Сообщение: Re: Sequential vs. random values - number of pages in B-tree