JPH05233390A - Data division management system for distributed data base - Google Patents

Data division management system for distributed data base

Info

Publication number
JPH05233390A
JPH05233390A JP4035090A JP3509092A JPH05233390A JP H05233390 A JPH05233390 A JP H05233390A JP 4035090 A JP4035090 A JP 4035090A JP 3509092 A JP3509092 A JP 3509092A JP H05233390 A JPH05233390 A JP H05233390A
Authority
JP
Japan
Prior art keywords
site
condition
division
data
computer resource
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
JP4035090A
Other languages
Japanese (ja)
Inventor
Yasuko Mochizuki
谷州子 望月
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP4035090A priority Critical patent/JPH05233390A/en
Publication of JPH05233390A publication Critical patent/JPH05233390A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To generate a load division condition from the resource condition of each site in accordance with the division system inputted by a DBA. CONSTITUTION:Each site is provided with a computer resource management means 15 which stores and manages the computer resource condition, a division system selecting means 16 which selects the division system for data arrangement based on the computer resource condition by a user, a division condition generating means 17 which leads the division condition in accordance with the division system obtained from the division system selecting means 16 based on the computer resource condition obtained from the computer resource management means 15, and a division condition storage means 18, for which the data division condition led by the division condition generating mans 17 is stored, and the division system is only determined to efficiently distribute the load in accordance with the computer resource condition.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、分散型のデータベース
管理システムに於いて、複数の計算機サイトに負荷を分
散する際に適用されるデータ分割方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data division method applied when a load is distributed to a plurality of computer sites in a distributed database management system.

【0002】[0002]

【従来の技術】分散型のデータベースシステムに於いて
は、物理的に分かれたデータベースを協調して利用する
ことで、より高度な情報を得、計算機の負荷を分散させ
ることができるといった利点がある。データの分割/配
置の方法によって、計算機の負荷を効果的に分散し、計
算機の性能を充分に活かすことが可能となる。従来の技
術による、データベースの分散配置の例を示す。データ
の分割は、インデックスの値による条件を定め、その条
件に基づいて分散する。
2. Description of the Related Art In a distributed database system, there is an advantage that more sophisticated information can be obtained and a load of a computer can be distributed by cooperating and utilizing physically separated databases. .. By the method of dividing / arranging the data, it becomes possible to effectively distribute the load of the computer and make full use of the performance of the computer. An example of distributed arrangement of databases according to a conventional technique is shown. The data division is determined based on the index value and distributed based on the condition.

【0003】データに、サイトに依存する情報が含まれ
るか、或いは検索方法が定まる場合、各サイトに依存性
の高いデータを配置するように、データベースの分割配
置方式を決めることができる。
When the data includes information that depends on the site or the search method is determined, the divisional allocation method of the database can be determined so that the highly dependent data is allocated at each site.

【0004】例えば、銀行データベースなどでは、口座
に対して、その口座のある支店に基づきデータを配置す
る。分割条件は、支店(通常、支店コード)によって各
サイトへのデータ配置方法を示す。この際は、ある口座
に関するデータへのアクセスがあると、その口座の支店
の支店コードで識別され、データのあるサイトを知るこ
とができる。
For example, in a bank database or the like, data is arranged for an account based on the branch where the account is located. The division condition indicates a data allocation method at each site according to a branch (usually a branch code). In this case, if there is access to the data related to a certain account, it can be identified by the branch code of the branch of that account, and the site where the data is located can be known.

【0005】しかし、データにサイトへの依存性がない
場合、データベース管理者(以下DBAと称す)はデー
タの分割/配置条件を決定し、カタログ等に格納して管
理する。その条件もインデックスの値を用いてDBAが
適当に決め、直接カタログに書き込む。
However, if the data has no site dependency, a database administrator (hereinafter referred to as DBA) determines the data division / arrangement conditions and stores them in a catalog or the like for management. The condition is also appropriately determined by the DBA using the index value and directly written in the catalog.

