WO2005043409A1 - 表形式データの結合方法、結合装置およびプログラム - Google Patents

表形式データの結合方法、結合装置およびプログラム Download PDF

Info

Publication number
WO2005043409A1
WO2005043409A1 PCT/JP2004/015438 JP2004015438W WO2005043409A1 WO 2005043409 A1 WO2005043409 A1 WO 2005043409A1 JP 2004015438 W JP2004015438 W JP 2004015438W WO 2005043409 A1 WO2005043409 A1 WO 2005043409A1
Authority
WO
WIPO (PCT)
Prior art keywords
tabular data
item
record
data
tabular
Prior art date
Application number
PCT/JP2004/015438
Other languages
English (en)
French (fr)
Inventor
Shinji Furusho
Original Assignee
Turbo Data Laboratories Inc.
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 Turbo Data Laboratories Inc. filed Critical Turbo Data Laboratories Inc.
Publication of WO2005043409A1 publication Critical patent/WO2005043409A1/ja

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24553Query execution of query operations
    • G06F16/24558Binary matching operations
    • G06F16/2456Join operations

Definitions

  • the present invention relates to a data processing method and a data processing device for processing a large amount of data using an information processing device such as a computer, and more particularly, to a method for combining a plurality of tabular data, It relates to an apparatus and a program.
  • RDB relational database
  • a target often one
  • a reservation can be confirmed, canceled or changed.
  • the number of seats on each flight is at most several hundred, it is possible to calculate the number of vacant seats on a specific flight.
  • DWH data warehouse
  • joins a plurality of tabular data (tables), that is, join them.
  • Joining tabular data refers to specifying an item to be a join key for each of a plurality of tabular data and, when the key satisfies a certain relationship, associating the records contained in each tabular data with a new one.
  • Creating tabular data (jointables) Such joining of tabular data is an operation required in various situations when dealing with data of a large-scale system.
  • Patent Document 1 Japanese Patent Application Laid-Open No. 7-253991
  • the present invention can be explosively huge and is suitable for performing high-speed searching and sorting! It is an object of the present invention to provide a method and an apparatus for combining the two.
  • Still another object of the present invention is to provide a search method and a sort method for a plurality of tabular data based on the method of combining the plurality of tabular data.
  • the principle of the present invention to achieve the above object is to virtually create a join table using a search that does not actually create a join table.
  • An object of the present invention is to prepare first tabular data and second tabular data represented as an array of records including item values corresponding to information items, and to prepare the first tabular data. And a page of Tegawa that determines items of information belonging to the second tabular data as key items,
  • the second tabular data is tabular data in which an index is assigned to the key item.
  • the step of specifying the record group specifies the record group by searching using the index assigned to the key item of the second tabular data.
  • the method of combining tabular data includes, before the step of specifying the record group, an item corresponding to the key item with respect to the second tabular data.
  • the step of specifying the record group specifies the record group by searching the second tabular data using the index data.
  • the step of generating the index data includes a step of sorting the index data based on the item value corresponding to the key item value.
  • the step of generating the index data includes the step of assigning an index to the item value portion of the index data generated for each item value corresponding to the key item. including.
  • the index data is a pointer to a record.
  • the index data is a record number. According to a preferred embodiment of the present invention, the index data is associated with an address on a memory where a record is stored.
  • the method of joining tabular data of the present invention can be used to search a join table. Therefore, the first tabular data is obtained by searching a record including an item value that satisfies a search condition from initial tabular data represented as an array of records including item values corresponding to information items. It is prepared tabular data. According to the present invention, the same result as when a join table is searched can be obtained by previously searching the first tabular data.
  • First tabular data is prepared by searching for records containing item values that meet the search conditions from initial tabular data represented as an array of records containing item values corresponding to information items. Preparing a second tabular form of data represented as an array of records containing field values corresponding to the fields of information;
  • the method of joining tabular data according to the present invention can be used to sort a join table. Therefore, the first tabular data is a tabular data prepared by rearranging records of initial tabular data represented as an array of records including item values corresponding to information items with respect to predetermined items. Data. According to the present invention, by sorting the first tabular data in advance, the same result as when the join table is sorted can be obtained.
  • the sorting method of tabular data according to the present invention is as follows.
  • the first tabular data is prepared by sorting the records of the initial tabular data represented as an array of records containing the item values corresponding to the information items with respect to the specified items, and the items corresponding to the information items Preparing data in a second tabular format, represented as an array of records containing values;
  • the object of the present invention can also be achieved by a combining device that performs the method of combining tabular data of the present invention.
  • the apparatus for combining tabular data according to the present invention includes:
  • first tabular data and second tabular data represented as an array of records including item values corresponding to information items, and prepare the first tabular data and the second table data.
  • the object of the present invention is also achieved by a program for causing a computer to execute the above-described procedure of the tabular data combining method of the present invention.
  • a virtual join table search is performed by logically joining a plurality of tables after searching or sorting a table to which an index or the like is attached before joining. Alternatively, a sort can be performed.
  • FIG. 1 is a block diagram showing a hardware configuration of a computer system capable of realizing a join, a search, and a sort of tabular data which are effective in an embodiment of the present invention.
  • the computer system 10 has a configuration similar to that of a normal computer, and executes a program to control the entire system and individual components, a CPU 12, and a RAM (memory) for storing park data and the like.
  • Random Access Memory 14
  • ROM Read Only Memory
  • fixed storage medium such as hard disk 18
  • CD-ROM driver 20 for accessing CD-ROM 19
  • CD-ROM driver 20 for accessing CD-ROM 19
  • IZF external network Interface 22
  • CPU12, RAM14, ROM16, external storage medium 18, I / F22, input device 24 and display device 2 6 are interconnected via a bus 28.
  • a program for joining (joining) tabular data, a program for creating a table (view) of a predetermined item from the joined tabular data, a search program, and a sort program according to the present embodiment include a CD-ROM. It may be stored in the ROM 19 and read by the CD-ROM driver 20 or may be stored in the ROM 16 in advance. Further, the data once read from the CD-ROM 19 may be stored in a predetermined area of the external storage medium 18. Alternatively, the program may be supplied from outside via a network (not shown), an external terminal, and the IZF 22.
  • FIG. 2 is an explanatory diagram of a method of virtually creating a new join table from two tables, a baseball lovers membership table and a game schedule table.
  • the baseball lovers membership table consists of three records, each of which includes a "member name" and a "support team".
  • the item value corresponding to the item “member name” of the first record is “TANAKA”, and the item value corresponding to the item “supporting team” is “Giants”.
  • the match schedule table is made up of four records that include “Team” and “Match Date” as items.For example, in the first record, the item value corresponding to the item “Team” is “Tigers”. The item value corresponding to the item “Match Date” is “May 10”.
  • the item “supporting team” in the baseball lovers member table and the item “ball team” in the match schedule table have different item names, but include a common element in a set of item values corresponding to the items.
  • the item “supporting team” in the baseball lovers member table and the item “ball team” in the match schedule table are determined as key items common to both tables, and records having matching item values of these key items must be joined.
  • the virtual table shown in FIG. 2 is generated.
  • the virtual table means that the virtual table is not logically associated with a table actually expanded on a memory.
  • a join table is actually generated and stored in a memory or a disk device.
  • FIG. 3 is a flowchart of an embodiment of the tabular data combining method according to the present invention.
  • step 301 a first table and a second table are prepared, and key items are determined.
  • the first table and the second table are expanded on the memory, and “support team” and “ball team” are designated as key items.
  • step 302 the key item value of the record to be processed in the first table is obtained.
  • the record in the first row of the first table is set as the processing target record, and the item value “Giants” of the “supporting team” item is extracted.
  • a record group satisfying a predetermined matching condition is specified from the records of the second table.
  • a record having the “Giants” item value is searched from the “Team team” item of the second table, and the record group of the record 1 and the record 3 is specified.
  • a pair of a record to be processed in the first table and a record group in the second table is output.
  • the pair of the record to be processed and the record group is output to, for example, the display device 26 in FIG. 1 or to an external device via the IZF 22 and the external terminal.
  • pairs of record groups can be sequentially output by sequentially advancing the records to be processed in the first table.
  • 4A to 4C are explanatory diagrams of a process of sequentially outputting a pair of record groups.
  • 4A is record 0 of the first table.
  • FIG. 4B shows a pair of a record group of the second table corresponding to record 1 of the first table
  • FIG. 4C shows a pair of a record group of the second table corresponding to record 1 of the second table.
  • step 303 of FIG. 3 in order to specify a record group that satisfies a predetermined matching condition, a record having a specific item value in the “ball team” item is searched in the second table.
  • a second te is provided to speed up this search.
  • This index may be added in advance when preparing the second table, or may be added after the key item is determined. By assigning the index in this way, in the record group specifying step 303, the record group can be specified by a search using the index assigned to the “ball team” item of the second table.
  • Index data that specifies a record that includes this item value is generated in advance, and a record group is specified by a search using the generated index data. Further, in order to speed up the search, this index data is sorted in advance based on the item values of the key items, or an index is given to the item value portion of the index data.
  • FIG. 5 is an explanatory diagram of an example in which a pointer to a record is used as index data for high-speed search of a record group according to another embodiment of the present invention.
  • the value of the “Team” item in the second table eg, a list of pointers from [Dragons], [Giants] and [Tigers] to the record containing that value, is a part of the value of the “Team” item. Prepared as a list of pointers sworded in. Alternatively, the list of pointers that point to this record may be indexed to the value portion of the “ball team” item.
  • a record number is used as index data.
  • Figure 2 In the example, the record number of the record in the first row of the second table is 0, the record number of the record in the second row is 1, and so on.
  • the index data by the record number can be sorted or indexed in the same manner as the index data by the pointer to the record.
  • a value associated with an address on a memory where a record is stored is used as index data. For example, suppose that each record starts at the address of 1000, and use the values 1000, 2000, 3000, and so on to identify record 0, record 1, record 2, and so on. Is also good.
  • the index data based on this value can be sorted or indexed in the same manner as the index data based on the pointer to the record.
  • the method of joining tabular data according to the present invention can be extended to search and sort of a join table.
  • a conventional join that actually creates a join table even if an index is assigned to a table to be joined, the index is not reflected in a newly created join table. Therefore, high-speed search and sort could not be performed using the joined join table.
  • the method of joining tabular data based on the principle of virtual join according to the present invention searches for the first table that is the basis of the join, narrows it down, and searches for the first table that has been narrowed down.
  • the second table a search in the join table can be virtually realized.
  • the first table on which the join is based is sorted in advance, and the sorted first table and the second table are joined to virtually realize the sort in the join table. Can be.
  • FIG. 6 is an explanatory diagram of a search method using the tabular data combining method according to the embodiment of the present invention.
  • FIG. 7 is a flow chart of a tabular data search method according to the embodiment of the present invention.
  • a record having a member name starting with the member name is searched from the baseball lovers 'membership table (step 701), and then a baseball lovers' membership table containing only the records of the search results is retrieved. That is, when the first table and the second table, which are the scheduled games, are virtually joined by the “supporting team” and the “ball team” (steps 702 to 705), a table virtually created by the virtual join is obtained. Can be This table is This matches the result of searching the virtual join table of Fig.
  • FIG. 8 is an explanatory diagram of a sorting method using the tabular data combining method according to the embodiment of the present invention.
  • FIG. 9 is a flowchart showing a method of sorting tabular data according to the embodiment of the present invention.
  • the records are rearranged from the baseball fan club member table by sorting the member names in alphabetical order (step 901), and then the baseball fan club member table in which the record order is rearranged, that is, ,
  • the first table and the second table, which is the scheduled test table are virtually joined by the “supporting team” and the “ball team” (steps 902—905), and a table virtually created by the virtual join is obtained.
  • This table matches the result of sorting the virtual join table in Fig.
  • the sort of the virtual join table can be realized at high speed. become.
  • the present invention is particularly applicable to a system for managing a large amount of data, for example, a database and a data warehouse. More specifically, it can be used for large-scale scientific and technological calculations, order management, core business management such as securities trading, and administrative management.
  • FIG. 1 is a diagram showing a hardware configuration of a computer system embodying the present invention. It is a block diagram.
  • FIG. 2 is an explanatory diagram of virtual table generation according to the present invention.
  • FIG. 3 is a flowchart of an embodiment of a method of combining tabular data according to the present invention.
  • FIG. 4A to FIG. 4C are explanatory diagrams of a process of sequentially outputting pairs of a target record and a record group according to the embodiment of the present invention.
  • FIG. 5 is an explanatory diagram of index data for high-speed search of a record group according to another embodiment of the present invention.
  • FIG. 6 is an explanatory diagram of a search method using a method of combining tabular data according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of a tabular data search method according to the embodiment of the present invention.
  • FIG. 8 is an explanatory diagram of a sorting method using a method of combining tabular data according to the embodiment of the present invention.
  • FIG. 9 is a flowchart of a method of sorting tabular data according to the embodiment of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

 実際にジョインテーブルを作成することなく、複数の表形式データを結合する。情報の項目に対応した項目値を含むレコードの配列として表される第1の表形式データ及び第2の表形式のデータを準備し、両方の表形式データに共通に属する情報の項目をキー項目として決定し、第1の表形式データに含まれる処理対象レコードのキー項目に対応したキー項目値を獲得し、第2の表形式データに含まれるレコードから、キー項目に関してキー項目値と所定のマッチング条件を満たす項目値を含むレコード群を特定し、処理対象レコードとレコード群の対を出力することにより、仮想的なジョインテーブルを作成する。

