• DocumentCode
    3325105
  • Title

    Grouping and Optimization of XPath Expressions in System RX

  • Author

    Balmin, Andrey ; Ozcan, Fatma ; Singh, Ashutosh ; Ting, Edison

  • Author_Institution
    Almaden Res. Center, IBM, San Jose, CA
  • fYear
    2008
  • fDate
    7-12 April 2008
  • Firstpage
    1507
  • Lastpage
    1509
  • Abstract
    Several XML DBMS support XQuery and/or SQL/XML languages, which are based on navigational primitives in the form of XPath expressions. Typically, these systems either model each XPath step as a separate query plan operator, or employ holistic approaches that can evaluate multiple steps of a single XPath expression. There have also been proposals to execute as many XPath expressions as possible within a single FLWOR block simultaneously in a data streaming context. We observe in our System-RX prototype that blindly combining all possible XPath expressions for concurrent execution can result in significant performance degradation. We identify two main problems. First, the simple strategy of grouping all XPath expressions on a single document does not always work if the query involves more than one data source or has nested query blocks. Second, merging XPath expressions may result in unnecessary execution of branches that can be filtered by predicates in other branches or elsewhere in the query. To rectify these problems, we develop a combination of heuristic- based rewrite transformations, to decide which XPath expressions should be grouped for concurrent evaluation, and cost-based optimization to globally order the groups within the query execution plan, and locally order the branches within individual groups. Experimental evaluation confirms that selectively grouping multiple XPath expressions allows for better query evaluation performance and reduces the query optimization complexity.
  • Keywords
    SQL; XML; query processing; relational databases; SQL; XML DBMS support; XPath expression; cost-based optimization; data streaming; heuristic-based rewrite transformation; query execution plan; query optimization complexity; system-RX prototype; Database systems; Degradation; Engines; Merging; Navigation; Proposals; Prototypes; Query processing; Silicon; XML;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Data Engineering, 2008. ICDE 2008. IEEE 24th International Conference on
  • Conference_Location
    Cancun
  • Print_ISBN
    978-1-4244-1836-7
  • Electronic_ISBN
    978-1-4244-1837-4
  • Type

    conf

  • DOI
    10.1109/ICDE.2008.4497605
  • Filename
    4497605