【0006】例えば、図2に示すような通信路により相
互に接続された3つのサイト(A,B,C)に、既存の
データを配置する。データベースに於いて、最も良く利
用されるインデックスをI(1≦I≦1000万)とす
る。DBAはデータをIの値をもとに、 サイトA: I = 1 〜 333万 サイトB: I = 333万 〜 666万 サイトC: I = 666万 〜 1000万 のように、等分割するように決めたとする。DBAはこ
の条件をカタログに登録し、データはこの条件に合うよ
うに配置する。
For example, existing data is arranged at three sites (A, B, C) mutually connected by a communication path as shown in FIG. The index most often used in the database is I (1 ≦ I ≦ 10 million). The DBA divides the data into equal parts based on the value of I, such as Site A: I = 1 to 33,300 Site B: I = 33,300 to 6,660,000 Site C: I = 6,660,000 to 10,000,000. Suppose you decide. The DBA registers this condition in the catalog and arranges the data so as to meet this condition.

【0007】一般に、サイト数がN個であったとき、デ
ータを各サイトに均等に配置するように、DBAが次の
インデックスiに基づく分割条件を作成し、格納してお
く。インデックスiのデータは、mod(i/N)番目
のサイトに格納し、入力されたデータは入力の都度、い
ずれのサイトに配置されるかがこの分割条件に基づいて
計算されて、そのサイトに送られ格納される。ここで、
各サイトにデータが等分割されている場合の処理性能の
例を示す。3つのサイトから成る分散データベースに於
いて、そのそれぞれの計算機の主記憶量が次のようにな
っていたとする。 サイト 主記憶量 サイトA: 100MB サイトB: 10MB サイトC: 1000MB ここで、処理の速度は、概ね主記憶量が大きくなるほど
速くなる。
Generally, when the number of sites is N, the DBA creates and stores a division condition based on the next index i so that the data is evenly arranged at each site. The data of the index i is stored in the mod (i / N) th site, and each time the input data is input, the site to be placed is calculated based on this division condition, and the data is stored in that site. Sent and stored. here,
An example of processing performance when data is equally divided at each site is shown below. In a distributed database consisting of three sites, assume that the main memory capacity of each computer is as follows. Site main memory amount Site A: 100 MB Site B: 10 MB Site C: 1000 MB Here, the processing speed increases as the main memory amount increases.

【0008】よって、上記各サイトに、ある同じ処理を
させると、サイトAでは10msecで行なわれる処理が、
サイトBでは100msec、サイトCでは1msecでそれぞ
れ行なわれることになる。
Therefore, if each of the above sites is subjected to the same process, the process performed at 10 msec at site A is
It will be performed at 100 msec at site B and 1 msec at site C.

【0009】従って、データへのアクセスが各データと
もに均等である場合を考えると、各サイト(A,B,
C)に於けるデータベースの処理量は上述の如くデータ
量に比例するので、サイトBでの処理負荷が大きくな
り、効率の良い負荷分散が成されない。
Therefore, considering the case where access to data is uniform for each data, each site (A, B,
Since the processing amount of the database in C) is proportional to the data amount as described above, the processing load on the site B becomes large and efficient load distribution cannot be achieved.

【0010】[0010]

【発明が解決しようとする課題】このように、従来の方
式に於いては、DBAによってデータの分割条件が定め
られるため、DBAの仕事が煩雑になるといった欠点が
あった。更に、計算機の性能がサイトによって異なる場
合に、データを単に等分割する従来の手段では、負荷を
効率良く分散して計算機を利用することができないとい
う問題があった。
As described above, the conventional method has a drawback in that the DBA determines the data division conditions, which complicates the work of the DBA. Further, when the performance of the computer differs depending on the site, there is a problem that the conventional means for simply dividing the data into equal parts cannot efficiently distribute the load and use the computer.

【0011】[0011]

