Coder Social home page Coder Social logo

Comments (5)

ahouska avatar ahouska commented on July 24, 2024 1

@kmoppel ok, I'll do that in the next version.

from pg_squeeze.

MichaelDBA avatar MichaelDBA commented on July 24, 2024

Yeah i would like to know that too if it is safe to cancel a pgsqueeze full vacuum

from pg_squeeze.

ahouska avatar ahouska commented on July 24, 2024

pg_squeeze can be cancelled.

As for temporary files (I assume you mean those used to sort data), pg_squeeze does nothing special. So it pg_squeeze makes the database server crash, the expected behavior is the same as if CLUSTER command crashed: temporary files are removed during cluster restart.

from pg_squeeze.

kmoppel avatar kmoppel commented on July 24, 2024

FYI - use pg_cancel_backend() to stop an active squeezing process. Note though that this also stops the worker process so if you want to retry call squeeze.start_worker() manually.

@ahouska Would probably make sense also to add canceling support via pg_terminate_backend() as most PG activity monitoring tools use that function.

from pg_squeeze.

kovmir avatar kovmir commented on July 24, 2024

Implemented in 4a5f97e.

from pg_squeeze.

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.