کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
396614 670417 2007 19 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Holistic Join for Generalized Tree Patterns
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر هوش مصنوعی
پیش نمایش صفحه اول مقاله
Holistic Join for Generalized Tree Patterns
چکیده انگلیسی

We consider the problem of evaluating an XQuery query Q (involving only child and descendant axes) on an XML document D. D is stored on a disk and is read from there, in document order. Chen et al. [From Tree Patterns to Generalized Tree Patterns: on efficient evaluation of XQuery, Proceedings of International Conference on Very Large Data Bases (VLDB), 2003, pp. 237–248] presented an algorithm to convert Q (from a large fragment of XQuery) into a Generalized Tree Pattern  GTP(Q)GTP(Q), and a set J(Q)J(Q) of value join conditions on its vertices. Evaluating Q on D   reduces to finding the matches for GTP(Q)GTP(Q) in D. We present an efficient algorithm for finding these matches  . Excluding the computation of the value joins J(Q)J(Q), our algorithm performs two linear   passes over the data, and runs in O(d|Q|)O(d|Q|) memory space, where d denotes the depth of D  ; runtime and disk I/O are O(|Q∥D|)O(|Q∥D|). If separate input streams of document nodes for the individual vertices in GTP(Q)GTP(Q) are available, our runtime and disk I/O are linear in the input size; this runtime and disk I/O are trivially optimal.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Information Systems - Volume 32, Issue 7, November 2007, Pages 1018–1036
نویسندگان
,