Filter:

Commits on March 16, 2008

Commits2 commits
0Author
2Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterAdd a note to the CREATE INDEX reference page about the impact of maintenance_work_mem and effective_cache_size on index creation speed.
ff213239
master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more
No linked threadMar 16, 2008
CommitterWhen creating a large hash index, pre-sort the index entries by estimated bucket number, so as to ensure locality of access to the index during the insertion step. Without this, building an index significantly larger than available RAM takes a very long time because of thrashing. On the other hand, sorting is just useless overhead when the index does fit in RAM. We choose to sort when the initial index size exceeds effective_cache_size.
787eba73
master8.4beta1REL_19_STABLE8.4beta1REL_18_STABLE8.4beta1REL_17_STABLE8.4beta1REL_16_STABLE8.4beta1REL_15_STABLE8.4beta1REL_14_STABLE8.4beta1REL_13_STABLE8.4beta1+16 more
No linked threadMar 16, 2008