发明名称 |
Statistics collection using path-value pairs for relational databases |
摘要 |
A method for collecting statistics associated with data in a database are disclosed. The method comprises determining an amount of memory needed to collect statistics for data associated with a defined data type in a relational database. The defined data type is based upon a mark-up language using a tree structure with one or more root-to-node paths therein. The amount of memory is allocated as determined for collecting the statistics for the data of the defined data type. A statistics collection is performed for the data of the defined data type in a single pass through the database and within the amount of memory which has been allocated. The performing includes at least determining a total number of instances of at least one path-identifier associated with a given value within a given set of documents.
|
申请公布号 |
US7472108(B2) |
申请公布日期 |
2008.12.30 |
申请号 |
US20060435353 |
申请日期 |
2006.05.16 |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
LIM LIPYEOW;MIHAILA GEORGE ANDREI;WANG MIN |
分类号 |
G06F17/30;G06F12/00 |
主分类号 |
G06F17/30 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|