|
189 | 189 | </para>
|
190 | 190 |
|
191 | 191 | <para>
|
192 |
| - CFS provides the following configuration parameters: |
| 192 | + You can configure CFS using data compression configuration parameters. |
| 193 | + For details, see <xref linkend="runtime-config-cfs">. |
193 | 194 | </para>
|
194 | 195 |
|
195 |
| - <variablelist> |
196 |
| - |
197 |
| - <varlistentry id="cfs-encryption" xreflabel="cfs_encryption"> |
198 |
| - <term><varname>cfs_encryption</varname> (<type>boolean</type>) |
199 |
| - <indexterm> |
200 |
| - <primary><varname>cfs_encryption</> configuration parameter</primary> |
201 |
| - </indexterm> |
202 |
| - </term> |
203 |
| - <listitem> |
204 |
| - <para> |
205 |
| - Enables encryption of compressed pages. Switched off by default. |
206 |
| - </para> |
207 |
| - </listitem> |
208 |
| - </varlistentry> |
209 |
| - |
210 |
| - <varlistentry id="cfs-gc-workers" xreflabel="cfs_gc_workers"> |
211 |
| - <term><varname>cfs_gc_workers</varname> (<type>integer</type>) |
212 |
| - <indexterm> |
213 |
| - <primary><varname>cfs_gc_workers</> configuration parameter</primary> |
214 |
| - </indexterm> |
215 |
| - </term> |
216 |
| - <listitem> |
217 |
| - <para> |
218 |
| - Number of CFS background garbage collection workers (default: 1). |
219 |
| - </para> |
220 |
| - </listitem> |
221 |
| - </varlistentry> |
222 |
| - |
223 |
| - <varlistentry id="cfs-gc-threshold" xreflabel="cfs_gc_threshold"> |
224 |
| - <term><varname>cfs_gc_threshold</varname> (<type>integer</type>) |
225 |
| - <indexterm> |
226 |
| - <primary><varname>cfs_gc_threshold</> configuration parameter</primary> |
227 |
| - </indexterm> |
228 |
| - </term> |
229 |
| - <listitem> |
230 |
| - <para> |
231 |
| - Percent of garbage in file after which file should be compactified (default: 50%). |
232 |
| - </para> |
233 |
| - </listitem> |
234 |
| - </varlistentry> |
235 |
| - |
236 |
| - <varlistentry id="cfs-gc-period" xreflabel="cfs_gc_period"> |
237 |
| - <term><varname>cfs_gc_period</varname> (<type>integer</type>) |
238 |
| - <indexterm> |
239 |
| - <primary><varname>cfs_gc_period</> configuration parameter</primary> |
240 |
| - </indexterm> |
241 |
| - </term> |
242 |
| - <listitem> |
243 |
| - <para> |
244 |
| - Interval in milliseconds between CFS garbage collection iterations (default: 5 seconds) |
245 |
| - </para> |
246 |
| - </listitem> |
247 |
| - </varlistentry> |
248 |
| - |
249 |
| - <varlistentry id="cfs-gc-delay" xreflabel="cfs_gc_delay"> |
250 |
| - <term><varname>cfs_gc_delay</varname> (<type>integer</type>) |
251 |
| - <indexterm> |
252 |
| - <primary><varname>cfs_gc_delay</> configuration parameter</primary> |
253 |
| - </indexterm> |
254 |
| - </term> |
255 |
| - <listitem> |
256 |
| - <para> |
257 |
| - Delay in milliseconds between files defragmentation (default: 0) |
258 |
| - </para> |
259 |
| - </listitem> |
260 |
| - </varlistentry> |
261 |
| - |
262 |
| - <varlistentry id="cfs-level" xreflabel="cfs_level"> |
263 |
| - <term><varname>cfs_level</varname> (<type>integer</type>) |
264 |
| - <indexterm> |
265 |
| - <primary><varname>cfs_level</> configuration parameter</primary> |
266 |
| - </indexterm> |
267 |
| - </term> |
268 |
| - <listitem> |
269 |
| - <para> |
270 |
| - CFS compression level (default: 1). 0 is no compression, 1 is fastest compression. |
271 |
| - Maximal compression level depends on particular compression algorithm: 9 for zlib, 19 for zstd... |
272 |
| - </para> |
273 |
| - </listitem> |
274 |
| - </varlistentry> |
275 |
| - |
276 |
| - </variablelist> |
277 |
| - |
278 | 196 | <para>
|
279 | 197 | By default CFS is configured with one background worker performing garbage collection.
|
280 | 198 | Garbage collector traverses tablespace directory, locating map files in it and checking percent of garbage in this file.
|
|