Search Postgresql Archives

join by char(16) or by bytea?

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

 



One more newbie question.
Due to limitations of both pg and php I gave up on the attempts to
make bigint keys work; I have a choice between 16-byte character
strings or "8-byte" bytea (decode(string_from_above, "hex")) for an
index column for a table.

Which one will be faster for exact matches and joins? Tables will be
big,
there will be no range queries and no partial matching.

Again I cannot test it because I lack production data, I wonder if
it's common knowledge?



[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