Partitioned database system
First Claim
1. A partitioned database system, comprising:
- a plurality of storage facilities, each storage facility including data representing a plurality of table rows;
wherein table rows in each storage facility that correspond to a specific table are logically ordered according to a row identifier (row ID);
the row ID comprises a first value based on one or more columns of the table and a second value based on one or more columns of the table; and
the first value of the row ID is predominate in determining the order of the rows in the storage facilities and the second value determines the order of those rows with identical first values.
2 Assignments
0 Petitions
Accused Products
Abstract
Implementations of a partitioned database system and a method of using a database system are disclosed. One system implementation includes storage facilities. Each storage facility includes data from database table rows. The database table rows in each storage facility that correspond to a specific database table are logically ordered according to a row identifier (row ID). The row ID includes a first value that is based on one or more columns of the table. The row ID also includes a second value that is based on one or more columns of the table, which may be different from or the same as those on which the first value is based. The first value of the row ID is predominate in determining the order of the rows in the storage facilities. The second value determines the order of those rows with identical first values.
-
Citations
37 Claims
-
1. A partitioned database system, comprising:
-
a plurality of storage facilities, each storage facility including data representing a plurality of table rows;
wherein table rows in each storage facility that correspond to a specific table are logically ordered according to a row identifier (row ID);
the row ID comprises a first value based on one or more columns of the table and a second value based on one or more columns of the table; and
the first value of the row ID is predominate in determining the order of the rows in the storage facilities and the second value determines the order of those rows with identical first values. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method for building a partitioned database system, comprising the steps of:
-
defining columns in a table;
selecting a first group of one or more columns;
selecting a first function based on values in each column of the first group of columns;
selecting a second group of one or more columns;
selecting a second function based on values in each column of the second group of columns;
creating rows of the table;
storing rows of the table in a storage facility in a logical order corresponding to the result of the first function for each row; and
if more than one row of the table has an identical result of the first function, storing those rows in a logical order corresponding to the result of the second function. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23)
-
-
24. A computer program, stored in a tangible medium, for building a partitioned database system the program comprising executable instructions that cause a computer to:
-
store column definitions for a table;
store a first function based on values of a first group of one or more columns;
store a second function based on values of a second group of one or more columns;
receive data for rows of the table;
store rows of the table in a storage facility in a logical order corresponding to the result of the first function for each row; and
if more than one row of the table has an identical result of the first function, store those rows in a logical order corresponding to the result of the second function. - View Dependent Claims (25, 26, 27, 28, 29, 30)
-
-
31. A method for storing a row identification (row ID) in a data row structure comprising the steps of:
-
setting a state of at least one bit in a header of a data row based on whether the row is part of a partitioned or unpartitioned table;
including in the header a first portion of the row ID;
if the state of the at least one bit indicates a partitioned table, including a second portion of the row ID in a body of the data row; and
if the state of the at least one bit indicates a nonpartitioned table, specifying a second portion of the row ID that is assumed for the data row. - View Dependent Claims (32, 33, 34, 35, 36, 37)
-
Specification