Giter VIP home page Giter VIP logo

noisepage-pilot's Introduction

NoisePage Pilot

This repository contains the pilot components for the NoisePage DBMS.

Quickstart

  1. Install necessary packages.
    • pip3 install --upgrade -r requirements.txt
  2. List all the tasks.
    • doit list
  3. Select and run a doit task from the task list, e.g. doit action_recommendation. Task dependencies are executed automatically.

Sample Doit Tasks

The following is a list of some relevant doit tasks and their parameters:

  • Action Recommendation
    • The following task will begin picking indexes: doit action_recommendation.
  • Behavior Modeling
    • doit behavior_datagen runs behavior model training data generation using TScout, Benchbase and Postgres. Requires sudo permissions for TScout. Also performs training data differencing (subtracting child-plan costs).
    • doit behavior_train trains, evaluates, and serializes models along with their evaluations and predictions. It depends on behavior_datagen having been run first.
    • Configure data generation, model training, Benchbase, and Postgres in noisepage-pilot/config/behavior.
    • Training data differencing and model training default to using the most recent experiment data.
    • Additional behavior modeling documentation is available at noisepage-pilot/behavior/README.md.

Background

  • Self-Driving DBMS = Workload Forecasting + Behavior Modeling + Action Planning.
    • Workload Forecasting: forecast folder.
    • Modeling: WIP.
    • Action Planning: action folder.
    • See 1, 2 for more details.

References

Footnotes

  1. Make Your Database System Dream of Electric Sheep: Towards Self-Driving Operation.

    @article{pavlo21,
    author = {Pavlo, Andrew and Butrovich, Matthew and Ma, Lin and Lim, Wan Shen and Menon, Prashanth and Van Aken, Dana and Zhang, William},
    title = {Make Your Database System Dream of Electric Sheep: Towards Self-Driving Operation},
    journal = {Proc. {VLDB} Endow.},
    volume = {14},
    number = {12},
    pages = {3211--3221},
    year = {2021},
    url = {https://db.cs.cmu.edu/papers/2021/p3211-pavlo.pdf},
    }
    
  2. https://15799.courses.cs.cmu.edu/spring2022/

noisepage-pilot's People

Contributors

17zhangw avatar apavlo avatar bluecat1024 avatar garrisonhess avatar karthik-ramanathan-3006 avatar lmwnshn avatar mkpjnx avatar timlee0119 avatar

Watchers

 avatar

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.