JP2001216307A - Relational database management system and storage medium stored with same - Google Patents

Relational database management system and storage medium stored with same

Info

Publication number
JP2001216307A
JP2001216307A JP2000021593A JP2000021593A JP2001216307A JP 2001216307 A JP2001216307 A JP 2001216307A JP 2000021593 A JP2000021593 A JP 2000021593A JP 2000021593 A JP2000021593 A JP 2000021593A JP 2001216307 A JP2001216307 A JP 2001216307A
Authority
JP
Japan
Prior art keywords
classification
data
auxiliary
database
dimension
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
JP2000021593A
Other languages
Japanese (ja)
Inventor
Shuichi Osaki
修一 大崎
Masahiko Kawakami
晶彦 川上
Takeshi Matsumoto
松本  剛
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.)
Teijin Ltd
Original Assignee
Teijin 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 Teijin Ltd filed Critical Teijin Ltd
Priority to JP2000021593A priority Critical patent/JP2001216307A/en
Publication of JP2001216307A publication Critical patent/JP2001216307A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a relational database management system which enables multidimensional analysis type aggregate real-time retrieval, guarantees the consistency of detail data and aggregate retrieval results, and further reduces a necessary disk area and enables the on-line update of detail data in real time. SOLUTION: This relational database management system comprises a main database stored with classification items specifying classifications and information item sectioned by the classification items in prescribed format and a main managing means which manages the main database is equipped with an auxiliary database which stores classification axis data generated by sectioning the classification items by plural classification axes, integrates classification data of all classification items belonging to the classificaiton axes by them into one piece of data, and coding the data so that they are arranged without overlapping on the axes and information data corresponding to the classification axis data in prescribed format and an auxiliary managing means which matches the data in the auxiliary database with the data of the main database.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はリレーショナルデー
タベース管理システム(以下「RDBMS」と略称す
る。)に関し、更に詳しくはオンライン検索に好適な多
次元分析適応のRDBMSに関する。
The present invention relates to a relational database management system (hereinafter abbreviated as "RDBMS"), and more particularly to a multidimensional analysis-adaptive RDBMS suitable for online search.

【0002】[0002]

【従来の技術】リレーショナルデータベース(以下、
「RDB」と略称する。)は、テーブル形式のデータベ
ースで、販売管理、部品管理等に広く用いられている。
ところで、RDBにおいて、最近そのデータの属性を規
定する分類項目の数、階層数が多くなり、これに対応す
るため、共通の分類に属する複数の分類項目を一本の分
類軸とし、この分類軸で構成される多次元空間において
検索処理する多次元分析型の検索処理が行われるように
なってきた。
2. Description of the Related Art Relational databases (hereinafter referred to as "relational databases")
Abbreviated as "RDB". ) Is a table format database, which is widely used for sales management, parts management, and the like.
By the way, in the RDB, the number of classification items and the number of hierarchies that define the attribute of the data have recently increased, and in order to cope with this, a plurality of classification items belonging to a common classification are set as one classification axis. A multi-dimensional analysis type search process for performing a search process in a multi-dimensional space composed of the following has been performed.

【0003】この多次元分析型検索においては、分類軸
が階層構造を有する場合が多く、多くの場合その階層構
造上の様々なレベルで情報項目の明細データの集計を行
うような検索処理となり、ユーザは共通の分類軸を使用
して様々なレベルで明細データを集約する問合せを頻繁
に発行し、さらにはある集約値の元となる明細データを
得るような問合せも発行する。
[0003] In this multidimensional analysis type search, the classification axis often has a hierarchical structure, and in many cases, a search process is performed in which detailed data of information items is totaled at various levels in the hierarchical structure. The user frequently issues a query for aggregating detailed data at various levels using a common classification axis, and also issues a query for obtaining detailed data on which a certain aggregate value is based.

【0004】ところが、この検索処理の対象となる明細
データは、RDBMSに保持されており、このシステム
が従来より備えているインデックス技術で検索可能であ
るが、上述の多次元分析型検索における複数の分類軸に
基づく様々なレベルでの集約といった複雑な問合せを実
用的な時間内で効率的に処理する事が困難であった。
However, detailed data to be searched is stored in an RDBMS, and can be searched by using index technology conventionally provided in this system. It has been difficult to efficiently process complicated queries such as aggregation at various levels based on the classification axis within a practical time.

【0005】そこで、従来このような多次元分析型の問
合せに対しては、明細データを考えうる全分類軸につい
て最小粒度のレベルで集約した二次データを多次元配列
構造で持つような元のRDBとは別の二次データに基づ
くデータベースを構成し、集約の問合せをこの多次元配
列構造の集約データベースで処理するいわゆるMOLA
P(Multi-dimensional On-line Analitical Processin
g)と呼ばれる方法、あるいは、元のRDB内に頻繁に問
い合わされる集約レベルで事前に集約した集約データを
種々用意しておき、これらの集約の問合せに対しては用
意した集約データを利用してRDBMSで処理を行うい
わゆるROLAP(Relational On-lineAnalitical Proc
essing)と呼ばれる方法等が使われてきた。
[0005] Therefore, conventionally, for such a multidimensional analysis type query, an original query that has a multidimensional array structure with secondary data aggregated at the minimum granularity level for all classification axes that can consider detailed data is used. A so-called MOLA in which a database based on secondary data different from the RDB is configured and an aggregation query is processed by the aggregation database having the multidimensional array structure.
P (Multi-dimensional On-line Analitical Processin
g), or prepare various aggregated data in advance in the original RDB at the aggregation level that is frequently queried, and use the prepared aggregated data for these aggregation queries. So-called ROLAP (Relational On-line Analytical Proc)
A method called essing) has been used.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上述し
たMOLAPでは分類の最下位レベルで集約した二次デ
ータによる独自のデータ構造を持つ事により多次元分析
型の問合せを効率的に処理する事が可能だが、元のRD
Bとは独立のデータベースを構築せざるを得ず、元のR
DBに対するリアルタイムの分析を行う事が出来なかっ
た。さらには、元のRDBをMOLAPのデータベース
内に持っていないため、元のRDBに対する問合せはそ
れを持つRDBMSに対して行わなければならず元のR
DBの明細データと集約データの一貫性が損なわれるこ
ととなっていた。
However, in the above-described MOLAP, a multidimensional analysis type query can be efficiently processed by having a unique data structure of secondary data aggregated at the lowest level of classification. But the original RD
A database independent of B must be constructed, and the original R
Real-time analysis on the DB could not be performed. Furthermore, since the original RDB is not stored in the MOLAP database, the query for the original RDB must be made to the RDBMS having the original RDB.
The consistency between the detailed data of the DB and the aggregated data was to be lost.

【0007】また、上述のROLAPではリアルタイム
性を確保する事が可能だが、分類軸あるいはその階層レ
ベルが増えれば増えるほど、あらゆるレベルの組み合わ
せに対して事前集約したものを保持しようとすると非常
に多くのディスク領域を必要とするようになるばかりで
なく、元のRDBの明細データの更新時に同時に更新し
なければならない集約データの個数が増え更新コストが
高くなってしまい、そのような集約テーブルをオンライ
ン更新処理時に同時に更新する事が現実的でなくなって
しまう。一方、こういった問題を避けるため限定的な組
み合わせに対してのみ事前集約を持つようにすると、事
前集約されていない組み合わせに対する処理に結局時間
がかかってしまう事になるという問題がある。
[0007] Further, the above-mentioned ROLAP can secure real-time properties. However, as the number of classification axes or their hierarchical levels increases, the number of pre-aggregated ones for all combinations of levels becomes extremely large. Not only does this require disk space, but also increases the number of aggregated data that must be updated simultaneously when the original RDB specification data is updated, increasing the update cost. It is not realistic to update at the same time as the update process. On the other hand, if pre-aggregation is provided only for limited combinations in order to avoid such a problem, there is a problem that it takes a long time to process a combination that is not pre-aggregated.

【0008】そこで、本発明の目的は上述従来技術の問
題点を解決し、リアルタイム性を持った多次元分析型の
集約検索を可能とし、元のRDBの明細データと集約検
索結果の一貫性を保証して、なおかつ、必要とするディ
スク領域を少なくし現実的な時間内での明細データのオ
ンライン更新を可能とするリレーショナルデータベース
管理システムを提供する事にある。
Therefore, an object of the present invention is to solve the above-mentioned problems of the prior art, to enable a multidimensional analysis type aggregate search having real-time properties, and to make the detailed data of the original RDB consistent with the aggregate search results. It is an object of the present invention to provide a relational database management system that guarantees, reduces the required disk area, and enables online updating of detailed data within a realistic time.

【0009】[0009]

【課題を解決するための手段】上記の目的を以下の本発
明により達成される。すなわち、本発明は、従来のRD
BMSすなわち分類を指定する複数の分類項目とこの分
類項目で区分される情報項目とを所定のフォーマットで
記憶する主データベースと、主データベースのフォーマ
ットのテーブル定義、テーブル形式でのデータ保全管
理、データ検索等の管理をする主DB管理手段とからな
るRDBMSを基本とし、このRDBMSにおいて、該
分類項目を複数の分類軸に区分して、各分類軸毎にこれ
に属する全ての分類項目の分類データを一つのデータに
統合する共に軸上に重なり合わずに配置されるようにコ
ード化した分類軸データとこの分類軸データに対応する
情報データとを所定のフォーマットで記憶している補助
データベースと、補助データベースのデータを主データ
ベースのデータに一致させる補助DB管理手段を備えた
ことを特徴とするリレーショナルデータベース管理シス
テムである。
The above objects are achieved by the present invention described below. That is, the present invention relates to the conventional RD
BMS, that is, a main database that stores a plurality of classification items specifying a classification and information items classified by the classification items in a predetermined format, a table definition of the format of the main database, data integrity management in a table format, and data search In this RDBMS, the classification items are divided into a plurality of classification axes, and classification data of all the classification items belonging to each of the classification axes is classified into each classification axis. An auxiliary database storing, in a predetermined format, classified axis data coded so as to be integrated into one data and arranged so as not to overlap on the axis, and information data corresponding to the classified axis data; An auxiliary DB management means for matching data in the database with data in the main database. It is over relational database management systems.

