Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH07104804B2 - Database generation management method - Google Patents
[go: Go Back, main page]

JPH07104804B2 - Database generation management method - Google Patents

Database generation management method

Info

Publication number
JPH07104804B2
JPH07104804B2 JP1175200A JP17520089A JPH07104804B2 JP H07104804 B2 JPH07104804 B2 JP H07104804B2 JP 1175200 A JP1175200 A JP 1175200A JP 17520089 A JP17520089 A JP 17520089A JP H07104804 B2 JPH07104804 B2 JP H07104804B2
Authority
JP
Japan
Prior art keywords
database
generation
generation information
dictionary
information
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.)
Expired - Fee Related
Application number
JP1175200A
Other languages
Japanese (ja)
Other versions
JPH0340043A (en
Inventor
典幸 高橋
和憲 西沢
林一 高志
直文 酒井
行治 田辺
伸浩 安江
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.)
Hitachi Software Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
Hitachi 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 Hitachi Software Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP1175200A priority Critical patent/JPH07104804B2/en
Priority to US07/547,512 priority patent/US5185887A/en
Publication of JPH0340043A publication Critical patent/JPH0340043A/en
Publication of JPH07104804B2 publication Critical patent/JPH07104804B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データベースの世代管理において、世代情報
をディクショナリ装置の指定による取得し、世代情報の
レベルに応じた格納庫を選択してデータを格納するデー
タベース世代管理方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial field of use] In the generation management of a database, the present invention acquires generation information by designating a dictionary device, stores a data by selecting a storage box according to the level of generation information. Database generation management method.

〔従来の技術〕[Conventional technology]

データベースの大規模化および多様化に伴って、データ
ベースの世代情報を管理する必要が高まっている。一般
に、世代情報は取得する単位によっては膨大なものとな
るため、世代情報を効率よく管理する必要がある。
With the increase in scale and diversification of databases, there is an increasing need to manage generation information of databases. Generally, generation information becomes enormous depending on the unit of acquisition, so it is necessary to manage generation information efficiently.

従来のデータベースシステムでは、データベース管理シ
ステム(DBMS)の下に、データベースが接続され、利用
者の応用プログラムは、データ記述言語を用いてデータ
ベースに対する処理要求を出す。この場合、データベー
ス管理システムには、世代管理情報を更新したり、出力
したりするディクショナリ装置が内蔵されているため、
全て応用プログラムからの要求により、ディクショナリ
装置を起動させて、これらの処理を行っていた。従っ
て、利用者が直接、世代管理情報を更新したり、指定し
たりすることはできなかった。
In a conventional database system, a database is connected under a database management system (DBMS), and an application program of a user issues a processing request for the database using a data description language. In this case, the database management system has a built-in dictionary device that updates and outputs generation management information.
In response to a request from the application program, the dictionary device is activated to perform these processes. Therefore, the user cannot directly update or specify the generation management information.

一方、従来の世代管理方法としては、例えば、特開昭61
−243541号公報に記載されているように、時系列データ
ファイル管理方式として、取得する時刻とインターバル
を用いて、データをラップアラウンドに管理する方法が
ある。すなわち、最初に時系列データを取得した時刻を
T0とし、それ以降は取得間隔t0で順次データを取得する
ものと仮定すると、任意の時刻Tiに取得されたデータの
番号Nは、N=(Ti−T0)/t0により求められる。従っ
て、基点時刻設定器と時刻から番号への変換器と割算器
とを設けることにより、データベースから希望する時刻
の時系列データを正確迅速に取り出すことができる。
On the other hand, as a conventional generation management method, for example, Japanese Patent Laid-Open No.
As described in Japanese Patent No. 243541, there is a method of managing data in a wraparound manner using a time and an interval of acquisition as a time-series data file management method. That is, the time when the time series data was first acquired
Assuming that T 0 is set and data is sequentially acquired at the acquisition interval t 0 after that, the number N of data acquired at an arbitrary time T i is N = (T i −T 0 ) / t 0 Desired. Therefore, by providing the base time setter, the time-to-number converter, and the divider, the time series data at the desired time can be accurately and quickly retrieved from the database.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上記公報に記載された従来の方式では、管理方法をプロ
ゲラムロジックで実現しているため、一旦数値を設定す
るとプログラムを変更修正するまでは替えられないとい
う問題があった。すなわち、時系列データを一定の間隔
で採取する必要があり、また世代管理すべきインターバ
ル、格納場所、蓄積有効期限等も全て一定値に固定され
ている。従って、必要に応じて任意の時刻にデータを取
得しようとしても、一定の間隔だけ待機してデータを取
得しなければならなかった。
In the conventional method described in the above publication, since the management method is realized by the program logic, there is a problem that once the numerical value is set, it cannot be changed until the program is changed and corrected. That is, it is necessary to collect the time-series data at regular intervals, and the intervals for generation management, storage locations, storage expiration dates, etc. are all fixed. Therefore, even when trying to acquire data at an arbitrary time as needed, it was necessary to wait for a fixed interval to acquire data.

