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

从数据库中提取句法模式

Extracting Syntactic Patterns from Databases

Andrew Ilyas, Joana M. F. da Trindade, Raul Castro Fernandez, Samuel Madden

摘要:

许多数据库列包含符合模式的字符串或数字数据,如电话号码、日期、地址、产品标识符和员工ID。这些模式在许多数据处理应用程序中非常有用,包括在字段名称不明确时理解特定字段表示的内容,识别离群值以及在数据集中查找相似字段。表达这种模式的一种方法是学习数据库中每个字段的正则表达式。不幸的是,现有的正则表达式学习技术速度很慢,对于只有几千个值的列需要花费数百秒。相比之下,我们开发了XSystem,这是一种有效的方法,可以在更短的时间内学习数据库列上的模式。我们表明,这些模式不仅可以快速构建,但表达能力足以捕捉一些关键的应用程序,包括检测离群值,测量列的相似性,并分配语义标签列(基于正则表达式库)。我们评估这些应用程序的数据集,范围从化学数据库(基于与制药公司的合作),我们的大学数据仓库,并从MassData.gov开放数据。

英文摘要:

Many database columns contain string or numerical data that conforms to a pattern, such as phone numbers, dates, addresses, product identifiers, and employee ids. These patterns are useful in a number of data processing applications, including understanding what a specific field represents when field names are ambiguous, identifying outlier values, and finding similar fields across data sets. One way to express such patterns would be to learn regular expressions for each field in the database. Unfortunately, exist- ing techniques on regular expression learning are slow, taking hundreds of seconds for columns of just a few thousand values. In contrast, we develop XSystem, an efficient method to learn patterns over database columns in significantly less time. We show that these patterns can not only be built quickly, but are expressive enough to capture a number of key applications, including detecting outliers, measuring column similarity, and assigning semantic labels to columns (based on a library of regular expressions). We evaluate these applications with datasets that range from chemical databases (based on a collaboration with a pharmaceutical company), our university data warehouse, and open data from MassData.gov.

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

↑