JPH04120663A - System for allocating data base area - Google Patents
System for allocating data base areaInfo
- Publication number
- JPH04120663A JPH04120663A JP2241893A JP24189390A JPH04120663A JP H04120663 A JPH04120663 A JP H04120663A JP 2241893 A JP2241893 A JP 2241893A JP 24189390 A JP24189390 A JP 24189390A JP H04120663 A JPH04120663 A JP H04120663A
- Authority
- JP
- Japan
- Prior art keywords
- area
- database
- user
- data
- specified
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明はリレーショナル・データベース・システムに
おいてデータベースの領域を割付けるためのデータベー
ス領域割付は方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a database area allocation method for allocating database areas in a relational database system.
第3図は従来のデータベース領域割付は方式の構成を示
すブロック図である。第3図において、1は例えばデー
タベースXを格納するデータベスX領域、2はデータベ
ースXの定義情報を格納するデータベースX定義情報領
域、3はデータベースXに関係する情報を示すテーブル
Aの実データを格納するテーブルC領域、4は同じくテ
ーブルBの実データを格納するテーブルB eJ域、5
は同じくテーブルCの実データを格納するテーブルC領
域である。FIG. 3 is a block diagram showing the configuration of a conventional database area allocation system. In FIG. 3, 1 is a database X area that stores, for example, database X, 2 is a database X definition information area that stores definition information of database The table C area, 4, is also a table B eJ area, 5, which stores the actual data of table B.
Similarly, is the table C area that stores the actual data of table C.
第4図は上記データベースXの定義情報の内容を示す図
であり、図中6はテーブル名、このテーブル名が示すテ
ーブル内の情報の列数、列名、列のデータタイプ、デー
タ長を含むデータベースX定義情報内容である。FIG. 4 is a diagram showing the contents of the definition information of the database This is the content of database X definition information.
次に動作について説明する。データベースXに対してテ
ーブルAの定義を行うと、リレーショナル・データベー
ス・システムはデータベース領域1内の空き領域にテー
ブルA領域3を確保し、テブルAが定義されたことをデ
ータベースX定義情報の領域2にデータベースX定義情
報内容6として登録する。テーブルAの参照時にはデー
タベースX定義情報領域2のデータベースX定義情報内
容6によりテーブルAの情報を得、さらにテブルA領域
3からテーブルAの実データを取り出す。Next, the operation will be explained. When table A is defined for database It is registered as database X definition information content 6 in the database. When referring to table A, the information on table A is obtained from the database X definition information content 6 of the database X definition information area 2, and the actual data of table A is taken out from the table A area 3.
C発明が解決しようとする課題〕
従来のデータベース領域割付は方式は以上のように行わ
れ、テーブルに対する実際の領域の割付けはすべてリレ
ーショナル・データベース・システムによって行われて
いたため、データベース領域の大きさをテーブル全体の
データ量に応じて考えなければならないとか、またユー
ザ用のファイルをテーブル用の領域として指定できない
などの問題点があった。Problem to be solved by invention C] Conventional database area allocation was performed as described above, and all actual allocation of areas to tables was done by a relational database system. There were problems such as having to consider the amount of data in the entire table and not being able to specify a user file as the table area.
この発明は上記のような問題点を解消するためになされ
たもので、テーブル毎のデータ量によるテーブル用の領
域などの設定が容易にできるとともに、ユーザ用のファ
イルをテーブル用の領域などとして指定できるデータベ
ース領域割付は方式を得ることを目的とする。This invention was made to solve the above-mentioned problems, and it is possible to easily set the table area according to the amount of data for each table, and also to specify a user file as the table area. The aim is to obtain a possible database space allocation method.
この発明に係るデータベース領域割付は方式は、ユーザ
によりファイルとして指定可能なユーザ指定領域7を備
え、このユーザ指定領域7にテーブル毎のデータ量に応
じたテーブル領域などを割付けるものである。The database area allocation method according to the present invention includes a user specified area 7 that can be specified as a file by the user, and allocates table areas and the like according to the amount of data for each table to this user specified area 7.
ユーザ指定領域7にはテーブル毎のデータ量に応じたテ
ーブル領域などが割付けられる。In the user designated area 7, table areas and the like are allocated according to the amount of data for each table.
第1図はこの発明の一実施例に係るデータヘス領域割付
は方式の構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of a data area allocation system according to an embodiment of the present invention.
第1図において、第3図に示す構成要素に対応するもの
には同一の符号を付し、その説明を省略する。第1図に
おいて、7はユーザによりファイルとして指定可能なユ
ーザ指定領域であり、この実施例の場合、ユーザ指定領
域7にはテーブルAの領域が割付けられている。したが
ってユーザ指定領域7にはテーブルAの実データが格納
されている。In FIG. 1, components corresponding to those shown in FIG. 3 are designated by the same reference numerals, and their explanations will be omitted. In FIG. 1, numeral 7 is a user-specified area that can be designated as a file by the user, and in this embodiment, the area of table A is allocated to the user-specified area 7. Therefore, the actual data of table A is stored in the user specified area 7.
第2図はデータベースXの定義情報の内容を示す図であ
り、図中8はテーブル名、ファイル名、列数、列名、列
のデータタイプ、データ長を含むデータベースX定義情
報内容である。ここの説明ではfile−aがユーザ指
定領域7に相当する。FIG. 2 is a diagram showing the contents of definition information of database X, and 8 in the figure is the contents of database X definition information including table name, file name, number of columns, column name, column data type, and data length. In the explanation here, file-a corresponds to the user specified area 7.
次に動作について説明する。データベースXに対してテ
ーブルAの定義を第2図に示すようにファイル名(ft
le−a)指定付きで行うと、テーブルAはユーザ指定
領域7に割付けられ、テーブルAが定義されたことをフ
ァイル名とともにデータベースX定義情報領域2にデー
タベースX定義情報領域内容8として登録される。テー
ブルAの参照時にはデータベースX定義情報領域2のデ
ータベースX定義情報内容8によりテーブルAの情報を
得、更にテーブルAがユーザ指定領域7であるので、テ
ーブルAの実データはユーザ指定領域7から取り出され
る。なお、テーブルの定義時にファイル名の指定を行わ
ない場合は、従来と同様な動作を行う。Next, the operation will be explained. As shown in Figure 2, the definition of table A for database X is as follows:
le-a) If specified, table A is allocated to user specified area 7, and the definition of table A is registered together with the file name in database X definition information area 2 as database X definition information area contents 8. . When referring to table A, information on table A is obtained from database X definition information content 8 in database It will be done. Note that if a file name is not specified when defining a table, the same operation as before is performed.
上記実施例によれば、ユーザが予め用意したファイル領
域を、指定可能としてデータベースのテブル用の領域と
して使用することによりテーブル毎のデータ量に応じた
領域の確保が可能となり、また、自由に領域を割付ける
ことができる。即ち、上記実施例では当初設定したデー
タベース専用の領域とは別に、ユーザが自由にデータ格
納用等のユーザ指定領域(ファイル領域)を指定しなが
ら本領域内データに対しデータベースの管理を可能とす
る。したがって、当初設定したデータベース専用の領域
を越えてしまう特定のデータに対しユーザ指定領域を割
付けることにより、柔軟なデタベース領域の運用を可能
にする。また、ユーザ指定領域はデータベースに汎用的
に解放される領域ではなく、特定の用途に対して個々に
割付けられるものである。例えば大量データ格納用のデ
ータ用ファイルとして割付けられる。この場合、大量デ
ータ領域をデータベース領域とは別に運用できる。また
、データベース領域を、その他のそれほど大規模でない
データ用格納に効率よく運用できる。According to the above embodiment, by specifying a file area prepared in advance by the user and using it as an area for table tables in the database, it is possible to secure an area according to the amount of data for each table, and also to freely can be assigned. That is, in the above embodiment, in addition to the initially set database-dedicated area, the user can freely designate a user-specified area (file area) for storing data, etc., and manage the database for data in this area. . Therefore, by allocating a user-designated area to specific data that exceeds the initially set database-dedicated area, flexible database area operation is possible. Furthermore, the user-specified area is not an area that is generally released to the database, but is an area that is individually allocated for a specific purpose. For example, it is allocated as a data file for storing large amounts of data. In this case, the large data area can be operated separately from the database area. Furthermore, the database area can be efficiently used for storing other data that is not very large-scale.
なお、上記実施例ではテーブルAに対しユーザ指定領域
7を指定することを示したが、データヘス定義情報や他
の付属情報(データベース機能である索引情報や操作ロ
グ情報など)に対してユーザ指定領域を指定してもよい
。In addition, in the above embodiment, it is shown that the user specified area 7 is specified for table A, but the user specified area is specified for data hess definition information and other attached information (index information, operation log information, etc. that are database functions). may also be specified.
以上のように本発明によれば、ユーザによりファイルと
して指定可能なユーザ指定領域を設け、このユーザ指定
領域にテーブル毎のデータ量に応じたテーブル領域など
を割付けるようにしたので、テーブル毎のデータ量によ
るテーブル用の領域の設定などが容易に行うことができ
、また、ユーザ用のファイルをテーブル用の領域などと
して指定できるという効果が得られる。さらに本発明に
よれば、大容量のテーブルに対するテーブル用の領域の
設定やバックアップを柔軟に行えるという効果が得られ
る。As described above, according to the present invention, a user-specified area that can be specified as a file by the user is provided, and a table area corresponding to the amount of data for each table is allocated to this user-specified area. The table area can be easily set according to the amount of data, and a file for the user can be specified as the table area. Further, according to the present invention, it is possible to flexibly set a table area and back up a large-capacity table.
第1図はこの発明の一実施例に係るデータヘス定義情報
は方式の構成を示すブロック図、第2図はこの実施例に
おけるデータベースX定義情報内容を示す図、第3図は
従来のデータベース頭載割付は方式の構成を示すブロッ
ク図、第4図はこの従剣列におけるデータベースX定義
情報内容を示す図である。
2・・・データベースX定義情報領域、4・・・テーブ
ルB領域、5・・・テーブルC領域、7・・・ユーザ指
定領域。
代理人 弁理士 宮 園 純
第1図
FILE Chle−a ’)
未解、
ELECT
寧
ROM
第2図
第3図
CRひTE TA8LE
参照
5ELEC丁 X
A (a+
ROM
Char (5)、 Q2−ChQr(5))第4図FIG. 1 is a block diagram showing the configuration of a data access definition information system according to an embodiment of the present invention, FIG. 2 is a diagram showing the contents of database X definition information in this embodiment, and FIG. The layout is a block diagram showing the configuration of the method, and FIG. 4 is a diagram showing the contents of the database X definition information in this juken row. 2... Database X definition information area, 4... Table B area, 5... Table C area, 7... User specified area. Agent Patent Attorney Jun Miyazono Figure 1 FILE Chle-a') Unsolved, ELECT ROM Figure 2 Figure 3 CRhiTE TA8LE Reference 5ELEC ding X A (a+ ROM Char (5), Q2-ChQr(5) )) Figure 4
Claims (1)
格納するテーブル領域と、テーブル名などを含むデータ
ベース定義情報を格納するデータベース定義情報領域と
有するリレーショナル・データベース・システムにおい
て、ユーザによりファイルとして指定可能なユーザ指定
領域を設け、このユーザ指定領域に上記テーブル毎のデ
ータ量に応じたテーブル領域などを割付けることを特徴
とするデータベース領域割付け方式。In a relational database system that has a table area that stores multiple tables showing information related to the database, and a database definition information area that stores database definition information including table names, etc., a user specification that can be specified as a file by the user. A database area allocation method characterized by providing an area and allocating table areas and the like according to the amount of data for each table to this user-specified area.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2241893A JPH04120663A (en) | 1990-09-12 | 1990-09-12 | System for allocating data base area |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2241893A JPH04120663A (en) | 1990-09-12 | 1990-09-12 | System for allocating data base area |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04120663A true JPH04120663A (en) | 1992-04-21 |
Family
ID=17081122
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2241893A Pending JPH04120663A (en) | 1990-09-12 | 1990-09-12 | System for allocating data base area |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04120663A (en) |
-
1990
- 1990-09-12 JP JP2241893A patent/JPH04120663A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA2150745C (en) | Method and apparatus for implementing partial declustering in a parallel database system | |
| EP0136710B1 (en) | Data structure in a document processing system | |
| CA2283833A1 (en) | Re-usable database system | |
| JPH04503881A (en) | Document management and creation system | |
| JPH10326212A5 (en) | ||
| JPH04120663A (en) | System for allocating data base area | |
| JPS6418826A (en) | Window managing system | |
| JPH0342742A (en) | Online data base system by range division | |
| JPH02156348A (en) | Overflow area control method for plural hash tables | |
| JPS6226547A (en) | Storage assigning system in storage device | |
| JPS59180641A (en) | Control method of file | |
| JPH02193231A (en) | File space free area management system | |
| JPS63146130A (en) | Knowledge unit management system | |
| JPS60179856A (en) | Method for controlling storage area of data base | |
| JPH0391067A (en) | Document preparing device | |
| JPS5843056A (en) | Converter of structure | |
| Collier | Effect of automation on organizational power. | |
| JPH0573375A (en) | Centralized control system for data | |
| JPH01106217A (en) | Parallel storage/reading type data processor | |
| JPH0520154A (en) | Block managing system | |
| JPS6379147A (en) | Data base storage designing device | |
| JPH01318107A (en) | Common utilization system for inter-os command | |
| JPH03166628A (en) | Memory managing method | |
| JPS63140351A (en) | Multiplex managing system for library file | |
| JPH07271825A (en) | Display system for table retrieved from relational data base |