本発明の目的は、このような従来の課題を解決し、デー
タベースの世代情報を任意の時刻に取得することがで
き、かつ複数世代の統合的に管理することが可能なデー
タベース世代管理方式を提供することにある。
An object of the present invention is to solve such a conventional problem and provide a database generation management method capable of acquiring generation information of a database at an arbitrary time and capable of managing a plurality of generations in an integrated manner. To do.

〔課題を解決するための手段〕[Means for Solving the Problems]

上記目的を達成するため、本発明のデータベース世代管
理方法は、(イ)データベース管理システムに接続さ
れ、かつデータベースの世代情報を管理するディクショ
ナリ装置と、上記世代情報を蓄積するディクショナリフ
ァイルとを備えたデータベースシステムであって、上記
データベース管理システムとデータ格納ファイルとの間
に世代情報に従ってデータを取得する世代管理システム
を設け、かつ上記ディクショナリ装置を上記データベー
ス管理システムから独立させて、該ディクショナリ装置
をディスプレイ装置と上記ディクショナリファイルと上
記データベース管理システムにそれぞれ接続し、上記デ
ィスプレイ装置から世代情報を項目単位に指定して新規
登録ないし変更登録するとともに、該世代情報の取得タ
イミングを任意に指定すると、指定された世代情報を上
記ディクショナリ装置により上記ディクショナリファイ
ルに登録し、上記データベース管理システムが上記ディ
クショナリファイルに登録された世代情報により、上記
世代管理システムに対してデータベースの出力要求を行
うことにより、該世代管理システムは登録された世代情
報に従ってデータベースよりデータを読み込み、該デー
タを指定されたデータ格納ファイルに出力することに特
徴がある。また、(ロ)ディクショナリ装置は、データ
ベースの世代情報が新規登録ないし変更登録されたと
き、データ格納ファイルの変更指定を行うことにより、
登録された世代情報の項目別および世代管理レベルに応
じて、データ格納ファイルの接続を変更することにも特
徴がある。また、(ハ)ディクショナリ装置は、登録さ
れた世代情報を最初は装置内の拡張メモリないしICディ
クスに記憶しておき、予め定められた時点で上記拡張メ
モリないしICディスクから大容量の光ディスクに登録さ
れた世代情報を移し替えることにも特徴がある。また、
(ニ)ディクショナリ装置は、接続されているデータ格
納ファイルの容量に応じて、登録されている世代情報中
のデータ取得間隔を定めたインターバル値を変更するこ
とにも特徴がある。また、(ホ)ディクショナリ装置
は、年度の呼び出しに対して4月から翌年の3月までの
データを取り出すようにして、世代情報の呼び出し単位
を知識化し、かつ世代取得ステータスを表示することに
も特徴がある。さらに、(ヘ)世代情報毎のデータは、
ネットワークを介してローカルファイルに分散管理され
るとともに、記録ジャーナルのような未記帳レコードは
そのまま世代レコードとして保存されることにも特徴が
ある。
In order to achieve the above object, the database generation management method of the present invention comprises (a) a dictionary device that is connected to a database management system and manages generation information of a database, and a dictionary file that stores the generation information. A database system, wherein a generation management system that acquires data according to generation information is provided between the database management system and a data storage file, and the dictionary device is independent of the database management system, and the dictionary device is displayed. The device, the dictionary file, and the database management system are connected to each other, and generation information is specified in units of items from the display device for new registration or change registration, and the generation information acquisition timing is arbitrarily specified. Then, the specified generation information is registered in the dictionary file by the dictionary device, and the database management system makes a database output request to the generation management system by the generation information registered in the dictionary file. The generation management system is characterized in that it reads data from the database according to the registered generation information and outputs the data to a specified data storage file. Further, the (b) dictionary device specifies the change of the data storage file when the generation information of the database is newly registered or changed.
Another feature is that the connection of the data storage file is changed according to the item of the registered generation information and the generation management level. The (c) dictionary device first stores the registered generation information in the expansion memory or IC disk in the device, and registers it from the expansion memory or IC disk to a large-capacity optical disk at a predetermined time. Another feature is that the generated generation information is transferred. Also,
(D) The dictionary device is also characterized by changing the interval value that defines the data acquisition interval in the registered generation information according to the capacity of the connected data storage file. In addition, the (e) dictionary device extracts the data from April to March of the following year for the calling of the year, makes the calling unit of the generation information knowledgeable, and displays the generation acquisition status. There are features. Furthermore, (f) data for each generation information is
It is characterized in that it is distributed and managed in local files via a network, and unrecorded records such as recording journals are stored as generation records as they are.

〔作用〕[Action]

本発明においては、従来、データベース管理システムに
内蔵されていたディクショナリ装置を外付けにして独立
させ、利用者がキーボードから指定操作することによ
り、世代管理情報を格納しているディクショナリファイ
ルにアクセスして、ディスプレイ装置にその内容を表示
できるとともに、任意に世代管理情報を変更できるよう
にした。そして、世代管理システムを設けることによ
り、データベース管理システムから世代管理システムに
対して要求を出すことにより、データベースの世代管理
情報をディクショナリ装置を介して読み取り、その指定
に応じて世代情報を取得し、かつ格納できるようにし
た。すなわち、取得する世代情報を項目単位に指定する
とともに、世代情報の取得タイミングを任意の時刻に指
定することにより、その取得タイミングでデータベース
をファイルに格納できるようにしている。
In the present invention, the dictionary device conventionally built in the database management system is externally attached and independent, and the user operates the keyboard to specify and operate the dictionary file storing the generation management information. , The contents can be displayed on the display device, and the generation management information can be changed arbitrarily. Then, by providing a generation management system, by issuing a request from the database management system to the generation management system, the generation management information of the database is read via the dictionary device, and the generation information is acquired according to the designation, And it can be stored. That is, the generation information to be acquired is specified for each item, and the generation information acquisition timing is specified at an arbitrary time so that the database can be stored in a file at the acquisition timing.