【課題を解決するための手段】本発明による分散データ
ベースシステムに於いては、全サイトの計算機リソース
状況を格納する計算機リソース管理手段と、この計算機
リソース管理手段に格納された計算機リソース状況に基
づいてデータ配置を行なうときの分割方式をユーザレベ
ルで選択可能な分割方式選択手段と、上記計算機リソー
ス管理手段より得られる計算機リソース状況から上記分
割方式選択手段によって得られた分割方式に従って分割
条件を導く分割条件生成手段と、上記分割条件生成手段
によって導かれるデータを分割する条件を格納する分割
条件記憶手段とを備え、システムが計算機リソース状況
に従って負荷分散を図るデータの分割/配置管理を行な
うことを特徴とする。
In the distributed database system according to the present invention, based on the computer resource management means for storing the computer resource status of all sites, and the computer resource status stored in this computer resource management means Partitioning method selecting means capable of selecting a partitioning method at the time of arranging data at a user level, and partitioning for guiding a partitioning condition according to the partitioning method obtained by the partitioning method selecting means from the computer resource status obtained from the computer resource managing means. The present invention is characterized by including condition generation means and division condition storage means for storing conditions for dividing the data introduced by the division condition generation means, and the system performs division / allocation management of data for load distribution according to the computer resource status. And

【0012】[0012]

【作用】上記した本発明の構成に於いて、DBAは分割
方式を入力し、システムはその分割方式に従って、計算
機リソース管理手段から取り出した各サイトの計算機リ
ソース状況から分割条件生成手段によって分割条件を生
成し、その分割条件を分割条件記憶手段に格納する。
In the above-described configuration of the present invention, the DBA inputs the partitioning method, and the system determines the partitioning condition by the partitioning condition generating means from the computer resource status of each site extracted from the computer resource managing means according to the partitioning method. It is generated and the division condition is stored in the division condition storage means.

【0013】このように、計算機リソース状況から分割
条件を生成するので、計算機リソース状況に応じた、負
荷分散のバランスが図られ、各サイトの性能を十分に活
かすことができる。
As described above, since the division condition is generated from the computer resource status, the load distribution is balanced according to the computer resource status, and the performance of each site can be fully utilized.

【0014】[0014]

【実施例】以下図面を参照して本発明の一実施例を説明
する。図1は本発明の一実施例によるシステム構成を示
すブロック図である。図1に於いて、11は計算機サイ
トであり、12は計算機サイト相互の間を接続する通信
路である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a system configuration according to an embodiment of the present invention. In FIG. 1, 11 is a computer site, and 12 is a communication path connecting the computer sites to each other.

【0015】計算機サイト11には、システムの制御を
司るCPU13、及びデータベース14が設けられると
ともに、本発明を実現するための15乃至18の各構成
要素が設けられる。
The computer site 11 is provided with a CPU 13 for controlling the system, a database 14, and each of the components 15 to 18 for implementing the present invention.

【0016】即ち、計算機サイト11には、全ての計算
機サイトの計算機リソース状況を格納し管理する計算機
リソース管理手段15と、この計算機リソース管理手段
15より得られる計算機リソース状況に基づいてデータ
配置を行なうときの分割方式をユーザより選択するため
の分割方式選択手段16と、上記計算機リソース管理手
段15より得られる計算機リソース状況から上記分割方
式選択手段16により得られた分割方式に従って、分割
条件を導く分割条件生成手段17と、上記分割条件生成
手段17によって導かれる、データを分割する条件を格
納する分割条件記憶手段18とが設けられる。
That is, in the computer site 11, computer resource management means 15 for storing and managing the computer resource status of all the computer sites, and data allocation based on the computer resource status obtained from this computer resource management means 15. A partitioning method selecting unit 16 for selecting a partitioning method at this time from the user, and a partitioning method that derives a partitioning condition according to the partitioning method obtained by the partitioning method selecting unit 16 from the computer resource status obtained by the computer resource managing unit 15. The condition generation means 17 and the division condition storage means 18 for storing the conditions for dividing the data, which are guided by the division condition generation means 17, are provided.

