MiniCon: A Scalable Algorithm for Answering Queries Using Views Rachel Pottinger and Alon Levy Affiliates Meeting February 24, 2000.

Slides:



Advertisements
Similar presentations
The Robert Gordon University School of Engineering Dr. Mohamed Amish
Advertisements

Schema Matching and Query Rewriting in Ontology-based Data Integration Zdeňka Linková ICS AS CR Advisor: Július Štuller.
CSE 636 Data Integration Answering Queries Using Views Bucket Algorithm.
CSE 636 Data Integration Data Integration Approaches.
1 Chapter 5 : Query Processing and Optimization Group 4: Nipun Garg, Surabhi Mithal
Inpainting Assigment – Tips and Hints Outline how to design a good test plan selection of dimensions to test along selection of values for each dimension.
Fine Grained Access Control in XML DataBase Systems Naveen Yajamanam April 27,2006.
2005lav-ii1 Local as View: Some refinements  IM: Filtering irrelevant sources  Views with restricted access patterns  A summary of IM.
Rational Expressions To add or subtract rational expressions, find the least common denominator, rewrite all terms with the LCD as the new denominator,
1 A Scalable Algorithm for Answering Queries Using Views Rachel Pottinger Qualifying Exam October 29, 1999 Advisor: Alon Levy.
An Extensible System for Merging Two Models Rachel Pottinger University of Washington Supervisors: Phil Bernstein and Alon Halevy.
Generating Efficient Plans for Queries Using Views Chen Li Stanford University with Foto Afrati (National Technical University of Athens) and Jeff Ullman.
A scalable algorithm for answering queries using views Rachel Pottinger, Alon Levy [2000] Rachel Pottinger and Alon Y. Levy A Scalable Algorithm for Answering.
1 SINA: Scalable Incremental Processing of Continuous Queries in Spatio-temporal Databases Mohamed F. Mokbel, Xiaopeng Xiong, Walid G. Aref Presented by.
Local-as-View Data Integration Zachary G. Ives University of Pennsylvania CIS 650 – Database & Information Systems February 21, 2005.
2005Integration-intro1 Data Integration Systems overview The architecture of a data integration system:  Components and their interaction  Tasks  Concepts.
2005lav-iv1  On the Inverse rules algorithm It is guaranteed to compute the certain answers But, what about its efficiency? As presented, it computes.
CSE 636 Data Integration Answering Queries Using Views Overview.
CSE 636 Data Integration Answering Queries Using Views MiniCon Algorithm.
1 SINA: Scalable Incremental Processing of Continuous Queries in Spatio-temporal Databases Mohamed F. Mokbel, Xiaopeng Xiong, Walid G. Aref Presented by.
The Implicit Mapping into Feature Space. In order to learn non-linear relations with a linear machine, we need to select a set of non- linear features.
Querying Heterogeneous Information Sources Using Source Descriptions Authors: Alon Y. Levy Anand Rajaraman Joann J. Ordille Presenter: Yihong Ding.
Minimal Probing: Supporting Expensive Predicates for Top-k Queries Kevin C. Chang Seung-won Hwang Univ. of Illinois at Urbana-Champaign.
United Nations Economic Commission for Europe Statistical Division Applying the GSBPM to Business Register Management Steven Vale UNECE
Managing Large RDF Graphs (Infinite Graph) Vaibhav Khadilkar Department of Computer Science, The University of Texas at Dallas FEARLESS engineering.
Presenter: Dongning Luo Sept. 29 th 2008 This presentation based on The following paper: Alon Halevy, “Answering queries using views: A Survey”, VLDB J.
Notes Over 2.5 Rules for Multiplying Negative Numbers. If there is an even number of negative numbers, then the answer is Positive. If there is an odd.
NiagaraCQ A Scalable Continuous Query System for Internet Databases Jianjun Chen, David J DeWitt, Feng Tian, Yuan Wang University of Wisconsin – Madison.
Dynamic Queries –presented by Bhaskar Chatterjee Visual Alternative to SQL for Querying databases Depending on data types and the values decides the input.
Web Strategies for Effective Marketing Results Presenter: Jonathan Buyco, The Active Network.
CSE 636 Data Integration Limited Source Capabilities Slides by Hector Garcia-Molina Fall 2006.
Stacked Generalization an overview of the paper by David H. Wolpert Jim Ries CECS 477 : Neural Networks February 2, 2000.
DANIEL J. ABADI, ADAM MARCUS, SAMUEL R. MADDEN, AND KATE HOLLENBACH THE VLDB JOURNAL. SW-Store: a vertically partitioned DBMS for Semantic Web data.
Web Services Brenton Lovett Wizard Information Services.
Navigational Plans For Data Integration Marc Friedman Alon Levy Todd Millistein Presented By Avinash Ponnala Avinash Ponnala.
Mediators, Wrappers, etc. Based on TSIMMIS project at Stanford. Concepts used in several other related projects. Goal: integrate info. in heterogeneous.
A fast algorithm for the generalized k- keyword proximity problem given keyword offsets Sung-Ryul Kim, Inbok Lee, Kunsoo Park Information Processing Letters,
SPARQL Query Graph Model (How to improve query evaluation?) Ralf Heese and Olaf Hartig Humboldt-Universität zu Berlin.
Presented by Jiwen Sun, Lihui Zhao 24/3/2004
IST 210 The Relational Language Todd S. Bacastow January 2004.
Solving Equations Medina1 Multi-Step Equations. Steps to solve Medina2 3. Use inverse of addition or subtraction You may not have to do all the steps.
CS848 Presentation Heng YU (Henry)
AnHai Doan & Alon Halevy Department of Computer Science & Engineering University of Washington Efficiently Ordering Query Plans for Data Integration.
Rod Johnson & Sandra Johnson Assessment Europe Generalise not specialise: design implications for a national assessment bank.
CS 440 Database Management Systems Lecture 5: Query Processing 1.
Local-as-View Data Integration Zachary G. Ives University of Pennsylvania CIS 650 – Database & Information Systems October 16, 2008.
Chapter 9: Web Services and Databases Title: NiagaraCQ: A Scalable Continuous Query System for Internet Databases Authors: Jianjun Chen, David J. DeWitt,
CS 540 Database Management Systems
ONE STEP EQUATIONS Multiplication and Division ONE STEP EQUATIONS Example 1 Solve 3x = 12 Variable? x 3x = 12 x x 3 ÷ 3 Inverse operation? Operation?
Rational Exponents Use the rules for combining fractions when the exponents are rational numbers X 2 3 X 1 2 (()) = X = X = X 7.
EXAMPLE 1 Finding a Sale Price Clothing You buy a pair of jeans that is 30% off the original price of $29. What is the sale price? STEP 1 Find the amount.
6.3 – Solving Linear Systems By Linear Combination.
Answering Queries Using Views Presented by: Mahmoud ELIAS.
Solving Equations with Addition or Subtraction Medina1.
3.3 Markup and Markdown How can you rewrite expressions to help you solve markup and markdown problems?
5.7 Inverse Trigonometric Functions: Integration Integrate functions whose antiderivatives involve inverse trigonometric functions. Review the basic integration.
Pay and spray Homepage Image of car Prices What we do Cars for sale
CS 540 Database Management Systems
CS 440 Database Management Systems
Solving Two- Step Equations
Solving Two- Step Equations
Complete the missing numbers using the inverse.
مفاهیم بهره وري.
CLUSTER BY: A NEW SQL EXTENSION FOR SPATIAL DATA AGGREGATION
Probabilistic Databases
More Problems x on the outside
2-5 Solving Equations with the Variable on Each Side
Answering Queries Using Views: A Survey
Section 13.2: Understanding Inverse Functions
Flexible Budgets, Variances, and Management Control: I
Presentation transcript:

