Giter VIP home page Giter VIP logo

hyrise's People

Contributors

adi64 avatar apopiak avatar bensk1 avatar beta-alf avatar bouncner avatar carstenwalther avatar dukeharris avatar f4lco avatar fabianwiebe avatar j-beyer avatar johannalatt avatar jstriebel avatar julkw avatar klauck avatar lawben avatar maxifischer avatar michael-janke avatar mjendruk avatar mrks avatar nilsthamm avatar normanrz avatar p-otto avatar svenlehmann avatar tbjoern avatar timzimmermann avatar torpedro avatar

Watchers

 avatar  avatar  avatar  avatar

hyrise's Issues

SQL Pipeline should use a / the Query Cache

Queries initiated using the SQL Pipeline should also be cached. This raises the issue of a globally accessible Cache Mechanism as long as SQLOperator remains in the System as another way to initiate Queries.

The SQLPipeline exposes intermediate results (like LQPs ref #1) that must be cached together with the resulting Operator Tree. Otherwise the availability of intermediate results becomes optional and the SQLPipeline might operate in two modes either using the cache giving no guarantee about the availability of intermediate results or not using it (reading, might still write on miss) always providing intermediate results.

Hook into cache

Consider hooking into the query cache or adding a signalling mechanism instead of extracting data from it. This also would add the benefit of seeing how often a query is executed / references (refs #8 ).

Extend index proposal with usefulness metric

Right now, an IndexProposal does not contain any information on how useful this change will be. Add metrics to it that allow to compare different IndexProposals, e.g. based on how often the column to be indexed is accessed, compared to other columns.

Accumulate queries / table statistics

The contents of the query caches do not tell us how often a query is ran. In order to take that into account, we need to source information on how often queries are ran in order to calculate some metrics that should be taken into account when proposing new indices.

Restructure IndexTuner as an AbstractTask

The execution of an IndexTuner should be schedulable and this functionality is already provided by AbstractTask.

Also a Manager for TunerTasks (another Singleton?) seems indicated, that periodically issues new Tasks and keeps track of their behavior.

Retrieve data access information from query plan

Right now, we're scanning the operator tree top-down. A post-order traversal would probably be more adequate here. While doing this, we could build some data structure that keeps information for every operator regarding table and column data access (so we can know what table a TableScan is actually running on).

Create workload for prototype that can be timed

Add workload (queries) to the playground that can be ran multiple times in order to experience performance gains through suitable automatic index creation. Also add simple timing / benchmarking functionality.

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.