JPS62196725A - Control system for distributed relation data base - Google Patents

Control system for distributed relation data base

Info

Publication number
JPS62196725A
JPS62196725A JP61038114A JP3811486A JPS62196725A JP S62196725 A JPS62196725 A JP S62196725A JP 61038114 A JP61038114 A JP 61038114A JP 3811486 A JP3811486 A JP 3811486A JP S62196725 A JPS62196725 A JP S62196725A
Authority
JP
Japan
Prior art keywords
file
physical
computer
logical
data base
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
JP61038114A
Other languages
Japanese (ja)
Inventor
Kenichi Nakano
賢一 中野
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP61038114A priority Critical patent/JPS62196725A/en
Publication of JPS62196725A publication Critical patent/JPS62196725A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To refer effectively to a data base of an optional physical file, by storing in advance an item related to the physical file, in a logical file, when a relation data base is separated and exists. CONSTITUTION:When its logical file is activated, a coupling program RDMNS is started at that time point, and for instance, a session is secured against the other computer 2 which is defined on a logical file 11. Thereafter, by write and read-out from an application program APL1 of a computer 1, updating is executed with regard to a physical file of the computer 2, for instance, 21. When the logical file 11 is closed, the session is released.

Description

【発明の詳細な説明】 [4a要] 関係データベースが離れて存在するとき、論理ファイル
には物理ファイルに関する事項を格納して置き、任意の
物理ファイルのデータベースを有効に参照できる制御方
式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Required 4a] The present invention relates to a control method that stores information regarding physical files in a logical file and allows effective reference to the database of any physical file when relational databases are located separately.

し産業上の利用分野] 本発明は関係(リレーショナル)データベースが場所的
に隔離している時、論理ファイルには物理ファイルに関
する事項を格納して置くデータベースの制御方式に関す
る。
Field of Industrial Application] The present invention relates to a control method for a relational database in which information regarding physical files is stored in a logical file when the relational database is separated in location.

[従来の技術] データベースが場所的に隔離しているとき、第2図に示
すようにそれぞれ物理ファイル21.22を持った計算
機2.3に対し、それらを1つの論理ファイル10によ
り処理できるようにして論理ファイルを計算機1に持つ
ことは原理的に知られている。論理ファイル10は通常
、利用者が必要とするデータを、利用者が希望する形式
で物理ファイルから取出すためのファイルをいう。その
ためレコードを格納するための領域は有していない。
[Prior Art] When databases are separated in location, computers 2 and 3 each having physical files 21 and 22, as shown in FIG. It is known in principle to have a logical file in the computer 1. The logical file 10 generally refers to a file for extracting data required by a user from a physical file in a format desired by the user. Therefore, it does not have an area for storing records.

今、物理ファイル21が商品の売上ファイルで、22が
得意先ファイルとすれば、論理ファイル10は前記ファ
イル22.22について「得意先コード」により結合(
ジョイン)することが出来、それを商品コードをキーと
して並べ変えれば、表示装置に表示したとき見易いもの
となる。論理ファイルは得意先コードをキーとして、得
意先ファイルと売上ファイルを併合(マージ)すること
も出来る。このように論理ファイルはキーを定義して、
キーにより索引することが出来る。しかし物理ファイル
にはそれ自体にキーを定義することが出来ないからキー
による索引は千日J詣である。
Now, if the physical file 21 is a product sales file and 22 is a customer file, the logical file 10 will connect the files 22 and 22 by "customer code" (
If you rearrange them using the product code as a key, it will be easier to see when displayed on a display device. The logical file can also merge the customer file and the sales file using the customer code as a key. In this way, the logical file defines the key and
It can be indexed by key. However, since it is not possible to define a key for a physical file itself, indexing using keys is difficult.

[発明が解決しようとする問題点] 物理ファイルについて更新する場合は、計算機1に各計
算機2,3に対する変更プログラムP1゜P 2を作成
し設りて置く。そして各計算機2.3の物理ファイルに
対しレコード単位で更新することができるのみであった
[Problems to be Solved by the Invention] When updating a physical file, change programs P1, P2 for each of the computers 2 and 3 are created and installed in the computer 1. It was only possible to update the physical files of each computer 2.3 in record units.

本発明の目的は前述の欠点を改善し、論理ファイルには
各物理ファイルに関する事項を全て格納して置くことに
より、分散した物理ファイルを有効に活用するデータベ
ースの制御方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to improve the above-mentioned drawbacks and to provide a database control method that effectively utilizes distributed physical files by storing all items related to each physical file in a logical file.

E問題点を解決するための手段] 第1図は本発明の基本構成を示す図である。計算a1.
2.3について論理ファイル11,12゜13−が所定
の計算機に、また物理ファイル21.22−−も所定の
計算機に設けられている。このとき、物理ファイルに対
し参照・更新などを実行する計算機については自系に少
なくとも1つの論理ファイルを持つ。そして物理ファイ
ルは所定の計算機に持つこととする。そのため物理ファ
1′ルを持たない計算機もある。
Means for Solving Problem E] FIG. 1 is a diagram showing the basic configuration of the present invention. Calculation a1.
Regarding 2.3, logical files 11, 12, 13-- are provided in a predetermined computer, and physical files 21, 22-- are also provided in a predetermined computer. At this time, a computer that refers to, updates, etc. a physical file has at least one logical file in its own system. The physical file is then stored in a predetermined computer. Therefore, some computers do not have a physical file.

