Search Postgresql Archives

Re: Hash partitioning, what function is used to compute the hash?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The documentation shows it is just a modulus operation. If you partition on object_key % 3 then you will create three partitions for remainder values 0-2 for instance.

Afaik, hash partition doesn't have real world expected use cases just yet. List or range is probably what you want to use.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux