forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc7ea68f
committed
Limit maximum parallel degree to 1024.
This new limit affects both the max_parallel_degree GUC and theparallel_degree reloption. There may some day be a use case for usingmore than 1024 CPUs for a single query, but that's surely not the caseright now. Not only do not very many people have that many CPUs, butthe code hasn't been tested at that kind of scale and is very unlikelyto perform well, or even work at all, without a lot more work. Theissue addressed by commit06bd458 isprobably just one problem of many.The idea of a more reasonable limit here was suggested by Tom Lane;the value of 1024 was suggested by Amit Kapila.1 parent73b9952 commitc7ea68f
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
275 | 275 |
| |
276 | 276 |
| |
277 | 277 |
| |
278 |
| - | |
| 278 | + | |
279 | 279 |
| |
280 | 280 |
| |
281 | 281 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2662 | 2662 |
| |
2663 | 2663 |
| |
2664 | 2664 |
| |
2665 |
| - | |
| 2665 | + | |
2666 | 2666 |
| |
2667 | 2667 |
| |
2668 | 2668 |
| |
|
0 commit comments
Comments
(0)