各論理ファイルの内容項目として、論理ファイル11を
外部に抽出し、その項目例を示しζいる。
As content items of each logical file, the logical file 11 is extracted to the outside, and examples of the items are shown below.

例えば物理ファイルが売上ファイルと、得意先ファイル
であれば、それに関連して商品コード・物理ファイルの
所在する計算機名・物理ファイル名・物理ファイルレコ
ード名などである。特に物理ファイルとその所在する計
算機(相手アドレスで表示)は本発明における新規項目
である。
For example, if the physical file is a sales file and a customer file, the related information includes a product code, a computer name where the physical file is located, a physical file name, a physical file record name, etc. In particular, the physical file and the computer where it resides (indicated by the destination address) are new items in the present invention.

RDMNS31,32−−−は結合プログラムであって
、自系の論理ファイルと他系または自系の物理ファイル
と結合するプログラムをいう。
RDMNS 31, 32 --- are connection programs, which are programs that connect logical files of the own system with physical files of other systems or the own system.

また論理ファイル11,12.13・−・について同一
計算機内に2つ以上存在するとき、それらは例えばキー
を異にして作成した論理ファイルである。
Furthermore, when two or more logical files 11, 12, 13, . . . exist in the same computer, they are logical files created with different keys, for example.

したがって物理ファイル21.22−に対し参照・更新
を行うとき、より早く有効に使用できる方を選択する。
Therefore, when referring to or updating the physical files 21, 22-, the one that can be used more quickly and effectively is selected.

し作用] 自系内に論理ファイルを有する計算機は、その論理ファ
イルを活性化すれば、その時点で前記結合プログラムR
DMNSが起動され、例えば論理ファイル11上に定義
されζいる相手の計算機2とセツションの確立が行われ
る。その後計算機1のアプリケーションプログラムAP
LIからの書込み・続出しにより、結合プログラムを介
して、計算機2の物理ファイル例えば21について更新
が実行される。そして論理ファイル11がクローズされ
たとき、セツションは開放される。
[Operation] When a computer that has a logic file in its own system activates the logic file, the connection program R is activated at that point.
DMNS is started, and a session is established with the other computer 2 defined in the logical file 11, for example. After that, the application program AP of computer 1
By writing/continuing from the LI, the physical file 21 of the computer 2, for example, is updated via the linking program. When the logical file 11 is closed, the session is released.

し実施例] 論理ファイルとして各項目の例を挙げると、次記のよう
になる。
Example] An example of each item as a logical file is as follows.

[発明の効果] このようにして本発明によると、論理ファイルを具備し
ている計算機は、論理ファイルについて゛アクセスする
のみで、物理ファイルが何処に何のように存在するかを
、意識すること無く、参照・更新の処理がレコード単位
で容易に出来る。
[Effects of the Invention] In this way, according to the present invention, a computer equipped with a logical file does not need to be aware of where and how a physical file exists by simply accessing the logical file. There are no records, and reference/update processing can be easily performed on a record-by-record basis.

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

