摘要 |
The data processing device of the present invention comprises: a partition means which horizontally partitions, into a plurality of blocks, records contained in table data, where horizontal partitioning refers to partitioning in which records serve as units; a statistical value calculation means that calculates a statistical value of an attribute contained in the records for a block; a determination means which, when processing a query for performing an aggregation process after a record selection process with respect to the table data, determines, for each block, on the basis of the statistical value, whether or not all the records in the block are selected on the basis of the selection process; and a query execution means which, for blocks that the determination means has determined to be blocks in which all the records are selected, returns the statistical value for the determined blocks as the result of the query made with respect to the determined blocks. |