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

Commit45e191e

Browse files
committed
Improve scalability of md.c for large relations.
So far md.c used a linked list of segments. That proved to be a problemwhen processing large relations, because every smgr.c/md.c level accessto a page incurred walking through a linked list of all precedingsegments. Thus making accessing pages O(#segments).Replace the linked list of segments hanging off SMgrRelationData with anarray of opened segments. That allows O(1) access to individualsegments, if they've previously been opened.Discussion: <20140331101001.GE13135@alap3.anarazel.de>Reviewed-By: Peter Geoghegan, Tom Lane (in an older version)
1 parent417fefa commit45e191e

File tree

3 files changed

+229
-176
lines changed

3 files changed

+229
-176
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp