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

Commit45ba424

Browse files
committed
Cache the results of ri_FetchConstraintInfo in a backend-local cache.
Extracting data from pg_constraint turned out to take as much as 10% of theruntime in a bulk-update case where the foreign key column wasn't changing,because we did it over again for each tuple. Fix that by maintaining abackend-local cache of the results. This is really a pretty small patch,but converting the trigger functions to work with pointers rather thanlocal struct variables requires a lot of mechanical changes.
1 parentcfa0f42 commit45ba424

File tree

1 file changed

+319
-229
lines changed

1 file changed

+319
-229
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp