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

Commit0011c00

Browse files
committed
Improve memory management for external sorts.
Introduce a new memory context which stores tuple data, and reset itat the end of each merge pass; this helps avoid memory fragmentationand, consequently, overallocation. Also, for the final merge patch,eliminate memory context chunk header overhead entirely by allocatingall of the memory used for buffering tuples during the merge in asingle chunk. Since this modestly increases the number of tuples wecan store, grow the memtuples array a bit so that we're less likely torun short of slots there.Peter Geoghegan. Review and testing of patches in this series byJeff Janes, Greg Stark, Mithun Cy, and me.
1 parent55c3a04 commit0011c00

File tree

1 file changed

+516
-40
lines changed

1 file changed

+516
-40
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp