1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-07 19:06:32 +03:00
Files
postgres/src/backend
Alexander Korotkov 6897f0ec02 Optimize memory access in GetRunningTransactionData()
e85662df44 made GetRunningTransactionData() calculate the oldest running
transaction id within the current database.  This commit optimized this
calculation by performing a cheap transaction id comparison before fetching
the process database id, while the latter could cause extra cache misses.

Reported-by: Noah Misch
Discussion: https://postgr.es/m/20240630231816.bf.nmisch%40google.com
2024-07-04 02:05:37 +03:00
..
2024-07-02 11:16:56 +02:00
2024-07-01 16:40:25 +02:00
2024-06-24 13:11:27 +02:00
2024-04-18 21:28:07 +02:00
2024-06-21 08:17:23 +02:00
2024-05-14 12:57:22 +02:00