Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7070310B2 - Analysis support device and combined data generation system - Google Patents
[go: Go Back, main page]

JP7070310B2 - Analysis support device and combined data generation system - Google Patents

Analysis support device and combined data generation system Download PDF

Info

Publication number
JP7070310B2
JP7070310B2 JP2018191881A JP2018191881A JP7070310B2 JP 7070310 B2 JP7070310 B2 JP 7070310B2 JP 2018191881 A JP2018191881 A JP 2018191881A JP 2018191881 A JP2018191881 A JP 2018191881A JP 7070310 B2 JP7070310 B2 JP 7070310B2
Authority
JP
Japan
Prior art keywords
data
instruction
unit
load
data item
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.)
Expired - Fee Related
Application number
JP2018191881A
Other languages
Japanese (ja)
Other versions
JP2020060953A (en
Inventor
規史 神田
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.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2018191881A priority Critical patent/JP7070310B2/en
Publication of JP2020060953A publication Critical patent/JP2020060953A/en
Application granted granted Critical
Publication of JP7070310B2 publication Critical patent/JP7070310B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、データベースに保存されたデータの分析を支援する装置及びプログラムに関するものである。本発明はさらに、データベースに保存されたデータの分析を支援する装置を用いて、複数のデータ項目が結合されたデータを生成するシステム及び方法に関するものである。 The present invention relates to an apparatus and a program that assists in the analysis of data stored in a database. The present invention further relates to a system and a method for generating data in which a plurality of data items are combined by using a device that assists in the analysis of data stored in a database.

近年、情報技術の発展に伴い、ネットワークを介して様々なデータが収集され、蓄積されている。特に、IoT(Internet of Things)の発展により、収集されるデータの種類及びデータ量は益々増加している。収集されたデータはデータベース内のテーブルにそれぞれ保存される。保存されたデータは、所定の目的に応じて利用される。 In recent years, with the development of information technology, various data have been collected and accumulated via networks. In particular, with the development of IoT (Internet of Things), the types and amount of data collected are increasing more and more. The collected data is stored in each table in the database. The stored data is used according to a predetermined purpose.

データベースは、このような利用に供される他、データ分析者による分析にも供される。そして、収集されるデータ量の増大に伴い、データ分析者による分析を容易かつ効率化できる技術が益々重要になってきている。 In addition to being used for this purpose, the database is also used for analysis by data analysts. As the amount of data collected increases, techniques that enable easy and efficient analysis by data analysts are becoming more and more important.

例えば、特許文献1には、複数の業務システムが保有する業務情報がデータテーブルに保存されており、異なるデータテーブルに共通するデータ項目があれば、データテーブル間をリンクさせるとともに、各データテーブルのデータ項目間に関係がある場合には、当該データ項目を用いて分析用のデータテーブルを作成して、分析対象となるデータ項目の組み合わせを蓄積する技術が開示されている。 For example, in Patent Document 1, business information possessed by a plurality of business systems is stored in a data table, and if there is a data item common to different data tables, the data tables are linked and each data table is linked. When there is a relationship between data items, a technique for creating a data table for analysis using the data items and accumulating combinations of data items to be analyzed is disclosed.

特開2018-72960号公報Japanese Unexamined Patent Publication No. 2018-72960

特許文献1に記載の技術によれば、組み合わせてデータ分析が可能なデータ項目をデータモデルとして生成し、生成したデータモデルをデータ分析者に表示することにより、データ分析者が分析対象項目を選択するのを支援することができる。しかしながら、特許文献1に記載の技術では、データ項目名、あるいは、データ項目の種類の類似性によってデータ項目を組み合わせているため、データ分析者が、全く異なるデータ項目同士を組み合わせて分析を行うような場合、分析用のデータテーブルを利用することはできない。また、データ項目名やデータ項目の種類が類似しているデータ項目の組み合わせが、必ずしもデータ分析に有用な組み合わせであるとは限らない。 According to the technique described in Patent Document 1, a data item that can be combined and analyzed is generated as a data model, and the generated data model is displayed to the data analyst so that the data analyst selects an analysis target item. Can help you to do it. However, in the technique described in Patent Document 1, the data items are combined according to the data item name or the similarity of the data item types, so that the data analyst performs the analysis by combining completely different data items. In that case, the data table for analysis cannot be used. Further, a combination of data items having similar data item names and types of data items is not always a useful combination for data analysis.

そこで、本発明の目的は、結合処理によって発生する負荷が大きく、ひいては、結合処理に時間がかかるデータ項目の組み合わせについて、データ分析に要する時間を短縮することである。
本発明のさらなる目的は、データ分析者が着目しているデータ項目と結合される頻度が高いデータ項目をデータ分析者に表示することにより、データ項目間の関連性をデータ分析者に知らしめることを通じて、データ分析を支援することにある。
Therefore, an object of the present invention is to reduce the time required for data analysis for a combination of data items in which the load generated by the joining process is large and the joining process takes a long time.
A further object of the present invention is to inform the data analyst of the relationship between the data items by displaying the data items frequently combined with the data items of interest to the data analyst. It is to support data analysis through.

上記課題を解決するために、本発明の分析支援装置は、
データを保存するデータベース装置(200,300)に対して発行された複数の命令文の分析を行う分析支援装置(100)であって、
前記データベース装置から、前記複数の命令文、及び前記複数の命令文のそれぞれに対応する実行負荷を示す負荷情報を取得する取得部(101)と、
構文解析により、前記複数の命令文のうち第1のデータ項目と第2のデータ項目とを結合する命令を含む第1の命令文を抽出する解析部(102)と、
前記第1の命令文に対応する前記実行負荷を集計した集計負荷を求める演算部(103)と、
前記集計負荷に基づいて、前記第1のデータ項目と前記第2のデータ項目とを結合する第2の命令文を生成する生成部(105)と、
前記第2の命令文を前記データベース装置に出力する出力部(106)と、
を有する。
In order to solve the above problems, the analysis support device of the present invention is used.
An analysis support device (100) that analyzes a plurality of instructions issued to a database device (200, 300) that stores data.
An acquisition unit (101) for acquiring load information indicating an execution load corresponding to each of the plurality of instruction statements and the plurality of instruction statements from the database device.
An analysis unit (102) that extracts a first instruction statement including an instruction for combining a first data item and a second data item among the plurality of instruction statements by parsing.
An arithmetic unit (103) for obtaining an aggregated load that aggregates the execution load corresponding to the first instruction statement, and
A generation unit (105) that generates a second instruction statement that combines the first data item and the second data item based on the aggregation load.
An output unit (106) that outputs the second instruction statement to the database device, and
Have.

なお、特許請求の範囲、及び本項に記載した発明の構成要件に付した括弧内の番号は、本発明と後述の実施形態との対応関係を示すものであり、本発明を限定する趣旨ではない。 The scope of claims and the numbers in parentheses attached to the constituent requirements of the invention described in this section indicate the correspondence between the present invention and the embodiments described later, and are intended to limit the present invention. not.

本発明の分析支援装置によれば、複数のデータ項目を結合したデータをデータベース内の結合テーブルに保存することにより、複数のデータ項目を結合するデータ分析に要する時間を短縮することが可能となる。
さらに、本発明の分析支援装置によれば、データ分析者が着目しているデータ項目と結合がされる頻度が高いデータ項目をデータ分析者に表示することにより、データ項目間の関連性をデータ分析者に知らせることができる。
According to the analysis support device of the present invention, by storing the data obtained by joining a plurality of data items in the join table in the database, it is possible to shorten the time required for the data analysis to join the plurality of data items. ..
Further, according to the analysis support device of the present invention, the data items that are frequently combined with the data items that the data analyst is paying attention to are displayed to the data analyst, so that the relationship between the data items can be measured. You can inform the analyst.

本発明の実施形態1の結合データ生成システムの構成を説明する図The figure explaining the structure of the combined data generation system of Embodiment 1 of this invention. 本発明の実施形態1の結合データ生成システムの動作を説明するブロック図A block diagram illustrating the operation of the combined data generation system according to the first embodiment of the present invention. 本発明の実施形態1の結合データ生成システムの動作を説明するブロック図A block diagram illustrating the operation of the combined data generation system according to the first embodiment of the present invention. 本発明の実施形態1の結合データ生成システムの動作を説明するブロック図A block diagram illustrating the operation of the combined data generation system according to the first embodiment of the present invention. 本発明の実施形態1の変形例1の結合データ生成システムの構成を説明する図The figure explaining the structure of the combined data generation system of the modification 1 of Embodiment 1 of this invention. 本発明の実施形態2の分析支援システムの構成を説明する図The figure explaining the structure of the analysis support system of Embodiment 2 of this invention. 本発明の実施形態2の分析支援システムの動作を説明するブロック図A block diagram illustrating the operation of the analysis support system according to the second embodiment of the present invention. 本発明の実施形態2の分析支援システムの動作を説明するブロック図A block diagram illustrating the operation of the analysis support system according to the second embodiment of the present invention. 本発明の実施形態2の分析支援装置の表示部を説明する図The figure explaining the display part of the analysis support apparatus of Embodiment 2 of this invention. 本発明の実施形態2の分析支援装置の表示部を説明する図The figure explaining the display part of the analysis support apparatus of Embodiment 2 of this invention.

以下、本発明の実施形態について、図面を参照して説明する。
なお、本発明とは、特許請求の範囲又は課題を解決するための手段の項に記載された発明を意味するものであり、以下の実施形態に限定されるものではない。また、少なくともかぎ括弧内の語句は、特許請求の範囲又は課題を解決するための手段の項に記載された語句を意味し、同じく以下の実施形態に限定されるものではない。
特許請求の範囲の従属項に記載の構成及び方法、従属項に記載の構成及び方法に対応する実施形態の構成及び方法、並びに特許請求の範囲に記載がなく実施形態のみに記載の構成及び方法は、本発明においては任意の構成及び方法である。特許請求の範囲の記載が実施形態の記載よりも広い場合における実施形態に記載の構成及び方法も、本発明の構成及び方法の例示であるという意味で、本発明においては任意の構成及び方法である。いずれの場合も、特許請求の範囲の独立項に記載することで、本発明の必須の構成及び方法となる。
実施形態に記載した効果は、本発明の例示としての実施形態の構成を有する場合の効果であり、必ずしも本発明が有する効果ではない。
複数の実施形態がある場合、各実施形態に開示の構成は各実施形態のみで閉じるものではなく、実施形態をまたいで組み合わせることが可能である。例えば一の実施形態に開示の構成を、他の実施形態に組み合わせても良い。また、複数の実施形態それぞれに開示の構成を集めて組み合わせても良い。
発明が解決しようとする課題に記載した課題は公知の課題ではなく、本発明者が独自に知見したものであり、本発明の構成及び方法と共に発明の進歩性を肯定する事実である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
The present invention means the invention described in the section of the scope of claims or the means for solving the problem, and is not limited to the following embodiments. Further, at least the words and phrases in the brackets mean the words and phrases described in the section of the scope of claims or the means for solving the problem, and are not limited to the following embodiments.
The configuration and method described in the dependent clause of the claims, the configuration and method of the embodiment corresponding to the configuration and method described in the dependent clause, and the configuration and method described only in the embodiment without description in the claims. Is an arbitrary configuration and method in the present invention. In the present invention, any configuration and method may be used in the sense that the configuration and method described in the embodiment when the description of the claims is wider than the description of the embodiment is also an example of the configuration and method of the present invention. be. In either case, by describing in the independent clause of the claims, it becomes an essential configuration and method of the present invention.
The effect described in the embodiment is an effect when the configuration of the embodiment as an example of the present invention is provided, and is not necessarily the effect of the present invention.
When there are a plurality of embodiments, the configuration disclosed in each embodiment is not closed only in each embodiment, but can be combined across the embodiments. For example, the configuration disclosed in one embodiment may be combined with another embodiment. Further, the disclosed configurations may be collected and combined in each of the plurality of embodiments.
The problem described in the problem to be solved by the invention is not a known problem but a problem independently discovered by the present inventor, and is a fact that affirms the inventive step of the invention together with the structure and method of the present invention.

(実施形態1)
図1は、結合データ生成システム10を示している。以下の説明では、結合データ生成システムが取り扱うデータは自動車に関するデータを想定している。しかしながら、本発明の結合データ生成システムは、いかなる種類のデータの分析にも利用することができる。
(Embodiment 1)
FIG. 1 shows a combined data generation system 10. In the following explanation, the data handled by the combined data generation system is assumed to be data related to automobiles. However, the combined data generation system of the present invention can be used for analysis of any kind of data.

車両には複数のセンサ等が搭載され、様々なデータが取得されている。取得された自動車に関するデータを分析することにより、例えば、自動車部品の開発、渋滞予測などに活用することが可能となる。例えば、GPSにより取得した車両の位置データを分析することにより、車両の移動を分析することができる。しかしながら、GPSにより取得した位置データは、車両が停止しているにも関わらず変動することがあるため、GPSによる位置データのみを利用した車両の移動を分析した場合、分析結果の精度が低くなるおそれがある。そのため、車両の移動を分析する場合には、GPSにより取得した位置データと併せて車輪の速度データ(以下、車輪速データ)を用いてデータ分析を行うことが望ましい。つまり、位置データと車輪速データとは関連性が高いといえ、これらのデータ項目を利用して分析するニーズは高いといえる。そこで、以下の例では、車両の位置データと、車輪速データとを結合する場合を例示して説明する。 The vehicle is equipped with a plurality of sensors and the like, and various data are acquired. By analyzing the acquired data on automobiles, it becomes possible to utilize it for, for example, development of automobile parts, traffic congestion prediction, and the like. For example, the movement of the vehicle can be analyzed by analyzing the position data of the vehicle acquired by GPS. However, since the position data acquired by GPS may fluctuate even though the vehicle is stopped, the accuracy of the analysis result becomes low when the movement of the vehicle using only the position data by GPS is analyzed. There is a risk. Therefore, when analyzing the movement of the vehicle, it is desirable to perform data analysis using the wheel speed data (hereinafter referred to as wheel speed data) together with the position data acquired by GPS. In other words, it can be said that the position data and the wheel speed data are highly related, and there is a high need for analysis using these data items. Therefore, in the following example, a case where the position data of the vehicle and the wheel speed data are combined will be illustrated and described.

図1に示す結合データ生成システム10は、分析支援装置100、データ収集装置200、及びデータべース装置300を有する。
分析支援装置100は、データ分析者がデータベース装置300に保存されたデータの分析を行う場合に、データ分析を支援する装置であり、データベース装置300にネットワークを介して接続される。分析支援装置100は、専用のハードであってもよく、あるいは、以下に説明する分析支援装置100の機能を実現するプログラムを実行する専用又は汎用CPU及びメモリ等を有するマイクロコンピュータであってもよい。
データ収集装置200は、様々な製品に搭載されたセンサ等によって取得されたデータを、ネットワークを介して収集する。図1の例では、データ収集装置200は自動車に関するデータを収集している。データ収集装置200はさらに、取集したデータをネットワークを介してデータベース装置に出力する。
データベース装置300は、データ収集装置200にて収集されたデータを保存し、蓄積する装置である。なお、図1に示す結合データ生成システム10では、データ収集装置200とデータベース装置300とは別個の独立した装置として構成されている。しかしながら、データ収集装置200とデータベース装置300とは一体的な装置として構成されてもよい。データ収集装置200及びデータベース装置300は、まとめて本発明の「データベース装置」に相当する。
The combined data generation system 10 shown in FIG. 1 includes an analysis support device 100, a data acquisition device 200, and a database device 300.
The analysis support device 100 is a device that supports data analysis when a data analyst analyzes data stored in the database device 300, and is connected to the database device 300 via a network. The analysis support device 100 may be a dedicated hardware, or may be a microcomputer having a dedicated or general-purpose CPU, a memory, or the like that executes a program that realizes the functions of the analysis support device 100 described below. ..
The data collection device 200 collects data acquired by sensors and the like mounted on various products via a network. In the example of FIG. 1, the data acquisition device 200 collects data about an automobile. The data collection device 200 further outputs the collected data to the database device via the network.
The database device 300 is a device that stores and stores the data collected by the data collection device 200. In the combined data generation system 10 shown in FIG. 1, the data acquisition device 200 and the database device 300 are configured as separate and independent devices. However, the data acquisition device 200 and the database device 300 may be configured as an integrated device. The data collection device 200 and the database device 300 collectively correspond to the "database device" of the present invention.

1.分析支援装置
まず、結合データ生成システム10が有する分析支援装置100について説明する。分析支援装置100は、取得部101、解析部102、演算部103、記憶部104、生成部105、及び出力部106を有する。解析部102、演算部103、生成部105は、機能的には別であるが、1つの装置、例えば、CPUで実現してもよい。
1. 1. Analysis support device First, the analysis support device 100 included in the combined data generation system 10 will be described. The analysis support device 100 includes an acquisition unit 101, an analysis unit 102, a calculation unit 103, a storage unit 104, a generation unit 105, and an output unit 106. Although the analysis unit 102, the calculation unit 103, and the generation unit 105 are functionally different, they may be realized by one device, for example, a CPU.

取得部101は、後述するデータベース装置300のログファイル保存部303から、ログファイルを取得する。このログファイルは、データ分析者によって、データを保存するデータベース装置に対して発行された複数のSQL(本発明の「命令文」に相当)と、複数のSQLのそれぞれに対応する「実行負荷」を示す負荷情報を有している。以下の例では、負荷情報が、実行負荷としてSQLの処理時間を示している場合を説明する。取得部101は、ログファイル保存部303に自らアクセスしてログファイルを取得してもよく、あるいは、ログファイル保存部303から自動的に送信されるログファイルを受信することによって取得してもよい。また、取得部101は、ログファイルを定期的に取得してもよく、あるいは、一定の条件を満たした場合、例えば、所定量のログがログファイル保存部303に保存された場合にログファイルを取得してもよい。
なお、本明細書では、データベース言語としてSQLを使用しているが、本発明は任意のデータベース言語に適用することが可能である。
The acquisition unit 101 acquires a log file from the log file storage unit 303 of the database device 300, which will be described later. This log file contains a plurality of SQLs (corresponding to the "instruction statement" of the present invention) issued by a data analyst to a database device for storing data, and an "execution load" corresponding to each of the plurality of SQLs. It has load information indicating. In the following example, the case where the load information indicates the processing time of SQL as the execution load will be described. The acquisition unit 101 may access the log file storage unit 303 by itself to acquire the log file, or may acquire the log file by receiving the log file automatically transmitted from the log file storage unit 303. .. Further, the acquisition unit 101 may acquire the log file periodically, or when certain conditions are satisfied, for example, when a predetermined amount of logs are stored in the log file storage unit 303, the log file is stored. You may get it.
Although SQL is used as the database language in the present specification, the present invention can be applied to any database language.

ここで、本発明の「実行負荷」とは、命令文を実行することによって発生する負荷を示すものであり、例えば、CPUの使用量(例えば、使用時間、使用コア数等)、メモリの使用量、命令文の実行を開始してから終了するまでの処理時間等が挙げられる。 Here, the "execution load" of the present invention indicates a load generated by executing an instruction statement, for example, CPU usage (for example, usage time, number of cores used, etc.), memory usage, etc. The amount, the processing time from the start to the end of the execution of the instruction statement, etc. can be mentioned.

解析部102は、取得部101で取得した複数のログファイルに含まれる複数のSQLの構文解析を実行する。解析部102で実行される構文解析では、既存の構文解析ライブラリを使用することができる。解析部102はさらに、構文解析を実行した複数のSQLのうち、特定のデータ項目を結合する命令(JOIN命令)を含む単数若しくは複数のSQL(本発明の「第1の命令文」に相当)を抽出する。以下の例では、特定のデータ項目として、車両の位置データ(本発明の「第1のデータ項目」に相当)と、車両の車輪速データ(本発明の「第2のデータ項目」に相当)とを結合する命令を含むSQL1を抽出する場合を説明する。
なお、本明細書では、特定の2つのデータ項目を結合する命令を含むSQL1を抽出する場合のみに着目して説明しているが、当然のことながら、解析部102は、2以上の任意のデータ項目を結合する命令を含む、任意のSQLを抽出することができる。
The analysis unit 102 executes syntactic analysis of a plurality of SQLs included in the plurality of log files acquired by the acquisition unit 101. The existing parsing library can be used in the parsing performed by the parsing unit 102. Further, the analysis unit 102 further includes a single or a plurality of SQLs (corresponding to the "first statement" of the present invention) including an instruction (JOIN instruction) for combining specific data items among a plurality of SQLs for which parsing has been executed. To extract. In the following example, as specific data items, vehicle position data (corresponding to the "first data item" of the present invention) and vehicle wheel speed data (corresponding to the "second data item" of the present invention). A case of extracting SQL1 including an instruction to combine with will be described.
In this specification, the description is given focusing only on the case of extracting SQL1 including an instruction for combining two specific data items, but as a matter of course, the analysis unit 102 is an arbitrary two or more. Any SQL can be extracted, including instructions to combine data items.

なお、取得部101が取得したログファイルには、データ分析者によってSQLが発行されたが、命令処理が適切に実行されなかったSQLが含まれている可能性がある。このような場合、解析部102は、命令処理が実行されなかったSQLは抽出せず、以降の演算部103で実行負荷を集計しないようにしてもよい。 The log file acquired by the acquisition unit 101 may contain SQL for which SQL was issued by the data analyst but the instruction processing was not properly executed. In such a case, the analysis unit 102 may not extract the SQL for which the instruction processing has not been executed, and may prevent the subsequent calculation unit 103 from totaling the execution load.

演算部103は、解析部102で抽出されたSQL1に対応する「実行負荷を集計」して、集計負荷を求める。本実施形態では、抽出した各SQL1の実行負荷である処理時間を合計し、集計処理時間を求めることを想定している。ここで、後述する記憶部104に、既にSQL1に対応する集計処理時間が保存されている場合には、取得部101で新たに取得され、解析部102で抽出されたSQL1に対応する処理時間と、記憶部104に既に保存されている集計処理時間とを合計することにより、演算部103は新たな集計処理時間を求める。 The calculation unit 103 "aggregates the execution load" corresponding to the SQL1 extracted by the analysis unit 102, and obtains the aggregate load. In the present embodiment, it is assumed that the processing time, which is the execution load of each extracted SQL1, is totaled to obtain the total processing time. Here, when the aggregation processing time corresponding to the SQL1 is already stored in the storage unit 104 described later, the processing time corresponding to the SQL1 newly acquired by the acquisition unit 101 and extracted by the analysis unit 102 is used. , The calculation unit 103 obtains a new total processing time by totaling the total processing time already stored in the storage unit 104.

ここで、本発明の「実行負荷を集計」する、とは、分析支援装置が起動してから集計時点までに取得した全ての負荷を合計することはもちろん、特定の期間に取得した負荷のみを合計してもよく、また、取得部で取得した負荷情報が示す負荷の値を合計することの他、負荷に対して特定の演算を加えた値を合計することをも含む。さらに、「集計」する、とは、複数の実行負荷の値を合計することには限定されず、実行負荷の値が1つの場合に、当該値を集計負荷とする場合をも含む。 Here, "aggregating the execution load" of the present invention means not only summing up all the loads acquired from the start of the analysis support device to the aggregation time, but also only the loads acquired in a specific period. It may be summed, and it includes not only summing the load values indicated by the load information acquired by the acquisition unit but also summing the values obtained by adding a specific operation to the load. Further, "aggregating" is not limited to summing up the values of a plurality of execution loads, and also includes a case where the value of the execution load is one and the value is used as the aggregation load.

記憶部104は、演算部103で求めたSQL1に対応する集計処理時間を保存する。この際、集計処理時間が、車両の位置データと車輪速データとを特定の結合条件を示す条件句を用いて結合するSQLの集計処理時間であることを特定して保存する。
なお、記憶部104が既にSQL1に対応する集計処理時間を保存している場合には、演算部103で求めた新たな集計処理時間の値に更新して保存する。
The storage unit 104 stores the aggregation processing time corresponding to the SQL1 obtained by the calculation unit 103. At this time, it is specified and stored that the aggregation processing time is the aggregation processing time of SQL in which the vehicle position data and the wheel speed data are combined by using a conditional clause indicating a specific combination condition.
If the storage unit 104 has already stored the aggregation processing time corresponding to SQL1, it is updated to the value of the new aggregation processing time obtained by the calculation unit 103 and saved.

生成部105は、記憶部104に保存された集計処理時間に「基づいて」、車両の位置データと車輪速データとを結合した結合データをデータベース装置に保存するか否かを決定する。例えば、生成部105は、記憶部104に予め「負荷閾値」、つまり、処理時間閾値を保存しておくとともに、演算部103にて集計した集計処理時間と処理時間閾値とを比較する。そして、集計処理時間が処理時間閾値「よりも」高いと判定した場合には、結合データをデータベース装置に保存することを決定する。
そして、結合データをデータベース装置に保存することを決定した場合には、生成部105は、車両の位置データと車輪速データとを結合し、結合したデータを後述する結合テーブルに保存する命令(INSERT命令)を含むSQL2(本発明の「第2の命令文」に相当)を生成する。生成部105はさらに、車両の位置データと車輪速データとを結合した結合データを保存する結合テーブルを生成する命令(CREATE TABLE命令)を含むSQL3(本発明の「第3の命令文」)を生成する。なお、SQL2は、データ項目を結合し、結合したデータを結合テーブルに保存する命令を含んでいればよく、その他の命令や条件句をさらに含んでいてもよい。SQL3も同様である。
The generation unit 105 determines whether or not to store the combined data of the vehicle position data and the wheel speed data in the database device "based on" based on the aggregation processing time stored in the storage unit 104. For example, the generation unit 105 stores the “load threshold value”, that is, the processing time threshold value in advance in the storage unit 104, and compares the total processing time aggregated by the calculation unit 103 with the processing time threshold value. Then, when it is determined that the aggregation processing time is higher than the processing time threshold value, it is determined to save the combined data in the database device.
Then, when it is decided to save the join data in the database device, the generation unit 105 joins the vehicle position data and the wheel speed data, and saves the joined data in a join table described later (INSERT). Generate SQL2 (corresponding to the "second command statement" of the present invention) including the command). The generation unit 105 further outputs QL3 (“third instruction statement” of the present invention) including an instruction (CREATE TABLE instruction) for generating a connection table for storing the connection data obtained by combining the position data of the vehicle and the wheel speed data. Generate. Note that SQL2 may include an instruction to join data items and save the joined data in a join table, and may further include other commands and conditional clauses. The same applies to SQL3.

