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

pg_wait_sampling tracks queryId just for top-level queries #43

Closed
@maksm90

Description

@maksm90

Recently there was discussion#42 (comment) about unwanted usage of queryIds taken fromPgBackendStatus entries inBackendStatusArray as they represent only top-level queries. But current implementation behave in similar manner: once queryId was kept all successive nested queriescannot submit their own queryIds.

The open question here - how to organize tracking queryIds for nested queries?@rjuju AFAICS inpg_stat_kcache this problem is also not solved - all inner queries rewrite queryId of previously executing queries before executor running. Maybe it makes sense to store queryId in some shared stack structure allocated for each process slot and using it keep/restore queryId for upper-level queries?

Metadata

Metadata

Assignees

No one assigned

    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