【0017】図2は本発明で対象とする分散データベー
スシステムの構成例を示したもので、ここでは3つの計
算機サイト(A,B,C)20a,20b,20cが通
信路22(図1の通信路12に相当)、及び通信ネット
ワーク21により相互に接続された構成を例示してい
る。この各計算機サイト(A,B,C)20a,20
b,20cがそれぞれ上記図1に示される計算機サイト
11に相当する。図3は上記実施例の処理動作を説明す
るためのフローチャートである。図4は上記実施例に於
いて負荷分散を主記憶の大きさに従って行なう場合の処
理動作の流れを説明するための図である。ここで上記各
図を参照して本発明の実施例に於ける動作を説明する。
先ず図3のフローチャートを用いて、分割条件を生成す
る処理の流れを説明する。この分割条件の生成処理は、
CPU13の制御の下に分割条件生成手段17によって
実現される。計算機リソース管理手段15には全ての計
算機サイトの計算機リソース状況が格納され管理されて
いる。
FIG. 2 shows an example of the configuration of the distributed database system of the present invention. Here, three computer sites (A, B, C) 20a, 20b, 20c are connected to the communication path 22 (of FIG. 1). (Corresponding to the communication path 12) and a configuration in which they are mutually connected by a communication network 21. Each computer site (A, B, C) 20a, 20
b and 20c respectively correspond to the computer site 11 shown in FIG. FIG. 3 is a flow chart for explaining the processing operation of the above embodiment. FIG. 4 is a diagram for explaining the flow of processing operations when load distribution is performed according to the size of the main memory in the above embodiment. The operation of the embodiment of the present invention will be described with reference to the drawings.
First, the flow of processing for generating division conditions will be described using the flowchart of FIG. This division condition generation process is
It is realized by the division condition generating means 17 under the control of the CPU 13. The computer resource management means 15 stores and manages the computer resource status of all computer sites.

【0018】上記分割条件の生成処理は、先ず、ユーザ
が分割方式選択手段16により、どのような計算機リソ
ースの状況の値を用いてデータを分割するかを決める分
割方式を選択し入力する(図3ステップS1)。
In the division condition generation process, first, the user selects and inputs a division method that determines what kind of computer resource status value is used to divide the data by the division method selection means 16 (see FIG. 3 step S1).

【0019】ここで分割方式が選択されると、その選択
された分割方式のパラメータとなったリソースの値を計
算機リソース管理手段15のカタログ情報等から得る
(図3ステップS2)。
When a partition method is selected here, the resource value which is the parameter of the selected partition method is obtained from the catalog information of the computer resource management means 15 (step S2 in FIG. 3).

【0020】この計算機リソース管理手段15より得た
リソースの値と、上記分割方式選択手段16より得た分
割方式とをもとに、分割条件生成手段17により分割条
件を生成する(図3ステップS3)。この分割条件生成
手段17で生成した分割条件を分割条件記憶手段18に
格納する(図3ステップS4)。この分割条件記憶手段
18に格納された分割条件に従い、負荷分散を図るべく
データの分割処理が行なわれる。
Based on the resource value obtained from the computer resource managing means 15 and the division method obtained from the division method selecting means 16, the division condition generating means 17 generates a division condition (step S3 in FIG. 3). ). The division condition generated by the division condition generation means 17 is stored in the division condition storage means 18 (step S4 in FIG. 3). In accordance with the division condition stored in the division condition storage means 18, data division processing is performed to achieve load distribution.

【0021】次に、図2及び図4を参照して、分割条件
の生成の仕方を説明する。ここで用いる分散データベー
スは、図2のように、通信路21(図1の通信路12に
相当)、及び通信ネットワーク21により相互に接続さ
れた3つの計算機サイト(A,B,C)からなるものと
する。
Next, a method of generating a division condition will be described with reference to FIGS. As shown in FIG. 2, the distributed database used here includes a communication path 21 (corresponding to the communication path 12 in FIG. 1) and three computer sites (A, B, C) mutually connected by the communication network 21. I shall.