ここで、本発明の「基づいて」とは、集計負荷を反映して、結合テーブルをデータベース装置に保存するか否かを決定していれば足り、集計負荷の値を直接的に用いる場合の他、集計負荷以外の要素も考慮する場合も含む。
また、本発明の「負荷閾値」とは、特定の負荷を示す値の場合の他、条件に応じて所定の演算により求まる負荷を示す値も含む。本発明の「よりも」高い、とは、比較対象となる負荷閾値と同じ値を含む場合及び含まない場合の両方が含まれる。
Here, "based on" in the present invention means that it is sufficient to reflect the aggregate load and decide whether or not to save the join table in the database device, and the value of the aggregate load is used directly. In addition, it also includes cases where factors other than the aggregate load are taken into consideration.
Further, the "load threshold value" of the present invention includes not only the case of a value indicating a specific load but also a value indicating a load obtained by a predetermined calculation according to a condition. "Higher" in the present invention includes both cases where the same value as the load threshold value to be compared is included and cases where the value is not included.

出力部106は、生成部105で生成されたSQL2を、データ収集装置200のSQL登録部202に出力し、SQL3をデータベース装置300のデータベースエンジン302に出力する。 The output unit 106 outputs the SQL 2 generated by the generation unit 105 to the SQL registration unit 202 of the data acquisition device 200, and outputs the SQL 3 to the database engine 302 of the database device 300.

