Giter Site home page Giter Site logo

Comments (5)

rjuju avatar rjuju commented on July 18, 2024

Hi,

It looks like a long-standing bug in pg_wait_sampling that has been fixed in 1.1.3. See for instance a previous report at powa-team/powa#142.

Could you try to update pg_wait_sampling?

from powa-archivist.

fatihmtekin avatar fatihmtekin commented on July 18, 2024

Thank you for your information. I updated the pg_wait_sampling rpm package with rpm Uvh, then I update the extension in the database with "ALTER EXTENTION pg_wait_sampling UPDATE;", but I got a notice :
"NOTICE: version "1.1" of extension "pg_wait_sampling" is already installed"
Should I restart the database for the update process? I cannot restart the database now, because it is a production system.

from powa-archivist.

rjuju avatar rjuju commented on July 18, 2024

Yes, a restart is always required to apply modification in the C code of an extension in shared_preload_libraries. An ALTER EXTENSION ... UPDATE will only change the SQL definition, but won't reload the shared library.

Let me know once you get a maintenance window to restart the database. For the record the bug you hit isn't critical, as it won't lead to a crash or extra resource consumption. It will only make pg_wait_sampling unavailable until the database is restarted. That's not ideal but usually not critical.

from powa-archivist.

fatihmtekin avatar fatihmtekin commented on July 18, 2024

Ok, thank you again for clear and detailed information. I will let you know after restarting the database.

from powa-archivist.

fatihmtekin avatar fatihmtekin commented on July 18, 2024

Hi again,
I updated the pg_wait_sampling extension and restarted the database. The problem is solved. Thank you for your help.

from powa-archivist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.