〔実施例〕〔Example〕

以下、本発明の一実施例を、図面により詳細に説明す
る。
An embodiment of the present invention will be described in detail below with reference to the drawings.

第1図は、本発明の一実施例を示すデータベースシステ
ムのブロック図である。
FIG. 1 is a block diagram of a database system showing an embodiment of the present invention.

第1図において、1はコンソールとしてキーボードと一
対で設置されたディスプレイ装置、2は利用者からの指
示によりディクショナリにアクセスし、世代情報を読み
出してディスプレイ装置1に表示したり、更新するため
のディクショナリ装置、3は世代管理情報を格納してい
るディクショナリファイル、4はデータベースを管理す
るデータベース管理システム、5はディクショナリファ
イル3の世代情報に従って、データベースに格納された
データを指定されたファイルに出力するための世代管理
システム、9は1以上のファイルの集まりであり、検索
や更新の効率化を図ったデータベース、6は頻繁に読み
出されるデータの写しを格納しておくデータベースバッ
ファ、7は取得するデータを格納する低速大容量のデー
タファイル、8は同じく取得するデータを格納する高速
小容量のデータファイルである。
In FIG. 1, reference numeral 1 is a display device installed as a console in a pair with a keyboard, and 2 is a dictionary for accessing a dictionary according to an instruction from a user to read generation information and display or update it on the display device 1. A device, 3 is a dictionary file storing generation management information, 4 is a database management system for managing a database, and 5 is for outputting data stored in the database to a specified file according to the generation information of the dictionary file 3. Generation management system, 9 is a collection of one or more files, and is a database designed for efficient retrieval and updating. 6 is a database buffer for storing a copy of frequently read data. 7 is a database for acquiring data. A low-speed, large-capacity data file to store, 8 It is a data file of the high-speed small-capacity to store the data to be axis acquisition.

第1図において、本発明により新たに設けられた機構
は、世代管理システム5と低速大容量ファイル7と高速
小容量ファイル8とディクショナリ装置2である。な
お、ディクショナリ装置2はデータベース管理システム
4に内蔵されていたものを外付けにして独立させること
で、利用者から直接、世代情報の読み出しと変更を任意
に行えるようにして、機能的に新しくし、また低速高速
の両ファイル7,8も従来はデータベース管理システム4
に直接接続されていたものを世代管理システム5に接続
替えすることで、世代情報の内容別に取り出すことがで
きるようにしている。
In FIG. 1, the mechanisms newly provided by the present invention are a generation management system 5, a low speed large capacity file 7, a high speed small capacity file 8 and a dictionary device 2. It should be noted that the dictionary device 2 has an internal function that is external to the database management system 4 and can be made independent so that the user can directly read and change the generation information, thereby making it functionally new. Also, both low-speed and high-speed files 7 and 8 are conventionally database management system 4
By connecting the generation management system 5 to the one directly connected to, the generation information can be taken out according to the contents.

データベースの世代管理情報を登録する場合、利用者は
ディスプレイ装置1からディクショナリ装置2に対し
て、世代管理を行うデータベースの定義情報をディクシ
ョナリファイル3から呼び出す要求をする。ディクショ
ナリ装置2は、ディクショナリファイル3にアクセスし
て、所定のデータベースの世代管理情報中の定義情報を
読み出し、ディスプレイ装置1に表示する。利用者は、
ディスプレイ装置1に表示された定義情報に、世代管理
情報を指定し、ディクショナリ装置2を介してディクシ
ョナリファイル3に登録する。データベース定義情報と
は、氏名番号、氏名、年令、給料、家族人数、勤務年
数、等とこれら対応する文字の長さと、属性とが含まれ
る。これらは、データベースを定義する情報である。世
代管理情報とは、各定義情報で定義されたデータベース
を世代管理するための情報で、ファイルに取得するイン
ターバル(期間)、取得すべき格納場所(ファイル)、
保有すべき有効期限等が含まれる。
When registering the generation management information of the database, the user makes a request from the display device 1 to the dictionary device 2 to call the definition information of the database for generation management from the dictionary file 3. The dictionary device 2 accesses the dictionary file 3, reads the definition information in the generation management information of a predetermined database, and displays it on the display device 1. The user is
Generation management information is specified in the definition information displayed on the display device 1 and registered in the dictionary file 3 via the dictionary device 2. The database definition information includes a name number, name, age, salary, number of family members, years of service, and the like, corresponding character lengths, and attributes. These are the information that defines the database. The generation management information is information for managing the generation of the database defined by each definition information, and is an interval (period) to be acquired in a file, a storage location (file) to be acquired,
The expiration date to be held is included.