2.データ収集装置
次に、データ収集装置200について説明する。データ収集装置200は、データ受信部201と、SQL登録部202を有する。
2. 2. Data acquisition device Next, the data collection device 200 will be described. The data collecting device 200 has a data receiving unit 201 and an SQL registration unit 202.

データ受信部201(本発明の「受信部」に相当)は、センサ等を用いて測定又は取得されたデータをネットワークを介して受信する。図1では、データ受信部は、例えば、自動車の車載センサが測定した車輪速データ、操舵角データ、方向指示器のON/OFFを示す方向指示器データ、GPS装置が取得した車両の位置データといったデータを、複数の自動車から受信する。データ受信部201は、周期的に、あるいは、任意のタイミングで、受信したデータをデータベース装置300のデータベースエンジン302に出力する。 The data receiving unit 201 (corresponding to the “receiving unit” of the present invention) receives data measured or acquired using a sensor or the like via a network. In FIG. 1, the data receiving unit includes, for example, wheel speed data measured by an in-vehicle sensor of an automobile, steering angle data, direction indicator data indicating ON / OFF of a direction indicator, and vehicle position data acquired by a GPS device. Receive data from multiple vehicles. The data receiving unit 201 outputs the received data to the database engine 302 of the database device 300 periodically or at an arbitrary timing.

SQL登録部202には、分析支援装置100から出力されたSQL2の情報が登録される。SQL登録部202は、周期的に、あるいは、任意のタイミングで、登録されたSQL2をデータベース装置300のデータベースエンジン302に出力する。 The SQL2 information output from the analysis support device 100 is registered in the SQL registration unit 202. The SQL registration unit 202 outputs the registered SQL 2 to the database engine 302 of the database device 300 periodically or at an arbitrary timing.

3.データベース装置
データベース装置300は、データベース301、データベースエンジン302、及びログファイル保存部303を備える。
3. 3. Database device The database device 300 includes a database 301, a database engine 302, and a log file storage unit 303.

データベース(本発明の「保存部」に相当)301は複数のテーブルを有し、各テーブルには、予め設定されたデータ項目に該当するデータが保存される。テーブルは、1つのデータ項目に該当する1種類のデータ、及び、複数のデータ項目に該当する複数種類のデータのいずれも保存することができる。 The database (corresponding to the "storage unit" of the present invention) 301 has a plurality of tables, and data corresponding to preset data items is stored in each table. The table can store any one type of data corresponding to one data item and a plurality of types of data corresponding to a plurality of data items.

データベースエンジン(本発明の「生成部」に相当)302は、データべース301に対するデータの挿入、抽出、及び、データを格納するテーブルの生成を行う。
具体的には、データベースエンジン302は、データ受信部201から出力されたデータを取得するとともに、取得したデータを、当該データのデータ項目に対応するテーブルに挿入して保存する。
データベースエンジン302はさらに、データ分析者が、インタフェース等の入力部(図示せず)を介してデータベース装置300に対してSQLを発行すると、データベース301内のテーブルから、発行されたSQLに含まれるデータ項目のデータを抽出する。抽出されたデータは、データ分析者のインタフェースに出力される。
さらに、データベースエンジン302は、分析支援装置100の出力部106からSQL3が入力されると、SQL3に基づいて、車両の位置データと車輪速データとを結合した結合テーブルをデータベース301内に生成する。
また、データベースエンジン302は、SQL登録部202から、SQL2が入力されると、SQL2が結合するデータ項目に該当するデータをデータベース301から抽出して結合するとともに、結合したデータをSQL3に基づいて生成した結合テーブルに挿入して保存する。
The database engine (corresponding to the "generation unit" of the present invention) 302 inserts and extracts data into the database 301, and generates a table for storing the data.
Specifically, the database engine 302 acquires the data output from the data receiving unit 201, inserts the acquired data into a table corresponding to the data item of the data, and saves the acquired data.
Further, when the data analyst issues an SQL to the database device 300 via an input unit (not shown) such as an interface, the database engine 302 further inputs the data included in the issued SQL from the table in the database 301. Extract the item data. The extracted data is output to the interface of the data analyst.
Further, when the SQL3 is input from the output unit 106 of the analysis support device 100, the database engine 302 generates a join table in the database 301 that combines the vehicle position data and the wheel speed data based on the SQL3.
Further, when the SQL 2 is input from the SQL registration unit 202, the database engine 302 extracts the data corresponding to the data item to be combined with the SQL 2 from the database 301 and combines them, and generates the combined data based on the SQL 3. Insert it into the joined table and save it.

ログファイル保存部303は、データベース装置300に対して発行されたSQL、及び当該SQLを実行する処理時間を実行負荷としてログファイルとして保存する。 The log file storage unit 303 stores the SQL issued to the database device 300 and the processing time for executing the SQL as an execution load as a log file.

4.結合データ生成システムの動作
以下、図2-4を用いて、実施形態1の結合データ生成システム10の動作を説明する。結合データ生成システム10の動作は、大きく分けて、データ分析者によってSQLが発行されてから、分析支援装置100の記憶部104にSQLに対応する集計負荷として集計処理時間を保存するまでの動作(図2)、記憶部104に保存された集計処理時間に基づいて、データベース301に結合テーブルを生成する動作(図3)、データベース301の結合テーブルに結合データを格納する動作(図4)に分けられる。
4. Operation of Combined Data Generation System Hereinafter, the operation of the combined data generation system 10 of the first embodiment will be described with reference to FIG. 2-4. The operation of the combined data generation system 10 is roughly divided into the operation from the issuance of SQL by the data analyst to the storage of the aggregation processing time as the aggregation load corresponding to SQL in the storage unit 104 of the analysis support device 100 (the operation until the aggregation processing time is stored in the storage unit 104 of the analysis support device 100. FIG. 2), the operation of generating a join table in the database 301 based on the aggregation processing time stored in the storage unit 104 (FIG. 3), and the operation of storing the join data in the join table of the database 301 (FIG. 4). Be done.

まず、図2を用いて、分析支援装置100の記憶部104にSQLに対応する集計処理時間を保存するまでの動作を説明する。
まず、データ分析者は、所望の分析結果を得るために、データベース装置300に対してSQLを発行する(S101)。S101にて発行されたSQL、及び当該SQLを実行するのに要した処理時間を示す負荷情報は、ログファイルとしてデータベース装置300のログファイル保存部303に保存される(S102)。
First, with reference to FIG. 2, the operation until the aggregation processing time corresponding to SQL is stored in the storage unit 104 of the analysis support device 100 will be described.
First, the data analyst issues SQL to the database device 300 in order to obtain a desired analysis result (S101). The SQL issued in S101 and the load information indicating the processing time required to execute the SQL are stored as log files in the log file storage unit 303 of the database device 300 (S102).

分析支援装置100の取得部101は、ログファイル保存部303に保存されたログファイルを取得する(S103)。解析部102は、S103において取得部101が取得したログファイルに含まれるSQLの構文解析を実行する(S104)。そして、車両の位置データと車輪速データとを結合する命令を含むSQL1を抽出する(S105)。 The acquisition unit 101 of the analysis support device 100 acquires the log file stored in the log file storage unit 303 (S103). The analysis unit 102 executes the syntax analysis of the SQL included in the log file acquired by the acquisition unit 101 in S103 (S104). Then, the SQL 1 including the command for combining the position data of the vehicle and the wheel speed data is extracted (S105).

次いで、演算部103は、ログファイルに含まれる負荷情報のうち、SQL1に対応する負荷情報が示す処理時間を集計して、集計処理時間を求める(S106)。S106にて求めた集計処理時間は、車両の位置データ及び車輪速データのデータ項目及びこれらのデータ項目を結合する結合条件を示す条件句に対応付けて記憶部104に保存される(S107)。位置データと車輪速データ以外のデータ項目を結合する命令を含むSQLに対応する処理時間を集計し保存する場合には、S105-S107のステップを同様に実行する。したがって、記憶部104には、結合されるデータ項目の組み合わせ毎に集計処理時間が保存されることになる。 Next, the calculation unit 103 totals the processing time indicated by the load information corresponding to SQL1 among the load information included in the log file, and obtains the total processing time (S106). The aggregation processing time obtained in S106 is stored in the storage unit 104 in association with the data items of the vehicle position data and the wheel speed data and the condition clause indicating the combination condition for combining these data items (S107). When the processing time corresponding to SQL including the instruction to combine the data items other than the position data and the wheel speed data is aggregated and saved, the steps of S105 to S107 are executed in the same manner. Therefore, the storage unit 104 stores the aggregation processing time for each combination of the data items to be combined.

次に、図3を用いて、記憶部104に保存された集計処理時間に基づいて、データベース301に結合テーブルを生成する動作を説明する。
分析支援装置100の生成部105は、記憶部104に保存された集計処理時間をモニタし、集計処理時間と、記憶部104に保存されている処理時間閾値とを比較する(S201)。ここで、集計処理時間が処理時間閾値よりも低いと判定した場合には、生成部105は集計処理時間のモニタを継続する。これに対し、集計処理時間が処理時間閾値よりも高いと判定した場合には、車両の位置データと車輪速データとを結合した結合データをデータベース装置300のデータベース301に保存することを決定する(S202)。そして、車両の位置データと車輪速データとを結合し、特定のテーブルに保存する命令を含むSQL2を生成する(S203)。さらに、車両の位置データと車輪速データとを結合した結合データを保存する結合テーブルを生成する命令を含むSQL3を生成する(S204)。S203、204において生成されたSQL2、3は、出力部106を介して、データ収集装置200のSQL登録部202、及びデータベース装置300のデータベースエンジン302にそれぞれ出力される(S205)。
Next, the operation of generating the join table in the database 301 will be described with reference to FIG. 3 based on the aggregation processing time stored in the storage unit 104.
The generation unit 105 of the analysis support device 100 monitors the aggregation processing time stored in the storage unit 104, and compares the aggregation processing time with the processing time threshold value stored in the storage unit 104 (S201). Here, if it is determined that the aggregation processing time is lower than the processing time threshold value, the generation unit 105 continues to monitor the aggregation processing time. On the other hand, when it is determined that the aggregation processing time is higher than the processing time threshold, it is determined to store the combined data in which the vehicle position data and the wheel speed data are combined in the database 301 of the database device 300 (). S202). Then, the vehicle position data and the wheel speed data are combined to generate an SQL2 including an instruction to be stored in a specific table (S203). Further, it generates SQL3 including an instruction to generate a join table that stores the join data in which the vehicle position data and the wheel speed data are joined (S204). The SQLs 2 and 3 generated in S203 and 204 are output to the SQL registration unit 202 of the data acquisition device 200 and the database engine 302 of the database device 300, respectively, via the output unit 106 (S205).

