-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Universal Query Routing #364
Conversation
- Add new generic Features for Monitoring (Ui and Types). - Implement MapDb Monitoring Backend.
- use Transaction for holding MonitoringJob
- add subscriber model to MonitoringService
- remove subscriber concept - queue events
approximatedCosts, | ||
preCosts, | ||
postCosts, | ||
icarusCosts, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the difference between postCosts and icarusCosts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The naming in the class is a little bit a mess, I guess the term icarus should be removed completely.
But in general, postCosts are probabilities and icarusCosts are absolute measured times.
monitoring/src/main/java/org/polypheny/db/monitoring/events/metrics/DmlDataPoint.java
Outdated
Show resolved
Hide resolved
dbms/src/main/java/org/polypheny/db/routing/routers/AbstractDqlRouter.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @cedricmendelin and @hennlo, for this PR!
This PR introduces new Universal Query Routing in Polypheny-DB.
Universal Query Routing enables multiple possible routers. For a given query, multiple Query Plans will be proposed (and cached).
There have been major changes in the routing classes (especially AbstractRouter).
There is a new BaseRouter class, providing base methods used for routing.
Further, DML queries and DQL queries are handled separately (new DmlRouter interface).
Finally, there was a major concept change in the AbstractQueryProcessor.