forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit606c012
committed
Reduce btree scan overhead for < and > strategies
For <, <=, > and >= strategies, mark the first scan keyas already matched if scanning in an appropriate direction.If index tuple contains no nulls we can skip the firstre-check for each tuple.Author: Rajeev RastogiReviewer: Haribabu KommiRework of the code and comments by Simon Riggs1 parentdedae6c commit606c012
File tree
3 files changed
+35
-0
lines changed- src
- backend/access/nbtree
- include/access
3 files changed
+35
-0
lines changedLines changed: 27 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
996 | 996 |
| |
997 | 997 |
| |
998 | 998 |
| |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
999 | 1026 |
| |
1000 | 1027 |
| |
1001 | 1028 |
| |
|
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1429 | 1429 |
| |
1430 | 1430 |
| |
1431 | 1431 |
| |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
1432 | 1439 |
| |
1433 | 1440 |
| |
1434 | 1441 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
618 | 618 |
| |
619 | 619 |
| |
620 | 620 |
| |
| 621 | + | |
621 | 622 |
| |
622 | 623 |
| |
623 | 624 |
| |
|
0 commit comments
Comments
(0)