データベース管理システム4は、ディクショナリファイ
ル3に登録された世代管理情報により、世代管理システ
ム5に対してデータベースバッファ6に格納されている
データベース9の内容を、世代情報ファイル7,8に出力
する要求を行う。ここで、データベース管理システム4
および世代管理システム5は、いずれもプログラムを実
行することにより所定の処理を行うCPUであって、それ
ぞれの機能を果すプログラムを内蔵する。
Based on the generation management information registered in the dictionary file 3, the database management system 4 requests the generation management system 5 to output the contents of the database 9 stored in the database buffer 6 to the generation information files 7 and 8. To do. Here, the database management system 4
Each of the generation management system 5 and the generation management system 5 is a CPU that executes a predetermined process by executing a program, and includes a program that fulfills each function.

世代管理システム5は、データベース管理システム4か
ら起動されると、世代管理情報を受け取り、その世代管
理情報に従ってデータベースバッファ6から所定のデー
タを読み出し、低速大容量ファイル7または高速小容量
ファイル8に出力して、それぞれ格納する。世代情報の
出力先、およびインターバルは、前述のように、利用者
がディクショナリ装置2を介して登録することにより、
任意に指定することが可能である。また、利用者はディ
クショナリ装置2を介して指定することにより、任意の
タイミング(日時)でデータベースを取得できるように
する。
When activated from the database management system 4, the generation management system 5 receives generation management information, reads out predetermined data from the database buffer 6 according to the generation management information, and outputs it to the low-speed large-capacity file 7 or the high-speed small-capacity file 8. And store each. The output destination of the generation information and the interval are set by the user registering via the dictionary device 2 as described above.
It can be specified arbitrarily. Further, the user can acquire the database at an arbitrary timing (date and time) by designating through the dictionary device 2.

世代管理情報の表示および更新を行う場合、利用者はデ
ィスプレイ装置1からディクショナリ装置2に対して、
その世代管理情報の表示を要求する。ディクショナリ装
置2は、要求されたその世代管理情報をディクショナリ
ファイル3から呼び出して、ディスプレイ装置1に表示
する。世代管理情報の例えば取得インターバルの値を変
更する場合、利用者は、ディスプレイ装置1に表示され
た世代管理情報のうち、取得インターバルの値を変更す
る。例えば、1年毎に取得する期間を2年毎に取得する
ように変更したいときには、インターバル値1を2に更
新する。
When displaying and updating the generation management information, the user uses the display device 1 to the dictionary device 2,
Request to display the generation management information. The dictionary device 2 calls the requested generation management information from the dictionary file 3 and displays it on the display device 1. When changing, for example, the value of the acquisition interval in the generation management information, the user changes the value of the acquisition interval in the generation management information displayed on the display device 1. For example, when it is desired to change the acquisition period for every one year to every two years, the interval value 1 is updated to 2.

このように、世代情報取得情報の更新が必要な場合に
は、ディスプレイ装置1に表示された内容をキーボード
等から直接書き換えることにより、ディクショナリ装置
2を介してディクショナリファイル3に書き込むことが
できる。
As described above, when the generation information acquisition information needs to be updated, the contents displayed on the display device 1 can be directly rewritten from the keyboard or the like to be written in the dictionary file 3 via the dictionary device 2.

第2図は、第1図におけるディクショナリ中の世代管理
情報の一例を示す図である。
FIG. 2 is a diagram showing an example of generation management information in the dictionary shown in FIG.

第2図に示すように、この例では、データベース定義情
報であるフィールド、長さ、属性が指定され、各定義情
報にそれぞれ対応して、世代管理情報である世代取得の
インターバル、取得データの格納場所、および保有デー
タの有効期限が指定される。例えば、氏名番号は入社し
たときに登録される社員番号であって、文字の長さは10
字、属性はI、取得するインターバルはキーワードとし
て常時取得され、取得後の格納場所はファイル1である
ことが指定される。また、氏名は30文字の長さが必要
で、属性はC、年1回の取得で、ファイル1に格納する
ことが指定される。また、年令は、3文字必要で、属性
はI、年2回の取得が必要であり、ファイル1に格納す
ることが指定される。また、給料は、7文字が必要で、
属性はI、年2回のインターバルで取得し、ファイル1
に格納することが指定される。いずれも、有効期限は未
定である。これも、30年あるいは40年等に登録すること
ができるのは勿論である。
As shown in FIG. 2, in this example, fields, lengths, and attributes that are database definition information are specified, and a generation acquisition interval that is generation management information and storage of acquired data corresponding to each definition information. The location and the expiration date of the retained data are specified. For example, the name number is the employee number that is registered when you join the company, and the character length is 10
The character, the attribute is I, the interval to be acquired is always acquired as a keyword, and the storage location after acquisition is specified to be the file 1. The name must have a length of 30 characters, the attribute is C, and it is specified to be stored once in the file 1 once a year. Also, the age is required to be 3 characters, the attribute is I, the acquisition is required twice a year, and it is specified to be stored in the file 1. Also, the salary requires 7 characters,
Attribute is I, acquired at an interval of twice a year, file 1
Is specified to be stored in. In both cases, the expiration date is undecided. Of course, this can also be registered for 30 years or 40 years.

