发明名称 A method of counting unique items in a database system
摘要 A method of counting items in a database system having one or more nodes comprising one or more processors and memory, the memory of the one or more nodes storing one or more programs to be executed by the one or more processors. An M number of items is identified and the unique items of the M number of items are counted by determining a logcount for the unique items of the M number of items which is then stored. To determine a logcount partitioning each of the unique items of the M number of items are first partitioned into a set of N number of parts, wherein each N part includes a subset of the unique items of the M number of items and wherein each subset of unique items is expressed as a bit value. The lowest unset bit in each of the N number of parts for each subset of the M number of items is then found and the lowest bit in N intermediate values for each subset of unique items in the set of N parts is set. By averaging the lowest unset bit values of the N intermediate values for each set of N parts, the averaged value as a log value expressed in powers-of two is determined.
申请公布号 EP2665002(A2) 申请公布日期 2013.11.20
申请号 EP20130180595 申请日期 2010.06.21
申请人 BLEKKO, INC. 发明人 DOLE, BRYN, ROBERT;LINDAHL, GREGORY B.;MARKSON, MICHAEL;PETERS, KEITH;SALIBA, ROBERT, MICHAEL;SKRENTA, RICH;TRUEL, ROBERT N.;SRINIVASAN, KRISHNA
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址