SQL登録部202は、S205にて出力されたSQL2を登録する(S206)。また、データベースエンジン302は、S205にて出力されたSQL3に基づいて、車両の位置データと車輪速データとを結合した結合テーブルをデータベース301内に生成する(S207)。 The SQL registration unit 202 registers the SQL2 output in S205 (S206). Further, the database engine 302 generates a join table in the database 301 that combines the vehicle position data and the wheel speed data based on the SQL3 output in S205 (S207).

次に、図4を用いて、データベース301の結合テーブルに結合データを保存する動作を説明する。
データ収集装置200のデータ受信部201が、自動車から車両に関する複数のデータを受信する(S301)。データ受信部201が受信したデータは、データベースエンジン302に出力され(S302)、その後、当該データのデータ項目に該当するデータベース内のテーブルにそれぞれ挿入して保存される(S303)。SQL登録部202は、図3のS206にて登録されたSQL2をデータベースエンジン302に出力する(S304)。なお、データ受信部201及びSQL登録部202は、周期的又は任意のタイミングで、受信したデータ及びSQL2をデータベースエンジン302にそれぞれ出力することができる。
Next, the operation of storing the join data in the join table of the database 301 will be described with reference to FIG.
The data receiving unit 201 of the data collecting device 200 receives a plurality of data related to the vehicle from the automobile (S301). The data received by the data receiving unit 201 is output to the database engine 302 (S302), and then inserted into and stored in a table in the database corresponding to the data item of the data (S303). The SQL registration unit 202 outputs the SQL2 registered in S206 of FIG. 3 to the database engine 302 (S304). The data receiving unit 201 and the SQL registration unit 202 can output the received data and the SQL 2 to the database engine 302 at periodic or arbitrary timings, respectively.

次いで、データベースエンジン302は、SQL登録部202から出力されたSQL2が結合するデータ項目に該当するデータをデータベース301から抽出するとともに、抽出したデータをSQL2に基づいて結合する(S305)。そして、データベースエンジン302は、SQL2に基づいて結合したデータを図3のS207において生成した結合テーブルに挿入し、保存する(S306)。 Next, the database engine 302 extracts the data corresponding to the data item to be combined with SQL2 output from the SQL registration unit 202 from the database 301, and combines the extracted data based on SQL2 (S305). Then, the database engine 302 inserts the data joined based on the SQL 2 into the join table generated in S207 of FIG. 3 and saves it (S306).

図4に示す一連の動作では、例えば、データ受信部201は、2018年1月1日に複数のデータを自動車から受信する(S301)と、受信日の翌日(2018年1月2日)に、受信したデータをまとめてデータベースエンジン302に出力する(S302)。そして、データ受信部201から出力されたデータがデータベース内のテーブルに保存(S303)されると、SQL登録部202は、車両の位置データ及び車輪速データを結合した結合データを生成して、結合テーブルに保存する命令を含むSQL2をデータベースエンジン302に出力する(S305)。ここで、SQL2は、データ取得日時を2018年1月1日に限定する条件句を含むことにより、2018年1月1日に取得されたデータのみについて結合データを生成する命令文とすることができる。そして、データベースエンジン302は、データベース301内のテーブルから、データ取得日時が2018年1月1日である車両の位置データ及び車輪速データを抽出するとともに、これらのデータを結合した結合データを結合テーブルに保存する。これにより、過去の結合データに追加して、新たに取得されたデータの結合データを結合テーブルに蓄積することができる。 In the series of operations shown in FIG. 4, for example, the data receiving unit 201 receives a plurality of data from the vehicle on January 1, 2018 (S301), and on the day after the receiving date (January 2, 2018). , The received data are collectively output to the database engine 302 (S302). Then, when the data output from the data receiving unit 201 is stored in a table in the database (S303), the SQL registration unit 202 generates a combined data that combines the vehicle position data and the wheel speed data, and combines them. The SQL2 including the instruction to be saved in the table is output to the database engine 302 (S305). Here, SQL2 may be a statement that generates combined data only for the data acquired on January 1, 2018 by including a conditional clause that limits the data acquisition date and time to January 1, 2018. can. Then, the database engine 302 extracts the position data and the wheel speed data of the vehicle whose data acquisition date and time is January 1, 2018 from the table in the database 301, and joins the join data by joining these data into the join table. Save to. As a result, the join data of the newly acquired data can be accumulated in the join table in addition to the past join data.

以上のとおり、実施形態1によれば、データ項目を結合する命令文のうち集計負荷が高い命令文については、当該命令文によって結合されるデータ項目を予め結合した状態で、データベースのテーブルに保存することができる。その結果、データ分析者がデータを結合して分析する際、テーブルに保存された結合データを取得することにより、データの結合に要する時間を大幅に短縮することが可能となる。 As described above, according to the first embodiment, among the statements that combine data items, the instruction statement that has a high aggregation load is stored in a database table in a state in which the data items combined by the instruction statement are combined in advance. can do. As a result, when a data analyst joins and analyzes data, it is possible to significantly reduce the time required for joining the data by acquiring the join data stored in the table.

(変形例1)
上記実施形態1では、生成部105が記憶部104に保存された集計処理時間の値をモニタし、集計処理時間が処理時間閾値よりも高くなると自動的に、結合データをデータベース装置300に保存することを決定した。しかしながら、生成部105は、集計処理時間に加えて、データ分析者の指示に基づいて、結合データをデータベース装置300に保存してもよい。
(Modification 1)
In the first embodiment, the generation unit 105 monitors the value of the aggregation processing time stored in the storage unit 104, and automatically stores the combined data in the database device 300 when the aggregation processing time becomes higher than the processing time threshold value. I decided that. However, the generation unit 105 may store the combined data in the database device 300 based on the instruction of the data analyst in addition to the aggregation processing time.

本変形例1を図5に示す。図1と同じ構成については同じ符号を付し、説明は省略する。本変形例1の分析支援装置100は、図1に示す構成に加えて、メッセージ生成部107、表示部108、ユーザ指示取得部109とを備えている。なお、メッセージ生成部107、表示部108は、まとめて本発明の「メッセージ制御部」に相当する。 This modification 1 is shown in FIG. The same components as those in FIG. 1 are designated by the same reference numerals, and the description thereof will be omitted. In addition to the configuration shown in FIG. 1, the analysis support device 100 of the first modification includes a message generation unit 107, a display unit 108, and a user instruction acquisition unit 109. The message generation unit 107 and the display unit 108 collectively correspond to the "message control unit" of the present invention.

メッセージ生成部107は、集計処理時間に基づいて、データ分析者(本発明の「ユーザ」に相当)に対して、結合データをデータベース装置300に保存することを推奨するメッセージを生成し、表示部108は生成されたメッセージをデータ分析者に対して表示する。例えば、実施形態1と同様、生成部105は集計処理時間と処理時間閾値とを比較して、集計処理時間が処理時間閾値よりも高いと判定した場合に、メッセージ生成部107がメッセージを生成する。 The message generation unit 107 generates a message recommending that the data analyst (corresponding to the “user” of the present invention) save the combined data in the database device 300 based on the aggregation processing time, and the display unit 107. 108 displays the generated message to the data analyst. For example, as in the first embodiment, the generation unit 105 compares the aggregation processing time with the processing time threshold value, and when it is determined that the aggregation processing time is higher than the processing time threshold value, the message generation unit 107 generates a message. ..

ユーザ指示取得部109は、表示部108に表示されたメッセージを見たデータ分析者による指示、すなわち、結合データをデータベース装置300に保存する指示を取得する。 The user instruction acquisition unit 109 acquires an instruction by the data analyst who saw the message displayed on the display unit 108, that is, an instruction to save the combined data in the database device 300.

ユーザ指示取得部109が、結合データをデータベース装置に保存する指示を取得した場合、生成部105は、結合データをデータベース装置300に保存することを決定する。この後の処理は、実施形態1と同様である。 When the user instruction acquisition unit 109 acquires an instruction to save the join data in the database device, the generation unit 105 decides to save the join data in the database device 300. The subsequent processing is the same as in the first embodiment.

本変形例1によれば、データ分析者が必要とする結合テーブル及び結合データのみをデータベース装置に生成することが可能となるため、データベース内に不要な結合テーブルや結合データが生成及び保存されるのを抑制し、データベースの容量を有効に活用することが可能となる。 According to the first modification, it is possible to generate only the join table and the join data required by the data analyst in the database device, so that unnecessary join tables and join data are generated and stored in the database. It is possible to suppress the problem and effectively utilize the capacity of the database.

(変形例2)
上記実施形態1では、SQLの処理時間を集計した集計処理時間に基づいて、結合データをデータベース装置に保存するか否かを決定した。しかしながら、同じデータ項目を結合する命令を含むSQLであっても、当該SQLを発行したデータ分析者によって、そのSQLの重み、すなわち、情報の価値は異なる。
(Modification 2)
In the first embodiment, it is determined whether or not to save the combined data in the database device based on the aggregated processing time in which the SQL processing times are aggregated. However, even if the SQL includes an instruction to combine the same data items, the weight of the SQL, that is, the value of the information differs depending on the data analyst who issued the SQL.

そこで、本変形例2では、SQLを発行したデータ分析者に応じて実行負荷である処理時間に重み付けをして集計し、当該データ分析者を考慮した集計負荷を求めることにより、有用なSQLによって結合されるデータ項目を結合する結合テーブルをデータベース装置に保存する。 Therefore, in the present modification 2, the processing time, which is the execution load, is weighted according to the data analyst who issued the SQL and aggregated, and the aggregation load considering the data analyst is obtained, thereby using useful SQL. Save the join table that joins the data items to be joined in the database device.

本変形例2では、データベース装置300のログファイル保存部303は、ログファイルとして、データ分析者(本発明の「ユーザ」に相当)が発行したSQL及び当該SQLの処理時間に加えて、データベース装置300に対してSQLを発行した「データ分析者の情報」を保存する。そして、分析支援装置100の取得部101は、SQL及び当該SQLの処理時間に加えて、「データ分析者の情報」を取得する。本明細書では、「データ分析者の情報」として、データ分析者のID情報を取得する例を説明する。
ここで、本発明の「データ分析者(ユーザ)の情報」とは、各ユーザを識別する情報はもちろん、ユーザの属性や、ユーザのデータ分析にかかる経験を示す情報であってもよい。
In the second modification, the log file storage unit 303 of the database device 300 uses the database device as a log file in addition to the SQL issued by the data analyst (corresponding to the "user" of the present invention) and the processing time of the SQL. The "information of the data analyst" that issued the SQL for 300 is saved. Then, the acquisition unit 101 of the analysis support device 100 acquires "information of the data analyst" in addition to the SQL and the processing time of the SQL. In the present specification, an example of acquiring the ID information of the data analyst will be described as "information of the data analyst".
Here, the "information of the data analyst (user)" of the present invention may be not only the information for identifying each user but also the information indicating the attribute of the user and the experience related to the data analysis of the user.

本変形例2の記憶部104は、データ分析者のID情報と、当該データ分析者のデータ分析にかかる経験年数とを対応付けて予め保存しておく。記憶部104はさらに、データ分析者の経験年数に応じて重み付けをするウエイト量の情報を予め保存しておく。例えば、分析経験5年以上の経験を有するデータ分析者に対するウエイト量n1、及び、分析経験5年未満の経験を有するデータ分析者に対するウエイト量n2を、それぞれ保存しておく。 The storage unit 104 of the second modification stores in advance the ID information of the data analyst and the years of experience required for the data analysis of the data analyst. The storage unit 104 further stores information on the weight amount to be weighted according to the number of years of experience of the data analyst in advance. For example, a weight amount n1 for a data analyst having 5 years or more of analysis experience and a weight amount n2 for a data analyst having less than 5 years of analysis experience are stored.

演算部103は、データ分析者の情報に応じて処理時間に重み付けをして、集計処理時間を求める。 The calculation unit 103 weights the processing time according to the information of the data analyst to obtain the total processing time.

例えば、取得部101が取得したログファイルに、車両の位置データと車輪速データとを結合する命令を含むSQL1に対応するログが2つ存在(SQL1-1、SQL1-2)し、SQL1-1が、データの分析経験が5年以上のデータ分析者によって発行され、処理時間がx時間のSQLであり、SQL1-2は、データの分析経験が5年未満のデータ分析者によって発行され、処理時間がy時間のSQLであるとする。このとき、実施形態1による集計負荷は(x+y)時間となる。
これに対し、本変形例2では、演算部103は、データ分析者の各ID情報に基づいて記憶部に保存されたデータ分析者の経験年数を参照するとともに、経験年数に基づくウエイト量を抽出する。そして、SQL1-1の処理時間xにはウエイト量n1を、SQL1-2の処理時間yにはウエイト量n2をそれぞれ重み付けして、集計処理時間(n1×x+n2×y)を求める。そして、重み付けをして求めた集計処理時間に基づいて、生成部106は、結合データをデータベース装置300に保存するか否かを決定する。
For example, in the log file acquired by the acquisition unit 101, there are two logs corresponding to SQL1 including a command to combine the vehicle position data and the wheel speed data (SQL1-1, SQL1-2), and SQL1-1. However, SQL is an SQL with data analysis experience of 5 years or more and a processing time of x hours, and SQL1-2 is issued and processed by a data analyst with data analysis experience of less than 5 years. It is assumed that the time is SQL of y hours. At this time, the total load according to the first embodiment is (x + y) time.
On the other hand, in the present modification 2, the calculation unit 103 refers to the years of experience of the data analyst stored in the storage unit based on each ID information of the data analyst, and extracts the weight amount based on the years of experience. do. Then, the weight amount n1 is weighted to the processing time x of SQL1-1, and the weight amount n2 is weighted to the processing time y of SQL1-2 to obtain the aggregation processing time (n1 × x + n2 × y). Then, based on the aggregation processing time obtained by weighting, the generation unit 106 determines whether or not to store the combined data in the database device 300.