【0022】計算機の行なう処理のうち、データベース
処理を主に行なっているシステムの場合、主記憶量が大
きいシステムほどデータベース処理性能が高い傾向があ
る。ここで言う主記憶量とは、計算機の主記憶量のうち
データベース処理に用いているバッファやデータキャッ
シュなどの領域の大きさのことを示している。そこで、
主記憶量に比例して全てのデータを配置することを、ユ
ーザが分割方式として選択したとすると、計算機リソー
ス管理手段15から サイト 主記憶量 サイトA: 100MB サイトB: 10MB サイトC:1000MB であることが分かる。サイトごとの主記憶量の比率は A:B:C=10:1:100 となっており、この比率でデータを分散する。よく使用
されるインデックスIを抽出し、Iの値が1≦I≦10
00万であることと、上記の比を用い、分割条件生成手
段17は サイトA:I= 1〜 90万 サイトB:I= 90万〜 100万 サイトC:I=100万〜1000万 のように、データベース処理の性能を負荷分散できるよ
うな配置のための分割条件を決定する。この分割条件を
分割条件記憶手段18に格納する。データ量とデータベ
ース処理量は比例するので、サイトごとのデータベース
処理量の比率も A:B:C=10:1:100 となる。各サイトに於いて、ある処理を行った場合の処
理時間は、主記憶量に反比例するので、 A:B:C=10:100:1 となる。
In a system that mainly performs database processing among the processing performed by a computer, a system having a larger main memory tends to have higher database processing performance. The main storage amount here refers to the size of the area such as the buffer or data cache used for database processing in the main storage amount of the computer. Therefore,
If the user selects to allocate all the data in proportion to the main memory as a partitioning method, the computer main memory 15 is the site main memory: Site A: 100 MB Site B: 10 MB Site C: 1000 MB. I understand. The ratio of the main memory amount for each site is A: B: C = 10: 1: 100, and the data is distributed at this ratio. Extract frequently used index I, and the value of I is 1 ≦ I ≦ 10
Using the above ratio, the division condition generation means 17 determines that the site A: I = 1 to 900,000 sites B: I = 900 to 1 million sites C: I = 1 to 10 million. In addition, the partitioning conditions for the placement that can distribute the load of database processing are determined. This division condition is stored in the division condition storage means 18. Since the amount of data and the amount of database processing are proportional, the ratio of the amount of database processing for each site is also A: B: C = 10: 1: 100. At each site, the processing time when a certain processing is performed is inversely proportional to the main memory amount, so that A: B: C = 10: 100: 1.

【0023】ある時間内に、サイトAで100件の処理
が1件平均10msecで行なわれたとすると、サイトBで
は10件の処理が平均100msecで、サイトCでは10
00件の処理が平均1msecで行われることになる。よっ
て、各サイトのデータベース処理にかかる時間は、それ
ぞれ約1sec となり、効率よく負荷分散が成されている
と言える。
If 100 processings are performed on site A at an average of 10 msec within a certain period of time, 10 processings are performed on site B at an average of 100 msec, and 10 processings are performed at site C at 10 msec.
The processing of 00 cases will be performed in an average of 1 msec. Therefore, the time required for database processing at each site is about 1 second, and it can be said that the load is efficiently distributed.

【0024】計算機のリソース状況から分割条件を生成
する手段には、他にも以下のような方式を含む種々のも
のがあり、DBAはデータの特性に合わせてこれらの方
式を入力する。 (1).ホットスポット(他のデータと比べてアクセス
の頻繁なところ)になりそうなところを予測して、主記
憶量の大きなサイトに割り当てる。ホットスポットのデ
ータの処理を高速に行なうことによって、負荷を分散
し、システムダウンの危険性を少なくする。
There are various other means for generating the division condition from the resource status of the computer, including the following methods, and the DBA inputs these methods according to the characteristics of the data. (1). Predict the places that are likely to become hotspots (where they are accessed more frequently than other data) and assign them to sites with large main memory. By processing hotspot data at high speed, the load is distributed and the risk of system down is reduced.

【0025】例えば、図2の構成の分散データベースに
於いて、インデックスIによって、次のように分割条件
を定め、ある時間内でのアクセス回数が次のようになっ
ていたとする。 サイトA:I=200万〜 500万:約 2000回 サイトB:I=500万〜1000万:約 200回 サイトC:I= 1〜 200万:約20000回 この場合、アクセス回数の比は A:B:C=10:1:100 となり、主記憶量の比と同じになるため、負荷分散が行
なわれているといえる。 (2).主記憶と、外部記憶、あるいは半導体記憶と、
そうでない記憶装置に分類し、その比に基づきデータの
配分を決定する。主記憶量が上記の例と同じで、外部記
憶の量が次のようになっていたとする。 サイト 外部記憶量 サイトA:20GB サイトB:10GB サイトC:50GB よって、外部記憶量の比は A:B:C=2:1:5 外部記憶量に対する主記憶量の比によって、データを分
割するとし、それぞれの比から、データ比を A:B:C=5:1:20 のように設定する。そのとき、インデックスIに基づい
て、 サイトA:I= 1 〜 200万 サイトB:I=200万 〜 250万 サイトC:I=250万 〜1000万 のような分割条件を生成できる。 (3).CPUや通信性能も考慮する。CPUや通信性
能によっても処理できるデータの量が異なってくる。こ
れらを考慮することで、負荷分散を行うことができる。
例えば、各サイトのCPU性能比をとり、その比によっ
てデータを分散する。各サイトのMIPS値が次のよう
になっていたとする。 サイト MIPS値 サイトA:30MIPS サイトB:10MIPS サイトC:60MIPS この比は A:B:C=3:1:6 となり、この比に基づいてデータを分散し、 サイトA:I= 1〜 300万 サイトB:I=300万〜 400万 サイトC:I=400万〜1000万 のような分割条件を生成できる。同様に、通信性能の比
によって、データを分散することで、通信ネックになり
易いマシンの負荷分散を行なうことができる。
For example, in the distributed database having the configuration shown in FIG. 2, it is assumed that the index I sets the following division conditions and the number of accesses within a certain time is as follows. Site A: I = 2 to 5 million: about 2000 times Site B: I = 5 to 10 million: about 200 times Site C: I = 1 to 2 million: about 20000 times In this case, the ratio of access times is A : B: C = 10: 1: 100, which is the same as the ratio of the main memory amount, so it can be said that the load is distributed. (2). Main memory, external memory, or semiconductor memory,
The storage device is classified into the other storage devices, and the data distribution is determined based on the ratio. It is assumed that the main memory amount is the same as the above example, and the external memory amount is as follows. Site external storage amount Site A: 20 GB Site B: 10 GB Site C: 50 GB Therefore, the ratio of external storage amount is A: B: C = 2: 1: 5 When the data is divided according to the ratio of main storage amount to external storage amount Then, from the respective ratios, the data ratio is set as A: B: C = 5: 1: 20. At that time, based on the index I, division conditions such as site A: I = 1 to 2 million sites B: I = 2 million to 2.5 million sites C: I = 2.5 million to 10 million can be generated. (3). Also consider the CPU and communication performance. The amount of data that can be processed also depends on the CPU and communication performance. The load can be distributed by considering these.
For example, the CPU performance ratio of each site is taken, and the data is distributed according to the ratio. It is assumed that the MIPS value of each site is as follows. Site MIPS value Site A: 30 MIPS Site B: 10 MIPS Site C: 60 MIPS This ratio is A: B: C = 3: 1: 6, and the data is distributed based on this ratio, and Site A: I = 1 to 3 million. Site B: I = 3,000,000 to 4,000,000 Site C: I = 4,000,000 to 10,000,000 can be generated. Similarly, by distributing the data in accordance with the communication performance ratio, it is possible to perform load distribution of the machine which is likely to become a communication bottleneck.

【0026】上記したように本発明の実施例によれば、
通信路により接続される複数サイトにデータを分散配置
する分散データベースシステムにおいて、DBAの経験
や直感だけに頼った手段ではなく、DBAが分割方式を
決定するだけで、計算機リソース状況に従った、データ
ベースの分割/配置管理を行ない、負荷を効率よく分散
することができる。
As described above, according to the embodiment of the present invention,
In a distributed database system in which data is distributed and distributed to multiple sites connected by communication channels, the DBA determines the partitioning method, not the method relying only on the DBA's experience and intuition, but on the basis of computer resource status. It is possible to efficiently distribute the load by performing division / arrangement management of.

【0027】[0027]

