Indexing for data models with constraints and classes

28Citations
Citations of this article
13Readers
Mendeley users who have this article in their library.

This article is free to access.

Abstract

We examine I/0-efficient data structures that provide indexing support for new data models. The database languages of these models include concepts from constraint programming (e.g., relational tuples are generated to conjunctions of constraints) and from object-oriented programming (e.g., objects are organized in class hierarchies). Let n be the size of the database, c the number of classes, B the page size on secondary storage, and t the size of the output of a query: (1) Indexing by one attribute in many constraint data models is equivalent to external dynamic interval management, which is a special case of external dynamic two-dimensional range searching. We present a semi-dynamic data structure for this problem that has worst-case space O(n/B) pages, query I/O time O(logB n+t/B) and O(logB n+ (logB n)2/B) amortized insert I/O time. Note that, for the static version of this problem, this is the first worst-case optimal solution. (2) Indexing by one attribute and by class name in an object-oriented model, where objects are organized as a forest hierarchy of classes, is also a special case of external dynamic two-dimensional range searching. Based on this observation, we first identify a simple algorithm with good worst-case performance, query I/O time O(log2 c logB n+t/B), update I/O time O(log2 c logB n) and space O((n/B) log2 c) pages for the class indexing problem. Using the forest structure of the class hierarchy and techniques from the constraint indexing problem, we improve its query I/O time to O(logB n+t/B+log2 B). © 1996 Academic Press, Inc.

Cite

CITATION STYLE

APA

Kanellakis, P., Ramaswamy, S., Vengroff, D. E., & Vitter, J. S. (1996). Indexing for data models with constraints and classes. Journal of Computer and System Sciences, 52(3), 589–612. https://doi.org/10.1006/jcss.1996.0043

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free