Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Global settings (GUC)

Dmitry Ivanov edited this pageOct 11, 2017 ·5 revisions

There are several global settings (GUC variables) that can affect pg_pathman's behavior:

OptionValueDescription
pg_pathman.enableon / offdisable (or enable)pg_pathmancompletely
pg_pathman.enable_runtimeappendon / offtoggleRuntimeAppend custom node
pg_pathman.enable_runtimemergeappendon / offtoggleRuntimeMergeAppend custom node
pg_pathman.enable_partitionfilteron / offtogglePartitionFilter custom node [1]
pg_pathman.enable_auto_partitionon / offtoggle automatic partition creation
pg_pathman.enable_bounds_cacheon / offtoggle bounds cache [2]
pg_pathman.insert_into_fdwenumallow INSERTs into various FDWs (disabled /postgres /any_fdw)
pg_pathman.override_copyon / offtoggle COPY statement hooking (useful for pg_dump)

[1] Disables tuple routing (which means that all INSERTed tuples will end up in parent table).
[2] Speeds up pg_pathman's cache updates afterappend_range_partition() etc.


The most useful ones are:

pg_pathman.enable

This GUC is used heavily for debug purposes. Whenever we want to compare pg_pathman's behavior to the default one, we executepg_pathman.enable = off and then do whatever we wanted to. It may not be as useful to the end users, though.

pg_pathman.enable_runtimeappend

This GUC is your best friend when runtime partition pruning doesn't work as expected. Simply execute

psql -c"alter system set pg_pathman.enable_runtimeappend = off"pg_ctl reload

This will fix all broken queries (e.g.issue #91) that involve RuntimeAppend custom node.

pg_pathman.override_copy

If you've runrun into troubles withpg_dump, try disabling this GUC:

psql -c"alter system set pg_pathman.override_copy = off"pg_ctl reload# or select pg_reload_conf();
Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp