- Notifications
You must be signed in to change notification settings - Fork28
Commitd061ea2
committed
Adjust DSM and DSA slot usage constants.
When running a lot of large parallel queries concurrently, or a plan witha lot of separate Gather nodes, it is possible to run out of DSM slots.There are better solutions to these problems requiring architecturalredesign work, but for now, let's adjust the constants so that it's moredifficult to hit the limit.1. Previously, a DSA area would create up to four segments at each sizebefore doubling the size. After this commit, it will create only two ateach size, so it ramps up faster and therefore needs fewer slots.2. Previously, the total limit on DSM slots allowed for 2 per connection.Switch to 5 per connection.Also remove an obsolete nearby comment.Author: Thomas MunroReviewed-by: Robert Haas, Andres FreundDiscussion:https://postre.es/m/CA%2BhUKGL6H2BpGbiF7Lj6QiTjTGyTLW_vLR%3DSn2tEBeTcYXiMKw%40mail.gmail.com1 parenta069218 commitd061ea2
2 files changed
+2
-7
lines changedLines changed: 1 addition & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 | 48 |
| |
54 |
| - | |
| 49 | + | |
55 | 50 |
| |
56 | 51 |
| |
57 | 52 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
74 | 74 |
| |
75 | 75 |
| |
76 | 76 |
| |
77 |
| - | |
| 77 | + | |
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
|
0 commit comments
Comments
(0)