Description

明 細 書
表形式データの結合方法、結合装置およびプログラム
技術分野
[0001] 本発明は、コンピュータのような情報処理装置を用いて大量のデータを処理するデ ータ処理方法およびデータ処理装置に係り、より詳細には、複数の表形式データを 結合する方法、装置及びプログラムに関する。
背景技術
[0002] データベースは種々の用途に用いられて 、るが、中規模な 、し大規模システムに おいては、論理的な矛盾が排除できるリレーショナルデータベース (RDB)の使用が 主流となっている。たとえば、 RDBは飛行機の座席予約等のシステムに利用されて いる。この場合、キー項目を指定することにより、(多くの場合 1件の)ターゲットを迅速 に検索することもでき、或いは、予約の確定、キャンセル或いは変更などを行うことが できる。また、各便の座席数はせいぜい数百であるため、特定の航空便の空席数を 求めることも可能である。
[0003] ところが、この RDBを用いて、年度ごと、曜日ごと、月ごと、路線ごと、時間帯ごと或 いは機種ごとなどで、特定の演算 (たとえば、搭乗率の計算)をなそうとすると、非常 に時間が力かることが知られている。すなわち、 RDBは、処理を矛盾なく実現するこ とに優れている反面、相当数のレコードを検索、集計或いはソートする性能が低い。
[0004] そこで、近年、検索や集計のために、 RDBとは別に、データウエアハウス(DWH)と 称するデータベースをシステムに構築することが一般ィ匕している。すなわち、エンドュ 一ザの特定の目的に合わせて、特定のデータ形式およびデータ項目名を備えた極 めて大規模なデータベースを構築し、エンドユーザはこれを用いて特定の検索や集 計をなすことができるようになって 、る。
[0005] しかしながら、 RDBのほ力に、他の DWHを設けること、すなわち、複数のデータべ ースを設けることは、本来、データ^^中管理できるためにデータベース、特に、 RD Bが考案されたという本来あるべき姿とは乖離しており、これに由来して、たとえば、以 下に述べるような様々な問題点が生じている。 [0006] (1) DWHは固定的なものであるため、予め DWHに設けられた項目以外の検索や 集計をすることが困難である。
(2)RDBのほかに、固定的な DWHを設けるため、データ容量が極めて大きくなるほ 力 RDBの更新等に対応することができない。
[0007] これらの問題点を解決するため、複数の表形式データ (テーブル)を結合、即ち、ジ ョインすることが提案されている。表形式データのジョインとは、複数の表形式データ のそれぞれに結合キーとなる項目を指定し、そのキーがある関係を満たす場合に、 各表形式データに含まれるレコードを対応付けし、新たな表形式データ (ジョインテ 一ブル)を作成することをいう。このような表形式データのジョインは、大規模なシステ ムのデータを取り扱う場合に、種々の場面で必要になる操作である。
特許文献 1:特開平 7 - 253991号公報
発明の開示
発明が解決しょうとする課題
[0008] しかし、この複数の表形式データのジョインは、論理積操作であるため、爆発的に 巨大なジョインテーブルが頻繁に生成され、メモリやディスク装置の領域不足の問題 を生じる。また、生成された新しいジョインテーブルは、検索に有利な B— Treeゃビッ トマップインデックスのようなインデックスが付与されて 、な 、ため、高速な検索ゃソー トを行うことが困難であるという問題も生じる。特許文献 1に記載された技術において も、実際にマージしたテーブルを作成するため、巨大なテーブルを作成せざるを得な い。
[0009] 本発明は、爆発的に巨大になる可能性があり、かつ、高速な検索やソートを行うた めに適して!/ヽな 、ジョインテーブルを作成することなく、複数の表形式データを結合 する方法及び装置の提供を目的とする。
更に、本発明は、上記の複数の表形式データを結合する方法に基づく複数の表形 式データの検索方法及びソート方法の提供を目的とする。
課題を解決するための手段
[0010] 上記目的を達成する本発明の原理は、実際にジョインテーブルを作成するのでは なぐ検索を用いて仮想的にジョインテーブルを作成することである。 本発明の目的は、情報の項目に対応した項目値を含むレコードの配列として表さ れる第 1の表形式データ及び第 2の表形式のデータを準備し、前記第 1の表形式デ ータと前記第 2の表形式データに共通に属する情報の項目をキー項目として決定す る手川頁と、
前記第 1の表形式データに含まれる処理対象レコードの前記キー項目に対応した キー項目値を得る手順と、
前記第 2の表形式データに含まれるレコードから、前記キー項目に関して前記キー 項目値と所定のマッチング条件を満たす項目値を含むレコード群を特定する手順と 前記第 1の表形式データに含まれる前記処理対象レコードと前記第 2の表形式デ ータに含まれる前記レコード群の対を出力する手順と、
を有する表形式データの結合方法により達成される。
[0011] 本発明の好ましい実施の形態によれば、前記第 2の表形式データは前記キー項目 にインデックスが付与された表形式データであり、
前記レコード群を特定する手順は、前記第 2の表形式データの前記キー項目に付 与された前記インデックスを用いた検索によって前記レコード群を特定する。
[0012] 本発明の好ましい実施の形態によれば、表形式データの結合方法は、前記レコー ド群を特定する手順よりも前に、前記第 2の表形式データに関して前記キー項目に 対応した項目値毎に、該項目値から該項目値を含むレコードを指定する指標データ を生成する手順を更に有し、
前記レコード群を特定する手順は、前記第 2の表形式データの前記指標データを 用いた検索によって前記レコード群を特定する。
[0013] 本発明の好ましい実施の形態によれば、前記指標データを生成する手順は、前記 指標データを前記キー項目値に対応した前記項目値に基づ 、てソートする手順を含 む。
本発明の好ましい実施の形態によれば、前記指標データを生成する手順は、前記 キー項目に対応した項目値毎に生成された前記指標データの前記項目値の部分に インデックスを付与する手川頁を含む。 [0014] 本発明の好ましい実施の形態によれば、前記指標データはレコードへのポインタで める。
本発明の好ま 、実施の形態によれば、前記指標データはレコード番号である。 本発明の好ま ヽ実施の形態によれば、前記指標データはレコードが格納されて V、るメモリ上のアドレスに対応付けられて!/、る。
[0015] 本発明の表形式データの結合方法は、ジョインテーブルを検索するために利用す ることができる。そのため、前記第 1の表形式データは、情報の項目に対応した項目 値を含むレコードの配列として表される初期の表形式データから検索条件に適合す る項目値を含むレコードを検索することにより準備された表形式データである。本発 明によれば、第 1の表形式データを予め検索することにより、ジョインテーブルを検索 した場合と同じ結果を得ることができる。
[0016] この原理を用いることにより、一般的なジョインテーブルの検索を、ジョイン前のテー ブルの検索と、テーブルのジョインとによって置き換え得ることが可能である。そこで、 本発明による表形式データの検索方法は、
[0017] 情報の項目に対応した項目値を含むレコードの配列として表される初期の表形式 データから検索条件に適合する項目値を含むレコードを検索することにより第 1の表 形式データを準備し、情報の項目に対応した項目値を含むレコードの配列として表さ れる第 2の表形式のデータを準備する手順と、
前記第 1の表形式データと前記第 2の表形式データに共通に属する情報の項目を キー項目として決定する手順と、
前記第 1の表形式データに含まれる処理対象レコードの前記キー項目に対応した キー項目値を得る手順と、
前記第 2の表形式データに含まれるレコードから、前記キー項目に関して前記キー 項目値と所定のマッチング条件を満たす項目値を含むレコード群を特定する手順と 前記第 1の表形式データに含まれる前記処理対象レコードと前記第 2の表形式デ ータに含まれる前記レコード群の対を生成する手順と、
を有する。 [0018] 更に、本発明の表形式データの結合方法は、ジョインテーブルをソートするために 利用することができる。そのため、前記第 1の表形式データは、情報の項目に対応し た項目値を含むレコードの配列として表される初期の表形式データのレコードを所定 の項目に関して並べ替えることにより準備された表形式データである。本発明によれ ば、第 1の表形式データを予めソートすることにより、ジョインテーブルをソートした場 合と同じ結果を得ることができる。
[0019] この原理を用いることにより、一般的なジョインテーブルのソートを、ジョイン前のテ 一ブルの検索と、テーブルのジョインとによって置き換えることが可能である。そこで、 本発明による表形式データのソート方法は、
情報の項目に対応した項目値を含むレコードの配列として表される初期の表形式 データのレコードを所定の項目に関して並べ替えることにより第 1の表形式データを 準備し、情報の項目に対応した項目値を含むレコードの配列として表される第 2の表 形式のデータを準備する手順と、
前記第 1の表形式データと前記第 2の表形式データに共通に属する情報の項目を キー項目として決定する手順と、
前記第 1の表形式データに含まれる処理対象レコードの前記キー項目に対応した キー項目値を得る手順と、
前記第 2の表形式データに含まれるレコードから、前記キー項目に関して前記キー 項目値と所定のマッチング条件を満たす項目値を含むレコード群を特定する手順と 前記第 1の表形式データに含まれる前記処理対象レコードと前記第 2の表形式デ ータに含まれる前記レコード群の対を生成する手順と、
を有する。
[0020] また、本発明の目的は、上記本発明の表形式データの結合方法を実施する結合 装置によっても達成できる。この本発明による表形式データの結合装置は、
情報の項目に対応した項目値を含むレコードの配列として表される第 1の表形式デ ータ及び第 2の表形式のデータを準備し、前記第 1の表形式データと前記第 2の表 形式データに共通に属する情報の項目をキー項目として決定する手段と、 前記第 1の表形式データに含まれる処理対象レコードの前記キー項目に対応した キー項目値を得る手段と、
前記第 2の表形式データに含まれるレコードから、前記キー項目に関して前記キー 項目値と所定のマッチング条件を満たす項目値を含むレコード群を特定する手段と 前記第 1の表形式データに含まれる前記処理対象レコードと前記第 2の表形式デ ータに含まれる前記レコード群の対を出力する手段と、
を有する。
[0021] また、本発明の目的は、上記本発明の表形式データの結合方法の上記手順をコン ピュータに実行させるためのプログラムによっても達成される。
発明の効果
[0022] 本発明によれば、複数のテーブルが論理的にジョインされ、巨大なジョインテープ ルは実際には生成されないので、メモリやディスク装置の記憶域の消費量が削減さ れる。また、本発明によれば、インデックスなどが付与されているジョインする前のテ 一ブルを検索或いはソートを実施した後に、複数のテーブルを論理的にジョインする ことにより、仮想的なジョインテーブルの検索或いはソートを実施することができる。 発明を実施するための最良の形態
[0023] 以下、添付図面を参照して、本発明の実施の形態につき説明を加える。図 1は、本 発明の実施の形態に力かる表形式データのジョインゃ、検索及びソートを実現できる コンピュータシステムのハードウェア構成を示すブロックダイヤグラムである。図 1に示 すように、このコンピュータシステム 10は、通常のものと同様の構成であり、プログラム を実行することによりシステム全体および個々の構成部分を制御する CPU12、ヮー クデータなどを記憶する RAM(Random Access Memory) 14、プログラム等を記憶する ROM(Read Only Memory) 16,ハードディスク等の固定記憶媒体 18、 CD-ROM 19 をアクセスするための CD— ROMドライバ 20、 CD— ROMドライバ 20や外部ネットヮ ーク(図示せず)と接続された外部端子との間に設けられたインタフェース (IZF) 22 、キーボードやマウスからなる入力装置 24、 CRT表示装置 26を備えている。 CPU1 2、 RAM14、 ROM16、外部記憶媒体 18、 I/F22,入力装置 24および表示装置 2 6は、バス 28を介して相互に接続されている。
[0024] 本実施の形態にかかる、表形式データを結合 (ジョイン)するプログラム、結合した 表形式データから所定の項目の表 (ビュー)を作成するプログラム、検索プログラム、 及びソートプログラムは、 CD— ROM 19に収容され、 CD— ROMドライバ 20に読取ら れても良いし、 ROM16に予め記憶されていても良い。また、いったん CD-ROM19 力も読み出したものを、外部記憶媒体 18の所定の領域に記憶しておいても良い。或 いは、上記プログラムは、ネットワーク(図示せず)、外部端子および IZF22を経て外 部から供給されるものであっても良い。
[0025] 次に、複数の表形式データのジョインについて説明する。以下の説明では、表形式 データを簡単に「テーブル」と呼ぶ。本発明による仮想ジョインとは、複数のテーブル の各々にジョインキーとなる項目を指定し、そのキーが所定の関係を満たす場合に、 各テーブルのレコードを対応付けして新たなテーブルを仮想的に作成することである 。図 2は、野球愛好会会員テーブルと試合予定テーブルの二つのテーブルから新し いジョインテーブルを仮想的に作成する方法の説明図である。野球愛好会会員テー ブルは、「会員名」と「応援チーム」を項目として含む 3個のレコードにより構成されて いる。例えば、先頭のレコードの項目「会員名」に対応する項目値は「TANAKA」で あり、項目「応援チーム」に対応する項目値は「Giants」である。一方、試合予定テー ブルは、「球団」と「試合日」を項目として含む 4個のレコードにより構成され、例えば、 先頭のレコードは、項目「球団」に対応する項目値が「Tigers」であり、項目「試合日」 に対応する項目値が「5月 10日」である。ここで、野球愛好会会員テーブルの項目「 応援チーム」と試合予定テーブルの項目「球団」は、項目名は異なるものの、項目に 対応する項目値の集合に共通の要素が含まれている。したがって、野球愛好会会員 テーブルの項目「応援チーム」と試合予定テーブルの項目「球団」を両方のテーブル に共通のキー項目として決定し、このキー項目の項目値が一致するレコードを結合 すること〖こよって、図 2に示された仮想的なテーブルが生成される。
[0026] 例えば、野球愛好会会員テーブルの先頭レコード(=レコード 0)の項目「応援チー ム」の項目値「Giants」と一致する項目値力 項目「球団」に含まれるレコードを試合 予定テーブルで探すと、 2行目のレコード(=レコード 1)と 4行目のレコード(=レコー ド 3)が見つかるので、野球愛好会会員テーブルのレコード 0は、試合予定テーブル のレコード 1とレコード 3の 2個のレコードと対応付けされる。この対応付けによって新 たに (仮想的に)生成されたレコードが仮想的に生成されたテーブルのレコード 0及 びレコード 1に示されて 、る。
[0027] ここで、仮想的なテーブルとは、実際にメモリ上に展開されるものではなぐ論理的 に関連付けられていることを意味する。従来のジョイン方法の場合、ジョインテーブル が実際に生成され、メモリ又はディスク装置に格納されていた。
[0028] 尚、図 2の例では、キーが満たす所定の関係は「一致する」関係であるが、本発明 における所定の関係は、「一致する」関係に限定されることはなぐ「く」、「>」、「く =」、及び、「> =」のような順序関係でもよい。
[0029] 以下では、図 2に示した野球愛好会会員テーブル(=第 1のテーブル)と試合予定 テーブル(=第 2のテーブル)の仮想ジョインの例に基づいて、本発明による表形式 データの結合方法を説明する。図 3は、本発明の表形式データの結合方法の実施の 形態のフローチャートである。ステップ 301において、第 1のテーブル及び第 2のテー ブルを準備し、キー項目を決定する。例えば、第 1のテーブル及び第 2のテーブルを メモリ上に展開し、キー項目として、「応援チーム」と「球団」を指定する。次に、ステツ プ 302において、第 1のテーブルの処理対象レコードのキー項目値を獲得する。例 えば、第 1のテーブルの先頭行のレコードを処理対象レコードとし、「応援チーム」項 目の項目値「Giants」を取り出す。続いて、ステップ 303において、第 2のテーブルの レコードから所定のマッチング条件を満たすレコード群を特定する。例えば、第 2のテ 一ブルの「球団」項目から「Giants」項目値をもつレコードを検索し、レコード 1とレコ ード 3のレコード群を特定する。最後に、ステップ 304において、第 1のテーブルの処 理対象レコードと第 2のテーブルのレコード群の対を出力する。本実施の形態では、 処理対象レコードとレコード群の対は、例えば、図 1の表示装置 26に出力され、或い は、 IZF22及び外部端子を介して、外部機器へ出力される。
[0030] 本実施の形態では、第 1のテーブルの中で処理対象レコードを順次進めることによ り、レコード群の対を順次出力することができる。図 4A—図 4Cは、それぞれ、レコー ド群の対を順次出力する処理の説明図である。同 4Aは、第 1のテーブルのレコード 0 と対応する第 2のテーブルのレコード群の対を表し、図 4Bは、第 1のテーブルのレコ ード 1と対応する第 2のテーブルのレコード群の対を表し、図 4Cは、第 1のテーブル のレコード 2と対応する第 2のテーブルのレコード群の対を表す。これにより、仮想ジョ インテーブルが完成する。
このように、本実施の形態によれば、実際にジョインテーブルを作成することなぐ第 1のテーブルと第 2のテーブルを論理的に結合し、結合結果を提示することが可能で める。
[0031] 図 3のステップ 303では、所定のマッチング条件を満たすレコード群を特定するた めに、第 2のテーブル内では、「球団」項目に特定の項目値をもつレコードを検索して いる。この検索を高速ィ匕するため、本発明の好ましい実施の形態によれば、第 2のテ 付与される。このインデックスは、第 2のテーブルを準備する際に予め付与しておいて もよぐ或いは、キー項目の決定後に付与してもよい。このようにインデックスを付与す ることにより、レコード群を特定するステップ 303では、第 2のテーブルの「球団」項目 に付与されたインデックスを用いた検索によってレコード群を特定することができる。
[0032] 或いは、本発明の他の実施の形態では、第 2のテーブル内での「球団」項目を高速 に検索するため、「球団」項目に対応した項目値毎に、この項目値から、この項目値 を含むレコードを指定する指標データを予め生成し、生成された指標データを用い た検索によってレコード群を特定する。更に、検索を高速ィ匕するためには、この指標 データを、キー項目の項目値に基づいて予めソートし、或いは、指標データの項目 値の部分にインデックスを付与する。
[0033] 図 5は、本発明の他の実施の形態によるレコード群の検索の高速ィ匕のための指標 データとしてレコードへのポインタを用いた例の説明図である。第 2のテーブルの「球 団」項目の値、例えば、 [Dragons]、 [Giants]及び [Tigers]からその値を含むレコ ードをポイントするポインタのリストが、「球団」項目の値の部分でソードされたポインタ リストとして準備されている。或いは、このレコードをポイントするポインタのリストは、「 球団」項目の値の部分にインデックスを付与してもよ 、。
[0034] 本発明の他の実施の形態では、指標データとしてレコード番号が使用される。図 2 の例では、第 2のテーブルの 1行目のレコードのレコード番号は 0であり、 2行目のレコ ードのレコード番号は 1であり、以下同様に続く。このレコード番号による指標データ も、上述のレコードへのポインタによる指標データと同様に、ソートしたり、インデックス を付与したりすることができる。
[0035] 更に、本発明の他の実施の形態では、指標データとしてレコードが格納されている メモリ上のアドレスに対応付けられている値が使用される。例えば、各レコードは、 10 00番地毎に始まることにして、 1000、 2000、 3000· · ·と!ヽぅ値を用!ヽて、レコード 0 、レコード 1、レコード 2· · ·を特定してもよい。この値による指標データも、上述のレコ ードへのポインタによる指標データと同様に、ソートしたり、インデックスを付与したり することができる。
[0036] 本発明による表形式データの結合方法は、ジョインテーブルの検索やソートに拡張 することができる。上述のように、従来の実際にジョインテーブルを作成するジョインで は、ジョインされる対象のテーブルにインデックスが付与されていたとしても、新たに 作成されたジョインテーブルにはそのインデックスが反映されない。したがって、ジョイ ン後のジョインテーブルを用いて高速に検索'ソートを行うことができなかった。これに 対して、本発明による仮想ジョインの原理に基づく表形式データの結合方法は、ジョ インの元になる第 1のテーブルを検索し、絞り込むこみ、絞り込まれた後の第 1のテー ブルと第 2のテーブルを結合することにより、ジョインテーブルにおける検索を仮想的 に実現することができる。また、ジョインも元になる第 1のテーブルを予めソートし、ソ ートされた後の第 1のテーブルと第 2のテーブルを結合することにより、ジョインテープ ルにおけるソートを仮想的に実現することができる。
[0037] 図 6は本発明の実施の形態による表形式データの結合方法を用 、た検索方法の 説明図である。図 7は本発明の実施の形態による表形式データの検索方法のフロー チャートである。本実施の形態では、最初に野球愛好会会員テーブルから、会員名 力 で始まる会員名をもつレコードを検索し (ステップ 701)、次に、検索結果のレコー ドだけを含む野球愛好会会員テーブル、即ち、第 1のテーブルと、試合予定テープ ルである第 2のテーブルを「応援チーム」と「球団」で仮想ジョインすると (ステップ 702 一 705)、仮想ジョインで仮想的に生成されるテーブルが得られる。このテーブルは、 図 2の仮想ジョインテーブルから、会員名が Sで始まる会員名をもつレコードを検索し た結果と一致している。このように、本発明の実施の形態によれば、予め検索した結 果を用いて仮想ジョインを実行することにより、ジョインによって生成されたジョインテ 一ブルに検索を行った場合と同じ結果が得られる。仮想ジョイン前のテーブルは、 B の検索を高速ィ匕するためのタグを付与することができるので、本発明の実施の形態 によれば、仮想ジョインテーブルの検索を高速に実現することが可能になる。
[0038] 図 8は本発明の実施の形態による表形式データの結合方法を用いたソート方法の 説明図である。図 9は本発明の実施の形態による表形式データのソート方法のフロー チャートである。本実施の形態では、最初に野球愛好会会員テーブルから、会員名 をアルファベット順にソートすることによりレコードを並べ替え (ステップ 901)、次に、 レコード順が並び替えられた野球愛好会会員テーブル、即ち、第 1のテーブルと、試 合予定テーブルである第 2のテーブルを「応援チーム」と「球団」で仮想ジョインすると (ステップ 902— 905)、仮想ジョインで仮想的に生成されるテーブルが得られる。こ のテーブルは、図 2の仮想ジョインテーブルを、会員名がアルファベット順になるよう に並べ替えた結果と一致している。このように、本発明の実施の形態によれば、予め ソートした結果を用いて仮想ジョインを実行することにより、ジョインによって生成され たジョインテーブルにソートを行った場合と同じ結果が得られる。仮想ジョイン前のテ いは、その他のソートを高速ィ匕するためのタグを付与することができるので、本発明の 実施の形態によれば、仮想ジョインテーブルのソートを高速に実現することが可能に なる。
産業上の利用可能性
[0039] 本発明は、特に、大量のデータを管理するシステム、たとえば、データベース、デー タウ アハウスに適用することができる。より具体的には、大規模な科学技術計算、受 発注管理や証券取引などの基幹業務管理、事務管理に利用可能である。
図面の簡単な説明
[0040] [図 1]図 1は、本発明を実施するコンピュータシステムのハードウェア構成を示すプロ ックダイヤグラムである。
[図 2]図 2は、本発明による仮想的なテーブル生成の説明図である。
[図 3]図 3は、本発明の表形式データの結合方法の実施の形態のフローチャートであ る。
[図 4]図 4A—図 4Cは、それぞれ、本発明の実施の形態による対象レコードとレコード 群の対を順次出力する処理の説明図である。
[図 5]図 5は、本発明の他の実施の形態によるレコード群の検索の高速ィ匕のための指 標データの説明図である。
[図 6]図 6は、本発明の実施の形態による表形式データの結合方法を用いた検索方 法の説明図である。
[図 7]図 7は、本発明の実施の形態による表形式データの検索方法のフローチャート である。
[図 8]図 8は、本発明の実施の形態による表形式データの結合方法を用いたソート方 法の説明図である。
[図 9]図 9は、本発明の実施の形態による表形式データのソート方法のフローチャート である。
符号の説明
10 コンピュータシステム
12 CPU
14 RAM
16 ROM
18 固定記憶装置
20 CD— ROMドライバ
22 I/F
24 入力装置
26 表示装置

