Efficient Label Encoding for Range-Based Dynamic XML Labeling Schemes

  • Liang Xu
  • Tok Wang Ling
  • Zhifeng Bao
  • Huayu Wu
Part of the Lecture Notes in Computer Science book series (LNCS, volume 5981)

Abstract

Designing dynamic labeling schemes to support order- sensitive queries for XML documents has been recognized as an important research problem. In this work, we consider the problem of making range-based XML labeling schemes dynamic through the process of encoding. We point out the problems of existing encoding algorithms which include computational and memory inefficiencies. We introduce a novel Search Tree-based (ST) encoding technique to overcome these problems. We show that ST encoding is widely applicable to different dynamic labels and prove the optimality of our results. In addition, when combining with encoding table compression, ST encoding provides high flexibility of memory usage. Experimental results confirm the benefits of our encoding techniques over the previous encoding algorithms.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Amagasa, T., Yoshikawa, M., Uemura, S.: QRS: A Robust Numbering Scheme for XML Documents. In: ICDE (2003)Google Scholar
  2. 2.
    Cohen, E., Kaplan, H., Milo, T.: Labeling Dynamic XML Trees. In: SPDS (2002)Google Scholar
  3. 3.
    Li, C., Ling, T.W.: QED: A Novel Quaternary Encoding to Completely Avoid Re-labeling in XML Updates. In: CIKM (2005)Google Scholar
  4. 4.
    Li, C., Ling, T.W., Hu, M.: Efficient Processing of Updates in Dynamic XML Data. In: ICDE (2006)Google Scholar
  5. 5.
    Li, C., Ling, T.W., Hu, M.: Efficient Updates in Dynamic XML Data: from Binary String to Quaternary String. In: VLDB J. (2008)Google Scholar
  6. 6.
    Zhang, C., Naughton, J.F., DeWitt, D.J., Luo, Q., Lohman, G.M.: On Supporting Containment Queries in Relational Database Management Systems. In: SIGMOD (2001)Google Scholar
  7. 7.
    Tatarinov, I., Viglas, S., Beyer, K.S., Shanmugasundaram, J., Shekita, E.J., Zhang, C.: Storing and Querying Ordered XML Using a Relational Database System. In: SIGMOD (2002)Google Scholar
  8. 8.
    Xu, L., Bao, Z., Ling, T.W.: A Dynamic Labeling Scheme Using Vectors. In: Wagner, R., Revell, N., Pernul, G. (eds.) DEXA 2007. LNCS, vol. 4653, pp. 130–140. Springer, Heidelberg (2007)CrossRefGoogle Scholar
  9. 9.
    Xu, L., Ling, T.W., Wu, H., Bao, Z.: DDE: from dewey to a fully dynamic XML labeling scheme. In: SIGMOD (2009)Google Scholar
  10. 10.
    Xu, L., Ling, T.W., Bao, Z.: Efficient Label Encoding for Range-based Dynamic XML Labeling Schemes (Extended), www.comp.nus.edu.sg/~xuliang/encodingextend.pdf
  11. 11.
    Dietz, P.F.: Maintaining order in a linked list. In: Annual ACM Symposium on Theory of Computing (1982)Google Scholar
  12. 12.
    Li, Q., Moon, B.: Indexing and Querying XML Data for Regular Path Expressions. In: VLDB (2001)Google Scholar
  13. 13.
    Abiteboul, S., Alstrup, S., Kaplan, H., Milo, T., Rauhe, T.: Compact Labeling Scheme for Ancestor Queries. SIAM J. Comput. (2006)Google Scholar
  14. 14.
    O’Neil, P., O’Neil, E., Pal, S., Cseri, I., Schaller, G., Westbury, N.: ORDPATHs: Insert-friendly XML Node Labels. In: SIGMOD (2004)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2010

Authors and Affiliations

  • Liang Xu
    • 1
  • Tok Wang Ling
    • 1
  • Zhifeng Bao
    • 1
  • Huayu Wu
    • 1
  1. 1.School of ComputingNational University of Singapore 

Personalised recommendations