【発明の効果】以上詳記したように本発明によれば、分
散データベースシステムを構成する全てのサイトの計算
機リソース状況を格納する計算機リソース管理手段と、
この計算機リソース管理手段に格納された計算機リソー
ス状況に基づいてデータ配置を行なうときの分割方式を
ユーザレベルで選択可能な分割方式選択手段と、上記計
算機リソース管理手段より得られる計算機リソース状況
から上記分割方式選択手段によって得られた分割方式に
従って分割条件を導く分割条件生成手段と、上記分割条
件生成手段によって導かれるデータを分割する条件を格
納する分割条件記憶手段とを備えて、システムが計算機
リソース状況に従って負荷分散を図るデータの分割/配
置管理を行なう構成としたことにより、通信路により接
続される複数サイトにデータを分散配置する分散データ
ベースシステムにおいて、DBAが分割方式を決定する
だけで計算機リソース状況に従い負荷を効率よく分散す
ることができる。
As described in detail above, according to the present invention, computer resource management means for storing the computer resource status of all the sites constituting the distributed database system,
Partitioning method selecting means capable of selecting at a user level a partitioning method when arranging data based on the computer resource status stored in the computer resource managing means, and the above-mentioned partitioning based on the computer resource status obtained from the computer resource managing means. The system is provided with a division condition generating means for guiding a division condition according to the division method obtained by the method selecting means, and a division condition storing means for storing a condition for dividing the data guided by the division condition generating means, and the system is provided with a computer resource status. In the distributed database system in which data is distributed / distributed to a plurality of sites connected by communication paths, the DBA simply determines the partitioning method to configure the partitioning / arrangement of data for load distribution according to Therefore, the load can be efficiently distributed.

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

【図1】本発明の一実施例の構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】本発明で対象とする分散データベースシステム
の構成例を示すブロック図。
FIG. 2 is a block diagram showing a configuration example of a distributed database system targeted by the present invention.

【図3】上記実施例の処理動作を説明するフローチャー
ト。
FIG. 3 is a flowchart illustrating a processing operation of the above embodiment.

【図4】上記実施例に於いて負荷分散を主記憶の大きさ
に従って行なう場合の処理の流れを説明するための図。
FIG. 4 is a diagram for explaining the flow of processing when load distribution is performed according to the size of main memory in the above embodiment.

【符号の説明】[Explanation of symbols]

11…計算機サイト、12,22…通信路、13…CP
U、14…データベース、15…計算機リソース管理手
段、16…分割方式選択手段、17…分割条件生成手
段、18…分割条件記憶手段、20a…計算機サイト
A、20b…計算機サイトB、20c…計算機サイト
C、21…通信ネットワーク。
11 ... Computer site, 12, 22 ... Communication path, 13 ... CP
U, 14 ... Database, 15 ... Computer resource management means, 16 ... Dividing method selecting means, 17 ... Dividing condition generating means, 18 ... Dividing condition storing means, 20a ... Computer site A, 20b ... Computer site B, 20c ... Computer site C, 21 ... Communication network.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 通信路により相互に接続される複数の計
算機サイト上に構築され、データを分割する条件を格納
する分割条件記憶手段を有して、上記分割条件記憶手段
に格納された条件に従いデータを上記各計算機サイトに
分割配置する分散データベースシステムに於いて、 上記各計算機サイトの計算機リソース状況を格納する計
算機リソース管理手段と、 上記計算機リソース管理手段に格納された計算機リソー
ス状況に基づいてデータ配置を行なうときの分割方式を
選択する分割方式選択手段と、 上記計算機リソース管理手段に格納された計算機リソー
ス状況から上記分割方式選択手段によって得られた分割
方式に従って分割条件を導く分割条件生成手段とを具備
し、選択された分割方式に従い計算機リソース状況から
分割条件を生成することを特徴とする分散データベース
のデータ分割管理方式。
1. A division condition storage means, which is constructed on a plurality of computer sites mutually connected by a communication path, and stores a condition for dividing data, is provided according to the conditions stored in the division condition storage means. In a distributed database system in which data is divided and allocated to each computer site, computer resource management means for storing the computer resource status of each computer site, and data based on the computer resource status stored in the computer resource management means Partitioning method selecting means for selecting a partitioning method when arranging; partitioning condition generating means for deriving a partitioning condition according to the partitioning method obtained by the partitioning method selecting means from the computer resource status stored in the computer resource managing means; And generate partitioning conditions from the computer resource status according to the selected partitioning method. A distributed data management method for distributed databases.
JP4035090A 1992-02-21 1992-02-21 Data division management system for distributed data base Pending JPH05233390A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4035090A JPH05233390A (en) 1992-02-21 1992-02-21 Data division management system for distributed data base

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4035090A JPH05233390A (en) 1992-02-21 1992-02-21 Data division management system for distributed data base

