postgresql/src/backend/access
Michael Paquier 285bd0ac4a Remove unnecessary memcpy when reading WAL record fitting on page
When reading a WAL record, its contents are copied into an intermediate
buffer.  However, doing so is not necessary if the record fits fully
into the current page, saving one memcpy for each such record.  The
allocation handling of the intermediate buffer is also now done only
when a record crosses a page boundary, shaving some extra cycles when
reading a WAL record.

Author: Andrey Lepikhov
Reviewed-by: Kyotaro Horiguchi, Heikki Linnakangas
Discussion: https://postgr.es/m/c2ea54dd-a1d3-80eb-ddbf-7e6f258e615e@postgrespro.ru
2018-11-19 10:25:48 +09:00
..
brin Fail BRIN control functions during recovery explicitly 2018-06-14 12:51:32 -04:00
common Make TupleTableSlots extensible, finish split of existing slot type. 2018-11-16 16:35:15 -08:00
gin Rename rbtree.c functions to use "rbt" prefix not "rb" prefix. 2018-11-06 13:25:24 -05:00
gist Add support for nearest-neighbor (KNN) searches to SP-GiST 2018-09-19 01:54:10 +03:00
hash Remove deprecated abstime, reltime, tinterval datatypes. 2018-10-11 11:59:15 -07:00
heap Introduce notion of different types of slots (without implementing them). 2018-11-15 22:00:30 -08:00
index Add support for nearest-neighbor (KNN) searches to SP-GiST 2018-09-19 01:54:10 +03:00
nbtree Fix spelling errors and typos in comments 2018-11-02 13:56:52 +01:00
rmgrdesc Add flag values in WAL description to all heap records 2018-11-14 10:33:10 +09:00
spgist Fix memory leak in repeated SPGIST index scans. 2018-10-31 17:05:03 -04:00
tablesample Rethink how to get float.h in old Windows API for isnan/isinf 2018-07-11 09:11:48 -04:00
transam Remove unnecessary memcpy when reading WAL record fitting on page 2018-11-19 10:25:48 +09:00
Makefile TABLESAMPLE, SQL Standard and extensible 2015-05-15 14:37:10 -04:00