JPS6055451A - Estimating device for data base performance - Google Patents

Estimating device for data base performance

Info

Publication number
JPS6055451A
JPS6055451A JP58163444A JP16344483A JPS6055451A JP S6055451 A JPS6055451 A JP S6055451A JP 58163444 A JP58163444 A JP 58163444A JP 16344483 A JP16344483 A JP 16344483A JP S6055451 A JPS6055451 A JP S6055451A
Authority
JP
Japan
Prior art keywords
database
time
input
basic access
command
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.)
Pending
Application number
JP58163444A
Other languages
Japanese (ja)
Inventor
Kyoji Kawagoe
恭二 川越
Shigeru Kuno
久野 茂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP58163444A priority Critical patent/JPS6055451A/en
Publication of JPS6055451A publication Critical patent/JPS6055451A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To estimate automatically the performance of a data base and to lighten the load on a designer by modeling the data base access part of a base control system, and simulating it. CONSTITUTION:A control part 1 for the estimation of data base performance receives an input from an access bus 6 to integrate a basic access processing time, and outputs the performance result. The processing time is estimated by a basic access time processing part 2 at intervals of basic access. A currency indicator simulator part 3 simulates the state of a currency indicator at a request from the basic access time processing part 2. A disk input/output time estimation part 4 estimates the time of input to and output from a disk. A buffer simulation part 5 simulates the state of a buffer.

Description

【発明の詳細な説明】 本発明はデータベース性能推定装置に関し、特にデータ
ベースを実際に構築する以前、あるいはデータベースの
構造を変更するときに行なわれるデータベース性能推定
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a database performance estimating device, and more particularly to a database performance estimating device that is used before actually constructing a database or when changing the structure of a database.

従来、データベースの設計を行なうときには、まずデー
タベース利用者からの要求を分析し、データ構造を作成
し、このデータ構造から、データベース管理システムの
提供するデータ定義言語によってデータベース管理シス
テムに対してデータ構造を登録する。この際、データベ
ース設計者は、データベースの大きさアクセス頻度を考
慮すると同時に、データベース利用者からのデータ検索
及びデータ砂皿に対する要求を満たすようにデータ構造
の最適化を計る必要がある。また利用者の望む処理に必
要な時間を見積るにはデータベース設計者はデータベー
ス管理システムの性能に関する知識を必要とする。
Traditionally, when designing a database, we first analyze requests from database users, create a data structure, and then create a data structure for the database management system using the data definition language provided by the database management system. register. At this time, the database designer needs to consider the size of the database and the access frequency, and at the same time, optimize the data structure so as to satisfy the data retrieval and data sand tray requests from database users. Furthermore, in order to estimate the time required for the processing desired by the user, the database designer needs knowledge about the performance of the database management system.

このことは、データベース設計者に対し、かなりの熟練
度、豊富な経験を必要とする欠点を有していた。
This has the disadvantage that a database designer requires considerable skill and extensive experience.

本発明の目的は従来のデータベースの設計に伴なう欠点
を除去し、データベース設計者に対しデータベースの設
計すなわちデータ構造の性能を自動的に推定し、データ
ベース設計における設計者の負担を軽くすることができ
るデータベース性能推定装置を提供することにある。
The purpose of the present invention is to eliminate the drawbacks associated with conventional database design, and to automatically estimate the performance of database design, that is, data structure, for database designers, thereby lightening the burden on designers in database design. The purpose of this invention is to provide a database performance estimation device that can perform the following.

本発明によれば、データベース管理システムのデータ操
作言語の機能とl対lに対応するアクセスバス記述コマ
ンドを入力し前記コマンドに応じた基本アクセスに必要
な時間の推定を行なう基本アクセス時間推定部と、該基
本アクセス時間推定部に対して要求信号を発し前記推定
部からの応答である推定時間を前記コマンドが入力され
るごとに積算し、推定終了コマンドの入力で積算結果を
出力するデータベース性能推定制御部と、前記基本アク
セス時間推定部からの要求で、ディスク装置に対する入
出力に必要な処理時間を推定するディスク人出力処理時
間推定部と前記基本アクセス時間推定部からの要求で、
データベース管理システムにおける0業領域内のデータ
のディスク装置との入出力を管理するバッファ管理を模
擬するバッファシミユレータ部とデータベース構造にお
けるレコードタイプ、セットタイプごとに設定されるカ
レンクーインジケータを管理するカレンシー管理を模擬
するカレンシーインジケータシミユレータ部とからなる
ことを特徴とするデータベース性能推定装置が得られる
According to the present invention, there is provided a basic access time estimator that inputs an access bus description command corresponding to the function of a data manipulation language of a database management system and l to l, and estimates the time required for basic access according to the command. , database performance estimation that issues a request signal to the basic access time estimator, integrates the estimated time as a response from the estimator every time the command is input, and outputs the integration result upon input of an estimation end command. A control unit and a request from the basic access time estimating unit estimate the processing time required for input/output to the disk device.A request from the disk output processing time estimation unit and the basic access time estimating unit,
A buffer simulator section that simulates buffer management that manages the input/output of data in the 0 work area to and from the disk device in the database management system, and manages the current indicators set for each record type and set type in the database structure. A database performance estimating device is obtained, which is characterized by comprising a currency indicator simulator section that simulates currency management.