本変形例2によれば、データ分析者に応じて重み付けをした集計負荷に基づいて、結合テーブルの生成要否を決定することが可能となる。そして、より価値の高い結合テーブルのみをデータベース装置300に生成することにより、データベースの容量を有効に活用することが可能となる。 According to the second modification, it is possible to determine whether or not the join table needs to be generated based on the aggregate load weighted according to the data analyst. Then, by generating only the more valuable join table in the database device 300, it is possible to effectively utilize the capacity of the database.

なお、上述した各変形例は、単独で用いることはもちろん、これらを組み合わせて用いることもできる。 It should be noted that each of the above-mentioned modifications can be used alone or in combination.

(実施形態2)
実施形態2では、データ分析者によって発行されたSQLに関するログファイルを利用して、データ分析者を支援する分析支援装置を説明する。
(Embodiment 2)
In the second embodiment, an analysis support device that supports the data analyst will be described by using the log file related to SQL issued by the data analyst.

図6は、実施形態2による分析支援装置400、及び、データ収集システム200、データベース装置300を有する分析支援システム20を示している。以下に、分析支援装置400の構成について説明する。なお、データ収集装置200、データベース装置300の各構成は実質的に実施形態1と同じであるため、詳しい説明は省略する。当然のことながら、本実施形態2の分析支援装置400は、実施形態1及び各変形例の結合データ生成システムに適用することが可能である。 FIG. 6 shows an analysis support device 400 according to the second embodiment, and an analysis support system 20 having a data collection system 200 and a database device 300. The configuration of the analysis support device 400 will be described below. Since each configuration of the data collection device 200 and the database device 300 is substantially the same as that of the first embodiment, detailed description thereof will be omitted. As a matter of course, the analysis support device 400 of the second embodiment can be applied to the combined data generation system of the first embodiment and each modification.

1.分析支援装置
本実施形態2の分析支援装置400は、取得部401、解析部402、演算部403、記憶部404、入力部405、決定部406、及び表示部407を備える。解析部402、演算部403、決定部406は、機能的には別であるが、1つの装置、例えば、CPUで実現してもよい。
1. 1. Analysis support device The analysis support device 400 of the second embodiment includes an acquisition unit 401, an analysis unit 402, a calculation unit 403, a storage unit 404, an input unit 405, a determination unit 406, and a display unit 407. Although the analysis unit 402, the calculation unit 403, and the determination unit 406 are functionally different, they may be realized by one device, for example, a CPU.

取得部401は、データベース装置300のログファイル保存部303に保存されたログファイルを取得する。ログファイルは、データ分析者からデータベース装置300に対して発行された複数のSQL(本発明の「命令文」に相当)を有している。
なお、実施形態1のログファイルには、SQLとともに、SQLの処理時間を有していたが、本実施形態2のログファイルは、発行されたSQLの情報のみを有していれば足りる。しかしながら、ログファイルは、当然のことながら、SQL以外の情報を有していてもよい。
The acquisition unit 401 acquires the log file stored in the log file storage unit 303 of the database device 300. The log file has a plurality of SQLs (corresponding to the "command statement" of the present invention) issued by the data analyst to the database device 300.
The log file of the first embodiment has the processing time of the SQL together with the SQL, but the log file of the second embodiment only needs to have the information of the issued SQL. However, the log file may, of course, have information other than SQL.

解析部402は、取得部401で取得したログファイルに含まれる複数のSQLの構文解析を実行する。解析部402はさらに、構文解析を実行した複数のSQLのうち、特定のデータ項目を結合する命令を含む単数若しくは複数のSQL(本発明の「第1の命令文」に相当)を抽出する。実施形態1と同様、本明細書では、特定のデータ項目として、車両の位置データ(本発明の「第1のデータ項目」に相当)と、車両の車輪速データ(本発明の「第2のデータ項目」に相当)とを結合する命令を含むSQL1を抽出する場合を説明する。 The analysis unit 402 executes parsing of a plurality of SQLs included in the log file acquired by the acquisition unit 401. Further, the analysis unit 402 extracts a single or a plurality of SQLs (corresponding to the "first statement" of the present invention) including instructions for combining specific data items from the plurality of SQLs for which parsing has been executed. As in the first embodiment, in the present specification, as specific data items, vehicle position data (corresponding to the "first data item" of the present invention) and vehicle wheel speed data (the "second data item" of the present invention). A case of extracting SQL1 including an instruction to combine with (corresponding to "data item") will be described.

演算部403は、解析部402で抽出されたSQL1の「実行頻度」を求める。以下では、SQL1が発行された回数(以下、実行回数)を実行頻度として求める例を説明する。ここで、後述する記憶部404に、既にSQL1に対応する実行回数が保存されている場合には、取得部401で新たに取得され、解析部で抽出されたSQL1の実行回数と、記憶部に既に保存されているSQL1の実行回数とを演算することにより、実行回数を求める。 The calculation unit 403 obtains the "execution frequency" of the SQL1 extracted by the analysis unit 402. Hereinafter, an example of obtaining the number of times SQL1 is issued (hereinafter referred to as the number of times of execution) as the execution frequency will be described. Here, when the number of executions corresponding to SQL1 is already stored in the storage unit 404 described later, the number of executions of SQL1 newly acquired by the acquisition unit 401 and extracted by the analysis unit and the number of executions of SQL1 are stored in the storage unit. The number of executions is obtained by calculating the number of executions of SQL1 that has already been saved.

ここで、「実行頻度」とは、命令文が実行された回数を直接的又は間接的に示すものであれば足り、命令文の命令処理が完了したかを問わず命令文が実行された回数の他、命令文が実行されて命令処理が完了した回数、命令文の実行回数の変化率等であってもよい。 Here, the "execution frequency" is sufficient as long as it directly or indirectly indicates the number of times the instruction statement is executed, and the number of times the instruction statement is executed regardless of whether the instruction processing of the instruction statement is completed. In addition, the number of times the instruction statement is executed and the instruction processing is completed, the rate of change in the number of times the instruction statement is executed, and the like may be used.

記憶部404は、演算部403で求めたSQL1の実行回数を保存する。この際、実行回数が、車両の位置データと車輪速データとを特定の結合条件を示す条件句を用いて結合するSQLの実行回数であることを特定して保存する。なお、記憶部404が既にSQL1の実行回数を保存している場合には、演算部403で求めた新たな実行回数の値に更新して保存する。記憶部はさらに、取得部401で取得したSQLを記憶してもよい。 The storage unit 404 stores the number of executions of SQL1 obtained by the calculation unit 403. At this time, it is specified and stored that the number of executions is the number of executions of SQL that combines the position data of the vehicle and the wheel speed data using a conditional clause indicating a specific combination condition. If the storage unit 404 has already stored the number of executions of SQL1, it is updated to the value of the new number of executions obtained by the calculation unit 403 and saved. The storage unit may further store the SQL acquired by the acquisition unit 401.