Claims

請求の範囲
[1] 情報の項目に対応した項目値を含むレコードの配列として表される第 1の表形式デ ータ及び第 2の表形式のデータを準備し、前記第 1の表形式データと前記第 2の表 形式データに共通に属する情報の項目をキー項目として決定する手順と、
前記第 1の表形式データに含まれる処理対象レコードの前記キー項目に対応した キー項目値を得る手順と、
前記第 2の表形式データに含まれるレコードから、前記キー項目に関して前記キー 項目値と所定のマッチング条件を満たす項目値を含むレコード群を特定する手順と 前記第 1の表形式データに含まれる前記処理対象レコードと前記第 2の表形式デ ータに含まれる前記レコード群の対を出力する手順と、
を有する表形式データの結合方法。
[2] 前記第 2の表形式データは前記キー項目にインデックスが付与された表形式データ であり、
前記レコード群を特定する手順は、前記第 2の表形式データの前記キー項目に付 与された前記インデックスを用 、た検索によって前記レコード群を特定する、 請求項 1に記載の表形式データの結合方法。
[3] 前記レコード群を特定する手順よりも前に、前記第 2の表形式データに関して前記キ 一項目に対応した項目値毎に、該項目値から該項目値を含むレコードを指定する指 標データを生成する手順を更に有し、
前記レコード群を特定する手順は、前記第 2の表形式データの前記指標データを 用いた検索によって前記レコード群を特定する、
請求項 1に記載の表形式データの結合方法。
[4] 前記指標データを生成する手順は、前記指標データを前記キー項目値に対応した 前記項目値に基づいてソートする手順を含む、請求項 3に記載の表形式データの結 合方法。
[5] 前記指標データを生成する手順は、前記キー項目に対応した項目値毎に生成され た前記指標データの前記項目値の部分にインデックスを付与する手順を含む、請求 項 3に記載の表形式データの結合方法。
[6] 前記指標データはレコードへのポインタである、請求項 3乃至 5のうちいずれか一項 に記載の表形式データの結合方法。
[7] 前記指標データはレコード番号である、請求項 3乃至 5のうちいずれか一項に記載の 表形式データの結合方法。
[8] 前記指標データはレコードが格納されているメモリ上のアドレスに対応付けられてい る、請求項 3乃至 5のうちいずれか一項に記載の表形式データの結合方法。
[9] 前記第 1の表形式データは、情報の項目に対応した項目値を含むレコードの配列と して表される初期の表形式データから検索条件に適合する項目値を含むレコードを 検索することにより準備された表形式データである、請求項 1乃至 8のうちいずれか一 項に記載の表形式データの結合方法。
[10] 前記第 1の表形式データは、情報の項目に対応した項目値を含むレコードの配列と して表される初期の表形式データのレコードを所定の項目に関して並べ替えることに より準備された表形式データである、請求項 1乃至 8のうちいずれか一項に記載の表 形式データの結合方法。
[11] 情報の項目に対応した項目値を含むレコードの配列として表される初期の表形式デ ータから検索条件に適合する項目値を含むレコードを検索することにより第 1の表形 式データを準備し、情報の項目に対応した項目値を含むレコードの配列として表され る第 2の表形式のデータを準備する手順と、
前記第 1の表形式データと前記第 2の表形式データに共通に属する情報の項目を キー項目として決定する手順と、
前記第 1の表形式データに含まれる処理対象レコードの前記キー項目に対応した キー項目値を得る手順と、
前記第 2の表形式データに含まれるレコードから、前記キー項目に関して前記キー 項目値と所定のマッチング条件を満たす項目値を含むレコード群を特定する手順と 前記第 1の表形式データに含まれる前記処理対象レコードと前記第 2の表形式デ ータに含まれる前記レコード群の対を生成する手順と、 を有する表形式データの検索方法。
[12] 情報の項目に対応した項目値を含むレコードの配列として表される初期の表形式デ ータのレコードを所定の項目に関して並べ替えることにより第 1の表形式データを準 備し、情報の項目に対応した項目値を含むレコードの配列として表される第 2の表形 式のデータを準備する手順と、
前記第 1の表形式データと前記第 2の表形式データに共通に属する情報の項目を キー項目として決定する手順と、
前記第 1の表形式データに含まれる処理対象レコードの前記キー項目に対応した キー項目値を得る手順と、
前記第 2の表形式データに含まれるレコードから、前記キー項目に関して前記キー 項目値と所定のマッチング条件を満たす項目値を含むレコード群を特定する手順と 前記第 1の表形式データに含まれる前記処理対象レコードと前記第 2の表形式デ ータに含まれる前記レコード群の対を生成する手順と、
を有する表形式データのソート方法。
[13] 情報の項目に対応した項目値を含むレコードの配列として表される第 1の表形式デ ータ及び第 2の表形式のデータを準備し、前記第 1の表形式データと前記第 2の表 形式データに共通に属する情報の項目をキー項目として決定する手段と、
前記第 1の表形式データに含まれる処理対象レコードの前記キー項目に対応した キー項目値を得る手段と、
前記第 2の表形式データに含まれるレコードから、前記キー項目に関して前記キー 項目値と所定のマッチング条件を満たす項目値を含むレコード群を特定する手段と 前記第 1の表形式データに含まれる前記処理対象レコードと前記第 2の表形式デ ータに含まれる前記レコード群の対を出力する手段と、
を有する表形式データの結合装置。
[14] 情報の項目に対応した項目値を含むレコードの配列として表される第 1の表形式デ ータ及び第 2の表形式のデータを準備し、前記第 1の表形式データと前記第 2の表 形式データに共通に属する情報の項目をキー項目として決定する手順と、 前記第 1の表形式データに含まれる処理対象レコードの前記キー項目に対応した キー項目値を得る手順と、
前記第 2の表形式データに含まれるレコードから、前記キー項目に関して前記キー 項目値と所定のマッチング条件を満たす項目値を含むレコード群を特定する手順と 前記第 1の表形式データに含まれる前記処理対象レコードと前記第 2の表形式デ ータに含まれる前記レコード群の対を出力する手順と、
をコンピュータに実行させるためのプログラム。
PCT/JP2004/015438 2003-10-31 2004-10-19 表形式データの結合方法、結合装置およびプログラム WO2005043409A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2003371624A JP2005135221A (ja) 2003-10-31 2003-10-31 表形式データの結合方法、結合装置およびプログラム
JP2003-371624 2003-10-31

