pgsql: Speed up CREATE INDEX CONCURRENTLY's TID sort.
pgsql: Speed up CREATE INDEX CONCURRENTLY's TID sort.
От:
Robert Haas <rhaas@postgresql.org>
Дата:
Speed up CREATE INDEX CONCURRENTLY's TID sort. Encode TIDs as 64-bit integers to speed up comparisons. This seems to speed things up on all platforms, but is even more beneficial when 8-byte integers are passed by value. Peter Geoghegan. Design suggestions and review by Tom Lane. Review also by Simon Riggs and by me. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/b648b70342fbe712383e8cd76dc8f7feaba9aaa3 Modified Files -------------- src/backend/catalog/index.c | 71 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 67 insertions(+), 4 deletions(-)