入力部405には、分析支援装置を使用するデータ分析者(本発明の「ユーザ」に相当)によって、分析対象として着目しているデータ項目である分析対象データ項目(本発明の「第1のデータ項目」に相当)が入力される。例えば、車両の位置データの項目が、分析対象データ項目として入力部405に入力される。
入力部(本発明の「第2の入力部」に相当)405にはさらに、後述する表示部407に表示されるデータ項目のうち、データ分析者が選択したデータ項目が入力される。
The input unit 405 is an analysis target data item (“first” of the present invention, which is a data item of interest as an analysis target by a data analyst (corresponding to the “user” of the present invention) using the analysis support device. (Equivalent to "data item") is entered. For example, an item of vehicle position data is input to the input unit 405 as an analysis target data item.
Further, among the data items displayed on the display unit 407 described later, the data items selected by the data analyst are input to the input unit (corresponding to the “second input unit” of the present invention) 405.

決定部406は、記憶部404に保存されたSQL1の実行回数に「基づいて」、過去に発行されたSQLにおいて分析対象データ項目と結合されたデータ項目(以下、結合実績データ項目)(本発明の「第2のデータ項目」に相当)、例えば、車両の車輪速データの項目をデータ分析者に表示するか否かを決定する。具体的には、決定部406は、記憶部404に保存された実行回数のうち、分析対象データ項目と他のデータ項目とを結合するSQLの実行回数を抽出し、その中から実行回数が高いSQL(例えば、実行回数が高い順に5つのSQL)において、分析対象データ項目と結合されたデータ項目を結合実績データ項目として、データ分析者に表示することを決定する。
あるいは、決定部406は、記憶部404に保存された実行回数のうち、分析対象データ項目と他のデータ項目とを結合するSQLの実行回数を抽出するとともに、抽出した実行回数と、記憶部404に保存されている回数閾値とを比較する。そして、実行回数が回数閾値「よりも」高いと判定した場合には、そのSQLにおいて分析対象データ項目と結合されたデータ項目を結合実績データ項目として、データ分析者に表示することを決定してもよい。
The determination unit 406 "based on" the number of executions of SQL1 stored in the storage unit 404, and the data item combined with the analysis target data item in the previously issued SQL (hereinafter referred to as the combined actual data item) (the present invention). (Corresponding to the "second data item"), for example, it is determined whether or not to display the item of the wheel speed data of the vehicle to the data analyst. Specifically, the determination unit 406 extracts the number of executions of SQL that combines the data item to be analyzed and other data items from the number of executions stored in the storage unit 404, and the number of executions is high from among them. In the SQL (for example, five SQLs in descending order of the number of executions), it is determined to display the data item combined with the analysis target data item as the combined actual data item to the data analyst.
Alternatively, the determination unit 406 extracts the number of executions of the SQL that combines the data item to be analyzed and the other data items from the number of executions stored in the storage unit 404, and the extracted number of executions and the storage unit 404. Compare with the number of times threshold stored in. Then, when it is determined that the number of executions is higher than the number threshold value, it is decided to display the data item combined with the analysis target data item in the SQL as the combined actual data item to the data analyst. May be good.

ここで、本発明の「基づいて」とは、実行頻度を反映して、第2のデータ項目をユーザに表示するか否かを決定していれば足り、実行頻度の値を直接的に用いる場合の他、実行頻度以外の要素も考慮する場合も含む。 Here, "based on" in the present invention means that it is sufficient to reflect the execution frequency and determine whether or not to display the second data item to the user, and the value of the execution frequency is directly used. In addition to cases, it also includes cases where factors other than execution frequency are taken into consideration.

表示部407は、決定部406において決定された結合実績データ項目をデータ分析者に表示する。なお、データ分析者に表示する結合実績データ項目は単数または複数のいずれであってもよい。また、表示部407は、結合実績データ項目と共に、分析対象データ項目と結合実績データ項目とを結合する命令を含むSQLの実行回数を表示してもよい。表示部407はさらに、分析対象データ項目と、データ分析者によって選択された結合実績データ項目とを結合するSQLを表示してもよい。 The display unit 407 displays the combined performance data item determined by the determination unit 406 to the data analyst. The combined result data item to be displayed to the data analyst may be either singular or plural. Further, the display unit 407 may display the number of executions of the SQL including the instruction for combining the analysis target data item and the combined actual data item together with the combined actual data item. The display unit 407 may further display an SQL that combines the data item to be analyzed and the combined performance data item selected by the data analyst.

2.分析支援システムの動作
図7、8を用いて、実施形態2の分析支援システム20の動作を説明する。
2. 2. Operation of Analysis Support System The operation of the analysis support system 20 of the second embodiment will be described with reference to FIGS. 7 and 8.

図7は、分析支援装置400の記憶部404にデータ項目の組み合わせ毎に実行回数を保存する動作を示している。図7のS401乃至S405は図2のS101乃至S105に対応しているため、詳しい説明は省略する。S406において、演算部403は、S405において抽出したSQL、例えば、車両の位置データと車輪速データとを結合する命令を含むSQLの実行回数を求める。S406にて求めた実行回数は、車両の位置データと車輪速データとを結合するSQLの実行回数であることを特定して保存される(S407)。
実施形態1と同様、位置データと車輪速データ以外のデータ項目を結合する命令を含むSQLの実行回数を求めて保存する場合には、S405-S407のステップを同様に実行する。したがって、記憶部404には、結合されるデータ項目の組み合わせ毎の実行回数が保存されることになる。
FIG. 7 shows an operation of storing the number of executions for each combination of data items in the storage unit 404 of the analysis support device 400. Since S401 to S405 in FIG. 7 correspond to S101 to S105 in FIG. 2, detailed description thereof will be omitted. In S406, the calculation unit 403 obtains the number of executions of the SQL extracted in S405, for example, the SQL including the instruction for combining the position data of the vehicle and the wheel speed data. The number of executions obtained in S406 is specified and stored as the number of executions of SQL that combines the position data of the vehicle and the wheel speed data (S407).
Similar to the first embodiment, when the number of executions of SQL including the instruction to combine the data items other than the position data and the wheel speed data is obtained and saved, the steps S405-S407 are executed in the same manner. Therefore, the storage unit 404 stores the number of executions for each combination of the data items to be combined.

図8は、記憶部404に保存された実行回数に基づいて、データ分析者に結合実績データ項目を表示する動作を示している。まず、データ分析者によって、入力部405に分析対象データ項目が入力される(S501)。次いで、決定部406は、記憶部404に保存された実行回数のうち、S501にて入力された分析対象データ項目と他のデータ項目とを結合するSQLの実行回数を抽出する(S502)。 FIG. 8 shows an operation of displaying the combined actual data item to the data analyst based on the number of executions stored in the storage unit 404. First, the data analyst inputs the data item to be analyzed into the input unit 405 (S501). Next, the determination unit 406 extracts the number of executions of SQL that combines the analysis target data item input in S501 with other data items from the number of executions stored in the storage unit 404 (S502).

図8に示す例では、決定部406は、分析対象データ項目と他のデータ項目とを結合するSQLの実行回数のうち、実行回数が高い上位5位のものを抽出する(S503)。そして、S503にて抽出した実行回数のSQLにおいて、分析対象データ項目と結合されたデータ項目を、結合実績データ項目としてデータ分析者に表示することを決定する(S504)。結合実績データ項目として決定されたデータ項目は、表示部407に表示される(S505)。なお、段落0067にて上述したとおり、データ分析者に表示される結合実績データ項目は実行回数に基づいて決定されていればよく、S503、S504における表示する結合実績データ項目の決定方法は、図8の例に限定されるものではない。 In the example shown in FIG. 8, the determination unit 406 extracts the top 5 execution times of the SQL that combines the analysis target data item and the other data items with the highest execution number (S503). Then, in the SQL of the number of executions extracted in S503, it is determined to display the data item combined with the analysis target data item to the data analyst as the combined actual data item (S504). The data item determined as the combined actual data item is displayed on the display unit 407 (S505). As described above in paragraph 0067, the combined actual data item displayed to the data analyst may be determined based on the number of executions, and the method for determining the combined actual data item to be displayed in S503 and S504 is shown in FIG. It is not limited to the example of 8.

さらに、データ分析者によって、表示部407に表示された結合実績データ項目の中から1以上の結合実績データ項目が選択される(S506)。そして、入力部において選択された結合実績データ項目が入力された場合、分析対象データ項目と、データ分析者によって選択された結合実績データ項目とを結合するSQLを表示部に表示する(S507)。 Further, the data analyst selects one or more combined actual data items from the combined actual data items displayed on the display unit 407 (S506). Then, when the combined result data item selected in the input unit is input, the SQL for combining the analysis target data item and the combined result data item selected by the data analyst is displayed on the display unit (S507).

以上のとおり、実施形態2によれば、データ分析者の分析対象データ項目と結合される頻度が高いデータ項目を、結合実績データ項目としてデータ分析者に表示することにより、データ分析者が、過去の実績に基づいて、分析対象データ項目が他のいかなるデータ項目と結合されていたかを知るのを補助し、データ分析を支援することが可能となる。 As described above, according to the second embodiment, the data analyst can display the data items that are frequently combined with the data items to be analyzed by the data analyst as the combined actual data items to the data analyst. Based on the actual results of, it is possible to assist in knowing what other data items are combined with the data item to be analyzed, and to support the data analysis.

なお、実施形態1の変形例2と同様、演算部403は、データベース装置300に対してSQLを発行したデータ分析者の情報に応じて、実行回数に重み付けをしてもよい。例えば、データの分析経験が豊富なデータ分析者によって発行されたSQLに対し、データの分析経験が未熟なデータ分析者によって発行されたSQLよりも重いウエイト量を設定して実行回数を算出する。その結果、有用な結合実績データ項目を表示することが可能となる。 As in the second modification of the first embodiment, the calculation unit 403 may weight the number of executions according to the information of the data analyst who issued the SQL to the database device 300. For example, the number of executions is calculated by setting a weight amount heavier than the SQL issued by a data analyst who has abundant data analysis experience for the SQL issued by a data analyst who has abundant data analysis experience. As a result, it is possible to display useful combined performance data items.

(変形例1)
上記実施形態2では、過去に分析対象データ項目と結合された頻度が高いデータ項目を結合実績データ項目としてデータ分析者に表示しているが、結合実績データ項目に代えて、あるいは、結合実績データ項目に加えて、分析対象データ項目と結合される頻度が高いデータ項目が保存されているデータベース内のテーブルをデータ分析者に表示してもよい。
(Modification 1)
In the second embodiment, the data item frequently combined with the data item to be analyzed in the past is displayed to the data analyst as the combined actual data item, but instead of the combined actual data item or the combined actual data. In addition to the items, the data analyst may be presented with a table in the database that stores the data items that are frequently combined with the data item to be analyzed.

本変形例1では、決定部406は、記憶部404に保存されたSQL1の実行回数に基づいて、過去に発行されたSQL1において分析対象データ項目と結合されたデータ項目が属するテーブルTを表示部407に表示するか否かを決定する。 In the present modification 1, the determination unit 406 displays a table T to which the data item combined with the analysis target data item in the previously issued SQL1 belongs based on the number of executions of the SQL1 stored in the storage unit 404. It is decided whether or not to display on 407.

なお、1つのテーブルに複数のデータ項目が保存されている場合には、分析対象データ項目と、テーブルに保存されたデータ項目それぞれとを結合するSQLの実行回数を合計するとともに、合計した実行回数に基づいて、テーブルを表示部407に表示するか否かを決定してもよい。 When a plurality of data items are stored in one table, the number of executions of the SQL that joins the data item to be analyzed and each of the data items stored in the table is totaled, and the total number of executions is performed. You may decide whether or not to display the table on the display unit 407 based on the above.

(変形例2)
実施形態2では、表示部407に結合実績データ項目を表示して、データ分析者によるデータ項目の選択を支援する構成を説明した。本変形例では、結合実績データ項目に加えて、あるいは、結合実績データ項目に代えて、それ以外の情報をデータ分析者に表示することにより、データ分析をより一層支援する構成を説明する。実施形態2と同様、図6を用いて本変形例を説明する。
(Modification 2)
In the second embodiment, a configuration is described in which the combined result data items are displayed on the display unit 407 to support the selection of the data items by the data analyst. In this modification, a configuration that further supports data analysis will be described by displaying other information to the data analyst in addition to the combined actual data item or in place of the combined actual data item. Similar to the second embodiment, the present modification will be described with reference to FIG.

解析部402は、取得部401で取得したログファイルに含まれる複数のSQLの構文解析を実行し、特定のデータ項目と共に使用される特定の「条件句」を含む単数若しくは複数のSQL(本発明の「第2の命令文」に相当)を抽出する。以下の説明では、データ項目として車両の位置データと、特定の条件句として論理和(OR)とを含むSQL1を抽出する場合を説明する。 The analysis unit 402 performs parsing of a plurality of SQLs included in the log file acquired by the acquisition unit 401, and a single or a plurality of SQLs including a specific "conditional clause" used together with a specific data item (the present invention). Corresponds to the "second statement" of). In the following description, a case where the SQL 1 including the vehicle position data as a data item and the logical sum (OR) as a specific conditional clause will be extracted will be described.

ここで、本発明の「条件句」とは、命令文において条件を指定するために使用されるものであり、論理演算子(例えば、論理和(OR)、論理積(AND)、否定(NOT)等)や比較演算子(例えば、等号(=)、不等号(<,>)等)はもちろん、これらの論理演算子や比較演算子と共に使用される条件や集合も含まれる。 Here, the "conditional clause" of the present invention is used to specify a condition in a statement, and is a logical operator (for example, logical sum (OR), logical product (AND), negation (NOT). ) Etc.) and comparison operators (eg, equality (=), inequality (<,>), etc.), as well as conditions and sets used with these logical and comparison operators.

演算部403は、解析部402で抽出されたSQL1の実行回数(本発明の「第2の実行頻度」に相当)を求める。実施形態2と同様、記憶部404に、既にSQL1の実行回数が保存されている場合には、取得部401で新たに取得され、解析部402で抽出されたSQL1の実行回数と、記憶部404に既に保存されているSQL1の実行回数とを演算することにより、実行回数を求める。 The calculation unit 403 obtains the number of executions of the SQL1 extracted by the analysis unit 402 (corresponding to the "second execution frequency" of the present invention). Similar to the second embodiment, when the number of executions of SQL1 is already stored in the storage unit 404, the number of executions of SQL1 newly acquired by the acquisition unit 401 and extracted by the analysis unit 402 and the number of executions of SQL1 and the storage unit 404 The number of executions is obtained by calculating the number of executions of SQL1 already stored in.

記憶部404は、演算部403で求めたSQL1の実行回数を保存する。この実行回数は、車両の位置データと論理和(OR)とを含むSQLの実行回数であることを特定して保存される。 The storage unit 404 stores the number of executions of SQL1 obtained by the calculation unit 403. The number of executions is specified and stored as the number of executions of SQL including the position data of the vehicle and the logical sum (OR).

決定部406は、記憶部404に保存されたSQL1の実行回数に基づいて、過去に発行されたSQLにおいて分析対象データ項目と共に使用された条件句、例えば、論理和の条件句をデータ分析者に表示するか否かを決定する。具体的には、決定部406は、記憶部404に保存された実行回数のうち、条件句による条件の下で分析対象データ項目と他のデータ項目とを結合するSQLの実行回数を抽出し、その中から実行回数が高いSQLにおいて使用される条件句を表示部407に表示することを決定する。実施形態2と同様、実行回数と回数閾値とを比較し、比較結果に基づいて、条件句をデータ分析者に表示することを決定してもよい。 Based on the number of executions of SQL1 stored in the storage unit 404, the determination unit 406 informs the data analyst of the conditional clause used together with the analysis target data item in the previously issued SQL, for example, the conditional clause of the logical sum. Decide whether to display. Specifically, the determination unit 406 extracts the number of executions of SQL that combines the data item to be analyzed and other data items under the condition of the conditional clause from the number of executions stored in the storage unit 404. It is determined that the conditional clause used in the SQL with a high number of executions is displayed on the display unit 407. As in the second embodiment, the number of executions and the number-of-times threshold value may be compared, and it may be decided to display the conditional clause to the data analyst based on the comparison result.

表示部407は、決定部406において決定された条件句を表示する。入力部405には、表示部407に表示される条件句のうち、データ分析者によって選択された条件句が入力される。そして、入力部405に、選択された条件句が入力された場合、表示部407はさらに、分析対象データ項目と、データ分析者によって選択された条件句とを含むSQLを表示する。 The display unit 407 displays the conditional phrase determined by the determination unit 406. Among the conditional phrases displayed on the display unit 407, the conditional phrase selected by the data analyst is input to the input unit 405. Then, when the selected conditional phrase is input to the input unit 405, the display unit 407 further displays the SQL including the analysis target data item and the conditional phrase selected by the data analyst.

図9は、データ分析者によって分析対象データ項目が入力され、さらに、結合実績テーブル、結合実績データ項目、及び条件句が表示された画面の一例を示している。
図9の例では、データ分析者は、分析対象データ項目として「データ列C_1」を入力している。その結果、「データ列C_1」と結合される頻度が高いデータ項目が保存されたテーブルとして、「テーブルA」「テーブルM」「テーブルJ」が表示され、「データ列C_1」と結合される頻度が高いデータ項目として、「データ列A_1」「データ列A_9」「データ列M_6」が表示されている。さらに、「データ列C_1」と共に使用される頻度が高い条件句として、「内部」「左外部」「完全外部」が表示され、データを集約する条件句として、データ収集の「時期(Month)」や「地域(Area)」が表示されている。なお、各項目の右側の棒グラフは、各項目の実行頻度を示している。例えば、集約条件句として、データ収集の「時期」は「地域」の約2倍の頻度で使用されていることを示している。
FIG. 9 shows an example of a screen in which the data item to be analyzed is input by the data analyst, and the join result table, the join result data item, and the condition clause are displayed.
In the example of FIG. 9, the data analyst inputs "data column C_1" as the data item to be analyzed. As a result, "Table A", "Table M", and "Table J" are displayed as a table in which data items that are frequently combined with "data column C_1" are stored, and the frequency of connection with "data column C_1" is displayed. "Data column A_1", "data column A_9", and "data column M_6" are displayed as data items with a high value. Furthermore, "inside", "left outside", and "completely outside" are displayed as conditional phrases that are frequently used together with "data column C_1", and "Month" of data collection is displayed as a conditional phrase for aggregating data. And "Area" are displayed. The bar graph on the right side of each item shows the execution frequency of each item. For example, as an aggregation condition clause, it indicates that the "time" of data collection is used about twice as often as the "region".

