- Notifications
You must be signed in to change notification settings - Fork5
Commit75be664
committed
Invent min_parallel_relation_size GUC to replace a hard-wired constant.
The main point of doing this is to allow the cutoff to be set very small,even zero, to allow parallel-query behavior to be tested on relativelysmall tables such as we typically use in the regression tests. But itmight be of use to users too. The number-of-workers scaling behavior increate_plain_partial_paths() is pretty ad-hoc and subject to change, sowe won't expose anything about that, but the notion of not consideringparallel query at all for tables below size X seems reasonably stable.Amit Kapila, per a suggestion from meDiscussion: <17170.1465830165@sss.pgh.pa.us>1 parent3b5a2a8 commit75be664
File tree
5 files changed
+37
-5
lines changed- doc/src/sgml
- src
- backend
- optimizer/path
- utils/misc
- include/optimizer
5 files changed
+37
-5
lines changedLines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3699 | 3699 |
| |
3700 | 3700 |
| |
3701 | 3701 |
| |
| 3702 | + | |
| 3703 | + | |
| 3704 | + | |
| 3705 | + | |
| 3706 | + | |
| 3707 | + | |
| 3708 | + | |
| 3709 | + | |
| 3710 | + | |
| 3711 | + | |
| 3712 | + | |
| 3713 | + | |
| 3714 | + | |
| 3715 | + | |
3702 | 3716 |
| |
3703 | 3717 |
| |
3704 | 3718 |
| |
|
Lines changed: 10 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| 18 | + | |
18 | 19 |
| |
19 | 20 |
| |
20 | 21 |
| |
| |||
56 | 57 |
| |
57 | 58 |
| |
58 | 59 |
| |
| 60 | + | |
59 | 61 |
| |
60 | 62 |
| |
61 | 63 |
| |
| |||
690 | 692 |
| |
691 | 693 |
| |
692 | 694 |
| |
693 |
| - | |
| 695 | + | |
694 | 696 |
| |
695 | 697 |
| |
696 | 698 |
| |
| |||
699 | 701 |
| |
700 | 702 |
| |
701 | 703 |
| |
702 |
| - | |
| 704 | + | |
703 | 705 |
| |
704 | 706 |
| |
705 | 707 |
| |
706 | 708 |
| |
707 | 709 |
| |
708 | 710 |
| |
709 |
| - | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
710 | 714 |
| |
711 | 715 |
| |
712 |
| - | |
| 716 | + | |
| 717 | + | |
713 | 718 |
| |
714 | 719 |
| |
715 | 720 |
| |
716 |
| - | |
| 721 | + | |
717 | 722 |
| |
718 | 723 |
| |
719 | 724 |
| |
|
Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2747 | 2747 |
| |
2748 | 2748 |
| |
2749 | 2749 |
| |
| 2750 | + | |
| 2751 | + | |
| 2752 | + | |
| 2753 | + | |
| 2754 | + | |
| 2755 | + | |
| 2756 | + | |
| 2757 | + | |
| 2758 | + | |
| 2759 | + | |
| 2760 | + | |
2750 | 2761 |
| |
2751 | 2762 |
| |
2752 | 2763 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
304 | 304 |
| |
305 | 305 |
| |
306 | 306 |
| |
| 307 | + | |
307 | 308 |
| |
308 | 309 |
| |
309 | 310 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| 25 | + | |
25 | 26 |
| |
26 | 27 |
| |
27 | 28 |
| |
|
0 commit comments
Comments
(0)