aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/syscat.source
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2019-04-10 08:47:39 +0530
committerAmit Kapila <akapila@postgresql.org>2019-04-10 08:47:39 +0530
commit7657072e0ccc01955fddfce22ffcc4d82f9e9e45 (patch)
tree941674769a7a055ba526dcbc665fb6e20ad3e5e8 /src/tutorial/syscat.source
parent4c9e545724c6a51faed20b2de1f1ef3d3d03b270 (diff)
downloadpostgresql-7657072e0ccc01955fddfce22ffcc4d82f9e9e45.tar.gz
postgresql-7657072e0ccc01955fddfce22ffcc4d82f9e9e45.zip
Avoid counting transaction stats for parallel worker cooperating
transaction. The transaction that is initiated by the parallel worker to cooperate with the actual transaction started by the main backend to complete the query execution should not be counted as a separate transaction. The other internal transactions started and committed by the parallel worker are still counted as separate transactions as we that is what we do in other places like autovacuum. This will partially fix the bloat in transaction stats due to additional transactions performed by parallel workers. For a complete fix, we need to decide how we want to show all the transactions that are started internally for various operations and that is a matter of separate patch. Reported-by: Haribabu Kommi Author: Haribabu Kommi Reviewed-by: Amit Kapila, Jamison Kirk and Rahila Syed Backpatch-through: 9.6 Discussion: https://postgr.es/m/CAJrrPGc9=jKXuScvNyQ+VNhO0FZk7LLAShAJRyZjnedd2D61EQ@mail.gmail.com
Diffstat (limited to 'src/tutorial/syscat.source')
0 files changed, 0 insertions, 0 deletions