版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Efficient Management of Inconsistent and Uncertain DataRene J. MillerUniversity of TorontoContributorsAriel Fuxman, PhD ThesisMicrosoft Search LabsJim Gray SIGMOD 2019 Dissertation AwardPeriklis Andritsos, PhDJiang Du, MSElham Fazli, MSDiego Fuxman, UndergradDirty DatabasesThe presence of dirty data
2、 is a major problem in enterprisesTraditional solution: data cleaningNo. I dont see Any problem with the data3Limitations of Data CleaningSemi-automatic processRequires highly-qualified domain experts Time consumingMay not be possible to wait until the database is cleanOperational systems answer que
3、ries assuming clean dataOur WorkIdentify classes of queries for which we can obtain meaningful answers from potentially dirty databasesShow how to do it efficiently and reusing existing database technology5Why is this Business Intelligence?Business intelligence (BI) refers to technologies, applicati
4、ons 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 dirtyOutline Introduction Semantics for dirty databases Contribut
5、ions Conclusions7Outline Introduction Semantics for dirty databases Contributions Conclusions8A Data Integration ExampleIntegrating customer dataSalesShippingCustomer SupportWeb FormsDemographic DataIntegratedCustomerDatabase9Matching and MergingCustidPeterNameAddressIncomePeter Yarrow276 College St
6、reet40KPaul Stookey100 Bloor Street400KMary Travers20 Union Street110KNameAddressIncomePeter Yarrow276 College Street40KPaul Stookey100 Bloor Street400KMary Travers20 Union Street110KCustidPeterNameAddressIncomePeter Yarrow276 College St.200KPaul Stookey100 Bloor St.400KMary Travers20 Union St.130KN
7、ameAddressIncomePeter Yarrow276 College St.200KPaul Stookey100 Bloor St.400KMary Travers20 Union St.130KWebSalesMatching and merging are two fundamental tasks in data integration 10NameAddressIncomePeter Yarrow276 College Street200KPaul Stookey100 Bloor St.400KMary Travers20 Union St.130KNameAddress
8、IncomePeter Yarrow276 College Street40KPaul Stookey100 Bloor Street400KMary Travers20 Union Street110KTrue Disagreement Between SourcesCustidPeterWebSalesWhats Peters salary?CustidPeter11Inconsistent Integrated DatabasesIn the absence of complete resolution rulescustidincomePeter40KPaul 400KMary110K
9、custidincomePeter 200KPaul400KMary130KcustidincomePeter40KPeter200KPaul400KMary110KMary130KSATISFY custid KEYVIOLATES custid KEYWebSalesInconsistent Integrated Database12CustidincomePeter40KPeter200KPaul400KMary110KMary130KCustidincomePeter40KPeter200KPaul400KMary110KMary130KCustidincomePeter40KPete
10、r200KPaul400KMary110KMary130KQuery: “Get customers who make more than 100K”saleswebsales/websaleswebPeter,Paul,MaryAre we sure that we want to offer a card to Peter?Example: Offering a Platinum credit cardQuerying Inconsistent Databases13Aggressive: Get customers who possibly make more than 100KPete
11、r, Paul, Mary Conservative: Get customers who certainly make more than 100KPaul, MaryQuerying Inconsistent Databases14Formal SemanticsRelated to semantics for querying incomplete data Imielinski Lipski 84, Abiteboul Duschka 98Possible world: “complete” databasesConsistent answersProposed by Arenas,
12、Bertossi, and Chomicki in 2019Corresponds to conservative semanticsPossible world: “consistent” databases15custidincomePeter40KPeter200KPaul400KMary110KMary130KcustidincomePeter40KPeter200KPaul400KMary110KMary130KcustidincomePeter40KPeter200KPaul400KMary110KMary130KcustidincomePeter40KPeter200KPaul4
13、00KMary110KMary130KcustidincomePeter40KPeter200KPaul400KMary110KMary130KPeter40KPaul400KMary110KPeter40KPaul400KMary130KPeter200KPaul400KMary110KPeter200KPaul400KMary130Ksaleswebsales/websaleswebInconsistent databaseRepairsKey: custidConsistent Answers16CONSISTENT ANSWERSAnswers obtainedno matter wh
14、ich repair we choosePeter40KPaul400KMary110KPeter40KPaul400KMary130KPeter200KPaul400KMary110KPeter200KPaul400KMary130KQuery=“Get customers who make more than 100K”qqqqCONSISTENT ANSWER=Paul,MaryRepairsConsistent AnswersPaulMaryPaulMaryPeterPaulMaryPeterPaulMaryPaulMaryPaulMaryPeterPaulMaryPeterPaulM
15、ary17Outline Introduction Semantics for dirty databases Contributions Conclusions18When We StartedSemantics well understoodProblemPotentially 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. 01Logic pr
16、ogramming approaches Bravo and Bertossi 03, Eiter et al. 03Expressive queries and constraintsComputationally expensiveApplicable only to small databases with small number of inconsistencies19Our Proposal: ConQuerCommercial databaseengineSQL query q KeysRewrittenSQL query Q*ConQuersRewriting Algorith
17、mInconsistentdatabaseConsistent answer to q20Class of Rewritable QueriesConQuer handles a broad class of SPJ queries withSet semanticsBag semantics, grouping, and aggregationNo restrictions onNumber of relationsNumber of joinsConditions or built-in predicatesKey-to-key joinsThe class is “maximal”21W
18、hy not all SPJ queries?Some SPJ queries cannot be rewritten into SQLConsistent query answering is coNP-complete even for some SPJ queries and key constraintsMaximality of ConQuers classMinimal relaxations lead to intractabilityRestrictions only onNonkey-to-nonkey joinsSelf joinsNonkey-to-key joins t
19、hat form a cycle22Example: A Rewritable QuerySELECT c_custkey, c_name, sum(l_extendedprice * (1 - l_discount) as revenue, c_acctbal, n_name, c_address, c_phone, c_commentFROM customer, orders, lineitem, nationWHERE c_custkey = o_custkey and l_orderkey = o_orderkey and o_orderdate = 1993-10-01 and o_
20、orderdate date(1993-10-01) + 3 MONTHS and l_returnflag = R and c_nationkey = n_nationkeyGROUP BY c_custkey, c_name, c_acctbal, c_phone, n_name, c_address, c_commentORDER BY revenue descTPC-H Query 1023Rewritings Can Get Quite ComplexRewriting of TPC-H Query 10Can this rewriting be executed efficient
21、ly?1.7 overhead20 GB database, 5% inconsistency Experimental EvaluationGoalsQuantify the overhead of the rewritingsAssess the scalability of the approach Determine sensitivity of the rewritten queries to level of inconsistency of the instanceQueries and databasesRepresentative decision support queri
22、es (TPC-H benchmark)TPC-H databases, altered to introduce inconsistenciesDatabase parametersdatabase sizepercentage of the database that is inconsistentconflicts per key value (in inconsistent portion)25Worst Case5.8 overheadSelectivity 98.56 %Size (GB)5 % inconsistent tuples2 conflicts per inconsis
23、tent key valueScalabilityBest Case1.2 overheadSelectivity 0.001 %26Contributions TheoryFormal characterization of a broad class of queries For which computing consistent answers is tractable under key constraintsThat can be rewritten into first-order/SQLQuery rewriting algorithms for a class of Sele
24、ct-Project-Join queries With set semanticsWith bag semantics, grouping, and aggregationMaximality of the class of queries27Contributions PracticeImplementation of ConQuer Designed to compute consistent answers efficientlyMultiple rewriting strategiesExperimental validation of efficiency and scalability Representative queries from TPC-HLarge databases28Uncertain DatacustidincomePeter40KPaul 400KMary110KcustidincomePeter 200KPaul400KMary130KcustidincomePeter40KPeter200KPaul400KMary110KMary130KWebSalesIntegrated Database0.30.7PROVENANCE INFORMATION(e.g., sourc
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年景德镇市珠山区事业单位人员招聘考试备考题库及答案详解
- 2026华中农业大学植物科学技术学院劳动聘用制作物绿色智慧生产辅助岗招聘1人(湖北)考试备考试题及答案详解
- 2026年山西省大同市事业单位人员招聘考试参考题库及答案详解
- 企业管理制度与组织架构手册
- 2026江苏连云港市云台山风景名胜区区属国企招聘高层管理人员及工作人员招聘岗位核销考试备考试题及答案详解
- 企业品牌建设与传播方案指南
- 2026年齐齐哈尔市富拉尔基区事业单位人员招聘考试参考题库及答案详解
- 2026年六安市裕安区事业单位人员招聘考试参考试题及答案详解
- IT系统安全审查与合规性检查指南
- 内科疾病患者的氧疗护理
- 2026福建泉州晋江市市场监督管理局招聘编外工作人员16人考试备考试题及答案详解
- 河南省新未来2024-2025学年高一下学期期末检测英语试卷
- 中等职业学校英语课程标准
- 工地盘扣打包合同协议
- 六年级人教版英语单词
- 青年教师成长分享
- 代理股东合同范例
- 人教PEP版英语3-6年级知识梳理清单
- (高清版)TDT 1056-2019 县级国土资源调查生产成本定额
- 2024年福建宁德市城市管理局东侨经济技术开发区分局招考聘用高频考题难、易错点模拟试题(共500题)附带答案详解
- 2024届河北省石家庄二中数学高一第二学期期末学业水平测试试题含解析
评论
0/150
提交评论