Publications (1)

Publication Number Publication Date
WO2005043409A1 true WO2005043409A1 (ja) 2005-05-12

Family

ID=34543962

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2004/015438 WO2005043409A1 (ja) 2003-10-31 2004-10-19 表形式データの結合方法、結合装置およびプログラム

Country Status (2)

Country Link
JP (1) JP2005135221A (ja)
WO (1) WO2005043409A1 (ja)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3962417B2 (ja) * 2005-08-31 2007-08-22 インターナショナル・ビジネス・マシーンズ・コーポレーション データベースに対するアクセスを制御するシステム、およびその方法
JP5033322B2 (ja) * 2005-11-10 2012-09-26 株式会社日立製作所 連結関係情報を用いた情報管理方法及び装置
JP2008204194A (ja) * 2007-02-20 2008-09-04 Fujitsu Broad Solution & Consulting Inc データベーステーブル結合プログラム
KR100918704B1 (ko) 2007-07-27 2009-09-22 강릉원주대학교산학협력단 가상 튜플 생성 장치 및 방법
JP5048417B2 (ja) * 2007-08-07 2012-10-17 株式会社富士通ビー・エス・シー データベース管理プログラム及びデータベース管理装置
KR101021064B1 (ko) * 2008-05-30 2011-03-11 주식회사 프라임데이타시스템 다차원 자료를 테이블에 매핑하는 방법, 시스템 및 그방법을 기록한 컴퓨터 판독가능한 기록매체
JP5585472B2 (ja) * 2011-01-28 2014-09-10 富士通株式会社 情報照合装置、情報照合方法および情報照合プログラム
JP5597623B2 (ja) * 2011-12-02 2014-10-01 株式会社日立システムズ データベース処理方法
JP6173896B2 (ja) * 2013-12-10 2017-08-02 株式会社日立製作所 データ処理方法およびデータ処理サーバ
CN104021161B (zh) 2014-05-27 2018-06-15 华为技术有限公司 一种聚簇存储方法及装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000010103A1 (fr) * 1998-08-11 2000-02-24 Shinji Furusho Procede et dispositif de recuperation, de stockage et de triage de donnees formatees en tableaux
JP2000339390A (ja) * 1999-05-31 2000-12-08 Taabo Data Laboratory Kk 表形式データの結合方法、結合された表形式データの提示方法、上記方法を実現するプログラムを記憶した記憶媒体、および、表形式データ提示システム
JP2001043290A (ja) * 1999-07-29 2001-02-16 Taabo Data Laboratory Kk 表形式データの提示方法、挿入方法、削除方法、更新方法およびこれら方法を利用したトランザクション処理方法、並列処理方法、並びに、上記方法を実現するプログラムを記憶した記憶媒体
JP2001291048A (ja) * 2000-04-04 2001-10-19 Taabo Data Laboratory Kk データ集計方法、および、当該データ集計方法にかかるプログラムを記憶した記憶媒体
JP2002041551A (ja) * 2000-07-31 2002-02-08 Taabo Data Laboratory Kk データのコンパイル方法、および、コンパイル方法を記憶した記憶媒体
JP2003150633A (ja) * 2001-11-09 2003-05-23 Turbo Data Laboratory:Kk データの結合・提示方法、および、データ結合・提示プログラム

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000010103A1 (fr) * 1998-08-11 2000-02-24 Shinji Furusho Procede et dispositif de recuperation, de stockage et de triage de donnees formatees en tableaux
JP2000339390A (ja) * 1999-05-31 2000-12-08 Taabo Data Laboratory Kk 表形式データの結合方法、結合された表形式データの提示方法、上記方法を実現するプログラムを記憶した記憶媒体、および、表形式データ提示システム
JP2001043290A (ja) * 1999-07-29 2001-02-16 Taabo Data Laboratory Kk 表形式データの提示方法、挿入方法、削除方法、更新方法およびこれら方法を利用したトランザクション処理方法、並列処理方法、並びに、上記方法を実現するプログラムを記憶した記憶媒体
JP2001291048A (ja) * 2000-04-04 2001-10-19 Taabo Data Laboratory Kk データ集計方法、および、当該データ集計方法にかかるプログラムを記憶した記憶媒体
JP2002041551A (ja) * 2000-07-31 2002-02-08 Taabo Data Laboratory Kk データのコンパイル方法、および、コンパイル方法を記憶した記憶媒体
JP2003150633A (ja) * 2001-11-09 2003-05-23 Turbo Data Laboratory:Kk データの結合・提示方法、および、データ結合・提示プログラム

