发明名称 Performing cross-tabulation using a columnar database management system
摘要 Cross tabulation operation is performed within a columnar database management system. The columnar database management system receives a request to perform a cross-tabulation operation on a set of database tables. The columnar database management system determines values of cross tabulation operation for each row of the result. The columnar database management system determines a domain for each value of the row dimension corresponding to a row combination. The columnar database management system determines an intersection set of the domains corresponding to values of the row dimensions for the row combination. The columnar database management system determines a value for the result column for the row combination as an aggregate value based on the records of the intersection set.
申请公布号 US9600539(B2) 申请公布日期 2017.03.21
申请号 US201414307711 申请日期 2014.06.18
申请人 Actuate Corporation 发明人 Martín Carles Bayés;Poyatos Jesús Malo;Sierra Marc Rodríguez;Pérez Alejandro Sualdea
分类号 G06F17/30 主分类号 G06F17/30
代理机构 Sprinkle IP Law Group 代理人 Sprinkle IP Law Group
主权项 1. A computer-implemented method for performing cross tabulation operations in a columnar database, comprising: receiving, by a columnar database management system, a request to perform a cross-tabulation operation on database tables, the request specifying the database tables as input tables and one or more row dimensions for a result table, the one or more row dimensions representing columns of the database tables, wherein the database tables are stored in a columnar format; performing, by the columnar database management system, the cross-tabulation operation on the input tables, the cross-tabulation operation comprising a horizontal collapse process and a vertical collapse process, the horizontal collapse process comprising: determining domains corresponding to the one or more row dimensions for the result table, each domain comprising a set of records of a first input table of the input tables that match a value in a column of the first input table represented by a row dimension of the one or more row dimensions for the result table; anddetermining an intersection set of domains corresponding to the first input table;the vertical collapse process comprising: moving the domains corresponding to the one or more row dimensions for the result table towards a cross-tabulation resolution level, the moving comprising mapping sets of records in the intersection set of domains to records of a second input table of the input tables; generating the result table, the generating performed by the columnar database management system, the result table comprising rows, each row of the result table having a combination of values of the one or more row dimensions and defining a record resulting from the cross-tabulation operation, result table further comprising a column for storing an aggregate value corresponding to the record resulting from the cross-tabulation operation; and storing the result table of the cross tabulation operation.
地址 San Mateo CA US