System and method for using a compressed trie to estimate like predicates
Abstract
A compressed trie has nodes including multiple character sub-strings. Such multiple character storage reduces the number of nodes in the trie, thereby reducing the amount of memory required for storing the trie and reducing the amount of time required to perform matching. Furthermore, in such a compressed trie, sub-strings are stored in a single character string. Each node references its corresponding sub-string by the sub-string's starting position and length in the character string. Multiple nodes may reference a single sub-string. Thus, referencing rather than storing sub-strings in corresponding nodes eliminates repetitive sub-string storage, thereby reducing the amount of memory required for storing the trie.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of using a compressed trie to estimate a number of rows in a data table that match a like predicate, the method comprising: for each child node of a root node of the trie, examining the child by: removing a longest matching prefix of the like predicate and the child from the like predicate and the child; determining if the remaining child has a length of zero; matching based on the like predicate when the remaining child has length of zero; and matching based on the like predicate and the child when the remaining child does not have a length of zero; and transforming a value represent
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 9,158,758 B2 | Retrieval of prefix completions by way of walking nodes of a trie data structure | 2015 | 1 |
References Cited — Backward Prior Art (8)
Non-Patent Literature (5)
- Al-Suwaiyel, M. et al., "Algorithms for Trie Compaction", ACM Transactions on Database Systems, Jun. 1984, 9(2), 243-263.
- Comer, D. et al., "The Complexity of Trie Index Construction", Journal of the Association for Computing Machinery, Jul. 1977, 24(3), 428-440.
- Comer, D., "Analysis of a Heuristic for Full Trie Minimization", ACM Transactions on Database Systems, Sep. 1981, 6(3), 513-537.
- Comer, D., "Heuristics for Trie Index Minimization", ACM Transactions on Database Systems, Sep. 1979, 4(3), 383-395.
- Heinz, S. et al., "Burst Tries: A Fast, Efficient Data Structure for String Keys", ACm Transactions on Information Systems, Apr. 2002, 20(2), 192-223.