以下、本発明の一実施例について図面を8照して説明す
る、 第1図は本発明の一実施例を示す。第1図に於いて、本
実施例はデータベースへのアクセスを記述したファイル
を示し、アクセスバス6と、該アクセスバス6を入力し
基本アクセス処理時間を積算し、性能結果を出力するデ
ータベース性能推定制御部lと、基本アクセスごとに処
理時間を推定する基本アクセス時間処理部2と、該基本
アクセス時間処理部2からの要求でカレンクーインジケ
ータの状態、を模擬するカレンシーインジケータシミユ
レータ部3と、ディスクに対する入出力時間を推定する
ディスク入出力時間推定部4と、バッファの状態を模擬
するバッファシミーレータ部5とを含む。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 shows an embodiment of the present invention. In FIG. 1, this embodiment shows a file that describes access to a database, an access bus 6, and a database performance estimation that inputs the access bus 6, integrates the basic access processing time, and outputs the performance result. a control unit 1, a basic access time processing unit 2 that estimates processing time for each basic access, and a currency indicator simulator unit 3 that simulates the state of the currency indicator according to a request from the basic access time processing unit 2. , a disk input/output time estimation unit 4 that estimates input/output time to the disk, and a buffer simulator unit 5 that simulates the state of the buffer.

第1表はデータベース管理システムの提供するデータベ
ース操作言語DMLの別と前記言語の各命令ごとに、対
応する基本アクセスの例を記述したものである。
Table 1 describes examples of basic accesses for each database operation language DML provided by the database management system and for each command of the language.

第1表 データベース性能推定制御部lでは第1表に示す命令、
たとえばFIND(1)〜FIND(7)、GET。
Table 1: In the database performance estimation control unit l, the commands shown in Table 1,
For example, FIND(1) to FIND(7), GET.

MODIFY・・・・・・等をアクセスパス6によシ解
釈したのち、表1表に示すような基本アクセス命令1”
IND−DB FIND−CALCFIND−USIN
G、・・・・・・GET 、MODIFY等を実行し基
本アクセス時間処理部へ通知する。
After interpreting MODIFY... etc. using access path 6, basic access command 1 as shown in Table 1 is executed.
IND-DB FIND-CALCFIND-USIN
G... Execute GET, MODIFY, etc. and notify the basic access time processing unit.

第2表は基本アクセス時間処理部2の処理内容の一部を
示すものであシデータベース性能推定制御部lから要求
された基本アクセスFIND−DB。
Table 2 shows a part of the processing contents of the basic access time processing unit 2. Basic access FIND-DB requested from the database performance estimation control unit 1.

