efficiency random values / sequential ID values in indexes

Поиск
Список
Период
Сортировка
От Sanjay Minni
Тема efficiency random values / sequential ID values in indexes
Дата
Msg-id CAMpxBonz65-cqa_OUTvDYA9omPSMEAgqd6SrNDhWPzpOaJ5_rg@mail.gmail.com
обсуждение исходный текст
Ответы Re: efficiency random values / sequential ID values in indexes  (Ron Johnson <ronljohnsonjr@gmail.com>)
Список pgsql-general
Hi 

Is there any appreciable difference in using random values or sequential values in indexes 

in a multi tenanted application there is a choice that the single field ID's value is totally random / UUID or the numbers are created with a prefix of the tenant. Since all access will be within a tenant only, will it make any performance difference between using purely random values vs <tenant no prefix part>+<random value>.

thanks
Sanjay

 
  

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

Предыдущее
От: Francisco Olarte
Дата:
Сообщение: Re: constant crashing
Следующее
От: Ron Johnson
Дата:
Сообщение: Re: Failing streaming replication on PostgreSQL 14