forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9868167

Amit Kapila
Track statistics for spilling of changes from ReorderBuffer.
This adds the statistics about transactions spilled to disk fromReorderBuffer. Users can query the pg_stat_replication_slots view to checkthese stats and call pg_stat_reset_replication_slot to reset the stats ofa particular slot. Users can pass NULL in pg_stat_reset_replication_slotto reset stats of all the slots.This commit extends the statistics collector to track this informationabout slots.Author: Sawada Masahiko and Amit KapilaReviewed-by: Amit Kapila and Dilip KumarDiscussion:https://postgr.es/m/CA+fd4k5_pPAYRTDrO2PbtTOe0eHQpBvuqmCr8ic39uTNmR49Eg@mail.gmail.com1 parent8d2a01a commit9868167
File tree
16 files changed
+700
-8
lines changed- doc/src/sgml
- src
- backend
- catalog
- postmaster
- replication
- logical
- utils/adt
- include
- catalog
- replication
- test/regress/expected
- tools/pgindent
16 files changed
+700
-8
lines changedLines changed: 112 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
314 | 314 |
| |
315 | 315 |
| |
316 | 316 |
| |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
317 | 326 |
| |
318 | 327 |
| |
319 | 328 |
| |
| |||
2552 | 2561 |
| |
2553 | 2562 |
| |
2554 | 2563 |
| |
| 2564 | + | |
| 2565 | + | |
| 2566 | + | |
| 2567 | + | |
| 2568 | + | |
| 2569 | + | |
| 2570 | + | |
| 2571 | + | |
| 2572 | + | |
| 2573 | + | |
| 2574 | + | |
| 2575 | + | |
| 2576 | + | |
| 2577 | + | |
| 2578 | + | |
| 2579 | + | |
| 2580 | + | |
| 2581 | + | |
| 2582 | + | |
| 2583 | + | |
| 2584 | + | |
| 2585 | + | |
| 2586 | + | |
| 2587 | + | |
| 2588 | + | |
| 2589 | + | |
| 2590 | + | |
| 2591 | + | |
| 2592 | + | |
| 2593 | + | |
| 2594 | + | |
| 2595 | + | |
| 2596 | + | |
| 2597 | + | |
| 2598 | + | |
| 2599 | + | |
| 2600 | + | |
| 2601 | + | |
| 2602 | + | |
| 2603 | + | |
| 2604 | + | |
| 2605 | + | |
| 2606 | + | |
| 2607 | + | |
| 2608 | + | |
| 2609 | + | |
| 2610 | + | |
| 2611 | + | |
| 2612 | + | |
| 2613 | + | |
| 2614 | + | |
| 2615 | + | |
| 2616 | + | |
| 2617 | + | |
| 2618 | + | |
| 2619 | + | |
| 2620 | + | |
| 2621 | + | |
| 2622 | + | |
| 2623 | + | |
| 2624 | + | |
| 2625 | + | |
| 2626 | + | |
| 2627 | + | |
| 2628 | + | |
| 2629 | + | |
| 2630 | + | |
| 2631 | + | |
| 2632 | + | |
| 2633 | + | |
| 2634 | + | |
| 2635 | + | |
| 2636 | + | |
| 2637 | + | |
| 2638 | + | |
| 2639 | + | |
| 2640 | + | |
| 2641 | + | |
| 2642 | + | |
| 2643 | + | |
| 2644 | + | |
| 2645 | + | |
2555 | 2646 |
| |
2556 | 2647 |
| |
2557 | 2648 |
| |
| |||
4802 | 4893 |
| |
4803 | 4894 |
| |
4804 | 4895 |
| |
| 4896 | + | |
| 4897 | + | |
| 4898 | + | |
| 4899 | + | |
| 4900 | + | |
| 4901 | + | |
| 4902 | + | |
| 4903 | + | |
| 4904 | + | |
| 4905 | + | |
| 4906 | + | |
| 4907 | + | |
| 4908 | + | |
| 4909 | + | |
| 4910 | + | |
| 4911 | + | |
| 4912 | + | |
| 4913 | + | |
| 4914 | + | |
| 4915 | + | |
| 4916 | + | |
4805 | 4917 |
| |
4806 | 4918 |
| |
4807 | 4919 |
| |
|
Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
796 | 796 |
| |
797 | 797 |
| |
798 | 798 |
| |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
799 | 808 |
| |
800 | 809 |
| |
801 | 810 |
| |
| |||
1453 | 1462 |
| |
1454 | 1463 |
| |
1455 | 1464 |
| |
| 1465 | + | |
1456 | 1466 |
| |
1457 | 1467 |
| |
1458 | 1468 |
| |
|
0 commit comments
Comments
(0)