JPH04271472A - System for processing data base - Google Patents
System for processing data baseInfo
- Publication number
- JPH04271472A JPH04271472A JP3031218A JP3121891A JPH04271472A JP H04271472 A JPH04271472 A JP H04271472A JP 3031218 A JP3031218 A JP 3031218A JP 3121891 A JP3121891 A JP 3121891A JP H04271472 A JPH04271472 A JP H04271472A
- Authority
- JP
- Japan
- Prior art keywords
- data
- database processing
- task control
- input
- control table
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明はディスク装置と上位装置
との間のデータ転送を制御するディスク制御装置に係り
、特にディスク装置に格納されているデータの中から、
上位装置が要求するレコードを選択するデータベース処
理中に、ディスク装置に対する他のアクセスの待ち時間
を短縮させるデータベース処理方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a disk control device for controlling data transfer between a disk device and a host device, and in particular, to
The present invention relates to a database processing method for reducing the waiting time for other accesses to a disk device during database processing for selecting records requested by a host device.
【0002】近年、計算機システムの効率化のため、デ
ィスク装置に格納されている処理対象データの中、中央
処理装置が必要とするレコードのみをディスク制御装置
において選択し、チャネル等の上位装置に転送すること
を可能とするデータベースアシスト(Data Bas
e Assist)(以後DBAと略す)の要求が高ま
っている。[0002] In recent years, in order to improve the efficiency of computer systems, only records needed by the central processing unit are selected in the disk control unit from among the data to be processed stored in the disk unit, and transferred to a higher-level unit such as a channel. Database Assist (Data Bass)
Demand for e-assistants (hereinafter abbreviated as DBAs) is increasing.
【0003】一般にディスク装置にはページ単位でデー
タが格納されており、1ページのデータは複数のレコー
ドで構成され、一つのレコードは複数のカラムで構成さ
れている。[0003] Generally, data is stored in a disk device in units of pages, one page of data is made up of a plurality of records, and one record is made up of a plurality of columns.
【0004】そして、例えば、各レコードが氏名と年令
と住所という複数のカラムで構成されており、或る年令
層のレコードを抽出して処理するような場合、ディスク
制御装置で、この年令層のカラムを照合し、中央処理装
置が必要とする年令層のレコードのみ抽出して転送すれ
ば、上位装置は不要なレコードの転送を受領する必要が
無く、データ転送時間が短縮されると共に、レコードを
選択する時間が節減されるため、計算機システムの処理
効率が向上する。[0004] For example, if each record is made up of multiple columns such as name, age, and address, and a record of a certain age group is to be extracted and processed, the disk control device If the age group column is collated and the central processing unit extracts and transfers only the records of the required age group, the higher-level device does not need to receive transfers of unnecessary records, reducing data transfer time. At the same time, the processing efficiency of the computer system is improved because the time for selecting records is saved.
【0005】しかし、DBAを備えたディスク制御装置
で、このようなデータベース処理を行う場合、DBAが
メモリにディスク装置から大量のデータを転送させて、
処理するために、長時間ディスク装置が占有されるが、
この間、ディスク装置に対する他のアクセスが待たされ
ることのないようにする必要がある。However, when performing such database processing on a disk control device equipped with a DBA, the DBA transfers a large amount of data from the disk device to the memory.
Although the disk device is occupied for a long time for processing,
During this time, it is necessary to ensure that other accesses to the disk device are not made to wait.
【0006】[0006]
【従来の技術】図6は従来技術の一例を説明するブロッ
ク図で、図7は各機能単位の詳細ブロック図である。2. Description of the Related Art FIG. 6 is a block diagram illustrating an example of the prior art, and FIG. 7 is a detailed block diagram of each functional unit.
【0007】ディスク制御装置3は、複数の機能単位で
構成されており、チャネルアダプタ5と6は、図7(A
) に示す如き構成で、プロセッサ15は制御記憶16
に格納されたプログラムを読出して動作し、インタフェ
ース回路13を経て、チャネル1又は2からのスタート
I/O命令の受領と、チャネル1又は2との間のデータ
転送を行うと共に、共通バス制御回路14を制御して、
共通バス12を経て他の機能単位との間のデータ転送を
行う。The disk control device 3 is composed of a plurality of functional units, and the channel adapters 5 and 6 are connected to each other as shown in FIG.
), the processor 15 has a control memory 16
reads the program stored in the , and receives the start I/O command from channel 1 or 2 through the interface circuit 13 and transfers data to and from channel 1 or 2, as well as the common bus control circuit. 14 by controlling
Data is transferred to and from other functional units via the common bus 12.
【0008】デバイスアダプタ7と8は、図7(A)
に示す如き構成で、プロセッサ15は制御記憶16に格
納されたプログラムを読出して動作し、インタフェース
回路13を経て、ディスク装置4に命令を送出し、ディ
スク装置4との間のデータ転送を行うと共に、共通バス
制御回路14を制御して、共通バス12を経て他の機能
単位との間のデータ転送を行う。Device adapters 7 and 8 are shown in FIG. 7(A).
With the configuration shown in FIG. 1, the processor 15 reads a program stored in the control memory 16 and operates, sends commands to the disk device 4 via the interface circuit 13, and transfers data to and from the disk device 4. , controls the common bus control circuit 14 to transfer data to and from other functional units via the common bus 12.
【0009】DBA9は、図7(B) に示す如き構成
で、プロセッサ19は制御記憶20に格納されているプ
ログラムを読出して動作し、共通バス制御回路21を制
御して、共通バス12を経由し、チャネルアダプタ5又
は6を経てチャネル1又は2から指定されたディスク装
置4のアドレスの範囲のデータを共有メモリ11に読出
す指示をデバイスアダプタ7又は8に送出する。The DBA 9 has a configuration as shown in FIG. Then, an instruction is sent to the device adapter 7 or 8 from the channel 1 or 2 via the channel adapter 5 or 6 to read data in the specified address range of the disk device 4 to the shared memory 11 .
【0010】そして、共有メモリ11にデータが格納さ
れると、このデータを共通バス制御回路21を経て読取
らせ、RAM17に格納し、比較回路18にチャネル1
又は2から指定されたカラムと同一カラムを持つレコー
ドの選択を指示し、比較回路18は、RAM17からデ
ータをレコード毎に読出して、指定されたカラムの一致
するレコードを選択するとRAM17に格納する。When data is stored in the shared memory 11, the data is read out via the common bus control circuit 21, stored in the RAM 17, and sent to the comparison circuit 18 for channel 1.
or 2 instructs to select a record having the same column as the designated column, and the comparison circuit 18 reads data from the RAM 17 record by record, and stores the selected record in the RAM 17 when it selects a record that has the same column as the designated column.
【0011】プロセッサ19は、チャネル1又は2から
指定されたアドレス範囲のデータの選択が完了すると、
RAM17に選択されたレコードを共有メモリ11に格
納する。When the processor 19 completes the selection of data in the specified address range from channel 1 or 2,
The record selected in the RAM 17 is stored in the shared memory 11.
【0012】リソースマネージャ10は、図7(C)
に示す如き構成で、プロセッサ23は制御記憶22に格
納されているプログラムを読出して動作し、共通バス制
御回路24を制御して共通バス12を経由し、チャネル
1又は2からの総てのスタートI/O命令を受領してR
AM25に格納し、このスタートI/O命令を集中管理
すると共に、各スタートI/O命令毎に、チャネルアダ
プタ5,6とデバイスアダプタ7,8にデータ転送処理
の指示を行う。[0012] The resource manager 10 is shown in FIG. 7(C).
With the configuration shown in FIG. 1, the processor 23 reads the program stored in the control memory 22 and operates, controls the common bus control circuit 24, and controls all starts from channel 1 or 2 via the common bus 12. Receive I/O command and R
The start I/O command is stored in the AM 25, and the start I/O command is centrally managed, and data transfer processing instructions are given to the channel adapters 5, 6 and device adapters 7, 8 for each start I/O command.
【0013】又、受領した全スタートI/O命令毎の制
御情報や、チャネル経路毎の制御情報、ディスク装置4
の制御情報をRAM25に格納し、他の機能単位がRA
Mアクセス制御回路26を経て、このRAM25をアク
セスし、上記情報を読出すことを可能として、この情報
を集中管理する。[0013] Furthermore, control information for each received start I/O command, control information for each channel path, and control information for each received start I/O command,
control information is stored in the RAM 25, and other functional units are
This RAM 25 is accessed via the M access control circuit 26, and the above information can be read out, thereby centrally managing this information.
【0014】例えば、チャネル1がチャネルアダプタ5
に対し、スタートI/O命令を送出し、ディスク装置4
のアドレス、即ち、シリンダアドレス、ヘッドアドレス
、レコードアドレスを指定して、データの書込みを指示
すると、チャネルアダプタ5はリソースマネージャ10
に共通バス12の使用を要求し、許可されると、例えば
、デバイスアダプタ7のアドレスを送出して結合する。For example, channel 1 is connected to channel adapter 5.
A start I/O command is sent to the disk device 4.
When the channel adapter 5 specifies the address of the resource manager 10, that is, the cylinder address, head address, and record address, and instructs to write data, the channel adapter 5
If permission is granted, the address of the device adapter 7 is sent, for example, and the connection is made.
【0015】そして、この結合が完了すると、チャネル
アダプタ5はチャネル1からデータを送出させ、共有メ
モリ11にデータを格納する。デバイスアダプタ7は、
共有メモリ11に格納されたデータを読出して、ディス
ク装置4に送出し、指定されたアドレスに書込ませる。When this connection is completed, the channel adapter 5 sends data from the channel 1 and stores the data in the shared memory 11. The device adapter 7 is
The data stored in the shared memory 11 is read out, sent to the disk device 4, and written to a designated address.
【0016】又、チャネル1からデータの読出しを指示
されると、チャネルアダプタ5は結合したデバイスアダ
プタ7に、ディスク装置4の指定されたアドレスからデ
ータを読出させ、共有メモリ11に格納させたデータを
読出し、チャネル1に転送する。When instructed to read data from the channel 1, the channel adapter 5 causes the connected device adapter 7 to read the data from the specified address of the disk device 4, and stores the data stored in the shared memory 11. is read and transferred to channel 1.
【0017】チャネル2からチャネルアダプタ6がデー
タベース処理を指示されると、チャネルアダプタ6は、
リソースマネージャ10に共通バス12の使用を要求し
、許可されると、DBA9のアドレスを送出して結合し
、DBA9に指定されたディスク装置4のアドレス範囲
を通知する。When the channel adapter 6 is instructed to perform database processing from the channel 2, the channel adapter 6
It requests the resource manager 10 to use the common bus 12, and if granted, sends and combines the address of the DBA 9, and notifies the DBA 9 of the specified address range of the disk device 4.
【0018】DBA9は、リソースマネージャ10の許
可を得ると、共通バス12を経てデバイスアダプタ8の
アドレスを送出して結合し、指定されたアドレス範囲の
データをディスク装置4から読出すことを指示する。Upon obtaining permission from the resource manager 10, the DBA 9 sends and combines the addresses of the device adapters 8 via the common bus 12, and instructs to read data in the specified address range from the disk device 4. .
【0019】従って、デバイスアダプタ8はディスク装
置4を占有して、指定されたアドレス範囲内のデータを
読出し、共有メモリ11に格納する。DBA9は、共有
メモリ11にデータが格納され始めると、前記の如く、
このデータを取込み、指定されたカラムと同一カラムを
持つレコードを選択し、指定されたアドレス範囲内のデ
ータから選択したレコードを共有メモリ11に格納する
と、リソースマネージャ10に終了を通知する。Therefore, the device adapter 8 occupies the disk device 4, reads data within the designated address range, and stores it in the shared memory 11. As mentioned above, when data starts to be stored in the shared memory 11, the DBA 9
When this data is fetched, a record having the same column as the designated column is selected, and the record selected from the data within the designated address range is stored in the shared memory 11, the resource manager 10 is notified of the end.
【0020】リソースマネージャ10はチャネルアダプ
タ6がデータベース処理を指示されたことを記憶してお
り、チャネルアダプタ6に指示して、共有メモリ11に
格納されたレコードをチャネル2に送出させる。The resource manager 10 remembers that the channel adapter 6 has been instructed to perform database processing, and instructs the channel adapter 6 to send the record stored in the shared memory 11 to the channel 2.
【0021】[0021]
【発明が解決しようとする課題】図8は従来技術の問題
点を説明する図である。図8のデータベース処理に示す
如く、チャネル2が指定したディスク装置4のアドレス
範囲が大きい場合、デバイスアダプタ8が共通バス12
とディスク装置4を占有して、共有メモリ11にデータ
転送する時間が長くなる。FIG. 8 is a diagram illustrating the problems of the prior art. As shown in the database processing in FIG. 8, if the address range of the disk device 4 specified by channel 2 is large, the device adapter 8
This occupies the disk device 4 and increases the time it takes to transfer data to the shared memory 11.
【0022】従って、このデータベース処理に示す時間
の間は、一般処理の点線に示す如く、チャネル1又は2
が送出する一般の入出力命令は、デバイスアダプタ8が
ディスク装置4を占有しているため、ビジーとなって入
出力命令を送出した時点から長時間待たされることとな
るという問題がある。Therefore, during the time shown in this database processing, channel 1 or 2 is used as shown by the dotted line in the general processing.
Since the device adapter 8 occupies the disk device 4, there is a problem in that the general input/output command sent by the device adapter 8 becomes busy and has to wait for a long time from the time the input/output command is sent.
【0023】本発明は、このような問題点に鑑み、デー
タベース処理を連続して実施するのでは無く、幾つかの
時間帯に分割して実施させ、この分割された時間帯の合
間に一般の入出力命令を割り込ませることを可能として
、一般の入出力命令の待ち時間を少なくすることを目的
としている。In view of these problems, the present invention does not perform database processing continuously, but divides it into several time periods, and performs general operations between the divided time periods. The purpose is to reduce the waiting time for general input/output commands by making it possible to interrupt input/output commands.
【0024】[0024]
【課題を解決するための手段】図1は本発明の原理を説
明するブロック図である。ディスク制御装置3は、上位
装置27とディスク装置4との間のデータ転送を制御す
ると共に、上位装置27が指定するディスク装置4のア
ドレス範囲内のデータから、上位装置27が必要とする
データを抽出して転送するデータベース処理機能30を
備えている。Means for Solving the Problems FIG. 1 is a block diagram illustrating the principle of the present invention. The disk control device 3 controls data transfer between the host device 27 and the disk device 4, and also extracts data required by the host device 27 from data within the address range of the disk device 4 specified by the host device 27. It is equipped with a database processing function 30 that extracts and transfers data.
【0025】又、データベース処理を指示する命令以外
の入出力命令を受信する頻度から、予め定められた分割
量に対応して、データベース処理時にディスク装置4か
ら読出すデータ量を指定するデータ分割テーブル28と
、このデータ分割テーブル28が指定するデータ量を基
準として、予め定められた時間間隔でデータベース処理
の実行を指示する記録を行うと共に、受信された時点で
入出力命令の実行を指示する記録を行うタスク制御テー
ブル29とを設けている。[0025] Also, a data partition table is provided that specifies the amount of data to be read from the disk device 4 during database processing in accordance with a predetermined partition amount based on the frequency of receiving input/output commands other than commands instructing database processing. 28, and a record that instructs execution of database processing at predetermined time intervals based on the amount of data specified by this data division table 28, and a record that instructs execution of an input/output command at the time it is received. A task control table 29 for performing the following is provided.
【0026】そして、上位装置27からデータベース処
理を指示された場合、タスク制御テーブル29に、前記
の予め定められた時間間隔で、データ分割テーブル28
が指定するデータ量の処理命令を順次記録しつつ、デー
タベース処理機能30に指示して、このタスク制御テー
ブル29に記録された順に、順次指定量のデータを処理
させると共に、このデータベース処理中に受信された入
出力命令は、受信された時点でタスク制御テーブル29
に割込んで記録させ、この記録された入出力命令も記録
順に実行させる。When database processing is instructed by the host device 27, the data division table 28 is added to the task control table 29 at the predetermined time interval.
While sequentially recording processing instructions for the amount of data specified by The received input/output command is stored in the task control table 29 at the time it is received.
The recorded input/output instructions are also executed in the recorded order.
【0027】[0027]
【作用】上記の如く構成することにより、ディスク制御
装置3の動作手順を指示するタスク制御テーブル29に
、データ分割テーブル28が指定するデータ量の処理が
所定の時間間隔で順次記録される中に、入出力命令が受
信時点で割り込んで記録されるため、このタスク制御テ
ーブル29に記録された順に、データベース処理と、入
出力命令とが実行されることとなる。[Operation] With the above configuration, the processing of the amount of data specified by the data division table 28 is sequentially recorded at predetermined time intervals in the task control table 29 that instructs the operation procedure of the disk control device 3. , the input/output commands are interrupted and recorded at the time of reception, so the database processing and the input/output commands are executed in the order recorded in the task control table 29.
【0028】従って、入出力命令の実行が待たされる時
間を短縮させることが出来る。[0028] Therefore, the time required for execution of input/output instructions to be waited can be reduced.
【0029】[0029]
【実施例】図2は本発明の一実施例を示す回路のブロッ
ク図で、図3は本発明の機能単位の詳細ブロック図で、
図4はテーブルの一例を説明する図である。[Embodiment] FIG. 2 is a block diagram of a circuit showing an embodiment of the present invention, and FIG. 3 is a detailed block diagram of a functional unit of the present invention.
FIG. 4 is a diagram illustrating an example of a table.
【0030】図6及び図7と同一符号は同一機能のもの
を示す。そして、図2のDBA31は図3(A) に示
す如き構成であり、図2のリソースマネージャ32は図
3(B) に示す如き構成である。The same reference numerals as in FIGS. 6 and 7 indicate the same functions. The DBA 31 in FIG. 2 has a configuration as shown in FIG. 3(A), and the resource manager 32 in FIG. 2 has a configuration as shown in FIG. 3(B).
【0031】DBA31はチャネルアダプタ5又は6か
らディスク装置4のアドレス範囲を指定されて、データ
ベース処理を指示されると、プロセッサ19は制御記憶
33に格納されているデータベース処理を指示する命令
以外の入出力命令を受信する頻度から、予め定められた
条件によって、このアドレス範囲を分割し、データ分割
テーブル28を作成する。When the DBA 31 is instructed to perform database processing by specifying the address range of the disk device 4 from the channel adapter 5 or 6, the processor 19 receives an input other than an instruction for database processing stored in the control memory 33. This address range is divided according to predetermined conditions based on the frequency of receiving output commands, and a data division table 28 is created.
【0032】即ち、この指定されたアドレス範囲が、例
えば、シリンダ番号が16進数で ”0000”〜 ”
0100”であり、ヘッド番号が16進数で ”000
0”〜 ”000E”であり、レコード番号が16進数
で ”01”〜 ”1F”であるとすると、一回のデー
タベース処理範囲を、例えば、5トラック分ずつに分割
し、図4のデータ分割テーブルの■〜■に示す如く、処
理対象範囲を指定するテーブルを作成する。That is, the specified address range is, for example, if the cylinder number is in hexadecimal notation "0000" to "
0100", and the head number is "000" in hexadecimal.
0'' to ``000E'' and the record number is ``01'' to ``1F'' in hexadecimal notation, the range of database processing at one time is divided into, for example, 5 tracks each, and the data division shown in Figure 4 is performed. Create a table that specifies the range to be processed, as shown in tables (■) to (■).
【0033】即ち、■は“0000”番のシリンダで、
“0000”番のヘッドにより、“01”番のレコード
からデータの読出しを開始し、“1F”番のレコードま
で読出したら、順次ヘッドを“0001”番〜“000
4”番まで切替えて、“01”番のレコードから“1F
”番のレコードまでデータを読出して、“0000”番
のシリンダで、“0004”番のヘッドにより、“1F
”番のレコードまで読出したら、読出しを終了すること
を示している。[0033] That is, ■ is the cylinder numbered "0000",
The head numbered "0000" starts reading data from the record numbered "01", and after reading up to the record numbered "1F", the head is sequentially read from the numbered records "0001" to "000".
4” and then switch from record “01” to “1F”.
The data is read up to the record numbered “0000” and the head numbered “0004” is used to read the data to “1F”.
” indicates that reading ends when the record numbered is read.
【0034】そして、テーブルの最終行は“0100”
番のシリンダで、“000A”番のヘッドにより、 ”
01”番のレコードからデータを読出し、“0100”
番のシリンダで、“000E”番のヘッドにより、 ”
1F”番のレコードまで読出したら、ディスク装置4か
らのデータ読出しが完了であることを示している。[0034] And the last row of the table is "0100"
With the cylinder numbered “000A” and the head numbered “000A”,
Read data from record number 01” and set it to “0100”
With cylinder No. 000E and head No. 000E,
When the record number 1F'' has been read, this indicates that data reading from the disk device 4 is complete.
【0035】プロセッサ19は、データ分割テーブル2
8を作成すると、制御記憶33に格納されているデータ
ベース処理を指示する命令以外の入出力命令を受信する
頻度から、予め定められた時間間隔によって、リソース
マネージャ32に、■から順次■,■と分割された処理
対象範囲を通知する。[0035] The processor 19 uses the data partition table 2
8 is created, the resource manager 32 is sent sequentially from Notify the divided processing range.
【0036】リソースマネージャ32のプロセッサ23
は、この処理対象範囲に基づき、RAM34にタスク制
御テーブル29を作成する。即ち、図4のタスク制御テ
ーブルに示す如く、タスク制御ブロックを示すTCB1
〜TCBnを順次作成する。Processor 23 of resource manager 32
creates a task control table 29 in the RAM 34 based on this processing target range. That is, as shown in the task control table of FIG. 4, TCB1 indicating the task control block
-Create TCBn sequentially.
【0037】即ち、DBA31が所定の時間間隔で送出
する処理対象範囲に基づく処理の実行を指示すると共に
、入出力命令がチャネルアダプタ5又は6から送出され
ると、この入出力命令を受信した時点で、この入出力命
令の実行を指示するタスク制御テーブルを作成する。That is, when the DBA 31 instructs execution of processing based on the processing target range sent out at predetermined time intervals and an input/output command is sent out from the channel adapter 5 or 6, the time when this input/output command is received. Then, create a task control table that instructs the execution of this input/output command.
【0038】従って、例えば、図示する如く、TCB(
1) は「■の指定するアドレス範囲のステージングを
実行せよ」となり、TCB(2) は「■の指定するア
ドレス範囲のステージングを実行せよ」となり、TCB
(3)は「入出力命令を実行せよ」となり、TCB(4
) は「■の指定するアドレス範囲のステージングを実
行せよ」となる。Therefore, for example, as shown in the figure, TCB (
1) becomes "Execute staging of the address range specified by ■", TCB (2) becomes "Execute staging of the address range specified by ■", and TCB
(3) becomes "Execute the input/output command", and TCB (4
) becomes "Execute staging of the address range specified by ■."
【0039】プロセッサ23はタスク制御テーブル29
を順次作成すると共に、このタスク制御テーブル29の
TCB(1) から順次指示された内容を、各機能単位
に実行させる。The processor 23 uses the task control table 29
are created sequentially, and the contents sequentially instructed from TCB (1) of this task control table 29 are executed in each functional unit.
【0040】即ち、TCB(1),(2) 及び(4)
は、例えば、デバイスアダプタ8に実行させ、TCB
(3) はチャネルアダプタ5とデバイスアダプタ7に
実行させる。図5は図2の動作を説明する図である。That is, TCB (1), (2) and (4)
For example, if the device adapter 8 executes the TCB
(3) is executed by the channel adapter 5 and device adapter 7. FIG. 5 is a diagram illustrating the operation of FIG. 2.
【0041】図5のデータベース処理に示す如く、デバ
イスアダプタ8がTCB(1),(2) 及び(4)
等を夫々実行するために、共通バス12とディスク装置
4を占有して、共有メモリ11にデータ転送する時間は
短く、TCB(2) の処理完了後TCB(4) を実
行する間に、一般処理に示す如く、入出力命令を実行す
ることが出来る。As shown in the database processing in FIG. 5, the device adapter 8 connects TCBs (1), (2) and (4).
etc., the time required to occupy the common bus 12 and the disk device 4 and transfer data to the shared memory 11 is short, and after the completion of processing TCB (2), while executing TCB (4), the general As shown in the process, input/output commands can be executed.
【0042】従って、一般処理の待たされる時間を短縮
することが出来る。[0042] Therefore, the waiting time for general processing can be shortened.
【0043】[0043]
【発明の効果】以上説明した如く、本発明はデータベー
ス処理を行うために、一般の入出力命令の処理が長時間
待たされることが無く、且つ、複数のデータベース処理
を要求された場合には、タスク制御テーブルの入出力命
令実行の代わりに、他のデータベース処理項目を記録さ
せることにより、並列処理を行わせることが出来る。As explained above, since the present invention performs database processing, the processing of general input/output commands does not have to wait for a long time, and when multiple database processing is requested, Parallel processing can be performed by recording other database processing items instead of executing input/output commands in the task control table.
【図1】 本発明の原理を説明するブロック図[Figure 1] Block diagram explaining the principle of the present invention
【図2
】 本発明の一実施例を示す回路のブロック図[Figure 2
] Block diagram of a circuit showing one embodiment of the present invention
【図3
】 本発明の機能単位の詳細ブロック図[Figure 3
] Detailed block diagram of functional units of the present invention
【図4】
テーブルの一例を説明する図[Figure 4]
Diagram explaining an example of a table
【図5】 図2の動作を
説明する図[Figure 5] Diagram explaining the operation of Figure 2
【図6】 従来技術の一例を説明するブロック図[Figure 6] Block diagram explaining an example of conventional technology
【図
7】 各機能単位の詳細ブロック図[Figure 7] Detailed block diagram of each functional unit
【図8】 従来
技術の問題点を説明する図[Figure 8] Diagram explaining the problems of the conventional technology
【符号の説明】
1、2 チャネル
3 ディスク制御装置
4 ディスク装置
5、6 チャネルアダプタ
7、8 デバイスアダプタ
9、31 DBA
10、32 リソースマネージャ
11 共有メモリ
12 共通バス
13、インタフェース回路
14、21、24 共通バス制御回路15、19、2
3 プロセッサ
16、20、22、33 制御記憶
17、25、34 RAM
18 比較回路
26 RAMアクセス制御回路
27 上位装置
28 データ分割テーブル
29 タスク制御テーブル
30 データベース処理機能[Explanation of symbols] 1, 2 Channel 3 Disk control device 4 Disk device 5, 6 Channel adapter 7, 8 Device adapter 9, 31 DBA 10, 32 Resource manager 11 Shared memory 12 Common bus 13, interface circuit 14, 21, 24 Common bus control circuit 15, 19, 2
3 Processor 16, 20, 22, 33 Control memory 17, 25, 34 RAM 18 Comparison circuit 26 RAM access control circuit 27 Host device 28 Data division table 29 Task control table 30 Database processing function
Claims (1)
) との間のデータ転送を制御すると共に、上位装置(
27)が指定する該ディスク装置(4) のアドレス範
囲内のデータから、上位装置(27)が必要とするデー
タを抽出して転送するデータベース処理機能(30)を
備えたディスク制御装置(3) において、データベー
ス処理を指示する命令以外の入出力命令を受信する頻度
から、予め定められた分割量に対応して、データベース
処理時に該ディスク装置から読出すデータ量を指定する
データ分割テーブル(28)と、該データ分割テーブル
(28)が指定するデータ量を基準として、予め定めら
れた時間間隔でデータベース処理の実行を指示する記録
を行うと共に、受信された時点で前記入出力命令の実行
を指示する記録を行うタスク制御テーブル(29)とを
設け、データベース処理を指示された場合、該タスク制
御テーブル(29)に、前記予め定められた時間間隔で
、該データ分割テーブル(28)が指定するデータ量の
処理命令を順次記録しつつ、前記データベース処理機能
(30)に、該タスク制御テーブル(29)の記録順に
順次指定量のデータを処理させると共に、該データベー
ス処理中に受信された前記入出力命令は、受信時点で該
タスク制御テーブル(29)に割込んで記録させ、該記
録された入出力命令も記録順に実行させることを特徴と
するデータベース処理方法。[Claim 1] A host device (27) and a disk device (4
), as well as controlling data transfer between the host device (
A disk control device (3) equipped with a database processing function (30) that extracts and transfers data required by the host device (27) from data within the address range of the disk device (4) specified by the device (27). a data partitioning table (28) that specifies the amount of data to be read from the disk device during database processing in accordance with a predetermined partitioning amount based on the frequency of receiving input/output commands other than commands instructing database processing; Based on the amount of data specified by the data division table (28), records are made to instruct execution of database processing at predetermined time intervals, and instructions are given to execute the input/output command when received. A task control table (29) for recording data is provided, and when database processing is instructed, the data division table (28) specifies the data at the predetermined time interval in the task control table (29). While sequentially recording processing instructions for the amount of data, the database processing function (30) is caused to sequentially process the designated amount of data in the order of recording in the task control table (29), and the input information received during the database processing is A database processing method characterized in that the output command is recorded by interrupting the task control table (29) at the time of reception, and the recorded input/output commands are also executed in the recording order.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3031218A JPH04271472A (en) | 1991-02-27 | 1991-02-27 | System for processing data base |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3031218A JPH04271472A (en) | 1991-02-27 | 1991-02-27 | System for processing data base |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04271472A true JPH04271472A (en) | 1992-09-28 |
Family
ID=12325299
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3031218A Withdrawn JPH04271472A (en) | 1991-02-27 | 1991-02-27 | System for processing data base |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04271472A (en) |
-
1991
- 1991-02-27 JP JP3031218A patent/JPH04271472A/en not_active Withdrawn
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5530897A (en) | System for dynamic association of a variable number of device addresses with input/output devices to allow increased concurrent requests for access to the input/output devices | |
| JP4252139B2 (en) | Storage system | |
| JPH02227763A (en) | Data transfer control system | |
| JPH0793219A (en) | Information processor | |
| JP2550311B2 (en) | Multiple control system of magnetic disk | |
| JPH06309265A (en) | Dynamic selection method for driver program of information processor | |
| JPH04271472A (en) | System for processing data base | |
| KR920007949B1 (en) | Peripheral controller | |
| JPH0341856B2 (en) | ||
| JP2523539B2 (en) | Input/Output Processing Method | |
| JP2755103B2 (en) | Storage device access method | |
| JP3252517B2 (en) | Input/Output Control Method and Input/Output Control System | |
| JPH09244932A (en) | Disk array device | |
| JPH04361347A (en) | Data base processing method | |
| JPH04275675A (en) | Data base processing system | |
| JPH04365122A (en) | Disk controller | |
| JPH05334012A (en) | Large capacity disk controller | |
| JP3184406B2 (en) | Disk array device | |
| JPH04239954A (en) | Input/output control device | |
| JPH04184525A (en) | Magnetic disk device | |
| JPH09237224A (en) | Disk array device | |
| JPH02239348A (en) | Access system for disk cache memory | |
| JPH04347756A (en) | Channel status read method | |
| JPH1011351A (en) | Computer system | |
| JPS6131899B2 (en) |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 19980514 |