Method for processing a data base
First Claim
1. A method for processing a data base in a computer, which data base comprises a plurality of data tables to be processed, each comprised of a plurality of columns and rows, a plurality of data elements belonging to respective rows of the same column being assigned storage locations within a data storage device whose addresses are not uniformly separated from those for respective data elements in the neighboring rows, the method comprising the steps of:
- generating a command requesting processing of data elements belonging to selected columns within selected tables;
accessing the data elements within the storage device which belong to the selected columns within the selected tables, in response to said command, to fetch and store the accessed data elements so that data elements belonging to each selected columns within each selected table are stored as vector data at locations within said storage device whose addresses are separated by a uniform increment from those for respective rows in the selected table;
storing vector designating data for each vector data including at least the first element address and an address increment for each vector data;
executing a program routine which can perform the processing requested by the command, and which includes vector instructions each designaing at least one vector data to be executed and the kind of processing to be carried out, said program routine being executed in such a manner that elements of vector data designated by a vector instruction are successively accessed, based upon the vector designating data for the designated vector data and are sent from the storage device to a piplelined arithmetic or logical operation unit in order to effect operation thereon successively.
1 Assignment
0 Petitions
Accused Products
Abstract
The data elements for a column of a table are fetched from irregular address locations in memory and stored as vector data with a regular address increment. Vector designating data is also generated which includes at least the first element address of the stored vector data and the increment of the vector. The vector data is processed by a program routine which can perform the processing required by a selected command and which includes vector instructions each designating at least one set of vector data elements to be executed, in such a manner that vector data elements are fetched successively from the data storage device and are supplied successively to a pipelined arithmetic or logical operation unit.
34 Citations
3 Claims
-
1. A method for processing a data base in a computer, which data base comprises a plurality of data tables to be processed, each comprised of a plurality of columns and rows, a plurality of data elements belonging to respective rows of the same column being assigned storage locations within a data storage device whose addresses are not uniformly separated from those for respective data elements in the neighboring rows, the method comprising the steps of:
-
generating a command requesting processing of data elements belonging to selected columns within selected tables; accessing the data elements within the storage device which belong to the selected columns within the selected tables, in response to said command, to fetch and store the accessed data elements so that data elements belonging to each selected columns within each selected table are stored as vector data at locations within said storage device whose addresses are separated by a uniform increment from those for respective rows in the selected table; storing vector designating data for each vector data including at least the first element address and an address increment for each vector data; executing a program routine which can perform the processing requested by the command, and which includes vector instructions each designaing at least one vector data to be executed and the kind of processing to be carried out, said program routine being executed in such a manner that elements of vector data designated by a vector instruction are successively accessed, based upon the vector designating data for the designated vector data and are sent from the storage device to a piplelined arithmetic or logical operation unit in order to effect operation thereon successively. - View Dependent Claims (2, 3)
-
Specification