なお、図9に示す条件句のうち、「内部(INNER JOIN)」とは、積集合のことであり、SQLにおいて先に記載したテーブル名をL、後に記載したテーブル名をRとすると、L∩Rである。「両テーブルで識別子と時刻が同じである」といった結合条件に基づき両テーブルの行同士を結合したものを出力する。結合条件を適用した結果、テーブルR側に結合対象行がなかったテーブルLの行と、テーブルL側に結合対象行がなかったテーブルRの行は出力されない。
「左外部(LEFT OUTER JOIN)」とは、差集合L-Rに積集合L∩Rを加えたものである。積集合に加えて、結合条件を適用した結果、結合対象行がなかったテーブルLの行もテーブルRの行と結合しない形で出力される。
また、「完全外部(FULL OUTER JOIN)」とは、和集合L∪Rである。結合条件に合致した両テーブルの行は結合された条件で出力され、加えて結合条件に合致しなかったテーブルLおよびテーブルRの行も他方と結合しない形で出力される。
当然のことながら、条件句は、これらの例に限定されるものではない。
In the conditional clause shown in FIG. 9, "INNER JOIN" is an intersection, and if the table name described earlier is L and the table name described later is R in SQL, it is L. ∩R. Outputs the join of the rows of both tables based on the join condition such as "the identifier and time are the same in both tables". As a result of applying the join condition, the row of table L that has no row to be joined on the table R side and the row of table R that has no row to be joined on the table L side are not output.
The "LEFT OUTER JOIN" is the difference set LR plus the intersection L∩R. As a result of applying the join condition in addition to the intersection, the row of table L that has no row to be joined is also output in a form that is not joined with the row of table R.
Further, "FULL OUTER JOIN" is a union L∪R. The rows of both tables that match the join condition are output under the joined condition, and the rows of table L and table R that do not meet the join condition are also output in a form that does not join the other.
Naturally, the conditional clause is not limited to these examples.

データ分析者は、図9に示す画面に表示された結合実績テーブル、結合実績データ項目、及び条件句から、データ分析に使用する項目をそれぞれ選択する。図10は、データ分析者が、図9に示す画面を用いて、データ分析に使用する項目を選択した後の画面を示す一例である。図10では、結合実績テーブルから「テーブルA」、結合実績データ項目から「A_1」「A_9」、条件句として「地域(Area)」が選択されており、これらを全て含むSQLが画面下部に表示されている。 The data analyst selects an item to be used for data analysis from the join record table, the join record data item, and the conditional clause displayed on the screen shown in FIG. FIG. 10 is an example showing a screen after a data analyst selects an item to be used for data analysis using the screen shown in FIG. In FIG. 10, "Table A" is selected from the join record table, "A_1" and "A_9" are selected from the join record data items, and "Area" is selected as the conditional phrase, and the SQL including all of these is displayed at the bottom of the screen. Has been done.

以上の変形例1、2によれば、データ分析者の分析対象データ項目と結合される頻度が高いテーブルや条件句をデータ分析者に表示することにより、データ分析者は、過去の実績に基づいて、分析対象データ項目が他のいかなるテーブルや条件句と結合されていたかを知るのを補助し、データ分析を支援することが可能となる。 According to the above modifications 1 and 2, by displaying to the data analyst a table or a conditional clause that is frequently combined with the data item to be analyzed by the data analyst, the data analyst is based on the past performance. It is possible to assist in knowing what other tables and condition clauses the data item to be analyzed was combined with, and to support data analysis.

本実施形態2による分析支援装置の発明の部分は、以下の通りである。
(発明1)
データを保存するデータベース装置に対して発行された複数の命令文の分析を行う分析支援装置(400)であって、
前記データベース装置から、前記複数の命令文を取得する取得部(401)と、
構文解析により、前記複数の命令文のうち第1のデータ項目と第2のデータ項目とを結合する命令を含む第1の命令文を抽出する解析部(402)と、
前記第1の命令文の第1の実行頻度を求める演算部(403)と、
当該分析支援装置を使用するユーザにより前記第1のデータ項目が入力される入力部(405)と、
前記第1の実行頻度に基づいて、前記第2のデータ項目を表示することを決定する決定部(406)と、
前記第2のデータ項目を表示する表示部(407)と、
を備える、分析支援装置(400)。
(発明2)
前記決定部は、前記第2のデータ項目が属するテーブルを表示することを決定し、
前記表示部は、前記テーブルを表示する、
発明1記載の分析支援装置。
(発明3)
前記解析部はさらに、前記複数の命令文のうち、前記第1のデータ項目と条件句を含む第2の命令文を抽出し、
前記演算部は、前記第2の命令文の第2の実行頻度を求め、
前記決定部は、前記第2の実行頻度に基づいて、前記条件句を表示することを決定し、
前記表示部は、前記条件句を表示する、
発明1記載の分析支援装置。
(発明4)
前記表示部に表示されるとともに前記ユーザにより選択された前記第2のデータ項目が入力される第2の入力部(405)をさらに備え、
前記第2の入力部に前記第2のデータ項目が入力された場合、前記表示部は前記第1の命令文を表示する、
発明1記載の分析支援装置。
(発明5)
前記表示部に表示されるとともに前記ユーザにより選択された前記条件句が入力される第2の入力部(405)をさらに備え、
前記第2の入力部に前記条件句が入力された場合、前記表示部は前記第2の命令文を表示する、
発明3の分析支援装置。
(発明6)
データを保存するデータベース装置に対して発行された複数の命令文の分析を行う分析プログラムであって、
前記データベース装置から、前記複数の命令文を取得するステップと、
構文解析により、前記複数の命令文のうち第1のデータ項目と第2のデータ項目とを結合する命令を含む第1の命令文を抽出するステップと、
前記第1の命令文の第1の実行頻度を求めるステップと、
当該分析支援装置を使用するユーザにより前記第1のデータ項目が入力されるステップと、
前記第1の実行頻度に基づいて、前記第2のデータ項目を表示することを決定するステップと、
前記第2のデータ項目を表示するステップと、
を含む、分析支援プログラム。
The part of the invention of the analysis support device according to the second embodiment is as follows.
(Invention 1)
An analysis support device (400) that analyzes a plurality of instructions issued to a database device that stores data.
An acquisition unit (401) that acquires the plurality of instruction statements from the database device, and
An analysis unit (402) that extracts a first instruction statement including an instruction for combining a first data item and a second data item among the plurality of instruction statements by parsing.
The arithmetic unit (403) for obtaining the first execution frequency of the first instruction statement, and
An input unit (405) into which the first data item is input by a user who uses the analysis support device, and
A determination unit (406) that determines to display the second data item based on the first execution frequency.
A display unit (407) that displays the second data item, and
An analysis support device (400).
(Invention 2)
The determination unit determines to display the table to which the second data item belongs.
The display unit displays the table.
The analysis support device according to the invention 1.
(Invention 3)
The analysis unit further extracts a second instruction statement including the first data item and a conditional clause from the plurality of instruction statements.
The arithmetic unit obtains the second execution frequency of the second instruction statement, and obtains the second execution frequency.
The determination unit determines to display the conditional clause based on the second execution frequency.
The display unit displays the conditional phrase.
The analysis support device according to the invention 1.
(Invention 4)
A second input unit (405) is further provided, which is displayed on the display unit and into which the second data item selected by the user is input.
When the second data item is input to the second input unit, the display unit displays the first instruction statement.
The analysis support device according to the invention 1.
(Invention 5)
Further, a second input unit (405) displayed on the display unit and input with the conditional phrase selected by the user is provided.
When the conditional phrase is input to the second input unit, the display unit displays the second command statement.
The analysis support device of the invention 3.
(Invention 6)
An analysis program that analyzes multiple statements issued to a database device that stores data.
A step of acquiring the plurality of statements from the database device, and
A step of extracting a first instruction statement including an instruction for combining a first data item and a second data item among the plurality of instruction statements by parsing, and a step of extracting the first instruction statement.
The step of obtaining the first execution frequency of the first statement and
The step in which the first data item is input by the user who uses the analysis support device, and
A step of determining to display the second data item based on the first execution frequency, and
The step of displaying the second data item and
Analysis support program, including.

(総括)
以上、本発明の各実施形態における結合データ生成システム、分析支援装置の特徴について説明した。
(Summary)
The features of the combined data generation system and the analysis support device in each embodiment of the present invention have been described above.

上記実施形態で使用した用語は例示であるので、同義の用語、あるいは同義の機能を含む用語に置き換えてもよい。 Since the terms used in the above embodiments are examples, they may be replaced with synonymous terms or terms including synonymous functions.

実施形態の説明に用いたブロック図は、装置等の構成を機能毎に分類及び整理したものである。これらの機能ブロックは、ハードウェア又はソフトウェアの任意の組み合わせで実現される。また、機能を示したものであることから、かかるブロック図は方法の発明、及び当該方法を実現するプログラムの発明の開示としても把握できるものである。 The block diagram used in the description of the embodiment is a classification and arrangement of the configurations of the devices and the like for each function. These functional blocks are realized by any combination of hardware or software. Further, since the block diagram shows the function, the block diagram can be grasped as the disclosure of the invention of the method and the invention of the program that realizes the method.

なお、本発明の結合データ生成方法は、製造方法の発明であるため、結合データの生成方法についてはもちろん、当該方法によって生成された結合データに対しても権利範囲が及ぶことに留意されたい。 It should be noted that since the combined data generation method of the present invention is an invention of the manufacturing method, the scope of rights extends not only to the combined data generation method but also to the combined data generated by the method.

各実施形態に記載した処理、フロー、及び方法として把握できる機能ブロックについては、一のステップで他のステップの結果を利用する関係にある等の制約がない限り、順序を入れ替えても良い。 The order of the functional blocks that can be grasped as the processes, flows, and methods described in each embodiment may be changed as long as there are no restrictions such as using the results of other steps in one step.

各実施形態、及び本発明で使用する「第1」「第2」の用語は、同種の2以上の構成や方法を区別するために使用しており、順序や優劣を限定するものではない。 The terms "first" and "second" used in each embodiment and the present invention are used to distinguish two or more configurations and methods of the same type, and do not limit the order or superiority or inferiority.

本発明は、各実施形態で説明した構成及び機能を有する専用のハードウェアで実現できるだけでなく、メモリやハードディスク等の記憶媒体に記憶した本発明を実現するためのプログラム、及びこれを実行可能な専用又は汎用CPU及びメモリ等を有する汎用のハードウェアとの組み合わせとしても実現できる。 The present invention can be realized not only by the dedicated hardware having the configuration and the function described in each embodiment, but also a program for realizing the present invention stored in a storage medium such as a memory or a hard disk, and an executable program thereof. It can also be realized as a combination with a dedicated or general-purpose hardware having a general-purpose CPU and a memory.

専用や汎用のハードウェアの記憶媒体(外部記憶装置(ハードディスク、USBメモリ、CD/BD等)、内部記憶装置(RAM、ROM等))に格納されるプログラムは、記憶媒体を介して、あるいは記憶媒体を介さずにサーバから通信回線を経由して、専用又は汎用のハードウェアに提供することもできる。これにより、プログラムのアップグレードを通じて常に最新の機能を提供することができる。 Programs stored in dedicated or general-purpose hardware storage media (external storage devices (hard disks, USB memory, CD / BD, etc.), internal storage devices (RAM, ROM, etc.)) can be stored via the storage medium or stored. It can also be provided to dedicated or general-purpose hardware from the server via a communication line without going through a medium. This ensures that you always have the latest features through program upgrades.

本明細書においては、主として自動車に関するデータの結合データ生成システム及び分析支援装置を説明したが、任意のデータを結合するシステム及び分析支援装置に適用することが可能である。 Although the present specification has mainly described a data combination data generation system and an analysis support device for automobiles, it can be applied to a system and an analysis support device for combining arbitrary data.

10 結合データ生成システム、100 分析支援装置、200 データ収集装置、300 データベース装置、101 取得部、102 解析部、103 演算部、104 記憶部、105 生成部、106 出力部、107 メッセージ生成部、108 表示部、109 ユーザ指示取得部、201 データ受信部、301 データベース 10 Combined data generation system, 100 analysis support device, 200 data collection device, 300 database device, 101 acquisition unit, 102 analysis unit, 103 calculation unit, 104 storage unit, 105 generation unit, 106 output unit, 107 message generation unit, 108 Display unit, 109 user instruction acquisition unit, 201 data receiver unit, 301 database

Claims (8)