Publications (1)

Publication Number Publication Date
JPH05233390A true JPH05233390A (en) 1993-09-10

Family

ID=12432264

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4035090A Pending JPH05233390A (en) 1992-02-21 1992-02-21 Data division management system for distributed data base

Country Status (1)

Country Link
JP (1) JPH05233390A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07182217A (en) * 1993-12-24 1995-07-21 Nec Corp Access control system for data base
JP2003022209A (en) * 2001-07-05 2003-01-24 Nri & Ncc Co Ltd Distributed server system
JP2009289165A (en) * 2008-05-30 2009-12-10 Panasonic Electric Works Co Ltd Data preservation system
JP2009289166A (en) * 2008-05-30 2009-12-10 Panasonic Electric Works Co Ltd Data preservation system
WO2013153646A1 (en) * 2012-04-12 2013-10-17 株式会社日立製作所 Computer system, data allocation management method, and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07182217A (en) * 1993-12-24 1995-07-21 Nec Corp Access control system for data base
JP2003022209A (en) * 2001-07-05 2003-01-24 Nri & Ncc Co Ltd Distributed server system
JP2009289165A (en) * 2008-05-30 2009-12-10 Panasonic Electric Works Co Ltd Data preservation system
JP2009289166A (en) * 2008-05-30 2009-12-10 Panasonic Electric Works Co Ltd Data preservation system
WO2013153646A1 (en) * 2012-04-12 2013-10-17 株式会社日立製作所 Computer system, data allocation management method, and program
JPWO2013153646A1 (en) * 2012-04-12 2015-12-17 株式会社日立製作所 Computer system, data arrangement management method and program
US9898518B2 (en) 2012-04-12 2018-02-20 Hitachi, Ltd. Computer system, data allocation management method, and program

Similar Documents

Publication Publication Date Title
Cornell et al. An effective approach to vertical partitioning for physical design of relational databases
CA2159269C (en) Method and apparatus for achieving uniform data distribution in a parallel database system
US5692174A (en) Query parallelism in a shared data DBMS system
US7784053B2 (en) Management of virtual machines to utilize shared resources
US5692182A (en) Bufferpool coherency for identifying and retrieving versions of workfile data using a producing DBMS and a consuming DBMS
US5864867A (en) Memory management system of a computer system
US7096328B2 (en) Pseudorandom data storage
EP0974908A2 (en) Optimized virtual memory management for dynamic data types
JP2000235537A (en) Method and system for transferring divided data set through plural threads
CN101681268A (en) System, method and program to manage memory of a virtual machine
US20070143367A1 (en) Attribute based resource allocation
JP2005056077A (en) Database control method
JPH06259478A (en) Data rearrangement system for distributed data base
EP1654647A1 (en) A method of assigning objects to processing units
US7007150B2 (en) Memory balancing and optimization services
CN110941602A (en) Database configuration method and device, electronic equipment and storage medium
US5146540A (en) Processor allocation method and apparatus for multiprocessor execution of a constraint satisfaction search
JPH05233390A (en) Data division management system for distributed data base
EP0547992A2 (en) Method and system for enhanced efficiency of data recovery in balanced tree memory structures
JP3429582B2 (en) Multiprocessor system
JPH0991257A (en) Cpu management system
Ibrahim et al. Improvement of data throughput in data-intensive cloud computing applications
Liu Sheng et al. Data allocation design in computer networks: LAN versus MAN versus WAN
US20050086430A1 (en) Method, system, and program for designating a storage group preference order
JP3304445B2 (en) Program generation processing device

Legal Events

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