世代管理情報を登録・変更する場合には、ディスプレイ
装置1にデータベース定義情報とともに、対応する世代
管理情報が表示されるので、世代管理情報の任意の欄を
更新すればよく、また空白の欄に書き込むことにより登
録される。
When the generation management information is registered or changed, the corresponding generation management information is displayed on the display device 1 together with the database definition information. Therefore, it is sufficient to update any column of the generation management information. Registered by writing.

第3図は、世代管理システムの動作フローチャートであ
る。
FIG. 3 is an operation flowchart of the generation management system.

先ず世代管理システム5内のプログラムによるカウンタ
の値iを初期化し(ステップ51)、次に世代管理情報の
フィールド情報DCT(i)が存在するか否か判断する
(ステップ52)。なお、フィールド情報DCTは、例えば
第2図の氏名番号、氏名、年令、および給料等の情報で
あり、カウンタi=1が氏名番号、i=2が氏名、i=
3が年令、i=4が給料となり、4回同一処理が繰り返
される。フィールド情報DCT(i)が存在するときに
は、そのフィールド情報(i=1では氏名番号)に対応
する世代情報取得指定(G(i))があるか否かを判断
し(ステップ53)、あれば、データベースバッファ6か
らそのフィールド情報を入力する(ステップ54)、第2
図の場合には、氏名番号はキーワードとして毎回使用
し、氏名は年1回のインターバル、年令も年1回のイン
ターバル、給料は年2回のインターバルで、取得するこ
とが指定されている。そして、利用者から指定されたタ
イミング(例えば、毎年3月31日と年2回の場合には9
月30日も)で取得されることになる。次に、このフィー
ルド情報に対応するデータの格納場所(O(i))の指
定があるかを判断し(ステップ55)、大容量ファイルへ
の出力(ステップ56)、または小容量ファイルへの出力
(ステップ57)を行う。第2図の場合には、全てファイ
ル1、つまり大容量ファイル7への格納が指定されてい
る。そして、これらのファイルへの出力が終了したなら
ば、カウンタを更新して(ステップ58)、最初に戻り、
フィールド情報数分だけ同じ処理を繰り返し行った後、
処理を終了する。
First, the counter value i of the program in the generation management system 5 is initialized (step 51), and then it is determined whether or not the field information DCT (i) of the generation management information exists (step 52). The field information DCT is, for example, information such as the name number, the name, the age, and the salary in FIG. 2, where the counter i = 1 is the name number, i = 2 is the name, and i =
3 is the age, i = 4 is the salary, and the same process is repeated 4 times. When the field information DCT (i) is present, it is judged whether or not there is a generation information acquisition designation (G (i)) corresponding to the field information (name number when i = 1) (step 53). , Enter the field information from the database buffer 6 (step 54), second
In the case of the figure, it is specified that the name number is used as a keyword every time, the name is obtained at an interval of once a year, the age is also obtained at an interval of once a year, and the salary is obtained at an interval of twice a year. Then, the timing specified by the user (for example, 9 on March 31 every year and twice a year
It will be acquired on the 30th of a month). Next, it is judged whether or not the storage location (O (i)) of the data corresponding to this field information is designated (step 55) and output to a large capacity file (step 56) or a small capacity file. Perform (Step 57). In the case of FIG. 2, all files 1 are designated to be stored in the large capacity file 7. Then, when the output to these files is completed, the counter is updated (step 58) and the process returns to the beginning,
After repeating the same process for the number of field information,
The process ends.

次に、本発明の応用例を説明する。Next, an application example of the present invention will be described.

(i)先ず、データベースに対して、複数の世代情報を
管理する時に、データの項目別および世代管理レベルに
応じて世代データの格納場所を変化させることができ
る。すなわち、第2図では、全てのフィールド情報に対
して同一のファイルに格納することにしているが、フィ
ールド情報毎に異なる格納場所、例えば氏名番号と氏名
のデータはファイル1、年令のデータはファイル2、給
料のデータはファイル3のように変化させることができ
る。また、世代管理レベル、つまり年1回の氏名と年令
のデータはファイル1に、年2回の給料のデータはファ
イル2に、それぞれ格納することも可能である。
(I) First, when managing a plurality of generation information in the database, the storage location of generation data can be changed according to the item of data and the generation management level. That is, in FIG. 2, all field information is stored in the same file, but different storage locations for each field information, such as file 1 for name number and name data, data for age, File 2 and salary data can be changed as in file 3. It is also possible to store the generation management level, that is, the name and age data once a year in file 1 and the salary data twice a year in file 2.

(ii)ディクショナリ装置が、世代管理情報を項目別に
指定できるようにする。例えば、第2図の場合には、フ
ィールド別に、氏名を指定した場合には、その氏名に対
応するデータベース定義情報の長さと属性、世代管理情
報のインターバルと格納場所と有効期限のみがディスプ
レイ装置に表示され、その項目について指定した後、次
の項目に移るようにして、誤りなく登録・変更ができる
ようにする。
(Ii) Allow the dictionary device to specify generational management information item by item. For example, in the case of FIG. 2, when the name is specified for each field, only the length and attribute of the database definition information corresponding to the name, the interval of the generation management information, the storage location, and the expiration date are displayed on the display device. After it is displayed, you can specify the item and move to the next item so that you can register and change without error.