Also Published As

Publication number Publication date
JP2005135221A (ja) 2005-05-26

Similar Documents

Publication Publication Date Title
US6721751B1 (en) Method of concatenating table-format data, and method of presenting concatenated table-format data
US7945561B1 (en) Methods and apparatus for processing a query joining tables stored at different data sources
US6266660B1 (en) Secondary index search
JP2000187668A (ja) グループ化方法と重複排除方法
US7720838B1 (en) Methods and apparatus for joining tables from different data sources
CN107209768A (zh) 用于数据集的可扩展排序的方法和设备
WO2005043409A1 (ja) 表形式データの結合方法、結合装置およびプログラム
US7085754B2 (en) System and a two-pass algorithm for determining the optimum access path for multi-table SQL queries
JP3860992B2 (ja) データの結合・提示方法、および、データ結合・提示プログラム
US20030195869A1 (en) Method and system for query processing by combining indexes of multilevel granularity or composition
US20040044683A1 (en) Data compiling method
KR101030250B1 (ko) 데이터 처리방법 및 데이터 처리 프로그램
US7302377B1 (en) Accelerated event queue for logic simulation
JPH10269248A (ja) データベース処理システムにおけるデータの無作為抽出処理方法及びこれに基づくデータベース処理システム
JPH07192010A (ja) 文書処理装置
JPS6172333A (ja) 複数ファイルのマージ方法
JPH10269225A (ja) データベース分割方法
JP2001101233A (ja) データベース処理装置
JP2001291048A (ja) データ集計方法、および、当該データ集計方法にかかるプログラムを記憶した記憶媒体
WO2023191943A1 (en) Methods and systems for performing a vectorized delete in a distributed database system
JPH06231152A (ja) 帳票処理方法
JPH05313971A (ja) リレーショナル・データベースにおけるキーワード管理方式
JPH01109426A (ja) 情報登録装置
JP2001155028A (ja) リレーショナルデータベースにおける集約演算処理方法、その装置及び集約演算処理プログラムを記録したコンピュータ読み取り可能な記録媒体
JPH06149635A (ja) レコード追加処理方法

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
DPEN Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed from 20040101)
122 Ep: pct application non-entry in european phase