METHOD AND SYSTEM FOR PERFORMING A SCAN OPERATION ON A TABLE OF A COLUMN-ORIENTED DATABASE
First Claim
1. A method for performing a scan operation on a table of a column-oriented database, the table including rows and columns, the method comprising:
- receiving a database query that references a particular column in the table, the particular column being horizontally partitioned into at least one extent, the at least one extent including at least one data block;
consulting, for each extent in the particular column for which associated metadata is available, the metadata associated with that extent to determine whether that extent is required to process the scan operation;
acquiring, for each extent in the particular column for which associated metadata is not available, metadata associated with that extent and using the acquired metadata associated with that extent to determine whether that extent is required to process the scan operation; and
performing the scan operation on only those extents in the particular column determined to be required to process the scan operation.
3 Assignments
0 Petitions
Accused Products
Abstract
A method and system for performing a scan operation on a table of a column-oriented database is described. One embodiment receives a database query that references a particular column in a table, the particular column being horizontally partitioned into at least one extent, the at least one extent including at least one data block; consults, for each extent in the particular column for which associated metadata is available, the metadata associated with that extent to determine whether that extent is required to process the scan operation; acquires, for each extent in the particular column for which associated metadata is not available, metadata associated with that extent and uses the acquired metadata associated with that extent to determine whether that extent is required to process the scan operation; and performs the scan operation on only those extents in the particular column determined to be required to process the scan operation.
106 Citations
14 Claims
-
1. A method for performing a scan operation on a table of a column-oriented database, the table including rows and columns, the method comprising:
-
receiving a database query that references a particular column in the table, the particular column being horizontally partitioned into at least one extent, the at least one extent including at least one data block; consulting, for each extent in the particular column for which associated metadata is available, the metadata associated with that extent to determine whether that extent is required to process the scan operation; acquiring, for each extent in the particular column for which associated metadata is not available, metadata associated with that extent and using the acquired metadata associated with that extent to determine whether that extent is required to process the scan operation; and performing the scan operation on only those extents in the particular column determined to be required to process the scan operation. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A database query processing system, comprising:
-
a director module configured to receive a database query that references a particular column in a table of a column-oriented database, the particular column being horizontally partitioned into at least one extent, the at least one extent including at least one data block; a user module configured to; consult, for each extent in the particular column for which associated metadata is available, the metadata associated with that extent to determine whether that extent is required to process the scan operation; and acquire, for each extent in the particular column for which associated metadata is not available, metadata associated with that extent and to use the acquired metadata associated with that extent to determine whether that extent is required to process the scan operation; and at least one performance module configured to perform the scan operation on only those extents in the particular column determined to be required to process the scan operation. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
Specification