第1図は本発明の基本構成を示す図、 第2図は従来の構成を示す図である。 1.2. 3−計算機 10.11.12・・・論理ファイル 2122〜物理ファイル FIG. 1 is a diagram showing the basic configuration of the present invention, FIG. 2 is a diagram showing a conventional configuration. 1.2. 3-Calculator 10.11.12...Logical file 2122 ~ Physical file

Claims (1)

【特許請求の範囲】[Claims] 関係データベースが場所的に隔離した複数の計算機(2
)(3)……に分散して存在しているとき、少なくとも
論理ファイル(11)(12)……を自系内に1つ持ち
、該論理ファイル(11)(12)……には各物理ファ
イル(21)(22)……に関する事項を全て格納して
置くことを特徴とする分散型関係データベースの制御方
式。
A relational database is installed on multiple geographically isolated computers (2
) (3) When distributed to..., it has at least one logical file (11) (12)... in its own system, and each logical file (11) (12)... A control method for a distributed relational database characterized by storing all items related to physical files (21), (22)...
JP61038114A 1986-02-22 1986-02-22 Control system for distributed relation data base Pending JPS62196725A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61038114A JPS62196725A (en) 1986-02-22 1986-02-22 Control system for distributed relation data base

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61038114A JPS62196725A (en) 1986-02-22 1986-02-22 Control system for distributed relation data base

Publications (1)

Publication Number Publication Date
JPS62196725A true JPS62196725A (en) 1987-08-31

Family

ID=12516446

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61038114A Pending JPS62196725A (en) 1986-02-22 1986-02-22 Control system for distributed relation data base

Country Status (1)

Country Link
JP (1) JPS62196725A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63206838A (en) * 1987-02-23 1988-08-26 Fuji Xerox Co Ltd System for managing film in information retrieving device
JPH01166230A (en) * 1987-12-23 1989-06-30 Hitachi Ltd Data base allocation system for decentralized system
JPH01171060A (en) * 1987-12-18 1989-07-06 Internatl Business Mach Corp <Ibm> Preparation of schedule
JPH04112239A (en) * 1990-08-31 1992-04-14 Fujitsu Ltd Storage structure definition processing system for data base

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63206838A (en) * 1987-02-23 1988-08-26 Fuji Xerox Co Ltd System for managing film in information retrieving device
JPH01171060A (en) * 1987-12-18 1989-07-06 Internatl Business Mach Corp <Ibm> Preparation of schedule
JPH01166230A (en) * 1987-12-23 1989-06-30 Hitachi Ltd Data base allocation system for decentralized system
JPH04112239A (en) * 1990-08-31 1992-04-14 Fujitsu Ltd Storage structure definition processing system for data base

Similar Documents

Publication Publication Date Title
JP2634117B2 (en) Method and system for determining user access privileges for database objects
CN103544323B (en) A kind of data-updating method and device
JPH04242858A (en) File update processor
US20070043699A1 (en) Method and system for visualizing data relationships using tree and grid layouts
EP0633538A2 (en) Relational database management system
US20020161735A1 (en) Modification system for supporting localized data changes in a mobile device
US6823334B2 (en) Metadata system for managing data mining environments
JPH0812632B2 (en) Information system and information method
US20120036166A1 (en) Effective dating for table or relationship modifications
JPS62196725A (en) Control system for distributed relation data base
US6718335B1 (en) Datawarehouse including a meta data catalog
JP4152107B2 (en) Database update information reflection system and program therefor
US8626746B2 (en) Tracking modifications to values of various fields in a database serve
JP3245873B2 (en) File processing device
CA1301366C (en) Interactive error handling means in database management
JP2939623B2 (en) System information management device
JP2003140933A (en) General purpose database built-in system
Domdouzis et al. Physical Storage and Distribution
JPH06175897A (en) Data base
JPH06266591A (en) Document managing method
JP3047399B2 (en) File processing device
JP3358194B2 (en) Data processing device
EP1008068A1 (en) User interface for the specification of index groups over classes
JP2000123017A (en) Method and device for outputting data and storage medium storing program therefor
JPH07175686A (en) Error system