postgresql/src/backend
Amit Kapila bea449c635 Optimize DropRelFileNodesAllBuffers() for recovery.
Similar to commit d6ad34f341, this patch optimizes
DropRelFileNodesAllBuffers() by avoiding the complete buffer pool scan and
instead find the buffers to be invalidated by doing lookups in the
BufMapping table.

This optimization helps operations where the relation files need to be
removed like Truncate, Drop, Abort of Create Table, etc.

Author: Kirk Jamison
Reviewed-by: Kyotaro Horiguchi, Takayuki Tsunakawa, and Amit Kapila
Tested-By: Haiying Tang
Discussion: https://postgr.es/m/OSBPR01MB3207DCA7EC725FDD661B3EDAEF660@OSBPR01MB3207.jpnprd01.prod.outlook.com
2021-01-13 07:46:11 +05:30
..
access Fix thinko in comment 2021-01-12 11:48:45 -03:00
bootstrap Update copyright for 2021 2021-01-02 13:06:25 -05:00
catalog Report progress of COPY commands 2021-01-06 21:51:06 +01:00
commands Invent struct ReindexIndexInfo 2021-01-12 17:05:06 -03:00
executor Re-implement pl/pgsql's expression and assignment parsing. 2021-01-04 11:52:00 -05:00
foreign Update copyright for 2021 2021-01-02 13:06:25 -05:00
jit Update copyright for 2021 2021-01-02 13:06:25 -05:00
lib Update copyright for 2021 2021-01-02 13:06:25 -05:00
libpq Update copyright for 2021 2021-01-02 13:06:25 -05:00
main Update copyright for 2021 2021-01-02 13:06:25 -05:00
nodes Re-implement pl/pgsql's expression and assignment parsing. 2021-01-04 11:52:00 -05:00
optimizer Update copyright for 2021 2021-01-02 13:06:25 -05:00
parser Re-implement pl/pgsql's expression and assignment parsing. 2021-01-04 11:52:00 -05:00
partitioning Update copyright for 2021 2021-01-02 13:06:25 -05:00
po Translation updates 2020-05-18 12:49:30 +02:00
port Update copyright for 2021 2021-01-02 13:06:25 -05:00
postmaster Update copyright for 2021 2021-01-02 13:06:25 -05:00
regex Fix ancient bug in parsing of BRE-mode regular expressions. 2021-01-08 12:16:00 -05:00
replication Fix relation descriptor leak. 2021-01-12 08:19:39 +05:30
rewrite Update copyright for 2021 2021-01-02 13:06:25 -05:00
snowball Update copyright for 2021 2021-01-02 13:06:25 -05:00
statistics Update copyright for 2021 2021-01-02 13:06:25 -05:00
storage Optimize DropRelFileNodesAllBuffers() for recovery. 2021-01-13 07:46:11 +05:30
tcop Further second thoughts about idle_session_timeout patch. 2021-01-07 11:45:23 -05:00
tsearch Update copyright for 2021 2021-01-02 13:06:25 -05:00
utils Fix routine name in comment of catcache.c 2021-01-13 10:32:21 +09:00
.gitignore
common.mk
Makefile Update copyright for 2021 2021-01-02 13:06:25 -05:00
nls.mk Add missing gettext triggers 2020-04-28 13:35:40 +02:00