forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6da67a0
committed
doc: Mention de-normalization of deallocated entries in pg_stat_statements
The current implementation of query normalization in pg_stat_statementsis optimistic. If an entry is deallocated between the post-analyze hookand the planner and/or execution hook, it can be possible to find querystrings with literal constant values (like "SELECT 1, 2") rather thantheir normalized flavor (like "SELECT $1, $2").This commit adds in the documentation a paragraph about this limitation,and that this risk can be reduced by increasing pg_stat_statements.max,particularly if pg_stat_statements_info reports a high number ofdeallocations.Author: Sami ImseihDiscussion:https://postgr.es/m/9CFF3512-355B-4676-8CCC-6CF622F4DC1A@amazon.com1 parent6a88a05 commit6da67a0
1 file changed
+10
-0
lines changedLines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
516 | 516 |
| |
517 | 517 |
| |
518 | 518 |
| |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
519 | 529 |
| |
520 | 530 |
| |
521 | 531 |
| |
|
0 commit comments
Comments
(0)