forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commited7a509
committed
Include information on buffer usage during planning phase, in EXPLAIN output.
When BUFFERS option is enabled, EXPLAIN command includes the informationon buffer usage during each plan node, in its output. In addition to that,this commit makes EXPLAIN command include also the information onbuffer usage during planning phase, in its output. This feature makes iteasier to discern the cases where lots of buffer access happen duringplanning.Author: Julien Rouhaud, slightly revised by Fujii MasaoReviewed-by: Justin PryzbyDiscussion:https://postgr.es/m/16109-26a1a88651e90608@postgresql.org1 parentac44367 commited7a509
File tree
4 files changed
+95
-8
lines changed- src
- backend/commands
- include/commands
- test/regress/expected
4 files changed
+95
-8
lines changedLines changed: 30 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
372 | 372 |
| |
373 | 373 |
| |
374 | 374 |
| |
| 375 | + | |
| 376 | + | |
375 | 377 |
| |
| 378 | + | |
| 379 | + | |
376 | 380 |
| |
377 | 381 |
| |
378 | 382 |
| |
| |||
381 | 385 |
| |
382 | 386 |
| |
383 | 387 |
| |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
384 | 395 |
| |
385 | 396 |
| |
386 |
| - | |
| 397 | + | |
387 | 398 |
| |
388 | 399 |
| |
389 | 400 |
| |
| |||
476 | 487 |
| |
477 | 488 |
| |
478 | 489 |
| |
479 |
| - | |
| 490 | + | |
| 491 | + | |
480 | 492 |
| |
481 | 493 |
| |
482 | 494 |
| |
| |||
560 | 572 |
| |
561 | 573 |
| |
562 | 574 |
| |
| 575 | + | |
| 576 | + | |
| 577 | + | |
563 | 578 |
| |
564 | 579 |
| |
565 | 580 |
| |
566 | 581 |
| |
567 | 582 |
| |
568 | 583 |
| |
569 | 584 |
| |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
570 | 598 |
| |
571 | 599 |
| |
572 | 600 |
| |
|
Lines changed: 12 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
616 | 616 |
| |
617 | 617 |
| |
618 | 618 |
| |
| 619 | + | |
| 620 | + | |
619 | 621 |
| |
| 622 | + | |
| 623 | + | |
620 | 624 |
| |
621 | 625 |
| |
622 | 626 |
| |
| |||
654 | 658 |
| |
655 | 659 |
| |
656 | 660 |
| |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
657 | 668 |
| |
658 | 669 |
| |
659 | 670 |
| |
| |||
663 | 674 |
| |
664 | 675 |
| |
665 | 676 |
| |
666 |
| - | |
| 677 | + | |
667 | 678 |
| |
668 | 679 |
| |
669 | 680 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
92 |
| - | |
| 92 | + | |
| 93 | + | |
93 | 94 |
| |
94 | 95 |
| |
95 | 96 |
| |
|
Lines changed: 51 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
105 | 105 |
| |
106 | 106 |
| |
107 | 107 |
| |
108 |
| - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
109 | 121 |
| |
110 | 122 |
| |
111 | 123 |
| |
| |||
142 | 154 |
| |
143 | 155 |
| |
144 | 156 |
| |
145 |
| - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
146 | 170 |
| |
147 | 171 |
| |
148 | 172 |
| |
| |||
176 | 200 |
| |
177 | 201 |
| |
178 | 202 |
| |
179 |
| - | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
180 | 215 |
| |
181 | 216 |
| |
182 | 217 |
| |
| |||
366 | 401 |
| |
367 | 402 |
| |
368 | 403 |
| |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
369 | 417 |
| |
370 | 418 |
| |
371 |
| - | |
372 | 419 |
| |
373 | 420 |
| |
374 | 421 |
| |
|
0 commit comments
Comments
(0)