(iii)世代管理情報を管理するディクショナリ装置
と、世代情報を管理するディスク装置と、世代情報のレ
ベルに応じて、それぞれ格納場所を別個に備えることが
できる。すなわち、ディクショナリ装置A,B,Cに応じて
ファイル1,2,3に格納するようにし、またデータベース
のディスク装置A,B,Cに応じてファイル1,2,3に格納する
ようにし、さらに、世代情報のインターバルが1年、2
年、3年以上に応じて、ファイル1,2,3に格納するよう
にできる。
(Iii) A dictionary device that manages generation management information, a disk device that manages generation information, and a storage location can be separately provided according to the level of generation information. That is, the files are stored in files 1, 2, and 3 according to the dictionary devices A, B, and C, and the files are stored in files 1, 2, and 3 according to the database disk devices A, B, and C. , Generation information interval is 1 year, 2
It can be stored in files 1, 2 and 3 depending on the year, 3 years or more.

(iv)世代情報を全て拡張メモリまたはICディスクに配
置するとともに、特定の時点でこれらの世代情報を光デ
ィスクに書き出すようにする。すなわち、第1図に示す
ディクショナリファイル3を光ディスクとし、最初は世
代情報をこの光ディスクには書き込まずに、ディクショ
ナリ装置2内の拡張メモリまたはICディスクに記録して
おき、メモリ容量が不足した時点で光ディスクにこの情
報を移すようにする。
(Iv) All the generation information is placed in the extended memory or the IC disc, and the generation information is written on the optical disc at a specific time point. That is, the dictionary file 3 shown in FIG. 1 is used as an optical disc, and the generation information is not written to this optical disc at first, but is recorded in the expansion memory or the IC disc in the dictionary device 2, and when the memory capacity becomes insufficient, Try to transfer this information to an optical disc.

(v)世代データセット(ファイル)の容量に応じてイ
ンターバルを調整する機能を持たせる。また、未記帳レ
コードをそのまま世代レコードとして保存する方法を用
いる。すなわち、データを格納するファイル1,2,3の容
量の比が1:2:3のとき、ファイル1,2,3に3年以上のイン
ターバルのデータ、2年のインターバルのデータ、1年
のインターバルのデータを、それぞれ格納するように調
整する。そして、例えば記録ジャーナル等の未記帳レコ
ードをそのまま世代レコードとして保存することもでき
る。
(V) It has a function of adjusting the interval according to the capacity of the generational data set (file). In addition, a method of saving the unrecorded record as a generational record as it is is used. That is, when the ratio of the capacity of the files 1, 2 and 3 that store the data is 1: 2: 3, the data of the intervals of 3 years or more, the data of the interval of 2 years and the data of 1 year Adjust the interval data so that it is stored separately. Then, for example, an unrecorded record such as a recording journal can be directly stored as a generational record.

(vi)世代データをネットワークを介して分散管理する
ことが可能である。その場合、アクセス頻度の少ない世
代レコードは他方(ローカル)に分散させる。
(Vi) Generation data can be distributed and managed through a network. In that case, generational records with low access frequency are distributed to the other (local).

(vii)世代情報の呼び出し単位を知識化する。例え
ば、年度が与えられると、4月から翌年3月までを取り
出すようにする。
(Vii) Knowledgeize the calling unit of generation information. For example, if a year is given, it will be taken out from April to March of the following year.

また、世代取得ステータスの表示をするようにする。例
えば、項目の指定により、世代数を表示する。
Also, the generation acquisition status is displayed. For example, the number of generations is displayed by specifying the item.

(viii)項目別の世代情報を用いた意思決定支援システ
ムを構築する。すなわち、支援システムは、データベー
スシステムの円滑な運用を実現するためのもので、デー
タベースの初期生成、再構成、障害対策(回復)、動作
監視等の機能も行う。これらの動作を行う際に、項目別
の世代情報を利用するのである。
(Viii) Build a decision support system using generational information for each item. That is, the support system is for realizing smooth operation of the database system, and also performs functions such as initial generation, reconfiguration of the database, failure countermeasure (recovery), and operation monitoring. When performing these operations, the generational information for each item is used.