MiniCon: A Scalable Algorithm for Answering Queries Using Views Rachel Pottinger and Alon Levy Affiliates Meeting February 24, 2000

Answering Queries Using Views uProblem: access views (stored queries) instead of original relations uUseful in data integration and query optimization uNP-Complete uMany papers on the subject uNo empirical testing of algorithms

Data Integration Used.com -Prices and years of used cars Used(price, year) :- Cost(model, price) & Age(model,year) Cheap.com -Prices of cars Cheap(price) :- Cost(model,price) Car Sale Information Query: What price do cars made in 1996 sell for? Query(Price, “1996”):- Cost(Model,Price) & Age(Model, “1996”)

View challenges uData sources (Cheap.com, Used.com) are pre-calculated views uViews are not complete uGet the most answers possible given the views uMany data sources

Inverse Rules uTake the views and invert them Cheap(price):- Cost(car,price)  Cost(?,price) :- Cheap(price) uNow can query on database relations to find all relevant rules uRun regular database functions to find answers uExtended to be more efficient in our paper

Bucket Algorithm: Populating buckets ¶For each relation in the query, place relevant views in the relation’s bucket Inputs: Query(Price,“1996”):- Cost(Model,Price) & Age(Model,“1996”) Cheap(price):-Cost(model,price) Used(price,year):-Cost(model,price) & Age(model,year) Age(Model, “1996”) Used(_, “1996”) Buckets: Cost(Model,Price) Cheap(Price) Used(Price,_)

Combining Buckets ËFor every combination in the Cartesian products from the buckets, check containment in the query Candidate rewritings: Query’ 1 (x) :- Cheap(Price) & Used(_, “1996”)  Query’ 2 (x) :- Used(Price,_) & Used(_, “1996”)  Bucket Algorithm will check all possible combinations Buckets: Age(Model, “1996”) Used(_, “1996”) Cost(Model,Price) Cheap(Price) Used(Price,_)

The MiniCon Algorithm Concentrate on variables rather than relations to create MiniCon Descriptions (MCDs) Combine MCDs that only overlap on returned view variables

MiniCon Description Formation ¶Form all MiniCon Descriptions (MCDs) that map all query variables that have to be mapped together Inputs: Query(Price,“1996”):- Cost(Model,Price) & Age(Model,“1996”) Cheap(price):-Cost(model,price) Used(price,year):-Cost(model,price) & Age(model,year) viewmappingrelations mapped Used Model  model, 1, 2 Price  price, “1996”  year MCDs:

MiniCon Combination Take all combinations of MCDs that ¶ map disjoint sets of relations · map all relations of the query MCDs: Rewriting: Query’(Price,“1996”):-Used(Price, “1996”) viewmappingrelations mapped Used Model  model, 1, 2 Price  price, “1996”  year

Experimental results: Many rewritings

Experimental Results: Few rewritings

See paper for details Including: uFurther experimental evaluation uExtension to handle interpreted predicates uImprovement to Inverse Rules uQuery optimization extension