forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit73d1bfd
committed
Prevent autovacuum transactions from running in serializable mode.
Force the transaction isolation level to READ COMMITTED in autovacuumworker and launcher processes. There is no benefit to using a higherisolation level, and doing so could result in delaying foregroundtransactions (or maybe even causing unnecessary serialization failures?).Noted by Dan Ports.Also, make sure we disable zero_damaged_pages and statement_timeout inthe autovac launcher, not only workers. Now that the launcher can runtransactions, these settings could affect its behavior, and it seemslike the same arguments apply to the launcher as the workers.1 parent99f5e47 commit73d1bfd
1 file changed
+31
-1
lines changedLines changed: 31 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
529 | 529 |
| |
530 | 530 |
| |
531 | 531 |
| |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
532 | 553 |
| |
533 | 554 |
| |
534 | 555 |
| |
| |||
1530 | 1551 |
| |
1531 | 1552 |
| |
1532 | 1553 |
| |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
1533 | 1562 |
| |
1534 | 1563 |
| |
1535 | 1564 |
| |
1536 | 1565 |
| |
1537 | 1566 |
| |
1538 | 1567 |
| |
1539 |
| - | |
| 1568 | + | |
| 1569 | + | |
1540 | 1570 |
| |
1541 | 1571 |
| |
1542 | 1572 |
| |
|
0 commit comments
Comments
(0)