(ix)銀行オンラインシステムにおいて、未記帳レコー
ドを世代情報として保存する。すなわち、ログ情報とし
て、記録ジャーナル等の未記帳レコードを保存してお
き、世代情報とするのである。
(Ix) In the bank online system, store unrecorded records as generation information. That is, as log information, unrecorded records such as recording journals are stored and used as generation information.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明によれば、データベースの
世代管理をディクショナリ装置により制御するようにし
たので、世代情報の取得方法や格納場所を必要に応じて
容易に調整することができ、データベースの世代情報を
任意の時刻に取得することができ、その結果、複数世代
を統合的に管理することができる。
As described above, according to the present invention, since the generation management of the database is controlled by the dictionary device, it is possible to easily adjust the generation information acquisition method and the storage location as needed, and Generation information can be acquired at any time, and as a result, multiple generations can be managed in an integrated manner.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明の一実施例を示す世代管理を行うデータ
ベースシステムのブロック図、第2図は第1図における
世代管理情報のフォーマット例を示す図、第3図は第1
図における世代管理システムの動作フローチャートであ
る。 1:ディスプレイ装置、2:ディクショナリ装置、3:ディク
ショナリファイル、4:データベース管理システム、5:世
代管理システム、6:データベースバッファ、7,8:ファイ
ル、9:データベース。
FIG. 1 is a block diagram of a database system for managing generations showing an embodiment of the present invention, FIG. 2 is a diagram showing a format example of generation management information in FIG. 1, and FIG.
It is an operation | movement flowchart of the generation management system in a figure. 1: display device, 2: dictionary device, 3: dictionary file, 4: database management system, 5: generation management system, 6: database buffer, 7, 8: file, 9: database.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 高志 林一 神奈川県横浜市戸塚区戸塚町5030番地 株 式会社日立製作所ソフトウエア工場内 (72)発明者 酒井 直文 神奈川県川崎市麻生区王禅寺1099番地 株 式会社日立製作所システム開発研究所内 (72)発明者 田辺 行治 神奈川県横浜市中区尾上町6丁目81番地 日立ソフトウエアエンジニアリング株式会 社内 (72)発明者 安江 伸浩 東京都千代田区神田駿河台4丁目6番地 株式会社日立製作所内 (56)参考文献 特開 昭58−115562(JP,A) 特開 昭62−179035(JP,A) 特開 昭64−46850(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Hayashi Hajime 5030 Totsuka-cho, Totsuka-ku, Yokohama-shi, Kanagawa Prefecture Software company, Hitachi Ltd. (72) Inventor Naofumi Sakai 1099 Ozen-ji, Aso-ku, Kawasaki-shi, Kanagawa Incorporated company Hitachi Ltd. System Development Laboratory (72) Inventor Kyoji Tanabe 6-81 Onoue-cho, Naka-ku, Yokohama-shi, Kanagawa Hitachi Software Engineering Co., Ltd. (72) Inventor Nobuhiro Yasue 4 Kanda Surugadai, Chiyoda-ku, Tokyo (6) References JP-A-58-115562 (JP, A) JP-A-62-179035 (JP, A) JP-A-64-46850 (JP, A)

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】データベース管理システムに接続され、か
つデータベースの世代情報を管理するディクショナリ装
置と、上記世代情報を蓄積するディクショナリファイル
とを備えたデータベースシステムであって、上記データ
ベース管理システムとデータ格納ファイルとの間に世代
情報に従ってデータを取得する世代管理システムを設
け、かつ上記ディクショナリ装置を上記データベース管
理システムから独立させて、該ディクショナリ装置をデ
ィスプレイ装置と上記ディクショナリファイルと上記デ
ータベース管理システムにそれぞれ接続し、上記ディス
プレイ装置から世代情報を項目単位に指定して新規登録
ないし変更登録するとともに、該世代情報の取得タイミ
ングを任意に指定すると、指定された世代情報を上記デ
ィクショナリ装置により上記ディクショナリファイルに
登録し、上記データベース管理システムが上記ディクシ
ョナリファイルに登録された世代情報により、上記世代
管理システムに対してデータベースの出力要求を行うこ
とにより、該世代管理システムは登録された世代情報に
従ってデータベースよりデータを読み込み、該データを
指定されたデータ格納ファイルに出力することを特徴と
するデータベース世代管理方法。
1. A database system comprising a dictionary device connected to a database management system for managing generation information of a database and a dictionary file for accumulating the generation information, wherein the database management system and the data storage file And a generation management system for obtaining data according to generation information between, and the dictionary device is independent of the database management system, the dictionary device is connected to the display device, the dictionary file and the database management system, respectively. When the generation information is designated from the display device in units of items and newly registered or changed and the acquisition timing of the generation information is arbitrarily designated, the designated generation information is stored in the dictionary device. Generation information registered in the dictionary file, and the database management system makes a database output request to the generation management system based on the generation information registered in the dictionary file. According to the method, the data is read from the database, and the data is output to a specified data storage file.
【請求項2】上記ディクショナリ装置は、データベース
の世代情報が新規登録ないし変更登録されたとき、デー
タ格納ファイルの変更指定を行うことにより、登録され
た世代情報の項目別および世代管理レベルに応じて、デ
ータ格納ファイルの接続を変更することを特徴とする請
求項1に記載のデータベース世代管理方法。
2. The dictionary device according to the item of the registered generation information and the generation management level by designating the change of the data storage file when the generation information of the database is newly registered or changed. The database generation management method according to claim 1, wherein the connection of the data storage file is changed.
【請求項3】上記ディクショナリ装置は、登録された世
代情報を最初は該ディクショナリ装置内の拡張メモリな
いしICディスクに記憶しておき、予め定められた時点で
上記拡張メモリないしICディスクから大容量の光ディス
クに登録された世代情報を移し替えることを特徴とする
請求項1または2に記載のデータベース世代管理方法。
3. The dictionary device initially stores the registered generation information in an expansion memory or IC disk in the dictionary device, and stores a large capacity from the expansion memory or IC disk at a predetermined time. The database generation management method according to claim 1, wherein the generation information registered on the optical disc is transferred.
【請求項4】上記ディクショナリ装置は、接続されてい
るデータ格納ファイルの容量に応じて、登録されている
世代情報中のデータ取得間隔を定めたインターバル値を
変更することを特徴とする請求項1,2または3に記載の
データベース世代管理方法。
4. The dictionary device changes an interval value defining a data acquisition interval in registered generation information according to a capacity of a connected data storage file. The database generation management method according to 1, 2 or 3.
【請求項5】上記ディクショナリ装置は、年度の呼び出
しに対して年度データを取り出すようにして、世代情報
の呼び出し単位を知識化し、かつ世代取得ステータスを
表示することを特徴とする請求項1〜4のうちのいずれ
かに記載されたデータベース世代管理方法。
5. The dictionary device extracts year data for each year call, so that the calling unit of generation information is made knowledgeable and the generation acquisition status is displayed. The database generation management method described in any of the above.
【請求項6】上記世代情報毎のデータは、ネットワーク
を介してローカルファイルに分散管理されるとともに、
記録ジャーナルのような未記帳レコードはそのまま世代
レコードとして保存されることを特徴とする請求項1〜
5のうちのいずれかに記載されたデータベース世代管理
方法。
6. The data for each generation information is distributed and managed in a local file via a network,
An unrecorded record such as a recording journal is stored as a generational record as it is.
5. The database generation management method described in any one of 5.
JP1175200A 1989-07-06 1989-07-06 Database generation management method Expired - Fee Related JPH07104804B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP1175200A JPH07104804B2 (en) 1989-07-06 1989-07-06 Database generation management method
US07/547,512 US5185887A (en) 1989-07-06 1990-07-02 Database generation management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1175200A JPH07104804B2 (en) 1989-07-06 1989-07-06 Database generation management method

Publications (2)

Publication Number Publication Date
JPH0340043A JPH0340043A (en) 1991-02-20
JPH07104804B2 true JPH07104804B2 (en) 1995-11-13

Family

ID=15992045

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1175200A Expired - Fee Related JPH07104804B2 (en) 1989-07-06 1989-07-06 Database generation management method

Country Status (1)

Country Link
JP (1) JPH07104804B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001187477A (en) * 1999-12-28 2001-07-10 Ibm Japan Ltd Database system with breadcrumbs table
US6947946B2 (en) 1999-12-28 2005-09-20 International Business Machines Corporation Database system including hierarchical link table
JP2007164468A (en) * 2005-12-14 2007-06-28 Nippon Telegr & Teleph Corp <Ntt> Data recovery apparatus and program

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58115562A (en) * 1981-12-29 1983-07-09 Fujitsu Ltd Generation management system for reused data set
JPH0677237B2 (en) * 1982-07-08 1994-09-28 キヤノン株式会社 Electronic file device
JPS59123071A (en) * 1982-12-28 1984-07-16 Toshiba Corp Document file device
JPS60117346A (en) * 1983-11-30 1985-06-24 Fujitsu Ltd Information file system
US4638424A (en) * 1984-01-12 1987-01-20 International Business Machines Corporation Managing data storage devices connected to a digital computer
JPH0628042B2 (en) * 1986-01-31 1994-04-13 富士通株式会社 How to update the journal version
JPS6446850A (en) * 1987-08-17 1989-02-21 Nec Corp Data file restoring system

Also Published As

Publication number Publication date
JPH0340043A (en) 1991-02-20

Similar Documents

Publication Publication Date Title
KR100402913B1 (en) Parallel processing system for traversing a data base
US5418949A (en) Page map, metamap, and relation group file management supervised by operation means for allocating, storing, and searching friendly and exclusive data items
JP3734334B2 (en) Data migration system, computer-readable recording medium storing data migration program, and data migration method
US5682524A (en) Databank system with methods for efficiently storing non-uniform data records
US5265244A (en) Method and system for facilitating processing of statistical inquires on stored data accessible through a data access structure
US5185887A (en) Database generation management method and system
KR20010012305A (en) System and method for storing and manipulating data in an information handling system
JPH07104804B2 (en) Database generation management method
JPH07334402A (en) Main memory database
JP4152107B2 (en) Database update information reflection system and program therefor
JP4306281B2 (en) Hierarchical data mapping program, apparatus and method in relational database
JPH0695861A (en) Program parts reuse managing device
JPH05257765A (en) Database management system
JP3980326B2 (en) Data management method and computer-readable recording medium
JP4180247B2 (en) Apparatus and method for switching object management method
JPH06231012A (en) Log data managing device
JP2785966B2 (en) Foreign key dynamic resolution processing method
KR20000041891A (en) Object-oriented program interface for relational dbms
JPH1091503A (en) Information resource management control method and system
JPH01282635A (en) Index maintaining system
JPH04205173A (en) Information retrieval system
JPH04233664A (en) Data base management system
JPH06214849A (en) Data base system
JPS61165146A (en) Dynamic changing and processing system of data item in record type data
JPS63269224A (en) Data base access system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees