postgresql/src/include/storage
Simon Riggs f9dbac9476 HS Defer buffer pin deadlock check until deadlock_timeout has expired.
During Hot Standby we need to check for buffer pin deadlocks when the
Startup process begins to wait, in case it never wakes up again. We
previously made the deadlock check immediately on the basis it was
cheap, though clearer thinking and prima facie evidence shows that
was too simple. Refactor existing code to make it easy to add in
deferral of deadlock check until deadlock_timeout allowing a good
reduction in deadlock checks since far few buffer pins are held for
that duration. It's worth doing anyway, though major goal is to
prevent further reports of context switching with high numbers of
users on occasional tests.
2010-05-26 19:52:52 +00:00
..
backendid.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
block.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
buf.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
buf_internals.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
buffile.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
bufmgr.h In HS, Startup process sets SIGALRM when waiting for buffer pin. If 2010-01-23 16:37:12 +00:00
bufpage.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
fd.h pgindent run for 9.0 2010-02-26 02:01:40 +00:00
freespace.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
fsm_internals.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
indexfsm.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
ipc.h Now that much of walreceiver has been pulled back into the postgres 2010-01-20 18:54:27 +00:00
item.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
itemid.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
itemptr.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
large_object.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
lmgr.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
lock.h pgindent run for 9.0 2010-02-26 02:01:40 +00:00
lwlock.h pgindent run for 9.0 2010-02-26 02:01:40 +00:00
off.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
pg_sema.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
pg_shmem.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
pmsignal.h Rename PM_RECOVERY_CONSISTENT and PMSIGNAL_RECOVERY_CONSISTENT. 2010-05-15 20:01:32 +00:00
pos.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
proc.h HS Defer buffer pin deadlock check until deadlock_timeout has expired. 2010-05-26 19:52:52 +00:00
procarray.h Cleanup initialization of Hot Standby. Clarify working with reanalysis 2010-05-13 11:15:38 +00:00
procsignal.h pgindent run for 9.0 2010-02-26 02:01:40 +00:00
relfilenode.h Create a "relation mapping" infrastructure to support changing the relfilenodes 2010-02-07 20:48:13 +00:00
s_lock.h Use _mm_pause() for win64 spin_delay(), per note from Tsutomu Yamada. 2010-01-05 11:06:28 +00:00
shmem.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
sinval.h pgindent run for 9.0 2010-02-26 02:01:40 +00:00
sinvaladt.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
smgr.h pgindent run for 9.0 2010-02-26 02:01:40 +00:00
spin.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
standby.h Cleanup initialization of Hot Standby. Clarify working with reanalysis 2010-05-13 11:15:38 +00:00