FIND−ANY 、F’IND−FIR8T (D条
件ごとに、第2表(a)に示す各処理を実行することを
示している。なお、第2表(b)は第2表(a)に関す
る用語の説明である。
FIND-ANY, F'IND-FIR8T (Indicates that each process shown in Table 2 (a) is executed for each D condition. Table 2 (b) is related to Table 2 (a) This is an explanation of terms.

lbJ 181表に関する用ll!O説明第zp 基本
アクセス処理部(一部) 第2図はカレ/シーイ/ジケークシミュレータ部3の内
部処理を示すフローチャートでおる。第2図において、
カレンシーインジケータはデータベース管理システムが
いわゆるC0DASYL型(注1)CODASYL型D
BMSについては、C0DASYLData Desc
viption Languaje Jounol o
f Deve−1opment1978 、 The 
5ecvetariant of theCanadi
an Government EOP Standar
dsCommittee (197B )参照の場合に
レコードあるいはセットごとに設定される状態である。
lbJ 181 table related information! O Explanation No. zp Basic Access Processing Unit (Part) FIG. 2 is a flowchart showing the internal processing of the KARE/CE/JIKE simulator unit 3. In Figure 2,
The currency indicator uses a database management system of the so-called C0DASYL type (Note 1) CODASYL type D.
For BMS, C0DASYLData Desc
viption Language Journal o
f Development-1opment1978, The
5ecvetarian of the Canada
a Government EOP Standard
This is a state that is set for each record or set when referring to dsCommittee (197B).

カレンシーインジケータゾミエレータでは、conAs
yL型の場合セットごとにカレントな位置がオーナ。
In the currency indicator Zomierator, conAs
For yL type, the current position is the owner for each set.

ファースト、シーストそれ以外の何れにあるかという状
態をもつ。
It has a state of being in first, first, or other states.

第3図(a)(b)は、データベース管理システム内の
バッファの管理を模擬するノくツファシミ呉レータの内
部処理を示すフローチャートである。第3図においてバ
ッファ管理の内容はデータベース管理システムごとに異
なるが、C0DABYL型の場合通常全レコードタイプ
の部分集合であるエリアごとに管理される。したがって
バッファ管理シミエレータ4の内部処理を示すフローチ
ャート例のように基本アクセス時間処理部2からの要求
は、エリアをユニークに識別するエリア番号、レコード
タイプをユニークに識別するレコードタイプ番号及びバ
ッファ管理への命令である登録、修正、#照、削除の何
れかの命令である。
FIGS. 3(a) and 3(b) are flowcharts showing the internal processing of the Nokutsufashimikureta which simulates the management of buffers in a database management system. In FIG. 3, the content of buffer management differs depending on the database management system, but in the case of the C0DABYL type, it is usually managed for each area, which is a subset of all record types. Therefore, as shown in the flowchart example showing the internal processing of the buffer management simulator 4, requests from the basic access time processing unit 2 include an area number that uniquely identifies an area, a record type number that uniquely identifies a record type, and a request for buffer management. This is a command to register, modify, check, or delete.

第4図(a)Φ)F!、、データベースが格納されてい
るディスク装置に対する1回の入出力処理に必要な処理
時間を基本アクセス時間処理部2に返却するディスク入
出力時間推定部4の内部処理のフローチャートを示す。
Figure 4 (a) Φ) F! , , is a flowchart of the internal processing of the disk input/output time estimating unit 4 that returns to the basic access time processing unit 2 the processing time required for one input/output process to the disk device in which the database is stored.

第4図(a)(b)において、基本アクセス時間処理部
2からは、ディスク装置タイプ番号、ディスクアクセス
形式ページサイズが与えられるとテーブルを参照するこ
とによって、ディスク装置入出力処理時間を基本アクセ
ス時間処理部2へ返却する。
In FIGS. 4(a) and 4(b), when the basic access time processing unit 2 is given the disk device type number and disk access format page size, the basic access time processing unit 2 determines the disk device input/output processing time by referring to the table. It is returned to the time processing unit 2.

第2図から第4図の示すフローチャート及び第2表は一
実施例にすぎず、第1図の各ブロック内の機能を満足さ
えすれば、他の実施例を本実施例から得ることは容易に
できる。t7’c対象とするデータベース管理システム
の採用しいてる内部処理ロジックによって、本実施例の
内容が変更されることは、第2図から第4回及び第2表
の示す処理が、シミニレ−ジョンであることから明白で
ある。
The flowcharts shown in FIGS. 2 to 4 and Table 2 are only one embodiment, and other embodiments can be easily derived from this embodiment as long as the functions in each block in FIG. 1 are satisfied. Can be done. t7'c The content of this embodiment is changed depending on the internal processing logic adopted by the target database management system. It is obvious from one thing.

しかし、本発明の目的がデータ構造の性能推定であり、
そのために本発明の特徴が内部的に第1図の構成をもつ
ことであることから第1図に示す構成をとる限シ本発明
の特許請求の範囲に含まれることは明らかである。また
、本発明は第1図に示す処理部名が異なりていてもその
機能が同一であれば、処理部にかわプはないことけ明ら
かである。
However, the purpose of the present invention is to estimate the performance of data structures,
Therefore, since a feature of the present invention is that it internally has the configuration shown in FIG. 1, it is clear that the configuration shown in FIG. 1 is included within the scope of the claims of the present invention. Further, in the present invention, even if the processing parts shown in FIG. 1 have different names, as long as their functions are the same, it is clear that there is no difference in the processing parts.

