Integrating tablespaces with different block sizes
First Claim
Patent Images
1. A method for database systems to access data from other database systems, the method comprising the steps of:
- a first database system directly storing first database records in first data blocks having a first data block size;
concurrently with said first database system directly storing first database records in first data blocks having a first data block size, said first database system directly accessing a copy of second data blocks in which a second database system directly stored second database records;
said second data blocks having at least one data block with a second data block size different than said first data block size;
wherein each block of said first data blocks and of said second data blocks is an atomic unit of storage space allocated within a file to store one or more records of a database;
the first database system generating metadata that specifies a plurality of block sizes for data blocks directly accessible to said first database system;
wherein said metadata defines tablespaces and specifies for each tablespace of said tablespaces a particular data block size for data blocks in said tablespace;
integrating said copy of said second data blocks within said first data base system as at least one tablespace that includes said copy of said second data blocks; and
wherein the step of integrating includes modifying said metadata to reflect said second data block size for said at least one tablespace.
2 Assignments
0 Petitions
Accused Products
Abstract
Provided herein is a mechanism that allows a given database system to access data blocks from another database system, where data blocks from the given database system and data blocks from the other database system have different sizes. According to an aspect of the present invention, a tablespace in the other database system contained the data blocks. The tablespace is detached from the other database system and integrated into the given database, which is capable of processing data stored in data blocks of a different sizes.
-
Citations
16 Claims
-
1. A method for database systems to access data from other database systems, the method comprising the steps of:
-
a first database system directly storing first database records in first data blocks having a first data block size; concurrently with said first database system directly storing first database records in first data blocks having a first data block size, said first database system directly accessing a copy of second data blocks in which a second database system directly stored second database records; said second data blocks having at least one data block with a second data block size different than said first data block size; wherein each block of said first data blocks and of said second data blocks is an atomic unit of storage space allocated within a file to store one or more records of a database; the first database system generating metadata that specifies a plurality of block sizes for data blocks directly accessible to said first database system; wherein said metadata defines tablespaces and specifies for each tablespace of said tablespaces a particular data block size for data blocks in said tablespace; integrating said copy of said second data blocks within said first data base system as at least one tablespace that includes said copy of said second data blocks; and wherein the step of integrating includes modifying said metadata to reflect said second data block size for said at least one tablespace. - View Dependent Claims (2, 3, 4, 5, 6, 7, 15)
-
-
8. A computer-readable medium carrying one or more sequences of instructions for database systems to access data from other database systems, wherein execution of the one or more sequences of instructions by one or more processors causes the one or more processors to perform the steps of:
-
a first database system directly storing first database records in first data blocks having a first data block size; concurrently with said first database system directly storing first database records in first data blocks having a first data block size, said first database system directly accessing a copy of second data blocks in which a second database system directly stored second database records; said second data blocks having at least one data block with a second data block size different than said first data block size; wherein each block of said first data blocks and of said second data blocks is an atomic unit of storage space allocated within a file to store one or more records of a database; the first database system generating metadata that specifies a plurality of block sizes for data blocks directly accessible to said first database system; wherein said metadata defines tablespaces and specifies for each tablespace of said tablespaces a particular data block size for data blocks in said tablespace; integrating said copy of said second data blocks within said first database system as at least one tablespace that includes said copy of said second data blocks; and wherein the step of integrating includes modifying said metadata to reflect said second data block size for said at least one tablespace. - View Dependent Claims (9, 10, 11, 12, 13, 14, 16)
-
Specification