Content-Length: 277146 | pFad | http://github.com/postgrespro/postgres/commit/c0782a147390d11eab8387fd612b15d5ec6d5240

5D Doc: remove claim that hash index creation depends on effective_cache… · postgrespro/postgres@c0782a1 · GitHub
Skip to content

Commit c0782a1

Browse files
committed
Doc: remove claim that hash index creation depends on effective_cache_size.
This text was added by commit ff21323, and not long thereafter obsoleted by commit 4adc2f7 (which made the test depend on NBuffers instead); but nobody noticed the need for an update. Commit 9563d5b adds some further dependency on maintenance_work_mem, but the existing verbiage seems to cover that with about as much precision as we really want here. Let's just take it all out rather than leaving ourselves open to more errors of omission in future. (That solution makes this change back-patchable, too.) Noted by Peter Geoghegan. Discussion: <CAM3SWZRVANbj9GA9j40fAwheQCZQtSwqTN1GBTVwRrRbmSf7cg@mail.gmail.com>
1 parent b57a0a9 commit c0782a1

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

doc/src/sgml/ref/create_index.sgml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -568,16 +568,7 @@ Indexes:
568568
dependent on the setting of <xref linkend="guc-maintenance-work-mem">.
569569
Larger values will reduce the time needed for index creation, so long
570570
as you don't make it larger than the amount of memory really available,
571-
which would drive the machine into swapping. For hash indexes, the
572-
value of <xref linkend="guc-effective-cache-size"> is also relevant to
573-
index creation time: <productname>PostgreSQL</productname> will use one
574-
of two different hash index creation methods depending on whether the
575-
estimated index size is more or less than <varname>effective_cache_size</>.
576-
For best results, make sure that this parameter is also set to something
577-
reflective of available memory, and be careful that the sum of
578-
<varname>maintenance_work_mem</> and <varname>effective_cache_size</> is
579-
less than the machine's RAM less whatever space is needed by other
580-
programs.
571+
which would drive the machine into swapping.
581572
</para>
582573

583574
<para>

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/c0782a147390d11eab8387fd612b15d5ec6d5240

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy