Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Request a Demo
K.4. Additional Modules
Prev UpAppendix K. ConfiguringPostgres Pro for1C SolutionsHome Next

K.4. Additional Modules#

K.4.1. Built-In Default Modules#

To provide support for1C solutions, thePostgres Pro distribution includes the following built-in modules that are enabled by default and do not require additional configuration:

  • fasttrun — provides a transaction-unsafe function to truncate temporary tables without growing the size ofpg_class.

  • fulleq — provides an additional equivalence operator for compatibility withMicrosoft SQL Server.

  • mchar — provides additionalMCHAR andMVARCHAR data types for compatibility withMicrosoft SQL Server.

K.4.2. dbcopies_decoding#

dbcopies_decoding is a1C module for updating database copies, which is enabled by default. To use the logical replication mechanism of this module, set thewal_level parameter tological.

For more information about this module, contact1C support.

K.4.3. plantuner#

Theplantuner module allows optimizing query execution plans. To configure it for1C solutions, do the following:

  1. Add the library name to theshared_preload_libraries variable in thepostgresql.conf file.

    shared_preload_libraries = 'plantuner'
  2. Set theplantuner.fix_empty_table parameter toon to improve planning for recently created empty tables.

    plantuner.fix_empty_table = on

K.4.4. online_analyze#

Theonline_analyze module provides a set of features that immediately update statistics afterINSERT,UPDATE,DELETE,SELECT INTO, orCOPY operations for the affected tables.

To configure this module, follow the steps below.

  1. Add the library name to theshared_preload_libraries variable in thepostgresql.conf file.

    shared_preload_libraries = 'online_analyze'
  2. Enable this module.

    online_analyze.enable = on
  3. Specify the minimum number of row updates before starting online analysis.

    online_analyze.threshold = 50
  4. Specify the fraction of the table size to start online analysis.

    online_analyze.scale_factor = 0.1
  5. Execute theANALYZE command withoutVERBOSE.

    online_analyze.verbose = off
  6. Enable online analysis for temporary tables.

    online_analyze.table_type = 'temporary'
  7. Specify the minimum time interval betweenANALYZE calls per table, in milliseconds.

    online_analyze.min_interval = 10000

Prev Up Next
K.3. Configuring Server Parameters Home Appendix L. Postgres Pro Limits
epubpdf
Go to Postgres Pro Standard 16
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp