Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit fd195a0

Browse files
committed
Document CFS functions and GUCs
1 parent 8c9990b commit fd195a0

File tree

2 files changed

+291
-49
lines changed

2 files changed

+291
-49
lines changed

doc/src/sgml/config.sgml

Lines changed: 100 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1184,7 +1184,7 @@ include_dir 'conf.d'
11841184
aliases for <literal>md5</> and <literal>plain</>, respectively. Setting
11851185
this parameter to <literal>scram</> will encrypt the password with
11861186
SCRAM-SHA-256.
1187-
</para>
1187+
</para>
11881188
</listitem>
11891189
</varlistentry>
11901190

@@ -7489,6 +7489,105 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
74897489
</sect2>
74907490
</sect1>
74917491

7492+
<sect1 id="runtime-config-cfs">
7493+
<title>Date Compression</title>
7494+
7495+
<variablelist>
7496+
7497+
<varlistentry id="guc-cfs-gc" xreflabel="cfs-gc">
7498+
<term><varname>cfs_gc</varname> (<type>boolean</type>)
7499+
<indexterm>
7500+
<primary><varname>cfs_gc</> configuration parameter</primary>
7501+
</indexterm>
7502+
</term>
7503+
<listitem>
7504+
<para>
7505+
Control background garbage collection of compressed pages.
7506+
</para>
7507+
</listitem>
7508+
</varlistentry>
7509+
7510+
<varlistentry id="guc-cfs-encryption" xreflabel="cfs-encryption">
7511+
<term><varname>cfs_encryption</varname> (<type>boolean</type>)
7512+
<indexterm>
7513+
<primary><varname>cfs_encryption</> configuration parameter</primary>
7514+
</indexterm>
7515+
</term>
7516+
<listitem>
7517+
<para>
7518+
Control encryption of compressed pages.
7519+
</para>
7520+
</listitem>
7521+
</varlistentry>
7522+
7523+
<varlistentry id="guc-cfs-gc-workers" xreflabel="cfs-gc-workers">
7524+
<term><varname>cfs_gc_workers</varname> (<type>integer</type>)
7525+
<indexterm>
7526+
<primary><varname>cfs_gc_workers</> configuration parameter</primary>
7527+
</indexterm>
7528+
</term>
7529+
<listitem>
7530+
<para>
7531+
Number of CFS background garbage collection workers.
7532+
</para>
7533+
</listitem>
7534+
</varlistentry>
7535+
7536+
<varlistentry id="guc-cfs-level" xreflabel="cfs-level">
7537+
<term><varname>cfs_gc_workers</varname> (<type>integer</type>)
7538+
<indexterm>
7539+
<primary><varname>cfs_level</> configuration parameter</primary>
7540+
</indexterm>
7541+
</term>
7542+
<listitem>
7543+
<para>
7544+
CFS compression level: 0 - no compression, 1 - maximal speed,
7545+
other possible values depend on the specific algorithm.
7546+
</para>
7547+
</listitem>
7548+
</varlistentry>
7549+
7550+
<varlistentry id="guc-cfs-gc-threshold" xreflabel="cfs-gc-threshold">
7551+
<term><varname>cfs_gc_threshold</varname> (<type>integer</type>)
7552+
<indexterm>
7553+
<primary><varname>cfs_gc_threshold</> configuration parameter</primary>
7554+
</indexterm>
7555+
</term>
7556+
<listitem>
7557+
<para>
7558+
Minimum percent of garbage blocks in the file prior to garbage collection.
7559+
</para>
7560+
</listitem>
7561+
</varlistentry>
7562+
7563+
<varlistentry id="guc-cfs-gc-period" xreflabel="cfs-gc-period">
7564+
<term><varname>cfs_gc_period</varname> (<type>integer</type>)
7565+
<indexterm>
7566+
<primary><varname>cfs_gc_period</> configuration parameter</primary>
7567+
</indexterm>
7568+
</term>
7569+
<listitem>
7570+
<para>
7571+
Time to sleep between GC runs in milliseconds.
7572+
</para>
7573+
</listitem>
7574+
</varlistentry>
7575+
7576+
<varlistentry id="guc-cfs-gc-delay" xreflabel="cfs-gc-delay">
7577+
<term><varname>cfs_gc_delay</varname> (<type>integer</type>)
7578+
<indexterm>
7579+
<primary><varname>cfs_gc_delay</> configuration parameter</primary>
7580+
</indexterm>
7581+
</term>
7582+
<listitem>
7583+
<para>
7584+
Delay in milliseconds between files defragmentation.
7585+
</para>
7586+
</listitem>
7587+
</varlistentry>
7588+
</variablelist>
7589+
</sect1>
7590+
74927591
<sect1 id="runtime-config-error-handling">
74937592
<title>Error Handling</title>
74947593

0 commit comments

Comments
 (0)