【0010】また、本発明のリレーショナルデータベー
ス管理システムを記憶した記憶媒体は、具体的には上記
の主管理手段、補助管理手段更には以下に述べる各手段
のプログラムが記憶されている事を特徴とする周知の磁
気ディスク、光ディスク等の記憶媒体であり、その保
存、頒布に好適なものである。
The storage medium storing the relational database management system according to the present invention is characterized in that the main management means, the auxiliary management means and a program for each means described below are stored. This is a well-known storage medium such as a magnetic disk and an optical disk, which is suitable for storage and distribution.

【0011】本発明は、上述の通り、主データベースの
データと1対1で対応するようにコード化された分類軸
に基づいて情報項目のデータを記憶した補助データベー
スのデータを、補助DB管理手段により主データベース
のデータ更新、挿入等に応じて常に主データベースのデ
ータに一致させるようにしており、オンラインの多次元
分析型検索に適したRDBMSが実現される。
According to the present invention, as described above, the data of the auxiliary database storing the data of the information items based on the classification axis coded so as to correspond one-to-one with the data of the main database is stored in the auxiliary DB management means. Thus, the data of the main database is always made to match the data of the main database in accordance with the update, insertion, etc. of the main database, and an RDBMS suitable for online multidimensional analysis type search is realized.

【0012】以下、本発明の詳細を衣類の全国販売管理
に適用した実施例に基づいて説明する。なお、本発明は
かかる実施例に限定されるものでないことは、その趣旨
から明らかである。
Hereinafter, the details of the present invention will be described based on an embodiment in which the present invention is applied to nationwide sales management of clothing. It is clear from the gist that the present invention is not limited to such an embodiment.

【0013】[0013]

【発明の実施の形態】図1は、実施例のシステムの基本
構成の説明図である。図1に示すように本システムでは
従来のRDBMSが基本となっており、データベースと
しては日常の定型的な業務処理に係わる業務アプリケー
ション31から要求に応じてこのRDBMSのRDB管
理手段からなる主DB管理手段21により直接更新、検
索されるリレーショナルデータベースからなる主データ
ベースの元テーブル11と、本発明のこの元テーブル1
1から後述のように導出される各種特定のテーマ処理に
係わる多次元分析用アプリケーション32の検索要求に
対し効率よく解を得るため補助データベースの補助テー
ブル13とこの補助テーブル13の構築、保全、検索実
行に必要な分類コード変換テーブル12の3個のデータ
ベースがある。
FIG. 1 is an explanatory diagram of a basic configuration of a system according to an embodiment. As shown in FIG. 1, the present system is based on a conventional RDBMS, and the database is a main DB management comprising an RDB management means of the RDBMS in response to a request from a business application 31 relating to daily routine business processing. An original table 11 of a main database composed of a relational database which is directly updated and searched by means 21;
1 and an auxiliary table 13 of an auxiliary database and construction, maintenance and search of the auxiliary table 13 in order to efficiently obtain a solution to a search request of the multidimensional analysis application 32 relating to various specific theme processes derived from 1 as described later. There are three databases of classification code conversion tables 12 required for execution.

【0014】そして、補助データベースの分類コード変
換テーブル12と補助テーブル13はこれらを管理する
補助DB管理手段22により主データベース11から構
築・保全され、多次元分析用アプリケーション32から
の要求に応じて補助DB管理手段22具体的にはその後
述の多次元対応検索手段を通してその補助テーブル13
が検索され、その結果を応答するようになっている。
The auxiliary database classification code conversion table 12 and the auxiliary table 13 are constructed and maintained from the main database 11 by the auxiliary DB management means 22 for managing them, and are auxiliary in response to a request from the multidimensional analysis application 32. DB management means 22 More specifically, the auxiliary table 13 through a multidimensional correspondence search means described later.
Is searched, and the result is returned.

【0015】本例の補助DB管理手段22は、図2に示
すように、以下順次説明する多次元対応検索手段23、
補助DB保全手段24、分類コード変換手段25、補助
DB定義手段26、補助DB構築手段27から構成され
ている。
As shown in FIG. 2, the auxiliary DB management means 22 of the present embodiment includes a multidimensional correspondence search means 23, which will be described sequentially below.
It comprises auxiliary DB maintenance means 24, classification code conversion means 25, auxiliary DB definition means 26, and auxiliary DB construction means 27.

