1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-11 04:22:52 +03:00
Files
postgres/src/backend
Kevin Grittner 11e178d0dc Inline initial comparisons in TestForOldSnapshot()
Even with old_snapshot_threshold = -1 (which disables the "snapshot
too old" feature), performance regressions were seen at moderate to
high concurrency.  For example, a one-socket, four-core system
running 200 connections at saturation could see up to a 2.3%
regression, with larger regressions possible on NUMA machines.
By inlining the early (smaller, faster) tests in the
TestForOldSnapshot() function, the i7 case dropped to a 0.2%
regression, which could easily just be noise, and is clearly an
improvement.  Further testing will show whether more is needed.
2016-04-21 08:40:08 -05:00
..
2016-04-11 14:44:51 -04:00
2016-01-19 17:40:15 -03:00
2016-04-11 14:44:51 -04:00
2015-06-28 23:56:55 -04:00
2016-04-14 09:44:21 -04:00
2016-04-14 19:25:16 -07:00
2016-01-02 13:33:40 -05:00