データを保存するデータベース装置(200,300)に対して発行された複数の命令文の分析を行う分析支援装置(100)であって、
前記データベース装置から、前記複数の命令文、及び前記複数の命令文のそれぞれに対応する実行負荷を示す負荷情報を取得する取得部(101)と、
構文解析により、前記複数の命令文のうち第1のデータ項目と第2のデータ項目とを結合する命令を含む第1の命令文を抽出する解析部(102)と、
前記第1の命令文に対応する前記実行負荷を集計した集計負荷を求める演算部(103)と、
前記集計負荷に基づいて、前記第1のデータ項目と前記第2のデータ項目とを結合する第2の命令文を生成する生成部(105)と、
前記第2の命令文を前記データベース装置に出力する出力部(106)と、
を有する、分析支援装置(100)。
An analysis support device (100) that analyzes a plurality of instructions issued to a database device (200, 300) that stores data.
An acquisition unit (101) for acquiring load information indicating an execution load corresponding to each of the plurality of instruction statements and the plurality of instruction statements from the database device.
An analysis unit (102) that extracts a first instruction statement including an instruction for combining a first data item and a second data item among the plurality of instruction statements by parsing.
An arithmetic unit (103) for obtaining an aggregated load that aggregates the execution load corresponding to the first instruction statement, and
A generation unit (105) that generates a second instruction statement that combines the first data item and the second data item based on the aggregation load.
An output unit (106) that outputs the second instruction statement to the database device, and
Analysis support device (100).
負荷閾値を記憶する記憶部(104)をさらに備え、
前記生成部は、前記集計負荷と前記負荷閾値とを比較し、前記集計負荷が前記負荷閾値よりも高い場合に、前記第2の命令文を生成する、
請求項1記載の分析支援装置。
Further equipped with a storage unit (104) for storing the load threshold value,
The generation unit compares the aggregated load with the load threshold value, and generates the second instruction statement when the aggregated load is higher than the load threshold value.
The analysis support device according to claim 1.
前記集計負荷に基づいて、当該分析支援装置のユーザに対して、前記第1のデータ項目と前記第2のデータ項目とを結合した結合データを前記データベース装置に保存することを推奨するメッセージを生成して表示するメッセージ制御部(107,108)と、
前記ユーザによる、前記結合データを前記データベース装置に保存する指示を取得するユーザ指示取得部(109)と、
を備え、
前記生成部は、前記指示を取得した場合に、前記第2の命令文を生成する、
請求項1記載の分析支援装置。
Based on the aggregation load, a message is generated recommending that the user of the analysis support device save the combined data obtained by combining the first data item and the second data item in the database device. Message control unit (107, 108) to be displayed
A user instruction acquisition unit (109) for acquiring an instruction for storing the combined data in the database device by the user, and a user instruction acquisition unit (109).
Equipped with
When the generation unit obtains the instruction, the generation unit generates the second instruction statement.
The analysis support device according to claim 1.
前記取得部はさらに、前記データベース装置に対して前記複数の命令文のそれぞれを発行したユーザの情報を取得し、
前記演算部は、前記ユーザの情報に応じて前記実行負荷に重み付けをして前記集計負荷を求める、
請求項1記載の分析支援装置。
The acquisition unit further acquires the information of the user who issued each of the plurality of instruction statements to the database device.
The calculation unit weights the execution load according to the user's information to obtain the total load.
The analysis support device according to claim 1.
前記生成部はさらに、前記第1のデータ項目と前記第2のデータ項目とを結合した結合データを保存する結合テーブルを生成する第3の命令文を生成し、
前記出力部は、前記第3の命令文を前記データベース装置に出力する、
請求項1記載の分析支援装置。
The generator further generates a third statement that generates a join table that stores the join data that joins the first data item and the second data item.
The output unit outputs the third instruction statement to the database device.
The analysis support device according to claim 1.
データを保存するデータベース装置に対して発行された複数の命令文の分析を行う分析支援プログラムであって、
前記データベース装置から、前記複数の命令文、及び前記複数の命令文のそれぞれに対応する実行負荷を示す負荷情報を取得するステップと、
構文解析により、前記複数の命令文のうち第1のデータ項目と第2のデータ項目とを結合する命令を含む第1の命令文を抽出するステップと、
前記第1の命令文に対応する前記実行負荷を集計した集計負荷を求めるステップと、
前記集計負荷に基づいて、前記第1のデータ項目と前記第2のデータ項目とを結合する第2の命令文を生成するステップと、
前記第2の命令文を前記データベース装置に出力するステップと、
を含む、分析支援プログラム。
An analysis support program that analyzes multiple statements issued to a database device that stores data.
A step of acquiring load information indicating an execution load corresponding to each of the plurality of instruction statements and the plurality of instruction statements from the database device, and
A step of extracting a first instruction statement including an instruction for combining a first data item and a second data item among the plurality of instruction statements by parsing, and a step of extracting the first instruction statement.
A step of obtaining an aggregated load by aggregating the execution load corresponding to the first statement, and a step of obtaining the aggregated load.
A step of generating a second statement that combines the first data item and the second data item based on the aggregation load, and
The step of outputting the second instruction statement to the database device, and
Analysis support program, including.
データを保存するデータベース装置(200,300)と、前記データベース装置に対して発行された複数の命令文の分析を行う分析支援装置(100)と、を有する結合データ生成システム(10)であって、
前記分析支援装置は、
前記データベース装置から、前記複数の命令文、及び前記複数の命令文のそれぞれに対応する実行負荷を示す負荷情報を取得する取得部(101)と、
構文解析により、前記複数の命令文のうち第1のデータ項目と第2のデータ項目とを結合する命令を含む第1の命令文を抽出する解析部(102)と、
前記第1の命令文に対応する前記実行負荷を集計した集計負荷を求める演算部(103)と、
前記集計負荷に基づいて、前記第1のデータ項目と前記第2のデータ項目とを結合する第2の命令文を生成する生成部(105)と、
前記第2の命令文を前記データベース装置に出力する出力部(106)と、
を有し、
前記データベース装置(200,300)は、
前記データを受信する受信部(201)と、
前記第2の命令文に基づいて、前記データのうち、前記第1のデータ項目に該当する第1のデータ、及び前記第2のデータ項目に該当する第2のデータを結合した結合データを保存する保存部(301)と、
を有する、結合データ生成システム(10)。
A combined data generation system (10) having a database device (200, 300) for storing data and an analysis support device (100) for analyzing a plurality of instructions issued to the database device. ,
The analysis support device is
An acquisition unit (101) for acquiring load information indicating an execution load corresponding to each of the plurality of instruction statements and the plurality of instruction statements from the database device.
An analysis unit (102) that extracts a first instruction statement including an instruction for combining a first data item and a second data item among the plurality of instruction statements by parsing.
An arithmetic unit (103) for obtaining an aggregated load that aggregates the execution load corresponding to the first instruction statement, and
A generation unit (105) that generates a second instruction statement that combines the first data item and the second data item based on the aggregation load.
An output unit (106) that outputs the second instruction statement to the database device, and
Have,
The database device (200,300) is
The receiving unit (201) that receives the data and
Based on the second instruction statement, among the data, the first data corresponding to the first data item and the combined data corresponding to the second data item are combined to store the combined data. Preservation unit (301) and
Combined data generation system (10).
データを保存するデータベース装置(200,300)と、前記データベース装置に対して発行された複数の命令文の分析を行う分析支援装置(100)と、を有する結合データ生成システムで実行される結合データ生成方法(10)であって、
前記分析支援装置において、
前記データベース装置から、前記複数の命令文、及び前記複数の命令文のそれぞれに対応する実行負荷を示す負荷情報を取得するステップと、
構文解析により、前記複数の命令文のうち第1のデータ項目と第2のデータ項目とを結合する命令を含む第1の命令文を抽出するステップと、
前記第1の命令文に対応する前記実行負荷を集計した集計負荷を求めるステップと、
前記集計負荷に基づいて、前記第1のデータ項目と前記第2のデータ項目とを結合する第2の命令文を生成するステップと、
前記第2の命令文を前記データベース装置に出力するステップと、
前記データベース装置において、
前記データを受信するステップと、
前記第2の命令文に基づいて、前記データのうち、前記第1のデータ項目に該当する第1のデータ、及び前記第2のデータ項目に該当する第2のデータを結合した結合データを保存するステップと、
を含む、結合データ生成方法。
Combined data executed in a combined data generation system having a database device (200, 300) for storing data and an analysis support device (100) for analyzing a plurality of instructions issued to the database device. The generation method (10)
In the analysis support device
A step of acquiring load information indicating an execution load corresponding to each of the plurality of instruction statements and the plurality of instruction statements from the database device, and
A step of extracting a first instruction statement including an instruction for combining a first data item and a second data item among the plurality of instruction statements by parsing, and a step of extracting the first instruction statement.
A step of obtaining an aggregated load by aggregating the execution load corresponding to the first statement, and a step of obtaining the aggregated load.
A step of generating a second statement that combines the first data item and the second data item based on the aggregation load, and
The step of outputting the second instruction statement to the database device, and
In the database device
The step of receiving the data and
Based on the second instruction statement, among the data, the first data corresponding to the first data item and the combined data corresponding to the second data item are combined to store the combined data. Steps to do and
Combined data generation methods, including.
JP2018191881A 2018-10-10 2018-10-10 Analysis support device and combined data generation system Expired - Fee Related JP7070310B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018191881A JP7070310B2 (en) 2018-10-10 2018-10-10 Analysis support device and combined data generation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018191881A JP7070310B2 (en) 2018-10-10 2018-10-10 Analysis support device and combined data generation system

Publications (2)

Publication Number Publication Date
JP2020060953A JP2020060953A (en) 2020-04-16
JP7070310B2 true JP7070310B2 (en) 2022-05-18

Family

ID=70219960

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018191881A Expired - Fee Related JP7070310B2 (en) 2018-10-10 2018-10-10 Analysis support device and combined data generation system

Country Status (1)

Country Link
JP (1) JP7070310B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004272747A (en) 2003-03-11 2004-09-30 Hitachi Information Systems Ltd Database data acquisition method and acquisition system
JP2007066017A (en) 2005-08-31 2007-03-15 Internatl Business Mach Corp <Ibm> System and method for controlling access to database
WO2015025386A1 (en) 2013-08-21 2015-02-26 株式会社日立製作所 Data processing system, data processing method, and data processing device
JP2016162016A (en) 2015-02-27 2016-09-05 富士通株式会社 Management information acquisition program, management information acquisition method, and management information acquisition device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0916617A (en) * 1995-06-30 1997-01-17 Omron Corp Database tuning support method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004272747A (en) 2003-03-11 2004-09-30 Hitachi Information Systems Ltd Database data acquisition method and acquisition system
JP2007066017A (en) 2005-08-31 2007-03-15 Internatl Business Mach Corp <Ibm> System and method for controlling access to database
WO2015025386A1 (en) 2013-08-21 2015-02-26 株式会社日立製作所 Data processing system, data processing method, and data processing device
JP2016162016A (en) 2015-02-27 2016-09-05 富士通株式会社 Management information acquisition program, management information acquisition method, and management information acquisition device

Also Published As

Publication number Publication date
JP2020060953A (en) 2020-04-16

Similar Documents

Publication Publication Date Title
US20220365928A1 (en) Processing data from multiple sources
McManus et al. The changing nature of life cycle assessment
US9811557B2 (en) Optimizing query statements in relational databases
US20180004810A1 (en) Splitting of a join operation to allow parallelization
US9087094B2 (en) Processing records in dynamic ranges
WO2018153210A1 (en) Method, device and database system for use in automatically creating indexes
CN118467569B (en) Data analysis query method based on MDX engine
US20100077382A1 (en) Computer-readable recording medium string a bug detection support program, similar structure identification information list output program, bug detection support apparatus, and bug detection support method
US20160357844A1 (en) Database apparatus, search apparatus, method of constructing partial graph, and search method
JP7070310B2 (en) Analysis support device and combined data generation system
US20140303933A1 (en) Optimizing analytic flows
JPWO2011018828A1 (en) Program creation apparatus and program creation method
US20070106671A1 (en) Computer-readable recording medium storing data collection program and data collection apparatus
JP5584917B2 (en) Data analysis system and data analysis method
CN114510499A (en) Execution efficiency optimization method and device for database operation statements
JP2024504322A (en) Combining JavaScript Object Notation (JASON) queries across cloud resources
CN111124372A (en) Design method and system for front end and back end of simplified development chart
CN105302867A (en) Search engine check method and apparatus
Becher et al. In situ statistics generation within partially reconfigurable hardware accelerators for query processing
JP2008084028A (en) Database search system and database search method
JP3826602B2 (en) System operation management device
JP6048500B2 (en) Information processing apparatus, information processing method, information processing program, and recording medium
US20130262433A1 (en) Filtering a Distributed Join
CN110083624B (en) Stream data processing method, stream data processing apparatus, and computer medium
Golfarelli et al. A cost model for spark sql

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210413

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220307

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220405

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220418

R151 Written notification of patent or utility model registration

Ref document number: 7070310

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees