Closed nikhil-postgres closed 3 weeks ago
Hi,
The execution_count
column is the number of time the operator was executed, not the number of time it matched your condition.
The most likely explanation here is that you initialized your pgbench database with scale = 4, which mean that you have 4 records in the pgbench_branches
table, so the UPDATE visited 4 rows and checked each of them to see if it's the specified bid or not, and modified only 1 row.
Hi Team,
I was working on pg_qualstats extension for the first time. In the document, it says 'execution_count' column of pg_qualstats show the 'no of records processes'.
I tested with below scenario. The original value for this column is 14. I ran an UPDATE which updates a single record. After this UPDATE, the value for execution_count changed to 18 but it updated only one record. Why is this difference ?