不连续及不稳定数据管理英文.ppt_第1页
不连续及不稳定数据管理英文.ppt_第2页
不连续及不稳定数据管理英文.ppt_第3页
不连续及不稳定数据管理英文.ppt_第4页
不连续及不稳定数据管理英文.ppt_第5页
已阅读5页,还剩29页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

Efficient Management of Inconsistent and Uncertain Data,Rene J. Miller University of Toronto,Contributors,Ariel Fuxman, PhD Thesis Microsoft Search Labs Jim Gray SIGMOD 2008 Dissertation Award Periklis Andritsos, PhD Jiang Du, MS Elham Fazli, MS Diego Fuxman, Undergrad,Dirty Databases,The presence of dirty data is a major problem in enterprises Traditional solution: data cleaning,3,No. I dont see Any problem with the data,Limitations of Data Cleaning,Semi-automatic process Requires highly-qualified domain experts Time consuming May not be possible to wait until the database is clean Operational systems answer queries assuming clean data,Our Work,Identify classes of queries for which we can obtain meaningful answers from potentially dirty databases Show how to do it efficiently and reusing existing database technology,5,Why is this Business Intelligence?,Business intelligence (BI) refers to technologies, applications and practices for the collection, integration, analysis, and presentation of information. The goal of BI is to support better decision making, based on information. DBMS should provide meaningful query answers even over data that is dirty,Outline,Introduction Semantics for dirty databases Contributions Conclusions,7,Outline,Introduction Semantics for dirty databases Contributions Conclusions,8,A Data Integration Example,Integrating customer data,9,Sales,Shipping,Customer Support,Web Forms,Demographic Data,Integrated Customer Database,Matching and Merging,10,Web,Sales,Matching and merging are two fundamental tasks in data integration,True Disagreement Between Sources,11,Web,Sales,Whats Peters salary?,Inconsistent Integrated Databases,In the absence of complete resolution rules,12,SATISFY custid KEY,VIOLATES custid KEY,Web,Sales,Inconsistent Integrated Database,Query: “Get customers who make more than 100K”,13,sales,web,sales/web,sales,web,Peter,Paul,Mary,Are we sure that we want to offer a card to Peter?,Example: Offering a Platinum credit card,Querying Inconsistent Databases,Aggressive: Get customers who possibly make more than 100K Peter, Paul, Mary Conservative: Get customers who certainly make more than 100K Paul, Mary,14,Querying Inconsistent Databases,Formal Semantics,Related to semantics for querying incomplete data Imielinski Lipski 84, Abiteboul Duschka 98 Possible world: “complete” databases Consistent answers Proposed by Arenas, Bertossi, and Chomicki in 1999 Corresponds to conservative semantics Possible world: “consistent” databases,15,16,sales,web,sales/web,sales,web,Inconsistent database,Repairs,Key: custid,Consistent Answers,17,CONSISTENT ANSWERS Answers obtained no matter which repair we choose,Query=“Get customers who make more than 100K”,q,q,q,q,CONSISTENT ANSWER= Paul,Mary,Repairs,Consistent Answers,Outline,Introduction Semantics for dirty databases Contributions Conclusions,18,When We Started,Semantics well understood Problem Potentially HUGE number of repairs! Negative results Chomicki et al 02, Arenas et al. 01, Cali et al 04 Few tractability results Arenas et al. 99, Arenas et al. 01 Logic programming approaches Bravo and Bertossi 03, Eiter et al. 03 Expressive queries and constraints Computationally expensive Applicable only to small databases with small number of inconsistencies,19,Our Proposal: ConQuer,20,Commercial database engine,SQL query q Keys,Rewritten SQL query Q*,ConQuers Rewriting Algorithm,Inconsistent database,Consistent answer to q,Class of Rewritable Queries,ConQuer handles a broad class of SPJ queries with Set semantics Bag semantics, grouping, and aggregation No restrictions on Number of relations Number of joins Conditions or built-in predicates Key-to-key joins The class is “maximal”,21,Why not all SPJ queries?,Some SPJ queries cannot be rewritten into SQL Consistent query answering is coNP-complete even for some SPJ queries and key constraints Maximality of ConQuers class Minimal relaxations lead to intractability Restrictions only on Nonkey-to-nonkey joins Self joins Nonkey-to-key joins that form a cycle,22,Example: A Rewritable Query,SELECT c_custkey, c_name, sum(l_extendedprice * (1 - l_discount) as revenue, c_acctbal, n_name, c_address, c_phone, c_comment FROM customer, orders, lineitem, nation WHERE c_custkey = o_custkey and l_orderkey = o_orderkey and o_orderdate = 1993-10-01 and o_orderdate date(1993-10-01) + 3 MONTHS and l_returnflag = R and c_nationkey = n_nationkey GROUP BY c_custkey, c_name, c_acctbal, c_phone, n_name, c_address, c_comment ORDER BY revenue desc,23,TPC-H Query 10,Rewritings Can Get Quite Complex,Rewriting of TPC-H Query 10,Can this rewriting be executed efficiently?,1.7 overhead 20 GB database, 5% inconsistency,Experimental Evaluation,Goals Quantify the overhead of the rewritings Assess the scalability of the approach Determine sensitivity of the rewritten queries to level of inconsistency of the instance Queries and databases Representative decision support queries (TPC-H benchmark) TPC-H databases, altered to introduce inconsistencies Database parameters database size percentage of the database that is inconsistent conflicts per key value (in inconsistent portion),25,26,Worst Case 5.8 overhead Selectivity 98.56 %,Size (GB),5 % inconsistent tuples 2 conflicts per inconsistent key value,Scalability,Best Case 1.2 overhead Selectivity 0.001 %,Contributions Theory,Formal characterization of a broad class of queries For which computing consistent answers is tractable under key constraints That can be rewritten into first-order/SQL Query rewriting algorithms for a class of Select-Project-Join queries With set semantics With bag semantics, grouping, and aggregation Maximality of the class of queries,27,Contributions Practice,Implementation of ConQuer Designed to compute consistent answers efficiently Multiple rewriting strategies Experimental validation of efficiency and scalability Representative queries from TPC-H Large databases,28,Uncertain Data,Web,Sales,Integrated Database,0.3,0.7,PROVENANCE INFORMATION (e.g., source reputation),0.3,0.7,1,0.3,0.7,Publications and Demo,These and other contributions appear in ICDT05/JCSS06 SIGMOD05 ICDE06 PODS06/TODS06 VLDB06 Demo given at VLDB05 http:/queens.d

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论