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

profile_pid (and profile_queries) GUCs are reset to defaults when a parallel query is run #85

Closed
Assignees
Medvecrab
@mbanck-cd

Description

@mbanck-cd

One of our customers complained that POWA's web interface was getting very slow to respond and they tracked it down to slow queries being done on the POWA database, which in turn were correlated with very large pg_wait_sampling data. POWA recommends turning offpg_wait_sampling.profile_pid (seehttps://powa.readthedocs.io/en/latest/components/stats_extensions/pg_wait_sampling.html#configuration), which they did.

What they noticed though, was that even after turning offprofile_pid, it was set back toon later on. They also mentioned that they ran thepg_wait_sampling_reset_profile() function multiple times to keep the POWA web interface responsive.

We could reproduce the problem thatprofile_pid is reset toon (the default) directly after callingpg_wait_sampling_reset_profile(), but only once - After reloading the PostgreSQL configuration, the GUC was back tooff but would then agan be set toon whenpg_wait_sampling_reset_profile() is called. However, we have not managed to find a way to reliably reproduce this from an empty instance or database.

We had a look at the code but so far did not see an obvious issue with how the configuration parameters are set, so are just opening this issue in case this rings a bell somewhere, or somebody knows what is going on and can fix it. We will continue to diagnose the problem next week.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp