JPH10177578A - Partial totalization database - Google Patents

Partial totalization database

Info

Publication number
JPH10177578A
JPH10177578A JP8337051A JP33705196A JPH10177578A JP H10177578 A JPH10177578 A JP H10177578A JP 8337051 A JP8337051 A JP 8337051A JP 33705196 A JP33705196 A JP 33705196A JP H10177578 A JPH10177578 A JP H10177578A
Authority
JP
Japan
Prior art keywords
database
keys
key
search
totalization
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
JP8337051A
Other languages
Japanese (ja)
Inventor
Tsutomu Maruyama
力 丸山
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.)
NEC Solution Innovators Ltd
Original Assignee
NEC Solution Innovators 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 NEC Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP8337051A priority Critical patent/JPH10177578A/en
Publication of JPH10177578A publication Critical patent/JPH10177578A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To improve the response of data base retrieval and totalization by constituting a large-scale table data into a totalization database when the data are retrieved by only using limited keys except such a case that the data are retrieved with all keys by adding retrieval conditions to the keys. SOLUTION: A partial totalization database contains a basic data base 1 which is a large-scale table database, a key layout 2 for basic data base which indicates the configuration of key rows in the database 1, and a totalization database 3 corresponding to limited keys containing the retrieval condition of a user. The key rows are indicated by the keys 1-5 in each key and their combinational keys 6-N. In the database 3, small-scale table databases which are constructed by hierarchizing the basic databases provided corresponding to the keys containing the retrieval condition of the user and their combination as totalization databases 31-3n.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、大規模な表デー
タでなる基データベースの検索に関し、特に基データベ
ースをキーあるいはキーの組合せで小規模な表データに
階層化し、検索応答を高速化する部分集計データベース
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a search for a base database composed of large-scale table data, and more particularly to a part for hierarchizing a base database into small-scale table data by using keys or key combinations to speed up a search response. Regarding the summary database.

【0002】[0002]

【従来の技術】売上集計ファイルのような様様な角度か
ら検索集計を行うデータベースの場合、利用者の要望に
応じて日付,組織,得意先,仕入先,商品などを、キー
あるいはそのキーの組合せで、集計することが求められ
る。この集計を実施するに、アクセスのあるキー、ある
いはそれの組合せキーを検索条件にして、表データから
所要なキーを集計することになる。一方、利用者の利便
のため、要求されるキー、あるいは要求されるキーの組
合せが増大することは自然なことである。しかし、デー
タベースとしては、使用を通じて蓄積されるデータの増
加および利用者要求による検索条件の多様化は、検索応
答の悪化を招来する。様様な利用者要求に応じることの
結果として、表データの拡大は止むを得ないが、検索応
答の悪化は利用者の利便を著しく損なう。
2. Description of the Related Art In the case of a database that performs search and aggregation from various angles, such as a sales aggregation file, a date or an organization, a customer, a supplier, a product, or the like is designated by a key or a key of the key according to a user's request. Aggregation is required in combination. In order to perform this totaling, necessary keys are totaled from the table data using a key having access or a combination key thereof as a search condition. On the other hand, it is natural that the number of required keys or required key combinations increases for the convenience of the user. However, as a database, an increase in data accumulated through use and diversification of search conditions due to user requests lead to a deterioration in search response. As a result of responding to various user requests, the expansion of the table data is unavoidable, but the deterioration of the search response significantly impairs the user's convenience.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の技術に
おける第1の問題点は、要求される検索条件の増加に伴
ない、表データのキーが増大し、検索応答が悪化するこ
とである。その理由は、利用者の利便に応じる結果とし
て、索引情報とデータ量が増加するからである。この発
明の目的は、全てのキーを検索条件に加えて検索する場
合を除き、限定したキーのみで検索する場合のデータベ
ース検索・集計をデータベースを階層化することによっ
て、応答を向上させることにある。
A first problem in the above-mentioned prior art is that the number of keys of table data increases with an increase in required search conditions, and the search response deteriorates. The reason is that the index information and the data amount increase as a result of the convenience of the user. An object of the present invention is to improve the response by hierarchizing a database search / aggregation in a case where a search is performed using only a limited key, except when a search is performed by adding all keys to a search condition. .

【0004】[0004]

【課題を解決するための手段】そのため、この発明いお
いて、大規模な基データベースを、利用者の検索条件を
包含するキーあるいは前記キーの組合せに対応する集計
データベースに階層化することを特徴とする。
For this reason, the present invention is characterized in that a large-scale base database is hierarchized into a key database including search conditions of a user or an aggregation database corresponding to a combination of the keys. And

【0005】利用者が入力した検索条件を包含している
部分集計データベースを対象に、検索を実施できるた
め、検索対象の母集団の数が減少して検索応答の悪化が
防止できる。
[0005] Since a search can be performed on a partial tabulation database that includes search conditions input by a user, the number of populations to be searched is reduced, and deterioration of search responses can be prevented.

【0006】[0006]

【発明の実施の形態】次に、この発明について図面を参
照して説明する。この発明の一実施例の構成を示す図1
を参照すると、大規模な表データである基データベース
1と、基データベース1のキー列の構成を示す基データ
ベースキーレイアウト2と、利用者の検索条件を包含す
る限定したキーに対応する集計データベース3と、を含
む。キー列は、キー1乃至キー5とそれの組合せのキー
6乃至キーNと、で示される。集計データベース3は、
利用者の検索条件を包含するキーおよびそれの組合せに
対応して設けられる、基データベースを階層化した小規
模表データベースを集計データベース31乃至3nとし
ている。各集計データベース31乃至3nは、利用者の
検索条件を包含する限定したキーに対応し、キー1の集
計データベース31,キーN−2の集計データベースn
−2,キーN−1の集計データベースn−1,キーNの
集計データベースnとを含む。
Next, the present invention will be described with reference to the drawings. FIG. 1 shows a configuration of an embodiment of the present invention.
, A base database 1 which is large-scale table data, a base database key layout 2 showing a configuration of key columns of the base database 1, and a total database 3 corresponding to limited keys including a user search condition. And The key sequence is represented by keys 1 to 5 and a combination of keys 6 to N. Total database 3
Aggregate databases 31 to 3n are hierarchies of small table databases, which are provided in correspondence with the keys including the search conditions of the user and the combinations thereof, and in which the base database is hierarchized. Each of the tallying databases 31 to 3n corresponds to a limited key including a search condition of the user, and the tallying database 31 of the key 1 and the tallying database n of the key N-2.
-2, a total database n-1 for the key N-1, and a total database n for the key N.

【0007】次に、集計データベース1に対する検索動
作を示す図2を参照すると、入力装置4から入力された
検索条件を判定し(ステップ41)、該検索条件のキー
入力に対応する集計データベース31乃至3nに対し
て、それぞれ検索する(ステップ41乃至ステップ4
n)。検索結果は入力装置に応答して表示され、利用者
は、該検索結果を表示で認識し、所望の検索を再度行
う。下位検索が必要なとき、「上記以外」を検索条件
に、基データベース1に対して検索する(ステップ4n
+1)。以上の説明によれば、集計データベース31乃
至3nに検索対象が絞られているため、検索応答時間は
短縮する。
Next, referring to FIG. 2 showing a search operation for the tallying database 1, a search condition input from the input device 4 is determined (step 41), and a tallying database 31 to thirty-one corresponding to a key input of the search condition is determined. 3n (steps 41 to 4).
n). The search result is displayed in response to the input device, and the user recognizes the search result on the display and performs a desired search again. When a lower order search is required, the base database 1 is searched using “other than the above” as a search condition (step 4n).
+1). According to the above description, since search targets are narrowed down to the tallying databases 31 to 3n, the search response time is reduced.

【0008】[0008]

【発明の効果】以上説明したように、この発明の第1の
効果は、基データベースのデータ件数が莫大な場合で
も、検索応答を短縮できる。試行例を提示すると、図3
に示すように、検索条件を5階層に設定して、それぞれ
に対する集計データベースおよび基データベースを検索
したとき、最上位キーおよび第四階層キーは約数十分の
一、最下位キーは基データベースに対する検索であるの
で変化しない。この結果から、基データベースを検索キ
ー単位に集計データベース化するため、検索対象データ
の母集団数が減少する効果を見ることができる。
As described above, the first effect of the present invention is that the retrieval response can be shortened even when the number of data in the base database is enormous. When the trial example is presented, FIG.
As shown in the table, when the search condition is set to five levels and the total database and the base database for each are searched, the top key and the fourth hierarchy key are about several tenths, and the bottom key is the base database. It does not change because it is a search. From this result, it is possible to see the effect of reducing the number of populations of the search target data because the base database is converted into a total database for each search key.

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

