























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Some concept of Advanced Database System are Types Supported, Simple Data Model, Concurrency Control Two, Continuously Adaptive, Cost-Based Optimization, Data Access From Disks, Data Warehousing. Main points of this lecture are: Monitoring Streams, First Aurora, Borealis, Practical System, Designed For Scalablility, Stream Storage Management, Realiability/, Fault Tolerance, Distribution and Adaptivity, First Stream Startup
Typology: Slides
1 / 31
This page cannot be seen from the preview
Don't miss anything!
























Background
6
Not Your Average DBMS
Outline
→
Aurora from 100 Feet
Queries = Workflow (Boxes and Arcs)
Streams (Arcs)
Query Operators (Boxes)
Aurora in Action
“Box-at-a-time” Scheduling
Arcs → Tuple Queues
Outputs Monitored for QoS
Quality-of-Service (QoS)
Specifies “Utility” Of Imperfect Query Results
QoS Influences…
QoS
Output value
1
0
Output Value
QoS
% messages delivered
1
0
100 0 % Tuples Delivered
QoS
delay
1
0
good zone
Delay
Talk Outline
→
Runtime Operation
Choice 1:
A: Cost: 1 sec (…, age: 1 sec)
B: Cost: 2 sec (…, age: 3 sec)
Delay = 2 sec
Utility = 0.
Delay = 5 sec
Utility = 0.
Schedule Box A now rather than later
Ideal: Maximize Overall Utility
Choice 2:
… z yx A (z)^ A (y) A (x) B (A (z)) B (A (y)) B (A (x))
… z yx B (A (z)) B (A (y)) B (A (x))
… z yx A (z, y, x) B (A (z), A (y), A (x))
Talk Outline
→
Stream Query Optimization
Query Optimization?
Query Optimization
Compile-time, Global Optimization Infeasible
Dynamic, Local Optimization
Motivation of ‘Query Migration’