arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.14047cs.DB
收藏

OneProvenance:从数据库中高效提取动态粗粒度种源[技术报告]

OneProvenance: Efficient Extraction of Dynamic Coarse-Grained Provenance from Database Logs [Technical Report]

Fotis Psallidas, Ashvin Agrawal, Chandru Sugunan, Khaled Ibrahim, Konstantinos Karanasos, Jesús Camacho-Rodríguez, Avrilia Floratou, Carlo Curino, Raghu Ramakrishnan

摘要:

起源编码连接数据集、其生成工作流和相关联的元数据(例如,谁或何时执行查询)。因此,它有助于广泛的关键治理应用程序(例如,可观察性和审计)。不幸的是,在数据库系统的上下文中,由于数据库工作流的复杂性和庞大的数量,提取粗粒度的出处是一个长期存在的问题。从查询事件日志中提取起源最近被认为是有利的,因为原则上可以为起源应用程序产生有意义的起源图。然而,当前的方法(a)向数据库和起源提取工作流增加了大量开销,并且(b)提取有噪声的起源,省略了查询执行依赖性,并且对于上游应用不够丰富。为了解决这些问题,我们引入OneProvenance:一个高效的查询事件日志出处提取系统。OneProvenance通过以下方式解决了基于日志的提取的独特挑战:(a)通过有效的日志分析识别查询执行依赖关系,(b)通过解释查询依赖关系的新颖事件转换提取起源,以及(c)引入有效的过滤优化。我们全面的实验分析表明,与最先进的基线相比,OneProvenance可以将提取提高约18倍;我们的优化降低了提取噪声,并进一步优化了性能。OneProvenance由Microsoft Purview大规模部署,并积极支持客户来源提取需求(https://bit.ly/3N2JVGF)。

英文摘要:

Provenance encodes information that connects datasets, their generation workflows, and associated metadata (e.g., who or when executed a query). As such, it is instrumental for a wide range of critical governance applications (e.g., observability and auditing). Unfortunately, in the context of database systems, extracting coarse-grained provenance is a long-standing problem due to the complexity and sheer volume of database workflows. Provenance extraction from query event logs has been recently proposed as favorable because, in principle, can result in meaningful provenance graphs for provenance applications. Current approaches, however, (a) add substantial overhead to the database and provenance extraction workflows and (b)~extract provenance that is noisy, omits query execution dependencies, and is not rich enough for upstream applications. To address these problems, we introduce OneProvenance: an efficient provenance extraction system from query event logs. OneProvenance addresses the unique challenges of log-based extraction by (a)~identifying query execution dependencies through efficient log analysis, (b) extracting provenance through novel event transformations that account for query dependencies, and (c)~introducing effective filtering optimizations. Our thorough experimental analysis shows that OneProvenance can improve extraction by up to ~18X compared to state-of-the-art baselines; our optimizations reduce the extraction noise and optimize performance even further. OneProvenance is deployed at scale by Microsoft Purview and actively supports customer provenance extraction needs (https://bit.ly/3N2JVGF).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