Columnar data storage on tape partition
First Claim
1. A computer program product for writing data from a table to a tape, the computer program product comprising:
- a computer readable non-transitory article of manufacture tangibly embodying computer readable instructions which, when executed, cause a computer to carry out a method comprising;
setting a number of partitions on the tape, wherein the number of partitions is greater than or equal to a number of columns of the table to be written to the tape; and
writing data from each column of the table to at least one partition of the tape, the at least one partition comprising two or more wraps, the data is written from a top of the two or more wraps towards a bottom of the two or more wraps in a direction of a width of the at least one partition,wherein the written data is reciprocated from a beginning of the tape to an end of the tape in a longitudinal direction of the tape such that writing of a last data entry of one column ends at a beginning of a 2nth wrap of the two or more wraps.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for writing data from a table to a tape includes setting a number of partitions on the tape, where the number of partitions is greater than or equal to a number of columns of the table to be written to the tape, and writing data from each column of the table to at least one partition of the tape, the at least one partition including two or more wraps, the data is written from a top of the two or more wraps towards a bottom of the two or more wraps in a direction of a width of the at least one partition. The written data is reciprocated from a beginning of the tape to an end of the tape in a longitudinal direction of the tape such that writing of a last data entry of one column ends at a beginning of the two or more wraps.
-
Citations
9 Claims
-
1. A computer program product for writing data from a table to a tape, the computer program product comprising:
-
a computer readable non-transitory article of manufacture tangibly embodying computer readable instructions which, when executed, cause a computer to carry out a method comprising; setting a number of partitions on the tape, wherein the number of partitions is greater than or equal to a number of columns of the table to be written to the tape; and writing data from each column of the table to at least one partition of the tape, the at least one partition comprising two or more wraps, the data is written from a top of the two or more wraps towards a bottom of the two or more wraps in a direction of a width of the at least one partition, wherein the written data is reciprocated from a beginning of the tape to an end of the tape in a longitudinal direction of the tape such that writing of a last data entry of one column ends at a beginning of a 2nth wrap of the two or more wraps. - View Dependent Claims (2, 3, 4)
-
-
5. A computer program product for setting partitions on a tape, the computer program product comprising:
-
a computer readable non-transitory article of manufacture tangibly embodying computer readable instructions which, when executed, cause a computer to carry out a method comprising; obtaining a data size S1 of a column to be written to the tape; and dividing the data size S1 of the column by a data size S2 of a wrap of the tape to obtain a quotient N, wherein a result of the quotient N is rounded down using a ROUNDDOWN function. - View Dependent Claims (6, 7, 8, 9)
-
Specification