DataGuides: Enabling Query Formulation and Optimization in Semistructured Databases

Roy Goldman, Jennifer Widom

1997 · 1.1K citations · 17 references

Concepts

TL;DR

Semistructured databases lack a fixed schema in advance. This paper introduces DataGuides to provide schema‑like benefits in semistructured databases, detailing their theoretical foundations, creation algorithm, and incremental maintenance. DataGuides are dynamic schemas generated from the database, used for browsing structure, query formulation, storing statistics, and guiding query optimization, as implemented in the Lore DBMS. Performance tests of DataGuides in the Lore DBMS demonstrate improved query handling for semistructured data.

Abstract

In semistructured databases there is no schema fixed in advance. To provide the benefits of a schema in such environments, we introduce DataGuides: concise and accurate structural summaries of semistructured databases. DataGuides serve as dynamic schemas, generated from the database; they are useful for browsing database structure, formulating queries, storing information such as statistics and sample values, and enabling query optimization. This paper presents the theoretical foundations of DataGuides along with an algorithm for their creation and an overview of incremental maintenance. We provide performance results based on our implementation of DataGuides in the Lore DBMS for semistructured data. We also describe the use of DataGuides in Lore, both in the user interface to enable structure browsing and query formulation, and as a means of guiding the query processor and optimizing query execution.

References

17