forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7c579fa
committed
Further work on making use of new statistics in planner. Adjust APIs
of costsize.c routines to pass Query root, so that costsize can figuremore things out by itself and not be so dependent on its callers to tellit everything it needs to know. Use selectivity of hash or merge clauseto estimate number of tuples processed internally in these joins(this is more useful than it would've been before, since eqjoinsel issomewhat more accurate than before).1 parent28d2420 commit7c579fa
File tree
20 files changed
+337
-195
lines changed- src
- backend
- nodes
- optimizer
- path
- plan
- prep
- util
- utils/adt
- include
- nodes
- optimizer
20 files changed
+337
-195
lines changedLines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| |||
1361 | 1361 |
| |
1362 | 1362 |
| |
1363 | 1363 |
| |
1364 |
| - | |
1365 | 1364 |
| |
1366 | 1365 |
| |
| 1366 | + | |
| 1367 | + | |
1367 | 1368 |
| |
1368 | 1369 |
| |
1369 | 1370 |
| |
|
Lines changed: 7 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 |
| - | |
| 23 | + | |
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| |||
514 | 514 |
| |
515 | 515 |
| |
516 | 516 |
| |
517 |
| - | |
518 |
| - | |
519 |
| - | |
520 |
| - | |
521 |
| - | |
522 |
| - | |
523 | 517 |
| |
524 | 518 |
| |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
525 | 525 |
| |
526 | 526 |
| |
527 | 527 |
| |
|
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
1792 | 1792 |
| |
1793 | 1793 |
| |
1794 | 1794 |
| |
| 1795 | + | |
| 1796 | + | |
1795 | 1797 |
| |
1796 | 1798 |
| |
1797 | 1799 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
223 | 223 |
| |
224 | 224 |
| |
225 | 225 |
| |
226 |
| - | |
| 226 | + | |
227 | 227 |
| |
228 | 228 |
| |
229 | 229 |
| |
|
Lines changed: 2 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
51 |
| - | |
52 |
| - | |
53 |
| - | |
54 | 51 |
| |
55 | 52 |
| |
56 | 53 |
| |
| |||
364 | 361 |
| |
365 | 362 |
| |
366 | 363 |
| |
367 |
| - | |
| 364 | + | |
368 | 365 |
| |
369 | 366 |
| |
370 | 367 |
| |
|
0 commit comments
Comments
(0)