forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5c11725
committed
Rearrange storage of data in xl_running_xacts.
Previously we stored all xids mixed together.Now we store top-level xids first, followedby all subxids. Also skip logging any subxidsif the snapshot is suboverflowed, since thereare potentially large numbers of them and theyare not useful in that case anyway. Has valuein the envisaged design for decoding of WAL.No planned effect on Hot Standby.Andres Freund, reviewed by me1 parentc111306 commit5c11725
File tree
4 files changed
+52
-25
lines changed- src
- backend
- access/transam
- storage/ipc
- include/storage
4 files changed
+52
-25
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5631 | 5631 |
| |
5632 | 5632 |
| |
5633 | 5633 |
| |
| 5634 | + | |
5634 | 5635 |
| |
5635 | 5636 |
| |
5636 | 5637 |
| |
| |||
7834 | 7835 |
| |
7835 | 7836 |
| |
7836 | 7837 |
| |
| 7838 | + | |
7837 | 7839 |
| |
7838 | 7840 |
| |
7839 | 7841 |
| |
|
Lines changed: 43 additions & 22 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
501 | 501 |
| |
502 | 502 |
| |
503 | 503 |
| |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
504 | 511 |
| |
505 | 512 |
| |
506 | 513 |
| |
| |||
581 | 588 |
| |
582 | 589 |
| |
583 | 590 |
| |
584 |
| - | |
| 591 | + | |
585 | 592 |
| |
586 | 593 |
| |
587 | 594 |
| |
588 | 595 |
| |
589 | 596 |
| |
590 |
| - | |
| 597 | + | |
591 | 598 |
| |
592 | 599 |
| |
593 | 600 |
| |
| |||
1627 | 1634 |
| |
1628 | 1635 |
| |
1629 | 1636 |
| |
1630 |
| - | |
| 1637 | + | |
1631 | 1638 |
| |
1632 | 1639 |
| |
1633 | 1640 |
| |
1634 | 1641 |
| |
1635 |
| - | |
1636 | 1642 |
| |
1637 | 1643 |
| |
1638 |
| - | |
1639 | 1644 |
| |
1640 | 1645 |
| |
1641 | 1646 |
| |
| |||
1652 | 1657 |
| |
1653 | 1658 |
| |
1654 | 1659 |
| |
1655 |
| - | |
1656 |
| - | |
1657 |
| - | |
1658 |
| - | |
1659 |
| - | |
1660 |
| - | |
1661 |
| - | |
1662 |
| - | |
1663 |
| - | |
1664 |
| - | |
1665 |
| - | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
1666 | 1663 |
| |
1667 |
| - | |
1668 |
| - | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
1669 | 1676 |
| |
1670 | 1677 |
| |
1671 |
| - | |
1672 |
| - | |
1673 |
| - | |
| 1678 | + | |
| 1679 | + | |
1674 | 1680 |
| |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
| 1694 | + | |
1675 | 1695 |
| |
1676 | 1696 |
| |
1677 | 1697 |
| |
1678 |
| - | |
| 1698 | + | |
| 1699 | + | |
1679 | 1700 |
| |
1680 | 1701 |
| |
1681 | 1702 |
| |
|
Lines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
778 | 778 |
| |
779 | 779 |
| |
780 | 780 |
| |
| 781 | + | |
781 | 782 |
| |
782 | 783 |
| |
783 | 784 |
| |
| |||
897 | 898 |
| |
898 | 899 |
| |
899 | 900 |
| |
| 901 | + | |
900 | 902 |
| |
901 | 903 |
| |
902 | 904 |
| |
| |||
912 | 914 |
| |
913 | 915 |
| |
914 | 916 |
| |
915 |
| - | |
| 917 | + | |
916 | 918 |
| |
917 | 919 |
| |
918 | 920 |
| |
| |||
931 | 933 |
| |
932 | 934 |
| |
933 | 935 |
| |
934 |
| - | |
935 |
| - | |
| 936 | + | |
| 937 | + | |
936 | 938 |
| |
937 | 939 |
| |
938 | 940 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
| 71 | + | |
71 | 72 |
| |
72 | 73 |
| |
73 | 74 |
| |
| |||
98 | 99 |
| |
99 | 100 |
| |
100 | 101 |
| |
| 102 | + | |
101 | 103 |
| |
102 | 104 |
| |
103 | 105 |
| |
|
0 commit comments
Comments
(0)