さて、第2図、第3図、第4図、第1表および第2表を
用いて発明の実施例について更に説明する。今、説明の
都合上アクセスバスはデータベースを検索するFIND
命令が1命令のみとする。
Now, embodiments of the invention will be further described using FIGS. 2, 3, 4, and Tables 1 and 2. For convenience of explanation, the access bus is FIND, which searches the database.
Assume that there is only one instruction.

そのl型式であるFINDANYをとりあげる。このア
クセスバスは第1図に示すようにデータベース性能推定
制御部lに入力され、第1表に示すように基本アクセス
であるFIND−CALC命令に変更され、基本アクセ
ス時間処理2制御゛が移される。ここで、FIND−C
ALC命令によシ第2表に示すような式によりディスク
に対する入出力回数算出する。このとき第2表に示すよ
うに、バッフアジミニレータ5及びカレンシーインジケ
ータシミュレータ6の出力内容を算出する基本アクセス
がある。こののち入出力回数とディスク入出力時間推定
部からの1回の入出力処理時間とを用いてFIND−C
ALCの処理に必要な処理時間を積算し、もとのデータ
ベース性能推定制御部lに制御をもどす。本制御部lで
は、複数命令からなるアクセスの場合にトータルの処理
時間をめるために基本アクセス時間処理2の出力を加算
していき、命令終了後推定処理時間を出力する。
Let's take up the model FINDANY. This access bus is input to the database performance estimation control unit l as shown in Figure 1, and is changed to the FIND-CALC command, which is a basic access, as shown in Table 1, and basic access time processing 2 control is transferred. . Here, FIND-C
In accordance with the ALC command, the number of inputs and outputs to the disk is calculated using the formula shown in Table 2. At this time, as shown in Table 2, there is a basic access to calculate the output contents of the buffer adjuster 5 and the currency indicator simulator 6. After this, using the number of input/outputs and the one-time input/output processing time from the disk input/output time estimator, FIND-C
The processing time required for ALC processing is accumulated, and control is returned to the original database performance estimation control unit l. This control unit 1 adds the output of the basic access time processing 2 in order to calculate the total processing time in the case of an access consisting of multiple instructions, and outputs the estimated processing time after the instruction ends.

本発明は、以上説明したようにデータベース管理システ
ムのデータベースアクセスの部分をモデル化し、それを
シミュレーションする仁とによシ、データベースの性能
を推定しようとするものであり、従来、データベース設
計者が経験と勘あるいは実際に評価用のデータベースを
構築することによって、データベース性能を推定してい
たことをはぼ自動化できるため、大幅に設言1者の負担
を軽減することができる。
As explained above, the present invention attempts to model the database access part of a database management system, simulate it, and estimate the performance of the database. By intuitively or by actually constructing a database for evaluation, it is possible to largely automate the process of estimating database performance, thereby significantly reducing the burden on those involved in Proposition 1.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例を示す構成図、第2図は本実
施例におけるカレンシーインジケータシミユレータ部の
内部処理のフローチャートを示す図、第3図(a)(b
)は本実施例におけるデータベース管理システム内のバ
ッファの管理を模擬するバッフアジミニレータの内部処
理のフローチャートを示す図、第4図(a)(b)は本
実施例におけるディスク入出力時間推定部の内部処理の
フローチャートを示す図である。 l・・・・・・データベース性能推定制御部、2・・・
・・・基本アクセス時間処理部、3・・・・・・カレン
シーインジケータシミユレータ部、4・・・・・・ディ
スク入出力時間推定部、5・・・・・・バッファシミユ
レータ部、6・・・半1旧 壕2侶 茅3個
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a flowchart of internal processing of the currency indicator simulator section in this embodiment, and FIGS.
) is a flowchart of the internal processing of the buffer adjuster that simulates the management of buffers in the database management system in this embodiment, and FIGS. 4(a) and 4(b) are diagrams showing the disk input/output time estimation unit in this embodiment FIG. 2 is a diagram showing a flowchart of internal processing. l...Database performance estimation control unit, 2...
. . . Basic access time processing section, 3 . . . Currency indicator simulator section, 4 . . . Disk input/output time estimation section, 5 . . . Buffer simulator section, 6...Half 1 old trench 2 moss 3 pieces

Claims (1)

