Index the column and lose HOT
Same update as i5-1, but with an index on n it cannot be HOT.
task
Create an index on lab.t(n), update n of id 1, then return heap_only of line pointer 101.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
Same update as i5-1, but with an index on n it cannot be HOT.
Create an index on lab.t(n), update n of id 1, then return heap_only of line pointer 101.