【図1】この発明の一実施例の構成を示す図である。FIG. 1 is a diagram showing a configuration of an embodiment of the present invention.

【図2】図1の実施例の検索動作を示す流れ図である。FIG. 2 is a flowchart showing a search operation of the embodiment of FIG.

【図3】図1の実施例に基づいて、具体例の検索結果を
例示する図である。
FIG. 3 is a diagram illustrating a search result of a specific example based on the embodiment of FIG. 1;

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

1 基データベース 2 基データベーステーブルのキーレイアウト 3 集計データベース 4 入力装置 21 キーの構成 31乃至3n 集計データベース Reference Signs List 1 key database 2 key layout of database table 3 total database 4 input device 21 key configuration 31 to 3n total database

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 大規模な基データベースを、利用者の検
索条件が包含されるキーあるいは前記キーの組合せに対
応する集計データベースに階層化することを特徴とする
部分集計データベース。
1. A partial summary database, wherein a large-scale base database is hierarchized into a summary database corresponding to a key including a user search condition or a combination of the keys.
【請求項2】 前記基データベースおよび前記集計デー
タベースは、それぞれ表データであることを特徴とする
請求項1記載の部分集計データベース。
2. The partial tabulation database according to claim 1, wherein the base database and the tabulation database are tabular data, respectively.
JP8337051A 1996-12-17 1996-12-17 Partial totalization database Pending JPH10177578A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8337051A JPH10177578A (en) 1996-12-17 1996-12-17 Partial totalization database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8337051A JPH10177578A (en) 1996-12-17 1996-12-17 Partial totalization database

Publications (1)

Publication Number Publication Date
JPH10177578A true JPH10177578A (en) 1998-06-30

Family

ID=18304974

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8337051A Pending JPH10177578A (en) 1996-12-17 1996-12-17 Partial totalization database

Country Status (1)

Country Link
JP (1) JPH10177578A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7257596B1 (en) * 2000-11-09 2007-08-14 Integrated Marketing Technology Subscription membership marketing application for the internet

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7257596B1 (en) * 2000-11-09 2007-08-14 Integrated Marketing Technology Subscription membership marketing application for the internet
US7577680B1 (en) 2000-11-09 2009-08-18 Integrated Marketing Technology, Inc. Web-enabled subscription marketing application

Similar Documents

Publication Publication Date Title
WO1996007131A1 (en) Method of generating operation button for computer process, data retrieval method by the operation button and display method of the operation button
US20100287157A1 (en) Method of interrogating a database and interrogation device
US20090063394A1 (en) Apparatus and method for streamlining index updates in a shared-nothing architecture
JP3208706B2 (en) Information utilization system
WO2020067531A1 (en) Help information display system, help information display method, and help information display program
US20040260711A1 (en) Profiling data in a data store
JPH10177578A (en) Partial totalization database
JP3655177B2 (en) Product information database system
JPH08329101A (en) Data base system
EP0679999B1 (en) A method and apparatus for storage and retrieval of data
WO2018069973A1 (en) Aggregation program, aggregation device, and aggregation method
JPH1091644A (en) Method and device for processing data base query
JPH10301935A (en) Data processing method
JP2595761B2 (en) Associative link / knowledge database
JP2002297897A (en) Method and program for storing data
JPH0224778A (en) Data processor
JP3337469B2 (en) Information processing device
JP3424473B2 (en) Data processing system
AU785452B2 (en) Sequential subset catalog search engine
JPH1049540A (en) Information retrieval system
JP2609680B2 (en) Data registration device
JPH04233664A (en) Data base management system
JP2728612B2 (en) Database search system
JPH10326311A (en) Multidimensional totalized data generation system
JP2000148782A (en) Method and system for retrieval from relational data base and information recording medium where retrieving program for relational data base is recorded

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19990601