Coder Social home page Coder Social logo

Comments (3)

ahouska avatar ahouska commented on July 24, 2024

Implemented in the master branch.

from pg_squeeze.

kmoppel avatar kmoppel commented on July 24, 2024

Hi! Managed to test the feature now and actually seems that the time interval selection is inverted. I had a time windows of '{18:30, 03:00}' and rebuild started exactly after the time interval ended. So I think ther'es something off with the range comparisons in the add_new_tasks() procedure.

My setup:

krl@postgres=# table squeeze.tables;
─[ RECORD 1 ]────┬──────────────────────────
id │ 1
tabschema │ public
tabname │ pgbench_accounts
clustering_index │ ¤
rel_tablespace │ ¤
ind_tablespaces │ ¤
schedule │ {18:30:00+02,03:00:00+02}
free_space_extra │ 10
min_size │ 8
vacuum_max_age │ 00:10:00
max_retry │ 10
skip_analyze │ f

krl@postgres=# table squeeze.log;
tabschema │ tabname │ started │ finished
───────────┼──────────────────┼───────────────────────────────┼───────────────────────────────
public │ pgbench_accounts │ 2017-01-19 03:00:47.554507+02 │ 2017-01-19 03:00:57.969594+02

from pg_squeeze.

kmoppel avatar kmoppel commented on July 24, 2024

closing the issue as everything works actually as expected - "squeeze.tables.schedule" column is actually a list of points when checking will be done if it is actually needed to start "squeezing".

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.