Creating storage for XML schemas with limited numbers of columns per table
Abstract
Techniques are described herein for automatically generating multiple interrelated database tables to store XML data, while ensuring that each such table has no more than the maximum DBMS-allowed number of columns. In response to the registration of an XML schema with a database server, the server determines whether any of the elements specified in the XML schema are complex elements that have more than a threshold number of descendant elements. If a complex element has more than the threshold number of descendant elements, then the server automatically generates one or more separate “out-of-line” database tables for storing at least some of those descendant elements, so that the table created to store the complex element will have no more than the permitted number of columns. Each of the out-of-line database tables is similarly generated so as to have no more than the permitted number of columns.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method comprising: in response to determining that a database table that will be generated to store instances of a particular Extensible Markup Language (XML) element specified in a particular XML schema will have more than a specified maximum number of columns-per-table permitted by a database management system (DBMS), traversing, using postorder traversal, a tree that represents a structure of the particular XML schema; in response to determining, at a particular node of the tree traversed, that a flattened size of an XML element that corresponds to the particular node
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (4)
Non-Patent Literature (1)
- Igor Dayen, "Storing XML in Relational Databases," Jun. 20, 2001, http://www.xml.com/lpt/a/803, printed Oct. 16, 2008, 13 pages.