【0016】まず、本例の基本となる主データベースの
元テーブル11の構成を図3、図4により説明する。本
例は衣類の販売管理の例で、図3に示すように、情報デ
ータを区分する分類項目としては、販売地の分類項目と
して<地方>、<都道府県>、<市町村>の3項目、製
品の分類項目として<製品分類>、<製品名>、<サイ
ズ>の3項目、販売日を示す分類項目としてその年月日
の<販売日>の1項目の計7項目、集計対象となるこの
分類項目で区分される情報項目として<販売数量>、<
販売額>の2項目を有するRDBテーブルとなってい
る。このような構成のテーブルを補助記憶装置上に保存
する際には、各データの物理的保存箇所を特定し、効率
的に該データを補助記憶装置から主記憶装置に読み出す
事を可能ならしめる各データ固有の識別子(以下、「I
D」と呼ぶ。)が割り振られる。図3では、この該デー
タの補助記憶装置上の位置を特定するIDを<ROW
ID>という項目として示している。
First, the structure of the original table 11 of the main database, which is the basis of the present embodiment, will be described with reference to FIGS. This example is an example of clothing sales management. As shown in FIG. 3, as the classification items for classifying information data, there are three classifications of <locality>, <prefecture>, <municipalities> A total of seven items including <product classification>, <product name>, and <size> as product classification items, and one item of <date of sale> as the classification item indicating the sales date <Sales volume>, <
It is an RDB table having two items of <sales amount>. When storing a table having such a configuration on the auxiliary storage device, a physical storage location of each data is specified, and the data can be efficiently read from the auxiliary storage device to the main storage device. An identifier unique to the data (hereinafter, "I
D ". ) Is allocated. In FIG. 3, the ID for specifying the position of the data on the auxiliary storage device is <ROW.
ID>.

【0017】図4は、図3のような各項目が明細データ
で直接保持されるデータ保持型の元テーブルに対し、い
くつかの、性質の共通する分類項目の各組合わせに対し
参照キーと呼ばれる一意のIDを割り当てたものを整理
した参照テーブルと、それらの分類項目の組合わせを参
照キーで代替することで図3のデータ保持型の元テーブ
ルから冗長性を排したキー保持型の元テーブルである。
図3あるいは図4のような元テーブルの定義は、図1の
主DB管理手段21によって行われ、また、元テーブル
に対する業務アプリケーション31等からのデータの追
加、更新、検索も図1の主DB管理手段21によって行
われる。主DB管理手段21のこれらの元テーブルに対
する定義、更新、検索の方法は、従来のRDBMSによ
って実現されているものと同様のものとなっている。
FIG. 4 shows a reference key and a reference key for each combination of several classification items having common properties for a data holding type original table in which each item is directly held as detailed data as shown in FIG. A reference table in which the unique IDs are allocated and a combination of those classification items are replaced with a reference key, so that the key retention type element excluding the redundancy from the data retention type original table in FIG. It is a table.
The definition of the original table as shown in FIG. 3 or FIG. 4 is performed by the main DB management unit 21 of FIG. 1, and addition, update, and retrieval of data from the business application 31 or the like to the original table are also performed by the main DB management unit of FIG. This is performed by the management unit 21. The definition, update, and search methods for these source tables by the main DB management means 21 are the same as those realized by the conventional RDBMS.

【0018】ところで、本発明の主眼は、図3あるいは
図4のような元テーブルに対し、この元テーブルからこ
れと同時に更新可能で1対1で対応するデータからな
る、該分類項目を複数の分類軸に区分して、各分類軸毎
にこれに属する全ての分類項目の分類データを一つのデ
ータに統合する共に軸上に重なり合わずに配置されるよ
うにコード化した分類軸データとこの分類軸データに対
応する情報データとを所定のフォーマットで記憶してい
る補助テーブルを構築し、これにより多次元分析アプリ
ケーション32からの検索要求に効率よくその解を与え
ることであり、以下これを実現した補助テーブル12と
これを管理する補助DB管理手段22を説明する。
By the way, the main point of the present invention is that a plurality of classification items consisting of data which can be updated simultaneously with the original table as shown in FIG. 3 or FIG. Classification axis data is divided into classification axes, and classification data of all the classification items belonging to each classification axis is integrated into one data, and the classification axis data is coded so as to be arranged on the axis without overlapping. An auxiliary table storing information data corresponding to the classification axis data in a predetermined format is constructed, thereby efficiently giving a search request from the multidimensional analysis application 32 to the solution. The auxiliary table 12 and the auxiliary DB management means 22 for managing the same will be described.

【0019】補助DB管理手段22は、前述の図2に示
す通り、多次元対応検索手段23、補助DB保全手段2
4、分類コード変換手段25、補助DB定義手段26、
補助DB構築手段27から構成されている。
As shown in FIG. 2, the auxiliary DB management means 22 includes a multidimensional correspondence search means 23 and an auxiliary DB maintenance means 2.
4. Classification code conversion means 25, auxiliary DB definition means 26,
It is composed of auxiliary DB construction means 27.

【0020】まず、本発明に係る補助データベースに基
本項目を定義する補助DB定義手段26を説明する。補
助DB定義手段26は、補助DBを構築するに当たって
必要な分類軸となる項目あるいは項目群(以下、「次
元」と呼ぶ。)の定義を以下のようにして行なってい
る。
First, the auxiliary DB definition means 26 for defining basic items in the auxiliary database according to the present invention will be described. The auxiliary DB definition means 26 defines an item or an item group (hereinafter, referred to as “dimension”) which is a classification axis necessary for constructing the auxiliary DB as follows.

【0021】すなわち、分類軸となる次元は、時間の概
念を表す時間次元と、それ以外の一般次元とに分けて処
理する。図3、図4の例の販売地に係わる分類軸1ある
いは製品に係わる分類軸2のような一般次元について
は、図3の元テーブル中の項目がそのまま分類項目とな
るようなデータ保持型の場合には、次元毎にその次元を
構成する一般的には複数の項目とそれらの項目の該次元
の階層構造上での上下関係(以下、「レベル」と呼
ぶ。)を指定する。具体的には販売地次元について図5
に示すように、地方をレベル1、都道府県をレベル2、
市町村をレベル3と指定する。
That is, the dimension serving as the classification axis is processed by dividing it into a time dimension representing the concept of time and other general dimensions. For general dimensions such as the classification axis 1 relating to the sales place or the classification axis 2 relating to the product in the examples of FIGS. 3 and 4, the data holding type is such that the items in the original table in FIG. In this case, for each dimension, generally, a plurality of items constituting the dimension and a hierarchical relationship (hereinafter, referred to as “level”) of the item on the hierarchical structure of the dimension are designated. Specifically, the sales area dimension is shown in FIG.
As shown in the figure, the locality is level 1, the prefecture is level 2,
Municipalities are designated as level 3.

【0022】また、図4のように参照テーブルが用意さ
れ、元テーブル中では参照キーが用いられているキー保
持型の場合には、図6に例を示すように、参照テーブル
からデータ保持型と同様にその次元を構成する一般的に
は複数の項目とそれらの項目の該次元の階層構造上での
レベルを指定し、さらに次元IDとして参照キーを指定
する。
In the case of a key holding type in which a reference table is prepared as shown in FIG. 4 and a reference key is used in the original table, as shown in FIG. In general, a plurality of items constituting the dimension are specified, the level of the item in the hierarchical structure of the dimension is specified, and a reference key is specified as a dimension ID.

【0023】分類軸3の販売日は時間次元であり、時間
次元については、一般的にはその次元を構成する全デー
タが列挙されているようなテーブルは存在せず、データ
の列挙は必要ならば計算により行う、通念的な階層構造
を内包しており一般次元のように階層構造が明示的に複
数項目で表現されているとは限らない、絶対的な順序関
係を持っているといった特殊性があり、このような特殊
性を扱えるようにするためには時間次元である事を指定
するようにしている。
The sales date of the classification axis 3 is a time dimension. In the time dimension, there is generally no table in which all the data constituting the dimension are listed. Specialized in that it has a conventional hierarchical structure that is calculated by calculation, the hierarchical structure is not always explicitly expressed by multiple items like general dimensions, and has an absolute order relationship In order to be able to handle such specialty, the time dimension is specified.

【0024】また、上述の本例の元テーブルにはない
が、分類軸の性質としては一般次元と時間次元の中間的
な性質を持つ次元として、年齢を表す次元のような数値
次元がある。数値次元の場合、階層構造が必ずしも通念
的なものとはならず、むしろユーザによって指定される
ある纏まった区切り、例えば年齢における10代、20
代のような分類の仕方によって階層構造が定義される点
が一般次元に近いが、内部的には、時間次元に対する扱
い方を応用する事でより柔軟に扱える。本例のシステム
では、一般次元と同様に処理することにしている。
Although not included in the original table of the above-described example, the classification axis has a numerical dimension such as a dimension representing age as a dimension having an intermediate property between the general dimension and the time dimension. In the case of a numerical dimension, the hierarchical structure is not always conventional, but rather a grouping of breaks specified by the user, for example, teens in age, 20 in age.
Although the point that the hierarchical structure is defined by the classification method like the generation is close to the general dimension, internally, it can be handled more flexibly by applying the handling method to the time dimension. In the system of this example, processing is performed in the same manner as in the general dimension.

【0025】本例ではこれらの指定は補助DB定義手段
26により元テーブルから抽出した分類項目を表にした
定義表を表示装置に表示してキーボード等の入力手段か
らユーザに明示的に行ってもらうようにしているが、特
開平11−212988号公報に開示されているような
分類軸自動生成システムを用いて自動的に行うようにす
る事もできる。
In this example, these designations are displayed on a display device by a definition table in which the classification items extracted from the original table are displayed by the auxiliary DB definition means 26, and the user explicitly specifies the definition items through input means such as a keyboard. However, it is also possible to use a classification axis automatic generation system as disclosed in JP-A-11-212988.

【0026】次に、上述のようにして定義された分類項
目の分類データを本発明において構築する補助テーブル
で利用するための分類軸毎に統合された一意のコードす
なわち情報項目の各データを重なり合わないように該分
類軸で構成される多次元空間上に配置するコード(以
下、「分類コード」と呼ぶ。)に変換する分類コード変
換手段25を説明する。図7から図9は、この分類コー
ド変換手段の手順の説明図である。なお、得られた分類
項目の分類データと分類コードとの対応関係は、各次元
毎に分類コード変換テーブル12として補助データベー
ス内に保持される。
Next, a unique code integrated for each classification axis, that is, each data of the information item, which is used for the auxiliary table constructed in the present invention with the classification data of the classification item defined as described above, is overlapped. A description will be given of a classification code conversion unit 25 that converts a code (hereinafter, referred to as a “classification code”) arranged in a multidimensional space constituted by the classification axes so as not to match. 7 to 9 are explanatory diagrams of the procedure of the classification code conversion means. The correspondence between the obtained classification data of the classification items and the classification codes is held in the auxiliary database as the classification code conversion table 12 for each dimension.

【0027】分類コード変換手段25は、次元の性質す
なわち一般次元と時間次元に分けて処理するようになっ
ている。先ず本例の販売次元等のような一般次元の処理
を説明する。この処理は、先ず図7に示すように元テー
ブル12を走査して指定された各次元に対してそれを構
成する分類項目の分類データから重複のない全分類デー
タを抽出する。図には販売地次元の抽出結果が右上の表
に例示してある。そして、本例の販売地次元のように階
層構造を有するものに対しては、図8の販売地次元の例
で示すような階層構造データに対するコード化手法によ
り以下のように分類コードを自動的に割り振る。なお、
以下では次元の階層構造を構成するデータの事をメンバ
と呼ぶ事にする。図8の左側の販売地次元のツリー状の
階層図の例では、最上位の全国に始まり、北海道・東
北、北海道、旭川等、四角で囲まれた分類データはすべ
てメンバである。
The classification code conversion means 25 is adapted to perform processing by dividing into properties of dimensions, that is, general dimensions and time dimensions. First, processing of a general dimension such as a sales dimension of the present example will be described. In this process, first, as shown in FIG. 7, the original table 12 is scanned to extract all non-overlapping classification data from the classification data of the classification items constituting each designated dimension. In the figure, the extraction result of the sales place dimension is illustrated in the upper right table. Then, for those having a hierarchical structure such as the sales place dimension of this example, the classification code is automatically converted as follows by a coding method for hierarchical structure data as shown in the example of the sales place dimension of FIG. Allocate to. In addition,
Hereinafter, the data constituting the hierarchical structure of the dimension will be referred to as members. In the example of the tree-shaped hierarchical diagram of the sales place dimension on the left side of FIG. 8, the classification data enclosed by squares, starting from the highest nationwide and locating in Hokkaido / Tohoku, Hokkaido, Asahikawa, etc., are all members.

【0028】さて、先ず上位レベルから順に該当次元に
属する全メンバーに以下のように順番号を付与する。階
層構造上で上位レベルに同じ親を持つメンバに対して、
順番に番号を割り当てていく。この時、割り当てる番号
の桁数を、同じ親を持つ全メンバに対してこの方法で互
いに異なる番号を割り当てるために十分な桁数で揃えて
おく。本例では最下位の市町村レベルには10進数で2
桁、その他の上位のレベルには10進数で1桁を使って
おり、同図に例示のように同じ親として北海道を持つ、
旭川、網走、...に対して01、02、...と順番
に番号を割り当てている。なお、本例では、最上位の全
国は1個のみであり、分類の機能が無く、コードは必要
ないので付与せず、その下位の地方レベルから番号を付
与するようにしている。この方法では、北海道・東北に
対する北海道と関東に対する東京のように、親が違えば
同じレベルであっても同じ番号を割り当てる事ができ
る。
First, a sequential number is given to all the members belonging to the dimension in order from the upper level as follows. For members with the same parent at a higher level in the hierarchy,
Numbers are assigned in order. At this time, the number of digits of the number to be allocated is adjusted to a number sufficient to allocate different numbers to all members having the same parent in this manner. In this example, the lowest municipal level is 2 in decimal.
Digits and other higher levels use one decimal digit, and have Hokkaido as the same parent as illustrated in the figure.
Asahikawa, Abashiri,. . . 01, 02,. . . And numbers are assigned in order. In this example, there is only one nation at the highest level, and there is no classification function. No code is required because no code is required, and a number is given from a lower local level. With this method, the same number can be assigned to different parents, even at the same level, such as Hokkaido for Hokkaido and Tohoku and Tokyo for Kanto.

【0029】そして、各次元についてその各レベルのメ
ンバーにこのようにして割り当てられた番号をその全レ
ベルを含むように上のレベルの番号が上位の桁になるよ
うに並べて一つの統合データとしたものをその分類デー
タの分類コードとしている。例えば販売地次元の網走の
場合の分類コードは、上位の北海道・東北の1、中位の
北海道の1、下位の網走の02を上位から下位が桁で同
じ順位になるように並べた、1102となる。図8の右
側の表が得られた分類データと分類コードの対応関係を
示す分類コード変換テーブルの例である。
The numbers assigned in this way to the members of each level for each dimension are arranged such that the numbers of the upper levels are in the higher digits so as to include all the levels, thereby forming one integrated data. Is used as the classification code of the classification data. For example, the classification code in the case of Abashiri in a sales area dimension is as follows: 1 in Hokkaido / Tohoku, 1 in Hokkaido in middle, and 02 in Abashiri in the lower rank, arranged in the same order from the top to the bottom in the same order. Becomes The table on the right side of FIG. 8 is an example of a classification code conversion table showing the correspondence between the obtained classification data and the classification codes.

【0030】なお、階層構造に従ったコード化を行う際
に、上述の一般次元で図3のデータ保持型の元テーブル
とは異なる図4の参照テーブルの項目として参照キーで
次元が指定されているキー保持型の元テーブルの場合に
は、参照キーの項目具体的には次元ID項目のデータも
同時に抽出するが、分類コードへの変換は参照テーブル
の参照キーに係わるID項目以外の次元を構成する分類
項目の分類データに基づいて上述の図3のデータ保持型
の場合と同様にして行う。このようにして、得られた分
類コードとその分類コードに対応する元の分類データお
よび必要に応じて参照キーをまとめて、分類コード変換
テーブルとして保持しておく。図9はかかる参照キーの
IDデータを含む分類コード変換テーブルの例である。
図9の第1行の例では、販売地IDが001である「北
海道・東北」、「北海道」、「旭川」という分類データ
の組に対して、分類コード1101が割り当てられてい
ることが判る。なお、図では分類コードは販売地CDの
項目に収容されている。
When coding according to the hierarchical structure, a dimension is designated by a reference key as an item of the reference table of FIG. 4 which is different from the data retention type original table of FIG. In the case of a key-retention type original table, the data of the reference key, specifically the data of the dimension ID item, are also extracted at the same time, but the conversion to the classification code is performed by using the dimensions other than the ID item related to the reference key of the reference table. This is performed in the same manner as in the case of the data holding type shown in FIG. In this way, the obtained classification codes, the original classification data corresponding to the classification codes, and the reference keys as necessary are collected and stored as a classification code conversion table. FIG. 9 is an example of a classification code conversion table including the ID data of the reference key.
In the example of the first line in FIG. 9, it can be seen that the classification code 1101 is assigned to a group of classification data of “Hokkaido / Tohoku”, “Hokkaido”, and “Asahikawa”, where the sales place ID is 001. . In the drawing, the classification code is stored in the item of the sales location CD.

【0031】以上の本例の分類コード変換手段25で得
られる分類コードでは、例えば関東であれば対応する分
類コードは2000〜2999までであるというよう
に、階層構造上の中間レベルのメンバに対応する全分類
コードを含む範囲を機械的に求める事ができ、かつこの
範囲に含まれる分類コードで表されるメンバは必ずその
中間レベルのメンバで代表されるそれ以下のレベルの全
メンバであるということが保証されるようになるため、
例えば販売地が関東のデータを集計する場合には、販売
地CDが2000〜2999のデータを集計すれば良い
事が分かる。
In the classification code obtained by the classification code conversion means 25 of the present embodiment, for example, in the case of the Kanto region, the corresponding classification code is from 2000 to 2999. It is possible to mechanically obtain a range that includes all classification codes to be performed, and that the members represented by the classification codes included in this range are all members at lower levels represented by intermediate level members. Is guaranteed to be
For example, when the data of the sales area is Kanto, it is understood that the data of the sales area CD should be 2000 to 2999.

【0032】時間次元に関しては、以下のように処理し
ている。すなわち、時間次元では最下層メンバ本例では
「日」を順番に並べる事ができるので、本例では販売日
の年月日をそのまま上位桁から並べて分類コードとする
ようにしている。これによりその階層構造上の中間階層
のメンバは、最下層メンバの分類コードを用いた範囲表
現で表現する事が可能になる。この他、時間次元では、
最下層メンバの順番に一意に特定の分類コードを割り当
てる方法、上述の一般次元同様階層構造を保持するコー
ド化を行う方法等も適用できる。
The time dimension is processed as follows. In other words, in the time dimension, the lowermost member can be arranged in order in this example, "day", so in this example, the date of the sale date is arranged as it is from the upper digit to form a classification code. As a result, the members of the intermediate layer in the hierarchical structure can be represented by a range expression using the classification code of the lowest layer member. In addition, in the time dimension,
A method of uniquely assigning a specific classification code to the order of the lowest layer member, a method of performing coding for maintaining a hierarchical structure similar to the general dimension described above, and the like can also be applied.

【0033】次に、上述のようにして得られた分類コー
ドテーブルを用いて、元テーブル11から補助テーブル
12を構築する補助DB構築手段27を説明する。な
お、元テーブル11として図10に示す例を用いて以下
説明する。補助DB構築手段27は、元テーブル11の
第1行から順次以下のように処理して、その全行につい
て処理し、補助テーブルを構築するようになっている。
Next, the auxiliary DB construction means 27 for constructing the auxiliary table 12 from the original table 11 using the classification code table obtained as described above will be described. The following description is based on the example shown in FIG. The auxiliary DB construction means 27 sequentially processes the first row of the original table 11 as follows, processes all the rows, and constructs an auxiliary table.

【0034】すなわち、まず、図10の元テーブル中の
第1行において、販売地次元の分類コードを求める。こ
の分類項目の明細データは参照キーの販売地IDで与え
られているので、この参照キーによる分類コード変換テ
ーブルを用いてそれに対応する分類コードを求め、図1
1に示す補助テーブルの該当項目欄具体的には販売地C
D欄に書き込む。本例では、販売地次元の販売地IDの
明細データが「121」であり、これに対する分類コー
ドは図9より「2201」となり、これが図11の補助
テーブルの販売CD欄の第1行に書き込まれる。
That is, first, in the first row of the original table in FIG. 10, the classification code of the sales place dimension is obtained. Since the detailed data of this classification item is given by the sales place ID of the reference key, a classification code corresponding to the classification key is obtained using a classification code conversion table based on this reference key, and FIG.
1. The corresponding item column of the auxiliary table shown in FIG.
Write in column D. In this example, the detailed data of the sales place ID in the sales place dimension is "121", and the classification code corresponding thereto is "2201" from FIG. 9, which is written in the first row of the sales CD column of the auxiliary table in FIG. It is.

【0035】次いで、次の製品次元の分類コードを求め
る。この製品次元の分類項目の明細データはその項目デ
ータそのもので与えられているので、この次元を構成す
る項目データによる分類コード変換テーブルを用いて対
応する分類コードを求め、販売地CDと同様に図11の
該当項目欄の製品CD欄に書き込む。本例では、この製
品次元の各分類項目の明細データは製品分類が「スポー
ツ衣類」、製品名が「AAAA」、サイズが「L」とな
っているので、これに対応する分類コードの「101
1」が図11の補助テーブルの製品CD欄の第1行に書
き込まれている。
Next, a classification code for the next product dimension is obtained. Since the detailed data of the classification item of this product dimension is given by the item data itself, a corresponding classification code is obtained by using a classification code conversion table based on the item data constituting this dimension, and the same as that of the sales location CD. Write in the product CD column of the corresponding item column of No. 11. In this example, the detailed data of each classification item of this product dimension has a product classification of “sports clothing”, a product name of “AAAAA”, and a size of “L”.
"1" is written in the first row of the product CD column of the auxiliary table in FIG.

【0036】次いで、次の販売日次元の分類コードを求
める。前述の通り、販売日次元は時間次元であり、本例
では、その明細データは年月日で与えられており、絶対
的順序関係があり、その年月日をそのまま並べた数列を
分類コードとすることしている。ただし、本例の年の
「99」は次に「00」となり順序性が保持されないの
で、1970年から2069年のデータ集約を前提にし
て年を「29」とした。従って、本例では、販売日次元
の分類項目である販売日は「99/10/10」となっ
ているので、その分類コードは「291010」とな
り、この値が図11の補助テーブルの該当項目欄の販売
日CD欄に書き込まれている。
Next, the next sales day dimension classification code is obtained. As described above, the sales date dimension is the time dimension, and in this example, the detailed data is given by the date, and has an absolute order relationship. You are doing. However, in the present example, the year “99” is next “00” and the order is not maintained, so the year is set to “29” on the assumption that the data is aggregated from 1970 to 2069. Therefore, in this example, since the sales date, which is a classification item of the sales date dimension, is “99/10/10”, the classification code is “291010”, and this value is the corresponding item in the auxiliary table of FIG. Column is written in the sales date CD column.

【0037】次いで、元テーブル中で多次元分析検索時
に集計分析対象となる次元で区分された分類の具体的な
情報を示す情報項目(以下では「メジャー」と呼ぶ。)
具体的には図10の販売額、販売数量のデータはそのま
ま補助テーブルのメジャー項目欄の該当項目欄すなわち
販売額、販売数量の各欄に書き込む。従って、図11の
補助テーブルのメジャー項目の販売数量欄、販売額欄に
は、図10の元テーブルの販売数量「10」、販売額
「60,000」がそのまま書き込まれている。
Next, in the original table, an information item (hereinafter referred to as "major") indicating specific information of the classification classified by the dimension to be tabulated and analyzed in the multidimensional analysis search.
Specifically, the data of the sales amount and the sales amount in FIG. 10 are written as they are in the corresponding item column of the major item column of the auxiliary table, that is, the sales amount and the sales amount columns. Therefore, the sales quantity “10” and the sales amount “60,000” of the original table in FIG. 10 are written as they are in the sales quantity column and the sales amount column of the major item of the auxiliary table in FIG.

【0038】補助DB構築手段27は以上のようにし
て、図10の第1行の処理が終わると、その第2行の処
理に移り、順次図10の元テーブルの全行について分類
コード変換と情報項目の転記を行う。その結果図11に
おいて、「ROW ID」の欄を除いた補助テーブルが
得られる。なお、後述の「補助テーブルをセカンダリイ
ンデックスとして利用」したい場合は、補助DB構築手
段27は上述のメジャー欄を書き込み後、元テーブルの
「ROW ID」の該当明細データをそのまま図11に
示すように補助テーブルの最終欄の図で右側に設けた
「ROW ID」欄に書き込むようにしている。その結
果、この場合には図11に示すインデックス付きの補助
テーブルが得られる。
When the processing of the first row in FIG. 10 is completed as described above, the auxiliary DB construction means 27 proceeds to the processing of the second row, and sequentially performs classification code conversion on all rows of the original table in FIG. Post information items. As a result, in FIG. 11, an auxiliary table excluding the column of "ROW ID" is obtained. In the case of using the “auxiliary table as a secondary index” described later, the auxiliary DB constructing unit 27 writes the above-described major column and then uses the corresponding detailed data of “ROW ID” of the original table as shown in FIG. The information is written in the “ROW ID” column provided on the right side in the figure of the last column of the auxiliary table. As a result, in this case, an indexed auxiliary table shown in FIG. 11 is obtained.

【0039】ところで、この図11の補助テーブルの各
行のデータすなわち各タプルは、図12に示すように、
各次元の分類コードを軸とする多次元空間上の重なり合
わずに配置されるデータオブジェクトとして表現でき
る。具体的には、例えば図11の補助インデックスの第
1行目のタプルは、図示のように販売地CD、製品C
D、販売日CDの各分類コードを軸とする3次元空間上
の座標(2201, 1011, 291010)の位
置にあり、データ(10, 60000, 1)を持つ
点として表現できる。
The data of each row of the auxiliary table of FIG. 11, that is, each tuple, as shown in FIG.
It can be represented as a data object arranged without overlapping in a multidimensional space with the classification code of each dimension as an axis. Specifically, for example, the tuple in the first row of the auxiliary index in FIG.
D, located at the coordinates (2201, 1011, 291010) in the three-dimensional space centered on each classification code of the sales day CD, and can be represented as a point having data (10, 60000, 1).

【0040】本例の補助DB構築手段27は、補助テー
ブルをこの多次元空間上のデータオブジェクトとして、
多次元空間に対して効率的な検索手段を与えるインデッ
クス技術(多次元インデックス技術)具体的には国際出
願のWO9810357号公開公報に開示されているU
Bツリーを用いて補助記憶装置に保存するようにしてい
る。多次元インデックス技術としては、UBツリーの他
に1984年のACMSIGMODの論文集にある、
A. GUTTMANの「R−TREES:A DYN
AMIC INDEX STRUCTURE FOR
SPATIAL SEARCHING」に記載されてい
るRツリーなどが知られているが、これらの技術は空間
内のサブ空間を構成するような検索領域に含まれている
データオブジェクトをすばやく見つける事ができるとい
う特徴を有する。
The auxiliary DB constructing means 27 of this embodiment uses the auxiliary table as a data object in this multidimensional space.
Index technology (multidimensional index technology) that provides an efficient search means for a multidimensional space. Specifically, U is disclosed in International Publication WO9810357.
The data is stored in the auxiliary storage device using the B-tree. As a multi-dimensional index technology, in addition to the UB tree, there is a paper in the 1984 SAMSIGMOD paper collection.
A. GUTTMAN 「R-TREES: A DYN
AMIC INDEX Structure For
An R-tree described in “SPATIAL SEARCHING” is known, but these techniques have a feature that a data object included in a search area constituting a sub-space in a space can be quickly found. Have.

【0041】UBツリーでは、そのデータオブジェクト
は、図11にあるタプル形式そのままで補助記憶装置上
に配置され、空間を構成する各次元座標値と1対1に対
応する「アドレス」と呼ばれる数値を用いてインデック
スが構成されるが、このアドレスは「Aというアドレス
がBというアドレスよりも大きければ、Aに対応する座
標値(X1,X2,...,Xn)の各値がBに対応す
る座標値(Y1,Y2,...,Yn)の各値よりも大
きいか等しいという性質を持っていなければならない。
本例では、座標値(X1,X2,...,Xn)をビッ
トインターリビングと呼ばれる以下のような方法でアド
レスを得ている。すなわち、X1からXnをすべて2進
数で表し、まずX1の第1ビット、X2の第1ビッ
ト、...、Xnの第1ビットを取ってきてその順にな
らべる。以下、そこから続けて、X1の第2ビッ
ト、...、Xnの第2ビット、X1の第3ビッ
ト、...、Xnの第3ビット、...と座標を構成す
る全値の全ビットを並べ直して得られる値をアドレスと
している。UBツリー技術を用いるとこのアドレスを用
いて構成されるインデックスの構造が、従来のRDBM
Sに広く使われてきたBツリー、B*ツリーといったイ
ンデックスと同じにすることができ、それらの技術を応
用できるのでRDBMSとの親和性も高いというと利点
がある。
In the UB tree, the data object is arranged in the auxiliary storage device as it is in the tuple format shown in FIG. 11, and a numerical value called “address” corresponding to each dimensional coordinate value constituting the space on a one-to-one basis. An index is formed using the address. If the address “A” is larger than the address “B”, each value of the coordinate values (X1, X2,..., Xn) corresponding to A corresponds to B. It must have the property of being greater than or equal to each of the coordinate values (Y1, Y2, ..., Yn).
In this example, an address is obtained from the coordinate values (X1, X2,..., Xn) by the following method called bit interleaving. That is, X1 to Xn are all represented by binary numbers. First, the first bit of X1, the first bit of X2,. . . , Xn and fetch them in that order. Hereinafter, from there, the second bit of X1,. . . , Xn, the third bit of X1,. . . , Xn,. . . The value obtained by rearranging all the bits of all the values constituting the coordinates is used as the address. If the UB tree technology is used, the structure of the index formed using this address is the same as the conventional RDBM
Indexes such as B-trees and B * -trees, which have been widely used for S, can be made the same, and since these techniques can be applied, there is an advantage that affinity with RDBMS is high.

【0042】次に、この補助テーブルを用い、多次元分
析用アプリケーションからの要求に基づく多次元分析型
の検索を行う補助DB検索手段23を説明する。さて、
多次元分析型の検索は、一般に各次元に対して階層構造
上のあるレベルのメンバまたはメンバの範囲を限定して
そのメンバまたはその範囲のメンバの情報項目のデータ
の要求される集約例えば集計を求めるものである。例え
ば、「神奈川県でのスポーツ衣料の1999年10月の
売上高は?」という検索は、「販売地次元」の「都道府
県レベル」が「関東・神奈川県」で、「製品次元」の
「製品分類レベル」が「スポーツ衣料」、「販売日次
元」の「月レベル」が「1999年10月」という限定
の下、この限定に属するメジャーすなわち情報項目のデ
ータのうち販売額の合計を求めることである。なお、こ
の際、特にメンバが限定されない次元については、最上
位レベルに「ALLレベル」と呼ばれるその次元の全メ
ンバを包括する特殊なメンバの存在を仮定する事によ
り、最上位の「ALLレベル」が「ALL」で限定され
ているとして上述の各レベルの処理と同様に処理でき
る。
Next, an auxiliary DB search means 23 for performing a multidimensional analysis type search based on a request from a multidimensional analysis application using this auxiliary table will be described. Now,
In general, a multidimensional analysis type search is performed by limiting a member or a range of a member at a certain level in a hierarchical structure for each dimension, and performing required aggregation of data of information items of the member or members of the range, for example, aggregation. Is what you want. For example, a search of “What is the sales amount of sports clothing in Kanagawa Prefecture in October 1999?” Is that “prefecture level” of “sale area dimension” is “Kanto / Kanagawa prefecture” and “product dimension” is “ Under the limitation that the "product classification level" is "sportswear" and the "month level" of the "sale date dimension" is "October 1999", the sum of sales amounts among the data of the majors or information items belonging to this limitation is obtained. That is. At this time, for a dimension whose members are not particularly limited, it is assumed that a special member called “ALL level” which includes all members of the dimension is present at the highest level, so that the highest “ALL level” is obtained. Is limited by “ALL”, and can be processed in the same manner as the processing of each level described above.

【0043】本例の補助DB検索手段23は、このよう
な処理をするように、図13に示すように構成されてい
る。すなわち、まず、図のように、アプリケーションか
らの例えば検索集計要求を受けて、図の分類項目変換の
ステップにおいて、この要求を以下のようにして多次元
検索に適した分類コードの多次元空間上の矩形検索領域
に変換する。
The auxiliary DB search means 23 of this embodiment is configured as shown in FIG. 13 to perform such processing. That is, first, as shown in the figure, upon receiving, for example, a search totaling request from the application, in the step of converting the classification item in the figure, this request is made in the multidimensional space of the classification code suitable for the multidimensional search as follows. To a rectangular search area.

【0044】すなわち、分類コード変換手段25のとこ
ろで述べたように、階層構造上でのあるレベルでの1つ
のメンバの限定は機械的にそれに対応する分類コードの
1つの範囲条件に帰着できる事を利用して、分類コード
変換手段25と同様にしてアプリケーションの検索要求
中で限定されているメンバの全てについてその限定条件
を分類コード変換テーブルを参照して分類コードを用い
た範囲条件に順次変換する。なお、このようなメンバま
たはメンバの範囲の限定は1つの次元につき1つである
とは限定されず、複数の場合が多い。
That is, as described in the classification code conversion means 25, the limitation of one member at a certain level in the hierarchical structure can be mechanically reduced to one range condition of the corresponding classification code. Using the classification code conversion means 25, the restriction conditions of all the members restricted in the search request of the application are sequentially converted into the range condition using the classification code with reference to the classification code conversion table. . It should be noted that such a member or the range of members is not limited to one for one dimension, but is often plural.

【0045】この分類コード変換手段24で分類コード
の範囲条件に変換された検索集計要求の限定条件は、図
14に示すように、各次元の分類コード軸で構成される
前述の多次元空間上での矩形(3次元以上では図のよう
に直方体になるが、本明細書の「矩形」はこれを含むも
のとする)の検索領域となる。なお、前述のように、メ
ンバの限定範囲は各次元につき複数の場合が多い。この
場合各次元に対する限定条件はOR条件を含むが、限定
に使われているメンバの全てにこの分類コードの範囲条
件への帰着を適用する事により、ORで結ばれた各限定
条件が個々に全次元についてANDで結合されている範
囲条件すなわち個々の矩形検索領域を得る事ができ、個
々の限定条件に応じた複数の矩形検索領域となる。
As shown in FIG. 14, the limiting condition of the search totaling request converted into the range condition of the classification code by the classification code conversion means 24 is the above-described multidimensional space constituted by the classification code axis of each dimension. (Three or more dimensions are rectangular as shown in the figure, but “rectangle” in the present specification includes this). As described above, there are many cases where the limited range of members is plural for each dimension. In this case, the limiting condition for each dimension includes an OR condition. By applying the reduction to the range condition of this classification code to all the members used for the limiting, each limiting condition connected by OR is individually set. It is possible to obtain a range condition linked by AND for all dimensions, that is, individual rectangular search areas, and a plurality of rectangular search areas according to individual limiting conditions.

【0046】次いで、この矩形検索領域について、補助
DB検索手段27は以下のようにして補助テーブル検索
を行う。補助テーブル検索は、補助テーブルからUBツ
リーにより構成した前述の多次元インデックスを利用し
て行う。すなわち、各矩形検索領域毎にその矩形検索領
域の最小座標のアドレスを求め、そのアドレスによりイ
ンデックスを探索して矩形検索領域に属する補助テーブ
ルの最初のタプルを見つける。以下、隣接するアドレス
が矩形検索領域に含まれている限り次のタプルも隣接し
て記憶されているので容易に得ることが出来、隣接する
アドレスが矩形検索領域からはみ出た場合には次に矩形
検索領域と交わるアドレスを求めて同様の処理を繰り返
す。この反復により、すばやく結果を得る事ができる。
Next, for this rectangular search area, the auxiliary DB search means 27 performs an auxiliary table search as follows. The auxiliary table search is performed by using the above-described multidimensional index formed by the UB tree from the auxiliary table. That is, the address of the minimum coordinate of the rectangular search area is obtained for each rectangular search area, and the index is searched based on the address to find the first tuple of the auxiliary table belonging to the rectangular search area. Hereinafter, the next tuple is also stored adjacently as long as the adjacent address is included in the rectangular search area, so that the next tuple can be easily obtained. The same processing is repeated for the address that intersects the search area. With this repetition, results can be obtained quickly.

【0047】そして、このようにして抽出され、得られ
た補助テーブルのタプルに基づいて、その中のメジャー
項目の値に対して要求される集約処理本例では集計処理
を行う。そして、得られた集約結果をその要求を出した
多次元分析用アプリケーションにその要求のフォーマッ
トで回答して、検索終了となる。
Then, based on the tuples of the auxiliary table extracted and obtained as described above, aggregation processing required for the value of the major item in the auxiliary table is performed. In this example, aggregation processing is performed. Then, the obtained aggregation result is answered in the format of the request to the multidimensional analysis application that has issued the request, and the search is completed.

【0048】ところで、ROW IDを補助インデック
スとして附加したインデックス付きで多次元分析検索用
の補助テーブルを構成した場合、このインデックス付き
補助テーブルは、与えられた条件に合致する元テーブル
のタプルを探し出すためのセカンダリインデックスとし
ても利用する事ができる(補助テーブルのセカンダリイ
ンデックスとしての利用)。例えば、上述の多次元分析
検索の延長としてある特定の集計値のもとになる元テー
ブルの明細データを得たいような場合には、上記のよう
に検索条件を補助テーブルの次元コードが構成する多次
元空間上の矩形検索領域に帰着する事ができ、この補助
インデックスを用いる事で、効率的に元テーブルの対象
タプルのROW IDを得る事ができ、結果として元テ
ーブルから効率的に対象タプルを得る事ができる。
When an auxiliary table for a multidimensional analysis search is configured with an index added with a ROW ID as an auxiliary index, the indexed auxiliary table is used to search for a tuple of an original table that matches a given condition. It can also be used as a secondary index of the table (use as a secondary index of the auxiliary table). For example, when it is desired to obtain detailed data of an original table based on a specific aggregated value as an extension of the above-described multidimensional analysis search, as described above, the search condition is defined by the dimension code of the auxiliary table. By using this auxiliary index, the ROW ID of the target tuple of the original table can be efficiently obtained, and as a result, the target tuple can be efficiently extracted from the original table. You can get it.

【0049】多次元分析検索の延長としての明細データ
を得る検索に限らず一般的な元テーブルに対する検索に
対しても、たとえば販売地次元で「地方=関東 AND
都道府県=神奈川県」のようにその次元を構成する複
数の分類項目の上位レベルの項目から順に制約がかかっ
ている場合には、各次元を構成する分類項目に対する等
号条件での検索に対し、同様の方法で検索条件を補助テ
ーブルが構成する多次元空間の矩形検索条件に帰着しイ
ンデックス付き補助テーブルからROW IDを得て、
該ROW IDから元テーブルの該当タプルを得る事が
できる。さらに、階層構造に基づく分類コードが次元デ
ータの順序関係も保持している場合には、不等号条件、
範囲条件に対してもセカンダリインデックスとしての利
用を拡張適用できる。以上述べたように、補助テーブル
により検索を効率的に行う事ができる。
For a search for a general original table as well as a search for obtaining detailed data as an extension of the multidimensional analysis search, for example, in the sales area dimension, “Region = Kanto AND
If constraints are applied in order from the higher-level items of the multiple classification items that make up that dimension, such as "Prefecture = Kanagawa Prefecture," search for equality conditions for the classification items that make up each dimension In a similar manner, the search condition is reduced to a rectangular search condition in a multidimensional space formed by the auxiliary table, and a ROW ID is obtained from the indexed auxiliary table.
The corresponding tuple of the original table can be obtained from the ROW ID. Furthermore, if the classification code based on the hierarchical structure also holds the order relation of the dimensional data, the inequality condition,
The range index can be extended to use as a secondary index. As described above, the search can be efficiently performed using the auxiliary table.

【0050】ところで、補助テーブルは、元テーブルお
よびこれに付随する参照テーブルの更新に伴うその更新
が必要であり、以下、元テーブルの更新に同期してこの
更新を行う補助DB保全手段24を説明する。本例のも
のは、その構成から低コストで行える。
By the way, the auxiliary table needs to be updated in accordance with the update of the original table and the reference table accompanying the original table. Hereinafter, the auxiliary DB maintenance means 24 for performing this update in synchronization with the update of the original table will be described. I do. This embodiment can be performed at low cost because of its configuration.

【0051】先に、補助データベースのうち分類コード
変換テーブルの更新処理について図10の元テーブルの
例に基づいて説明する。この更新処理は、先ず更新対象
の元テーブルの次元データが製品次元のように生の項目
データで与えられているか、或いは販売地次元のように
参照テーブルに基づく参照キーのインデックスで与えら
れているかを判断する。
First, the process of updating the classification code conversion table in the auxiliary database will be described based on the example of the original table in FIG. In this update processing, first, is the dimension data of the source table to be updated given as raw item data like the product dimension, or given as the index of the reference key based on the reference table like the sales place dimension? Judge.

【0052】そして、更新対象項目が製品次元のように
元テーブル中の項目がそのまま分類項目になっている場
合、明示的に次元データの更新、挿入が起こるのではな
く、元テーブルに対する更新、挿入処理に伴って暗黙的
に分類コード変換テーブルの更新、挿入を行う必要があ
る。
When the item to be updated is an item in the original table, such as the product dimension, which is a classification item as it is, the dimension data is not updated or inserted explicitly, but is updated or inserted into the original table. It is necessary to update and insert the classification code conversion table implicitly with the processing.

【0053】そこで、本例では、更新が元テーブル中の
既存データに対し分類項目の値を含む更新の場合および
新たなタプルのデータを元テーブルに挿入する場合、こ
の更新情報をRDB管理手段より受けて分類コード変換
テーブルを以下のように更新するようにしている。すな
わち、データの更新の場合には更新後の各次元の分類項
目の値、データの挿入の場合には挿入されたデータの各
次元の分類項目の値が、すでに既存の分類コード変換テ
ーブルに登録された各次元の分類項目にあるか否かを調
べ、登録された各次元の分類項目であれば何もせず、分
類コード変換テーブルは既存のままとして、補助テーブ
ルの更新に進む。そうでない場合には、それらの各次元
の分類項目に対し分類コード変換手段25と同様にして
新しい分類コードを割り当て、分類コード変換テーブル
に加え、次の補助テーブルの更新に進むようにしてい
る。
Therefore, in this example, when the update is an update including the value of the classification item with respect to the existing data in the original table, and when inserting new tuple data into the original table, this update information is sent from the RDB management means. In response, the classification code conversion table is updated as follows. In other words, in the case of updating data, the value of the classification item of each dimension after updating, and in the case of inserting data, the value of the classification item of each dimension of the inserted data is registered in the existing classification code conversion table. It is checked whether or not there is a classification item of each dimension that has been registered. If the classification item is a registered classification item of each dimension, nothing is performed, the classification code conversion table is left as it is, and the process proceeds to update the auxiliary table. If not, a new classification code is assigned to the classification items of each dimension in the same manner as the classification code conversion means 25, and is added to the classification code conversion table, and then the next auxiliary table is updated.

【0054】一方、更新対象項目が図10の販売地次元
のように、参照テーブルで次元が定義されている場合
は、分類コード変換テーブルに対して更新、挿入を行わ
なければならない次元のデータの更新は、参照テーブル
の次元データに対する明示的な更新、挿入として起こる
ため、それを受けて分類コード変換手段25と同様にし
て分類コード変換テーブルの更新、挿入を行うようにし
ている。この場合、元テーブルに対する更新、挿入に際
して分類コード変換テーブルに対し更新、挿入を行う必
要はない。
On the other hand, if the dimension to be updated is defined in the reference table, such as the sales place dimension in FIG. 10, the data of the dimension that must be updated and inserted into the classification code conversion table Since the update occurs as an explicit update and insertion to the dimension data of the reference table, the classification code conversion table is updated and inserted in the same manner as the classification code conversion unit 25 upon receiving the update. In this case, it is not necessary to update and insert the classification code conversion table when updating and inserting the original table.

【0055】本例の補助DB保全手段24は、以上の分
類コード変換テーブルの更新処理後、元テーブルの更新
に伴う補助テーブルの更新処理を以下のように行うよう
になっている。すなわち、元テーブルに新たなデータの
タプルが挿入された場合、補助テーブルにも該当するタ
プルを挿入する。挿入時の補助テーブルの更新はベース
としている多次元インデックスの更新方法に準じて行わ
れなければならず、本例では挿入するタプルのアドレス
を求め、UBツリーのインデックス上で挿入位置を探索
し、該位置にタプルを挿入する。該位置にタプルを挿入
した結果、必要であればUBツリーのインデックスも更
新する。
After the above-described classification code conversion table update processing, the auxiliary DB maintenance means 24 of this embodiment performs the auxiliary table update processing accompanying the update of the original table as follows. That is, when a new data tuple is inserted into the original table, the corresponding tuple is also inserted into the auxiliary table. The update of the auxiliary table at the time of insertion must be performed according to the method of updating the base multidimensional index. In this example, the address of the tuple to be inserted is obtained, and the insertion position is searched on the index of the UB tree. Insert a tuple at that position. As a result of inserting the tuple at the position, the index of the UB tree is updated if necessary.

【0056】また、元テーブルの既存タプルのデータが
更新された場合については、以下の3ケースに分けて処
理する。すなわち、次元を構成する項目が更新された場
合、次元を構成する項目は更新されなかったがメジャー
項目が更新された場合、それらいずれにも該当しない場
合(本例の図には無いが、分類項目でもメジャーでもな
い項目が元テーブルにありかつその分類項目でもメジャ
ーでもない項目だけが更新された場合)の3ケースであ
る。
When the data of the existing tuple in the original table is updated, the processing is performed in the following three cases. In other words, when the items that make up the dimension are updated, when the items that make up the dimension are not updated, but when the measure items are updated, they do not correspond to any of them. (In the case where an item that is neither an item nor a measure is in the original table and only an item that is neither a classification item nor a measure is updated).

【0057】次元を構成する項目が更新された場合、補
助テーブルの場合には更新前の補助テーブルにおいて分
類コードおよびメジャー項目の値が更新対象のそれらの
値と合致するタプルを、補助インデックス付きの場合に
は更新前の補助インデックスにおいてROW IDの値
が更新対象のその値に一致するタプルを探して削除した
後、補助テーブルに更新対象のデータからなるタプルを
挿入するようにしている。
When the items constituting the dimension are updated, in the case of an auxiliary table, tuples whose classification code and measure item values match those to be updated in the auxiliary table before update are added with auxiliary indexes. In this case, a tuple whose ROW ID value matches the value to be updated is searched for and deleted from the auxiliary index before update, and then a tuple made of data to be updated is inserted into the auxiliary table.

【0058】次元を構成する項目は更新されていないが
メジャー項目が更新された場合、上述の場合と同様にし
て該当するタプルを探して、補助テーブルの該当のメジ
ャー項目の値を更新するようにしている。
When the items constituting the dimension are not updated but the major items are updated, the corresponding tuple is searched for in the same manner as described above, and the value of the relevant major item in the auxiliary table is updated. ing.

【0059】以上のいずれにも該当しない場合には、補
助テーブルに対しては何も行わない。また、元テーブル
から既存のデータが削除された場合には、上述と同様に
して該当するタプルを探して、補助テーブルから削除す
るようにしている。
If none of the above applies, nothing is performed on the auxiliary table. When existing data is deleted from the original table, a corresponding tuple is searched for and deleted from the auxiliary table in the same manner as described above.

【0060】以上の補助DB保全手段による元テーブル
または参照テーブルの更新に伴う補助テーブルの更新処
理は、元テーブル1件の更新処理に対して、たかだか次
元数分の分類コード変換テーブルの更新処理および補助
テーブルに対する1件の削除、1件の挿入処理のみであ
り、元テーブルに対する挿入、削除、参照テーブルに対
する挿入、更新、削除処理に伴う補助テーブルまた分類
コード変換テーブルの更新処理はそれ以下の手間で済
み、現実的な時間内での更新が可能となる。すなわち、
オンライン処理にも対応できるものである。
The update processing of the auxiliary table accompanying the update of the original table or the reference table by the auxiliary DB maintenance means is the processing of updating the classification code conversion table corresponding to at most the number of dimensions to the update processing of one original table. Only one deletion and one insertion process for the auxiliary table is required, and the process of updating the auxiliary table or classification code conversion table associated with the insertion / deletion of the original table, insertion / update / deletion of the reference table, and so on is less. Update in a realistic time. That is,
It can also handle online processing.

【0061】さらに、インデックス付き補助テーブルを
セカンダリインデックスとして用いる場合、従来のRD
B技術で検索を高速化するために構築されていた、多く
の場合には複数のセカンダリインデックスが不要とな
り、結果として従来のセカンダリインデックス更新に必
要としていた時間が不要になることから、全体の更新処
理がかえって速くなるケースもある利点もある。
Further, when an indexed auxiliary table is used as a secondary index, the conventional RD
B technology, which was built to speed up the search, often eliminates the need for multiple secondary indexes, resulting in the elimination of the time required for conventional secondary index updates. There is also an advantage in some cases that the processing is rather faster.

【0062】[0062]

【発明の効果】以上説明したように、本発明によれば、
次元に含まれるメンバ数でおさえられるデータ量の分類
コード変換テーブルと、元テーブルと件数は同じで分類
項目の次元単位でのコード変換による分類コードにより
データ量がずっと小さくなっている補助テーブルのみを
用いることで、必要とするディスク領域が少なく、明細
データと集約検索結果の一貫性が常に保証された、リア
ルタイム性を持った多次元分析型の集約検索が可能であ
り、なおかつ、現実的な時間内での明細データのオンラ
イン更新が可能であるRDBMSが実現できる。
As described above, according to the present invention,
Only the classification code conversion table for the data amount controlled by the number of members included in the dimension, and the auxiliary table whose data amount is much smaller due to the classification code by the code conversion in the dimension unit of the classification item with the same number as the original table. By using it, the required disk space is small, the consistency between the detailed data and the aggregated search results is always guaranteed, real-time multidimensional analysis-type aggregated search is possible, and the real time It is possible to realize an RDBMS that allows online updating of detailed data within a database.

【0063】このように、本発明は、多次元分析型のオ
ンライン検索を可能とするRDBMSを提供するもので
あり、産業の各分野に広く適用できるものである。
As described above, the present invention provides an RDBMS that enables a multidimensional analysis type online search, and is widely applicable to various fields of industry.

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

【図1】図1は、実施例のRDBMSの構成の説明図で
ある。
FIG. 1 is an explanatory diagram of a configuration of an RDBMS according to an embodiment;

【図2】図2は、実施例の補助DB管理手段の構成の説
明図である。
FIG. 2 is an explanatory diagram illustrating a configuration of an auxiliary DB management unit according to the embodiment;

【図3】図3は、元テーブルの一例の説明図である。FIG. 3 is an explanatory diagram of an example of an original table.

【図4】図4は、分類項目に参照キーを用いた元テーブ
ルの一例の説明図である。
FIG. 4 is an explanatory diagram of an example of an original table using a reference key for a classification item;

【図5】図5は、販売地次元の定義の説明図である。FIG. 5 is an explanatory diagram of a definition of a sales place dimension.

【図6】図6は、参照テーブルを有する元テーブルの販
売地次元の定義の説明図である。
FIG. 6 is an explanatory diagram of a definition of a sales place dimension of an original table having a reference table.

【図7】図7は、補助コード変換手段の販売地次元のデ
ータの抽出の説明図である。
FIG. 7 is an explanatory diagram of extraction of data of a sales place dimension by the auxiliary code conversion means.

【図8】図8は、補助コード変換手段の販売地次元デー
タの分類コードへの変換の説明図である。
FIG. 8 is an explanatory diagram of conversion of sales place dimensional data into a classification code by an auxiliary code conversion unit.

【図9】図9は、参照キーを有する分類項目変換テーブ
ルの例の説明図である。
FIG. 9 is an explanatory diagram of an example of a classification item conversion table having a reference key.

【図10】図10は、分類次元のデータの種類が異なる
元テーブルの例の説明図である。
FIG. 10 is an explanatory diagram of an example of an original table having different types of classification dimension data;

【図11】図11は、補助インデックス付き補助テーブ
ルの例の説明図である。
FIG. 11 is an explanatory diagram of an example of an auxiliary table with an auxiliary index;

【図12】図12は、補助テーブルのデータを表示する
分類コードを軸とした多次元空間の説明図である。
FIG. 12 is an explanatory diagram of a multidimensional space centered on a classification code for displaying data of an auxiliary table;

【図13】図13は、補助DB検索手段の処理のフロー
チャートである。
FIG. 13 is a flowchart of processing of an auxiliary DB search unit.

【図14】図14は、多次元空間上での矩形検索領域の
説明図である。
FIG. 14 is an explanatory diagram of a rectangular search area in a multidimensional space.

【符号の説明】 11 元テーブル 12 分類コード変換テーブル 13 補助テーブル 21 主DB管理手段 22 補助DB管理手段 23 補助DB検索手段 24 補助DB保全手段 25 分類コード変換手段 26 補助DB定義手段 27 補助DB構築手段 31 業務アプリケーション 32 多次元分析用アプリケーション[Description of Signs] 11 Original table 12 Classification code conversion table 13 Auxiliary table 21 Main DB management means 22 Auxiliary DB management means 23 Auxiliary DB search means 24 Auxiliary DB maintenance means 25 Classification code conversion means 26 Auxiliary DB definition means 27 Auxiliary DB construction Means 31 Business application 32 Multidimensional analysis application

───────────────────────────────────────────────────── フロントページの続き (72)発明者 松本 剛 神奈川県横浜市中区日本大通5番地の2 帝人株式会社横浜研究センター内 Fターム(参考) 5B075 NK43 NK54 NR03 NR12 QT06 5B082 BA09 GA07  ────────────────────────────────────────────────── ─── Continuing on the front page (72) Inventor Tsuyoshi Matsumoto 2-5, Nippon Odori, Naka-ku, Yokohama-shi, Kanagawa F-term in the Yokohama Research Center of Teijin Limited (Reference) 5B075 NK43 NK54 NR03 NR12 QT06 5B082 BA09 GA07

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 分類を指定する複数の分類項目と、この
分類項目で区分される情報項目とを所定のフォーマット
で記憶する主データベースと、主データベースを管理す
る主管理手段とからなるリレーショナルデータベース管
理システムにおいて、該分類項目を複数の分類軸に区分
して、各分類軸毎にこれに属する全ての分類項目の分類
データを一つのデータに統合する共に軸上に重なり合わ
ずに配置されるようにコード化した分類軸データとこの
分類軸データに対応する情報データとを所定のフォーマ
ットで記憶している補助データベースと、補助データベ
ースのデータを主データベースのデータに一致させる補
助管理手段を備えたことを特徴とするリレーショナルデ
ータベース管理システム。
1. A relational database management system comprising: a main database storing a plurality of classification items for specifying a classification; information items divided by the classification items in a predetermined format; and main management means for managing the main database. In the system, the classification items are divided into a plurality of classification axes, and the classification data of all the classification items belonging to each classification axis are integrated into one data, and are arranged so as not to overlap on the axes. Auxiliary database storing the encoded axis data and information data corresponding to the classified axis data in a predetermined format, and auxiliary management means for matching the data in the auxiliary database with the data in the main database. A relational database management system characterized by:
【請求項2】 一つの分類軸に区分された複数の分類項
目が階層構造となっており、その階層構造をコード化
し、補助管理手段が分類項目を該コードへ変換する分類
コード変換手段を備えた請求項1記載のリレーショナル
データベース管理システム。
2. A method according to claim 1, wherein a plurality of classification items classified into one classification axis have a hierarchical structure, and the hierarchical structure is coded, and the auxiliary management unit includes a classification code converting unit for converting the classification item into the code. The relational database management system according to claim 1.
【請求項3】 補助管理手段が検索条件を補助データベ
ースの複数の分類軸項目の各々を軸として構成される多
次元空間の矩形又は直方体領域に変換して検索する多次
元対応検索手段を備えた請求項1又は2記載のリレーシ
ョナルデータベース管理システム。
3. A multi-dimensional search means for converting a search condition into a rectangular or rectangular parallelepiped region of a multi-dimensional space constituted by each of a plurality of classification axis items of an auxiliary database as an axis. The relational database management system according to claim 1.
【請求項4】 補助データベースが主データベースの各
データの物理位置を特定する情報を記憶するインデック
ス情報項目を有する請求項1〜3記載のいずれかのリレ
ーショナルデータベース管理システム。
4. The relational database management system according to claim 1, wherein the auxiliary database has an index information item for storing information for specifying a physical position of each data of the main database.
【請求項5】 補助管理手段が主データベースにデータ
の追加、訂正等の更新が為された時、該データについて
補助データベースの該当項目の更新を自動的におこなう
補助DB保全手段を備えた請求項1〜4記載のいずれか
のリレーショナルデータベース管理システム。
5. An auxiliary database maintenance means for automatically updating the corresponding item of the auxiliary database with respect to the data when the auxiliary management means updates data addition, correction, etc. in the main database. 5. The relational database management system according to any one of 1 to 4.
【請求項6】 請求項1〜5のいずれかに記載のリレー
ショナルデータベース管理システムを実行するプログラ
ムを記憶した記憶媒体。
6. A storage medium storing a program for executing the relational database management system according to claim 1.
JP2000021593A 2000-01-31 2000-01-31 Relational database management system and storage medium stored with same Pending JP2001216307A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000021593A JP2001216307A (en) 2000-01-31 2000-01-31 Relational database management system and storage medium stored with same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000021593A JP2001216307A (en) 2000-01-31 2000-01-31 Relational database management system and storage medium stored with same

Publications (1)

Publication Number Publication Date
JP2001216307A true JP2001216307A (en) 2001-08-10

Family

ID=18547982

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000021593A Pending JP2001216307A (en) 2000-01-31 2000-01-31 Relational database management system and storage medium stored with same

Country Status (1)

Country Link
JP (1) JP2001216307A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004164592A (en) * 2002-07-19 2004-06-10 Microsoft Corp System and method for analytically modeling data organized according to related attribute
JP2007535764A (en) * 2004-04-26 2007-12-06 ライト90,インコーポレイテッド Real-time data prediction
WO2013042788A1 (en) * 2011-09-21 2013-03-28 日本電気株式会社 Data partitioning apparatus, data partitioning system, data partitioning method, and program
JP2015075896A (en) * 2013-10-08 2015-04-20 日本電信電話株式会社 Flow aggregation device and method
WO2016157707A1 (en) * 2015-03-30 2016-10-06 日本電気株式会社 Table operation system, method, and program
JP6269884B1 (en) * 2017-05-19 2018-01-31 学校法人神奈川大学 Information search device, search program, database update device, database update program
KR101906357B1 (en) * 2017-09-26 2018-10-10 한국건설기술연구원 Collecting Device and Method of Various Big Data
WO2018212106A1 (en) * 2017-05-19 2018-11-22 学校法人神奈川大学 Information search device, program for search, method for updating database, database-updating device, and program for updating database
JP2019145125A (en) * 2019-03-19 2019-08-29 株式会社オービック Data collection device, data collection method, and data collection program

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004164592A (en) * 2002-07-19 2004-06-10 Microsoft Corp System and method for analytically modeling data organized according to related attribute
JP2007535764A (en) * 2004-04-26 2007-12-06 ライト90,インコーポレイテッド Real-time data prediction
JP2012164318A (en) * 2004-04-26 2012-08-30 Right90 Inc Real time data prediction
WO2013042788A1 (en) * 2011-09-21 2013-03-28 日本電気株式会社 Data partitioning apparatus, data partitioning system, data partitioning method, and program
JPWO2013042788A1 (en) * 2011-09-21 2015-03-26 日本電気株式会社 Data division apparatus, data division system, data division method, and program
JP2015075896A (en) * 2013-10-08 2015-04-20 日本電信電話株式会社 Flow aggregation device and method
WO2016157707A1 (en) * 2015-03-30 2016-10-06 日本電気株式会社 Table operation system, method, and program
US10698874B2 (en) 2015-03-30 2020-06-30 Nec Corporation System, method, and program for business intelligence using table operations in a relational database
JP6269884B1 (en) * 2017-05-19 2018-01-31 学校法人神奈川大学 Information search device, search program, database update device, database update program
WO2018212106A1 (en) * 2017-05-19 2018-11-22 学校法人神奈川大学 Information search device, program for search, method for updating database, database-updating device, and program for updating database
JP2018195165A (en) * 2017-05-19 2018-12-06 学校法人神奈川大学 Information retrieval device, program for retrieval, database update device, and program for database update
US11294961B2 (en) 2017-05-19 2022-04-05 Kanagawa University Information search apparatus, search program, database update method, database update apparatus and database update program, for searching a specified search target item associated with specified relation item
KR101906357B1 (en) * 2017-09-26 2018-10-10 한국건설기술연구원 Collecting Device and Method of Various Big Data
JP2019145125A (en) * 2019-03-19 2019-08-29 株式会社オービック Data collection device, data collection method, and data collection program

Similar Documents

Publication Publication Date Title
US6505205B1 (en) Relational database system for storing nodes of a hierarchical index of multi-dimensional data in a first module and metadata regarding the index in a second module
JP3581831B2 (en) Searching, tabulating and sorting methods and devices for tabular data
US6718338B2 (en) Storing data mining clustering results in a relational database for querying and reporting
EP1247165B1 (en) System and method for transforming a relational database to a hierarchical database
US6470344B1 (en) Buffering a hierarchical index of multi-dimensional data
US6931390B1 (en) Method and mechanism for database partitioning
US6446059B1 (en) Record for a multidimensional database with flexible paths
US9195699B2 (en) Method and apparatus for storage and retrieval of information in compressed cubes
US6442560B1 (en) Record for multidimensional databases
US9740718B2 (en) Aggregating dimensional data using dense containers
US6493728B1 (en) Data compression for records of multidimensional database
US20030195889A1 (en) Unified relational database model for data mining
US9836519B2 (en) Densely grouping dimensional data
JP4609995B2 (en) Method and system for online analytical processing (OLAP)
US7058640B2 (en) Systems, methods, and computer program products to efficiently update multidimensional databases
US6430565B1 (en) Path compression for records of multidimensional database
CN104685496A (en) Pruning disk blocks of a clustered table in a relational database management system
US20030233380A1 (en) User-defined aggregate functions in database systems without native support
Datta et al. A case for parallelism in data warehousing and OLAP
US10204111B2 (en) System and method for compressing data in a database
KR20010083096A (en) Value-instance-connectivity computer-implemented database
CN108369587A (en) Create the table for exchange
JP2006503357A5 (en)
Rotem et al. Extendible arrays for statistical databases and OLAP applications
JP2001216307A (en) Relational database management system and storage medium stored with same