【特許請求の範囲】[Claims] データベース管理システムのデータ操作言語の機能とl
対lに対応するアクセスパス記述コマンドを入力し前記
コマンドに応じた基本アクセスに必要な時間の推定を行
なう基本アクセス時間推定部と、該基本アクセス時間推
定部に対して要求信号を発し前記推定部からの応答であ
る推定時間を前記コマンドが入力されるごとに積算し推
定終了コマンドの入力で積算結果を出力するデータベー
ス性能推定制御部と、前記基本アクセス時間推定部から
の要求で、ディスク装置に対する入出力に必要な処理時
間を推定するディスク入出力処理時間推定部と、前記基
本アクセス時間推定部からの要求で、データベース管理
システムにおける作業領域内のデータのディスク装置と
の入出力を管理するバッファ管理を模擬するバッフアジ
ミニレータ部と、データベース構造におけるレコードタ
イプ、セットタイプごとに設定されるカレンイーインジ
ケートを管理するカレンシー管理を模擬するカレンシー
インジケータシミエレータ部とからなることを特徴とす
るデータベース性能推定装置。
Functions and functions of data manipulation languages in database management systems
a basic access time estimator that inputs an access path description command corresponding to pair l and estimates the time required for basic access according to the command; and an estimator that issues a request signal to the basic access time estimator. A database performance estimation control unit that integrates the estimated time that is a response from the above command every time the command is input and outputs the integration result when the estimation end command is input, and a database performance estimation control unit that integrates the estimated time as a response from A disk input/output processing time estimator that estimates the processing time required for input/output, and a buffer that manages input/output of data in a work area to and from a disk device in the database management system based on requests from the basic access time estimator. A database comprising a buffer simulator section that simulates management, and a currency indicator simulator section that simulates currency management that manages currency indicators set for each record type and set type in the database structure. Performance estimation device.
JP58163444A 1983-09-06 1983-09-06 Estimating device for data base performance Pending JPS6055451A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58163444A JPS6055451A (en) 1983-09-06 1983-09-06 Estimating device for data base performance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58163444A JPS6055451A (en) 1983-09-06 1983-09-06 Estimating device for data base performance

Publications (1)

Publication Number Publication Date
JPS6055451A true JPS6055451A (en) 1985-03-30

Family

ID=15774002

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58163444A Pending JPS6055451A (en) 1983-09-06 1983-09-06 Estimating device for data base performance

Country Status (1)

Country Link
JP (1) JPS6055451A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6036351A (en) * 1979-11-20 1985-02-25 エヌ・ベ−・フイリツプス・フル−イランペンフアブリケン Seal glass

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6036351A (en) * 1979-11-20 1985-02-25 エヌ・ベ−・フイリツプス・フル−イランペンフアブリケン Seal glass

Similar Documents

Publication Publication Date Title
EP1907956B1 (en) Accelerated analog and/or rf simulation
CN110032604B (en) Data storage device, translation device and database access method
US6304790B1 (en) System design/evaluation CAD system and program storage medium
JPH06195248A (en) Method for optimum assistance of inquiry from relational databace management system
Hutchinson The Kalman filter applied to aerospace and electronic systems
US7720660B2 (en) Mixed-domain analog/RF simulation
EP3499388A1 (en) Method and device for processing join query
CN101408909B (en) Method for describing product information model
KR20010067262A (en) Data management system using a plurality of data operation modules
CN115220697A (en) API development management method, device, vehicle and storage medium
JP2007133624A (en) Information management method and device using connection relation information
US20050039152A1 (en) Timing path detailer
JP2001067384A (en) Database for designing integrated circuit device and method for designing the device
JPS6055451A (en) Estimating device for data base performance
JP2001052041A (en) Method and system for acquiring design parameter for optimizing multiple target function while satisfying multiple constraints
US20040216070A1 (en) Tools for automatic population of databases
JP4717520B2 (en) Blueprint management program, blueprint management system, and blueprint management method
JPS62131349A (en) Data base processing system
Masri et al. Relational databases and normalization
Jackson Design methods for real time software
KR20010057053A (en) Method of calculating multi-conditioned optimum path using coordinates
KR20030008463A (en) A modeling system and method by modeling-object assembling
JP2001060241A (en) Scheduling of non-integer simulation time for simulation of mixture signal
Bogachev et al. On Reconstruction of Kolmogorov Operators with Discontinuous Coefficients
JPH05282407A (en) Display method for numerical analysis