pgsql: Speed up CREATE INDEX CONCURRENTLY's TID sort. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Speed up CREATE INDEX CONCURRENTLY's TID sort.
Date
Msg-id E1a9Igb-0007qP-Fg@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Mark CHECK constraints declared NOT VALID valid if created with
Next
From: Tom Lane
Date:
Subject: pgsql: Cope with Readline's failure to track SIGWINCH events outside of