Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3aafc03

Browse files
committed
Reduce memory consumption for pending invalidation messages.
The existing data structures in inval.c are fairly inefficient forthe common case of a command or subtransaction that registers a smallnumber of cache invalidation events. While this doesn't matter if wecommit right away, it can build up to a lot of bloat in a transactionthat contains many DDL operations. By making a few more assumptionsabout the expected use-case, we can switch to a representation usingdensely-packed arrays. Although this eliminates some data-copying,it doesn't seem to make much difference time-wise. But the spaceconsumption decreases substantially.Patch by me; thanks to Nathan Bossart for review.Discussion:https://postgr.es/m/2380555.1622395376@sss.pgh.pa.us
1 parent069d33d commit3aafc03

File tree

1 file changed

+286
-228
lines changed

1 file changed

+286
-228
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp