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
JP7653766B2 - Table correction device and table correction program - Google Patents
[go: Go Back, main page]

JP7653766B2 - Table correction device and table correction program - Google Patents

Table correction device and table correction program Download PDF

Info

Publication number
JP7653766B2
JP7653766B2 JP2020052714A JP2020052714A JP7653766B2 JP 7653766 B2 JP7653766 B2 JP 7653766B2 JP 2020052714 A JP2020052714 A JP 2020052714A JP 2020052714 A JP2020052714 A JP 2020052714A JP 7653766 B2 JP7653766 B2 JP 7653766B2
Authority
JP
Japan
Prior art keywords
block
column
temporary
blocks
modification
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.)
Active
Application number
JP2020052714A
Other languages
Japanese (ja)
Other versions
JP2021152732A (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.)
Mitsubishi Electric Information Network Corp
Original Assignee
Mitsubishi Electric Information Network 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 Mitsubishi Electric Information Network Corp filed Critical Mitsubishi Electric Information Network Corp
Priority to JP2020052714A priority Critical patent/JP7653766B2/en
Publication of JP2021152732A publication Critical patent/JP2021152732A/en
Application granted granted Critical
Publication of JP7653766B2 publication Critical patent/JP7653766B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本開示は、列指向型データベースのデータ構造を持つテーブルを修正するテーブル修正装置に関する。 This disclosure relates to a table modification device that modifies a table having a column-oriented database data structure.

ビッグデータを扱う分野及びAI(Artificial Intelligence)分野では、大量のデータを効率的かつ高速に取り扱うことが要求されている。このような大量のデータの集計及び分析に特化したデータベースアーキテクチャとして、列指向型データベースがある。列指向型データベースは、テーブルに登録する複数レコードを列単位にまとめてデータベースに格納する。このため、集計及び分析など、特定の列データを読み出す処理は、効率よく高速にアクセスできる。 In fields dealing with big data and artificial intelligence (AI), there is a demand for efficient and fast handling of large volumes of data. A column-oriented database is a database architecture specialized for the aggregation and analysis of such large volumes of data. In a column-oriented database, multiple records to be registered in a table are stored in the database in columns. This allows efficient and fast access to processes that read specific column data, such as aggregation and analysis.

列指向型データベースの従来技術として、複数レコードを列単位に分割してまとめたブロックを1つのグループに編成して管理する方法がある(例えば、特許文献1)。
しかし、この従来技術によってテーブルに列の追加あるいは列の削除のような修正を行う場合、現在のテーブルから必要な列データを作業用テーブルに再登録する必要があり、処理時間がかかるという課題がある。
A conventional column-oriented database technology includes a method of dividing a plurality of records into columns, organizing the resulting blocks into one group, and managing the blocks (see, for example, Japanese Patent Laid-Open No. 2003-233663).
However, when making modifications such as adding or deleting columns to a table using this conventional technology, the necessary column data from the current table must be re-registered in the working table, which poses a problem of long processing time.

特開平11-154155号公報Japanese Patent Application Publication No. 11-154155

本開示は、列指向型データベースのデータ構造を持つテーブルの修正を迅速に実施できるテーブル修正装置の提供を目的とする。 The present disclosure aims to provide a table modification device that can quickly modify tables that have a column-oriented database data structure.

本開示に係るテーブル修正装置は、
複数の列と複数の行と有し、列と行との交差で形成されるセルにセルデータが登録されており、列指向型データベースのデータ構造によって、列を同じくする1以上のセルデータがブロック化された1以上のブロックの状態で格納されている第1テーブルについて、修正を指示する修正指示情報を受信する受信部と、
前記修正指示情報の指示する前記修正が反映された修正後の前記第1テーブルである第2テーブルの生成の元になるテーブルであって、前記列指向型データベースの前記データ構造を有するテーブルである一時テーブルを生成する一時テーブル生成部と、
1以上のブロックの状態で格納されている前記第1テーブルの前記ブロックのうち、前記一時テーブルに登録するべき前記ブロックを前記修正指示情報に基づいて決定し、決定した前記ブロックを前記一時テーブルに登録するブロック登録部
とを備える。
The table correction device according to the present disclosure is
a receiving unit that receives correction instruction information instructing a correction to a first table having a plurality of columns and a plurality of rows, with cell data registered in cells formed at the intersections of the columns and the rows, and in which one or more cell data in the same column are blocked and stored in one or more blocks according to a data structure of a column-oriented database;
a temporary table generating unit that generates a temporary table that is a base for generating a second table, which is the first table after the modification instructed by the modification instruction information is reflected, and that is a table having the data structure of the column-oriented database;
and a block registration unit which determines, from among the blocks of the first table stored in one or more blocks, the blocks to be registered in the temporary table based on the modification instruction information, and registers the determined blocks in the temporary table.

前記修正指示情報は、
前記修正として、前記第1テーブルへの列の追加を指示しており、
前記ブロック登録部は、
前記一時テーブルに、データが未登録のセルを示す1以上の未登録フィールドからなる未登録ブロックを生成する。
The correction instruction information is
The modification indicates the addition of a column to the first table;
The block registration unit
An unregistered block is generated in the temporary table, the unregistered block being made up of one or more unregistered fields indicating cells whose data are unregistered.

前記修正指示情報は、
前記修正として、前記第1テーブルから削除するべき列を指示しており、
前記ブロック登録部は、
前記修正指示情報で指示されている前記列に含まれる前記ブロックを決定し、決定した前記ブロックを前記一時テーブルへの登録から除外する。
The correction instruction information is
The modification indicates a column to be deleted from the first table;
The block registration unit
The blocks included in the column designated by the modification instruction information are determined, and the determined blocks are excluded from registration in the temporary table.

前記修正指示情報は、
前記修正として、属性を変更するべき前記第1テーブルの列と、変更するべき前記属性とを指示しており、
前記ブロック登録部は、
前記修正指示情報によって前記属性の変更が指示されている前記列に属する前記ブロックを決定し、決定した前記ブロックを登録するべき前記一時テーブルの領域の属性を、前記修正指示情報の指示する前記属性に設定する。
The correction instruction information is
the modification indicates a column of the first table whose attribute is to be changed and the attribute to be changed;
The block registration unit
The block belonging to the column for which the attribute change is instructed by the modification instruction information is determined, and the attribute of the area of the temporary table in which the determined block should be registered is set to the attribute instructed by the modification instruction information.

本開示に係るテーブル修正プログラムは、
コンピュータに、
複数の列と複数の行と有し、列と行との交差で形成されるセルにセルデータが登録されており、列指向型データベースのデータ構造によって、列を同じくする1以上のセルデータがブロック化された1以上のブロックの状態で格納されている第1テーブルについて、修正を指示する修正指示情報を受信する受信処理と、
前記修正指示情報の指示する前記修正が反映された修正後の前記第1テーブルである第2テーブルの生成の元になるテーブルであって、前記列指向型データベースの前記データ構造を有するテーブルである一時テーブルを生成する一時テーブル生成処理と、
1以上のブロックの状態で格納されている前記第1テーブルの前記ブロックのうち、前記一時テーブルに登録するべき前記ブロックを前記修正指示情報に基づいて決定し、決定した前記ブロックを前記一時テーブルに登録するブロック登録処理と
を実行させる。
The table correction program according to the present disclosure is
On the computer,
a receiving process for receiving correction instruction information instructing a correction to a first table having a plurality of columns and a plurality of rows, with cell data registered in cells formed at the intersections of the columns and the rows, and in which one or more cell data in the same column are blocked and stored in one or more blocks according to a data structure of a column-oriented database;
a temporary table generation process for generating a temporary table that is a base for generating a second table, which is the first table after the modification instructed by the modification instruction information is reflected, and that is a table having the data structure of the column-oriented database;
Among the blocks of the first table stored in the state of one or more blocks, the blocks to be registered in the temporary table are determined based on the modification instruction information, and a block registration process is executed to register the determined blocks in the temporary table.

本開示によれば、テーブル修正装置は、第1テーブルから一時テーブルへデータをブロック単位で登録するブロック登録部を備えているので、列指向型データベースのデータ構造を持つテーブルの修正を迅速に実施できるテーブル修正装置を提供できる。 According to the present disclosure, the table modification device includes a block registration unit that registers data from the first table to the temporary table in blocks, thereby providing a table modification device that can quickly modify a table having a column-oriented database data structure.

実施の形態1の図で、テーブル修正装置100の比較例を示す図。FIG. 11 is a diagram showing a comparative example of the table correction device 100 according to the first embodiment. 実施の形態1の図で、テーブル修正装置100の動作概要を示す図。FIG. 2 is a diagram showing an outline of the operation of the table correction device 100 according to the first embodiment. 実施の形態1の図で、テーブル修正装置100の機能ブロック図。FIG. 1 is a functional block diagram of a table correction device 100 according to a first embodiment. 実施の形態1の図で、テーブル修正装置100のハードウェア構成を示す図。FIG. 1 is a diagram showing a hardware configuration of a table modifying device 100 according to a first embodiment. 実施の形態1の図で、テーブル定義情報62aと第1テーブル70を示す図。FIG. 11 is a diagram according to the first embodiment, showing table definition information 62a and a first table 70. 実施の形態1の図で、列指向型データベースのデータ構造を持つ第1テーブル70の生成を示す図。FIG. 11 is a diagram of the first embodiment, showing the generation of a first table 70 having a data structure of a column-oriented database. 実施の形態1の図で、テーブル実体管理情報63a及びテーブル実体管理情報63aに対応する定義変更前のテーブル実体41aを示す図。FIG. 13 is a diagram according to the first embodiment, showing table entity management information 63a and a table entity 41a before a definition change corresponding to the table entity management information 63a. 実施の形態1の図で、テーブル修正装置100の動作を説明するフローチャート。FIG. 10 is a flowchart illustrating the operation of the table correction device 100 according to the first embodiment. 実施の形態1の図で、図5の第1テーブル70に対する、SQL文によるテーブル定義変更情報61を示す図。FIG. 6 is a diagram according to the first embodiment, showing table definition change information 61 by an SQL statement for the first table 70 in FIG. 5 . 実施の形態1の図で、テーブル定義変更情報61が図9の上段のときの、テーブル定義情報62bを示す図。FIG. 10 is a diagram showing table definition information 62b when table definition change information 61 is in the upper part of FIG. 9 in the diagram of the first embodiment. 実施の形態1の図で、テーブル定義変更情報61が列の追加の場合のテーブル生成条件64を示す図。FIG. 11 is a diagram according to the first embodiment, showing table generation conditions 64 when table definition change information 61 indicates the addition of a column. 実施の形態1の図で、制御部20が定義変更前のテーブル実体41aのデータをブロック単位で一時テーブル90へ登録する状態を示す図。FIG. 11 is a diagram of the first embodiment, showing a state in which the control unit 20 registers data of the table entity 41a before a definition change in a temporary table 90 in block units. 実施の形態1の図で、テーブル定義変更情報61が図9の中段のときの、テーブル定義情報62bを示す図。FIG. 10 is a diagram showing table definition information 62b when table definition change information 61 is in the middle part of FIG. 9 in the diagram of the first embodiment. 実施の形態1の図で、テーブル定義変更情報61が列の削除の場合のテーブル生成条件64を示す図。FIG. 11 is a diagram according to the first embodiment, showing table generation conditions 64 when table definition change information 61 indicates deletion of a column. 実施の形態1の図で、ブロック登録部920bが定義変更前のテーブル実体41aのデータをブロック単位で一時テーブル90へ登録する状態を示す図。FIG. 13 is a diagram in the first embodiment showing a state in which the block registration unit 920b registers data of the table entity 41a before a definition change in the temporary table 90 in block units. 実施の形態1の図で、テーブル定義変更情報61が図9のときの、テーブル定義情報62bを示す図。FIG. 10 is a diagram showing table definition information 62b when table definition change information 61 is as shown in FIG. 9 in the first embodiment. 実施の形態1の図で、テーブル定義変更情報61が列の属性変更の場合のテーブル生成条件64を示す図。FIG. 11 is a diagram according to the first embodiment, showing table generation conditions 64 when table definition change information 61 is a change in a column attribute. 実施の形態1の図で、ブロック登録部920bが定義変更前のテーブル実体41aのデータをブロック単位で一時テーブル90へ登録する状態を示す図。FIG. 13 is a diagram in the first embodiment showing a state in which the block registration unit 920b registers data of the table entity 41a before a definition change in the temporary table 90 in block units.

以下、実施の形態について、図を用いて説明する。なお、各図中、同一または相当する部分には、同一符号を付している。実施の形態の説明において、同一または相当する部分については、説明を適宜省略または簡略化する。 The following describes the embodiments with reference to the drawings. Note that in each drawing, the same or corresponding parts are given the same reference numerals. In the description of the embodiments, the description of the same or corresponding parts will be omitted or simplified as appropriate.

実施の形態1.
図1から図18を参照して、実施の形態1のテーブル修正装置100を説明する。
Embodiment 1.
A table correction device 100 according to a first embodiment will be described with reference to FIGS.

以下の説明では、修正前のテーブルを第1テーブルと表記し、修正された第1テーブルを第2テーブルと表記する。また第2テーブルの元にあるテーブルを一時テーブルと表記する。 In the following explanation, the table before modification is referred to as the first table, and the modified first table is referred to as the second table. The table that is the basis of the second table is referred to as the temporary table.

以下の説明では、テーブル定義情報62及びテーブル実体管理情報63が登場する。第1テーブルに対応するテーブル定義情報62及びテーブル実体管理情報63は、テーブル定義情報62a及びテーブル実体管理情報63aと表記し、修正後の第2テーブル2に対応するテーブル定義情報62及びテーブル実体管理情報63は、テーブル定義情報62b及びテーブル実体管理情報63bと表記して、a、bで区別する。 In the following explanation, table definition information 62 and table entity management information 63 will appear. The table definition information 62 and table entity management information 63 corresponding to the first table will be written as table definition information 62a and table entity management information 63a, and the table definition information 62 and table entity management information 63 corresponding to the modified second table 2 will be written as table definition information 62b and table entity management information 63b, distinguished by a and b.

以下の説明では、第1テーブルに対応する定義変更前のテーブル実体及び第2テーブルに定義変更後のテーブル実体が登場する。第1テーブルに対応するテーブル実体を、定義変更前のテーブル実体41aと表記し、第2テーブルに対応するテーブル実体を定義変更後のテーブル実体41bと表記して、a、bで区別する。 In the following explanation, a table entity corresponding to the first table before the definition change and a table entity corresponding to the second table after the definition change will appear. The table entity corresponding to the first table will be referred to as table entity 41a before the definition change, and the table entity corresponding to the second table will be referred to as table entity 41b after the definition change, and will be distinguished by a and b.

テーブル修正装置100はテーブルを修正する装置である。具体的には、テーブル修正装置100は、複数の列と複数の行と有し、列と行との交差で形成されるセルにセルデータが登録されており、列指向型データベースのデータ構造で作成されている第1テーブルについて、列の追加と、列の削除と、列の属性の変更との、少なくともいずれかの修正を実行する。 Table modification device 100 is a device for modifying a table. Specifically, table modification device 100 performs at least one of the following modifications on a first table that has a plurality of columns and a plurality of rows, in which cell data is registered in cells formed by the intersections of the columns and the rows, and that is created with the data structure of a column-oriented database: adding a column, deleting a column, or changing the attributes of a column.

図1は、実施の形態1のテーブル修正装置100の特徴を明らかにするための比較例を示す。図1を参照して比較例を説明する。比較例は、第1テーブルに対して、列の追加あるいは列の削除のような修正を実施する際、以下の(1)から(5)の処理を行う。
(1)比較例は、列追加または列削除した、第2テーブルの元になる新しいテーブルを生成する。
(2)比較例は、現在の第1テーブルを検索して、行であるレコードを抽出する。
(3)比較例は、抽出した複数のレコードを、作成した新しいテーブルにロードする。
(4)比較例は、第1テーブルを削除する。
(5)比較例は、新しいテーブル名を第1テーブルのテーブル名に変更し、新しいテーブルを第2テーブルとして生成する。
Fig. 1 shows a comparative example for clarifying the characteristics of table modification device 100 of embodiment 1. The comparative example will be described with reference to Fig. 1. In the comparative example, when a modification such as adding or deleting a column is made to the first table, the following processes (1) to (5) are carried out.
(1) In the comparative example, a new table is generated that is the basis for the second table, with a column added or deleted.
(2) In the comparative example, the current first table is searched to extract records that are rows.
(3) In the comparative example, the extracted records are loaded into a new table that has been created.
(4) In the comparative example, the first table is deleted.
(5) In the comparative example, the new table name is changed to the table name of the first table, and the new table is generated as the second table.

比較例の方式では、上記(2)の検索により、必要な列をレコード単位に取り出し、新しいテーブルにロードするため、多くの時間がかかる。特に、第1テーブルが圧縮されている場合、レコード変換時のデータ伸長によりデータが増大し、新しいテーブルへ再度ロードして圧縮するため、より多くの時間がかかる。 In the method of the comparative example, the search in (2) above is used to extract the required columns record by record and load them into a new table, which takes a lot of time. In particular, if the first table is compressed, the data increases due to data expansion during record conversion, and the data is loaded again into the new table and compressed, which takes even more time.

図2は、図1との比較において、実施の形態1のテーブル修正装置100の動作概要を示す。テーブル修正装置100は、列指向型データベースのデータ構造のまま、新しいテーブルに第1テーブルのデータをコピーして、テーブルを置き換える。テーブル修正装置100は、例えば第1テーブルに列を追加する際、第1テーブルに対して、以下の(1)から(5)の処理を行う。
(1)テーブル修正装置100は、列を追加した、第2テーブルの元になる新しいテーブルである一時テーブルを生成する。
(2)テーブル修正装置100は、第1テーブルの列ブロックを、一時テーブルにコピーする。
(3)テーブル修正装置100は、追加する列には空ブロックを生成する。
(4)テーブル修正装置100は、第1テーブルを削除する。
(5)テーブル修正装置100は、一時テーブル名を第1テーブルのテーブル名に変更し、一時テーブルを第2テーブルとして生成する。
Figure 2 shows an outline of the operation of the table modification device 100 of the first embodiment in comparison with Figure 1. The table modification device 100 replaces the table by copying the data of the first table to a new table while keeping the data structure of the column-oriented database intact. For example, when adding a column to the first table, the table modification device 100 performs the following processes (1) to (5) on the first table.
(1) The table modification device 100 generates a temporary table, which is a new table to which a column has been added and which is to be the basis of the second table.
(2) Table modification device 100 copies the column block of the first table to a temporary table.
(3) The table modifying device 100 generates an empty block for the column to be added.
(4) The table modifying device 100 deletes the first table.
(5) The table modification device 100 changes the name of the temporary table to the name of the first table, and generates the temporary table as a second table.

テーブル修正装置100によれば、第1テーブルから検索により1件ずつレコードを取り出す必要がなく、第1テーブルのデータベース構造のブロックのまま一時テーブルへデータをコピーするため、短時間で第1テーブルの修正が処理できる。特に、圧縮テーブルであっても伸長、レコード変換が不要となるため、大幅に時間短縮、処理の高速化ができる。以下にテーブル修正装置100を詳しく説明する。 The table modification device 100 eliminates the need to retrieve records one by one from the first table by searching, and copies data to a temporary table while retaining the blocks of the database structure of the first table, allowing the first table to be modified in a short time. In particular, since decompression and record conversion are not required even for compressed tables, time can be significantly reduced and processing can be accelerated. The table modification device 100 is described in detail below.

***構成の説明***
図3は、テーブル修正装置100の機能構成を示す機能ブロック図である。テーブル修正装置100は、受付部10、制御部20、テーブル生成条件決定部30、テーブル格納領域40、出力部50を備えている。テーブル格納領域40は、定義変更前のテーブル実体41a、すなわち第1テーブルの実体と、定義変更後のテーブル実体41b、すなわち第2テーブルの実体とを格納している。受付部10は、受信部910である。制御部20は、一時テーブル生成部920Aであり、データ登録部920Bである。受付部10から出力部50の機能は、動作の説明で述べる。以下の説明では受付部10を受信部910と表記し、制御部20を一時テーブル生成部920aまたはブロック登録部920bと表記する場合がある。
***Configuration Description***
3 is a functional block diagram showing the functional configuration of the table modification device 100. The table modification device 100 includes a reception unit 10, a control unit 20, a table generation condition determination unit 30, a table storage area 40, and an output unit 50. The table storage area 40 stores a table entity 41a before the definition is changed, that is, the entity of the first table, and a table entity 41b after the definition is changed, that is, the entity of the second table. The reception unit 10 is a reception unit 910. The control unit 20 is a temporary table generation unit 920A and a data registration unit 920B. The functions of the reception unit 10 to the output unit 50 will be described in the description of the operation. In the following description, the reception unit 10 may be referred to as the reception unit 910, and the control unit 20 may be referred to as the temporary table generation unit 920a or the block registration unit 920b.

図4は、テーブル修正装置100のハードウェア構成を示す。図4を参照してテーブル修正装置100のハードウェア構成を説明する。 Figure 4 shows the hardware configuration of the table modification device 100. The hardware configuration of the table modification device 100 will be explained with reference to Figure 4.

テーブル修正装置100は、コンピュータである。テーブル修正装置100は、プロセッサ110を備える。テーブル修正装置100は、プロセッサ110の他に、主記憶装置120、補助記憶装置130、入力IF140、出力IF150及び通信IF160といった、他のハードウェアを備える。プロセッサ110は、信号線170を介して、他のハードウェアと接続され、他のハードウェアを制御する。 The table modification device 100 is a computer. The table modification device 100 includes a processor 110. In addition to the processor 110, the table modification device 100 includes other hardware such as a main memory device 120, an auxiliary memory device 130, an input IF 140, an output IF 150, and a communication IF 160. The processor 110 is connected to the other hardware via a signal line 170 and controls the other hardware.

テーブル修正装置100は、機能要素として、受付部10、制御部20及びテーブル生成条件決定部30を備えている。受付部10、制御部20及びテーブル生成条件決定部30の機能は、テーブル修正プログラム101により実現される。 The table modification device 100 has, as its functional elements, a reception unit 10, a control unit 20, and a table generation condition determination unit 30. The functions of the reception unit 10, the control unit 20, and the table generation condition determination unit 30 are realized by a table modification program 101.

プロセッサ110は、テーブル修正プログラム101を実行する装置である。プロセッサ110は、演算処理を行うIC(Integrated Circuit)である。プロセッサ110の具体例は、CPU(Central Processing Unit)、DSP(Digital Signal Processor)、GPU(Graphics Processing Unit)である。 The processor 110 is a device that executes the table modification program 101. The processor 110 is an integrated circuit (IC) that performs arithmetic processing. Specific examples of the processor 110 include a central processing unit (CPU), a digital signal processor (DSP), and a graphics processing unit (GPU).

主記憶装置120は記憶装置である。主記憶装置120の具体例は、SRAM(Static Random Access Memory)、DRAM(Dynamic Random Access Memory)である。主記憶装置120は、プロセッサ110の演算結果を保持する。 The main memory 120 is a memory device. Specific examples of the main memory 120 are SRAM (Static Random Access Memory) and DRAM (Dynamic Random Access Memory). The main memory 120 holds the results of calculations by the processor 110.

補助記憶装置130は、データを不揮発的に保管する記憶装置である。補助記憶装置130の具体例は、HDD(Hard Disk Drive)である。補助記憶装置130は、テーブル修正プログラム101を記憶している。補助記憶装置130は、テーブル格納領域40を実現する。また補助記憶装置130は、テーブル定義変更情報61、テーブル定義情報62a、テーブル定義情報62b、テーブル実体管理情報63a、テーブル実体管理情報63b、テーブル生成条件64のような情報を格納している。 The auxiliary storage device 130 is a storage device that stores data in a non-volatile manner. A specific example of the auxiliary storage device 130 is a HDD (Hard Disk Drive). The auxiliary storage device 130 stores a table modification program 101. The auxiliary storage device 130 realizes the table storage area 40. The auxiliary storage device 130 also stores information such as table definition change information 61, table definition information 62a, table definition information 62b, table entity management information 63a, table entity management information 63b, and table generation conditions 64.

入力IF140は、各装置からデータが入力されるポートである。入力IF140には、キーボード141が接続している。キーボード141は情報を入力する入力装置の例である。出力IF150は、各種機器が接続され、各種機器にプロセッサ110によりデータが出力されるポートである。出力IF150には、表示装置151が接続している。通信IF160は、プロセッサが他の装置と通信するための通信ポートである。 The input IF 140 is a port through which data is input from each device. A keyboard 141 is connected to the input IF 140. The keyboard 141 is an example of an input device for inputting information. The output IF 150 is a port to which various devices are connected and through which the processor 110 outputs data to the various devices. A display device 151 is connected to the output IF 150. The communication IF 160 is a communication port through which the processor communicates with other devices.

プロセッサ110は、補助記憶装置130からテーブル修正プログラム101を主記憶装置120にロードし、主記憶装置120からテーブル修正プログラム101を読み込み実行する。 The processor 110 loads the table modification program 101 from the auxiliary storage device 130 into the main storage device 120, and reads and executes the table modification program 101 from the main storage device 120.

テーブル修正プログラム101は、受信部910、一時テーブル生成部920a及びブロック登録部920bの「~部」を、「処理」、「手順」あるいは「工程」に読み替えた各処理、各手順あるいは各工程をコンピュータに実行させるプログラムである。 The table correction program 101 is a program that causes a computer to execute each process, procedure, or step of the receiving unit 910, the temporary table generating unit 920a, and the block registration unit 920b, where the "part" in each of these units is interpreted as a "process," "procedure," or "step."

テーブル修正プログラム101は、コンピュータ読み取り可能な記録媒体に格納されて提供されてもよいし、プログラムプロダクトとして提供されてもよい。 The table correction program 101 may be provided by being stored on a computer-readable recording medium, or may be provided as a program product.

図5から図7を参照して、列指向型データベースとして作成されている第1テーブルを説明する。
図5は、テーブル定義情報62aと、テーブル定義情報62aに基づき生成されている第1テーブル70を示す。テーブル定義情報62aはSQLが使用されている。第1テーブル70は、列指向型データベースのデータ構造で作成されている。第1テーブル70は、テーブル定義情報62aの示す、「ID」、「売上日」、「支店名」、「商品名」、「売り上げ」に対応する列を有する。
5 to 7, a first table created as a column-oriented database will be described.
5 shows the table definition information 62a and a first table 70 generated based on the table definition information 62a. The table definition information 62a uses SQL. The first table 70 is created with a column-oriented database data structure. The first table 70 has columns corresponding to "ID,""salesdate,""branchname,""productname," and "sales" shown in the table definition information 62a.

図6は、列指向型データベースのデータ構造を持つ第1テーブル70の生成を示す。図6を参照して列指向型データベースのデータ構造を説明する。右上に示す入力データは、CSVファイルのようなデータである。入力データは、列の項目として、ID、売上日、支店名、商品名、売上を持ち、図5に対応する。入力データの各行が、レコードである。入力データのIDが、10001から1003のレコードが、グループ#1を構成する。入力データのIDが、10004から1005のレコードが、グループ#2を構成する。グループ#1については、制御部20によって、以下のようにブロック化される。
ブロックB#1として、IDの1001、1002、1003が、ブロック化される。ブロックB#2として、売上日の2019.5.30、2019.5.31、2019.5.31が、ブロック化される。ブロックB#3として、支店名の東京、大阪、横浜が、ブロック化される。ブロックB#4として、商品名の冷蔵庫、エアコン、テレビが、ブロック化される。ブロックB#5として、売上の15、30、20が、ブロック化される。グループ#2もグループ#1と同様に制御部20によってブロック化される。グループ#2のブロック化の説明は省略する。図6に示すように、データベースには入力データに対する第1テーブルの定義変更前のテーブル実体41aが、グループごとに生成される。図3のテーブル格納領域40に示す定義変更前のテーブル実体41a及び定義変更後のテーブル実体41bは、図6に示すテーブル実体である。
Fig. 6 shows the generation of a first table 70 having a data structure of a column-oriented database. The data structure of a column-oriented database will be described with reference to Fig. 6. The input data shown in the upper right is data such as a CSV file. The input data has column items of ID, sales date, branch name, product name, and sales, and corresponds to Fig. 5. Each row of the input data is a record. Records with input data IDs of 10001 to 1003 make up group #1. Records with input data IDs of 10004 to 1005 make up group #2. Group #1 is blocked by the control unit 20 as follows:
As block B#1, IDs 1001, 1002, and 1003 are blocked. As block B#2, sales dates 2019.5.30, 2019.5.31, and 2019.5.31 are blocked. As block B#3, branch names Tokyo, Osaka, and Yokohama are blocked. As block B#4, product names Refrigerator, Air Conditioner, and Television are blocked. As block B#5, sales 15, 30, and 20 are blocked. Group #2 is also blocked by the control unit 20 in the same way as group #1. The explanation of blocking of group #2 is omitted. As shown in FIG. 6, a table entity 41a before the definition change of the first table for the input data is generated for each group in the database. The table entity 41a before the definition change and the table entity 41b after the definition change shown in the table storage area 40 in FIG. 3 are the table entities shown in FIG. 6.

図6の列指向型データベースは、列指向型データベースのデータ構造を持つテーブル情報であるテーブル実体を有する。テーブル実体は、1つ以上のグループから構成される。グループは、1つ以上のブロックから構成される。ブロックは、1つ以上のフィールドから構成される。 The column-oriented database in Figure 6 has a table entity, which is table information having the data structure of a column-oriented database. A table entity is made up of one or more groups. A group is made up of one or more blocks. A block is made up of one or more fields.

<テーブル実体管理情報63a>
図7は、テーブル実体管理情報63a及びテーブル実体管理情報63aに対応する定義変更前のテーブル実体41aを示す。図7の定義変更前のテーブル実体41aは、図6に示す定義変更前のテーブル実体41aである。定義変更前のテーブル実体41a及び定義変更後のテーブル実体41bは、補助記憶装置130のテーブル格納領域40に記録されている。テーブル実体を管理するテーブル実体管理情報63aは、テーブル実体のブロック位置及びブロックサイズの情報を保持している。テーブル実体管理情報63aは、補助記憶装置130に格納されおり、制御部20によって管理される。
<Table entity management information 63a>
Fig. 7 shows table entity management information 63a and a table entity 41a before a definition change corresponding to the table entity management information 63a. The table entity 41a before a definition change in Fig. 7 is the table entity 41a before a definition change shown in Fig. 6. The table entity 41a before a definition change and the table entity 41b after a definition change are recorded in the table storage area 40 of the auxiliary storage device 130. The table entity management information 63a that manages the table entity holds information on the block position and block size of the table entity. The table entity management information 63a is stored in the auxiliary storage device 130 and is managed by the control unit 20.

***動作の説明***
図8は、テーブル修正装置100の動作を説明するフローチャートである。図8を参照してテーブル修正装置100の動作を説明する。
*** Operation Description ***
8 is a flow chart for explaining the operation of the table modifying device 100. The operation of the table modifying device 100 will be explained with reference to FIG.

<ステップS1>
ステップS1において、受信部910が、テーブル定義変更情報61を受信する。テーブル定義変更情報61は修正指示情報である。
テーブル定義変更情報61は、複数の列と複数の行と有し、列と行との交差で形成されるセルにセルデータが登録されており、列指向型データベースのデータ構造によって、列を同じくする1以上のセルデータがブロック化された1以上のブロックの状態で格納されている後述の図6に示す第1テーブルについて、修正を指示する修正指示情報である。テーブル定義変更情報61は、例えば、キーボードのような入力装置によって入力される。
<Step S1>
In step S1, the receiving unit 910 receives the table definition change information 61. The table definition change information 61 is modification instruction information.
The table definition change information 61 is modification instruction information that instructs modification of a first table shown in Fig. 6 described later, which has a plurality of columns and a plurality of rows, with cell data registered in cells formed at the intersections of the columns and the rows, and in which one or more cell data in the same column are blocked and stored in one or more blocks according to the data structure of a column-oriented database. The table definition change information 61 is input by an input device such as a keyboard.

図9は、図5の第1テーブル70に対する、SQL文によるテーブル定義変更情報61の3つの例を示している。上段は、列「メーカ」の追加を指示するテーブル定義変更情報61である。中段は、列「売上」の削除を指示するテーブル定義変更情報61である。下段は、列「売上日」の属性であるデータ型の、DATE型からTIMESTAMP型への変更を指示するテーブル定義変更情報61である。なお、図9では、列の追加、列の削除、列の属性の変更の各修正指示を個別に受信しているが、テーブル定義変更情報61は、いずれか2つを含んでも良いし、3つ全部を含んでも良い。 Figure 9 shows three examples of table definition change information 61 by SQL statements for the first table 70 in Figure 5. The top row is table definition change information 61 that instructs adding a column "Manufacturer". The middle row is table definition change information 61 that instructs deleting a column "Sales". The bottom row is table definition change information 61 that instructs changing the data type, which is an attribute of the column "Sales Date", from DATE to TIMESTAMP. Note that in Figure 9, each of the modification instructions for adding a column, deleting a column, and changing a column attribute is received separately, but the table definition change information 61 may include any two of them or all three.

<ステップS2:列の追加>
以下では、テーブル定義変更情報61が図9の上段の列の追加を示すことを前提に説明する。
ステップS2において、一時テーブル生成部920aは、一時テーブル90を生成する。
一時テーブル90は、修正指示情報であるテーブル定義変更情報61の指示する修正が反映された修正後の第1テーブルである第2テーブルの生成の元になるテーブルであり、列指向型データベースのデータ構造を有するテーブルである。一時テーブル生成部920aは、受信したテーブル定義変更情報61を参照してテーブル定義情報62aを変更する。
図10は、テーブル定義変更情報61が図9の上段のときの、テーブル定義情報62bを示す。テーブル定義情報62bでは、「メーカ varchar(20)」が追加されている。ステップS2おいて、一時テーブル生成部920aは、テーブル定義情報62bを参照して、テーブル定義情報が変更されたテーブルを一時テーブル90として定義し、一時テーブル90を生成する。
<Step S2: Adding a column>
The following description will be given on the assumption that the table definition change information 61 indicates the addition of the column in the upper part of FIG.
In step S2, the temporary table generating unit 920a generates the temporary table 90.
The temporary table 90 is a table that is used to generate a second table, which is a modified first table reflecting the modifications instructed by the table definition change information 61, which is modification instruction information, and has a column-oriented database data structure. The temporary table generation unit 920a refers to the received table definition change information 61 and modifies the table definition information 62a.
10 shows table definition information 62b when the table definition change information 61 is in the upper part of FIG. 9. In the table definition information 62b, "manufacturer varchar (20)" has been added. In step S2, the temporary table generating unit 920a refers to the table definition information 62b, defines the table whose table definition information has been changed as a temporary table 90, and generates the temporary table 90.

<ステップS3>
図11は、テーブル定義変更情報61が列の追加の場合のテーブル生成条件64を示す。
ステップS3において、テーブル生成条件決定部30は、列の追加の場合、図10のテーブル定義情報62bと、図7のテーブル実体管理情報63aとから、図11のテーブル生成条件64を決定する。図11に示すテーブル生成条件64は、実行順と、第1テーブルのブロックを指定する情報であるブロック入力元、一時テーブルへの出力位置を示すブロック出力先、及び列の追加、列の削除及び列の属性変更のいずれかの処理内容を示すアクションからなる。
図12は、テーブル生成条件決定部30の決定した図11のテーブル生成条件64に従って、ブロック登録部920bが、第1テーブルの定義変更前のテーブル実体41aのデータを、ブロック単位で、一時テーブル90へ登録する状態を示している。図12の内容は、ステップS5で説明する。
<Step S3>
FIG. 11 shows table generation conditions 64 when the table definition change information 61 is for adding a column.
In step S3, in the case of adding a column, the table generation condition determination unit 30 determines a table generation condition 64 in Fig. 11 from the table definition information 62b in Fig. 10 and the table entity management information 63a in Fig. 7. The table generation condition 64 shown in Fig. 11 consists of an execution order, a block input source which is information specifying a block of the first table, a block output destination which indicates an output position to a temporary table, and an action which indicates the processing content of adding a column, deleting a column, or changing an attribute of a column.
Fig. 12 shows a state where the block registration unit 920b registers the data of the table entity 41a before the definition of the first table is changed in units of blocks in the temporary table 90 in accordance with the table generation condition 64 of Fig. 11 determined by the table generation condition determination unit 30. The contents of Fig. 12 will be described in step S5.

<ステップS4>
ステップS4において、ブロック登録部920bは、定義変更前のテーブル実体41aに、1以上のグループがあるかどうかを判定する。グループが無い場合、処理はステップS7に進む。1以上のグループが有る場合、処理はステップS5に進む。なお、複数のグループが定義変更前のテーブル実体41aに存在する場合、制御部20は、グループごとに処理をする。つまり、次のグループの処理をする場合、ステップS6からステップS4に処理が戻る。
<Step S4>
In step S4, the block registration unit 920b determines whether the table entity 41a before the definition change has one or more groups. If there is no group, the process proceeds to step S7. If there is one or more groups, the process proceeds to step S5. If multiple groups exist in the table entity 41a before the definition change, the control unit 20 processes each group. In other words, when processing the next group, the process returns from step S6 to step S4.

<ステップS5>
ステップS5において、ブロック登録部920bは、1以上のブロックの状態で格納されている第1テーブルのブロックのうち、一時テーブルに登録するべきブロックを修正指示情報であるテーブル定義変更情報61に基づいて決定し、決定したブロックを一時テーブルに登録する。
テーブル定義変更情報61は、修正として、第1テーブルへの列の追加を指示している。この場合、ブロック登録部920bは、一時テーブルに、データが未登録のセルを示す1以上の未登録フィールドからなる未登録ブロックを生成する。以下に具体的に説明する。
ブロック登録部920bは、各グループの再編成を行う。再編成とは、テーブル定義変更情報61が列の追加であれば各グループに列を追加し、テーブル定義変更情報61が列の削除であれば各グループの列を削除し、テーブル定義変更情報61が列の属性変更であれば各グループの列の属性を変更することを意味する。ブロック登録部920bは、図11のテーブル生成条件64に従い、図12に示すように、グループ#1に関して、コピーすべきブロックについては定義変更前のテーブル実体41aからグループ単位にブロックを一時テーブル90へコピーする。また、ブロック登録部920bは、追加する列については、「NULL」を持つ追加ブロックB#6を生成し、グループ再編成を実行して、一時テーブル90に追加する。グループ#2についても、ブロック登録部920bは、ステップS4、S5、S6のループで同様の処理を実施する。
<Step S5>
In step S5, the block registration unit 920b determines which blocks of the first table, which are stored in one or more blocks, should be registered in the temporary table based on the table definition change information 61, which is modification instruction information, and registers the determined blocks in the temporary table.
The table definition change information 61 indicates the addition of a column to the first table as a modification. In this case, the block registration unit 920b generates an unregistered block in the temporary table, which is made up of one or more unregistered fields indicating cells in which data is not registered. A specific description is given below.
The block registration unit 920b reorganizes each group. Reorganization means adding a column to each group if the table definition change information 61 is adding a column, deleting a column from each group if the table definition change information 61 is deleting a column, and changing the attribute of the column in each group if the table definition change information 61 is changing the attribute of the column. The block registration unit 920b copies blocks to be copied from the table entity 41a before the definition change to the temporary table 90 in group units for group #1 according to the table generation condition 64 in FIG. 11, as shown in FIG. 12. In addition, the block registration unit 920b generates an additional block B#6 having "NULL" for the column to be added, executes group reorganization, and adds it to the temporary table 90. For group #2, the block registration unit 920b also performs the same process in the loop of steps S4, S5, and S6.

<ステップS7>
ステップS7において、ブロック登録部920bは、ブロックが登録された一時テーブル90の名前を変更する。つまりブロック登録部920bは図12の一時テーブル90の名前を変更する。
<Step S7>
In step S7, the block registration unit 920b changes the name of the temporary table 90 in which the block is registered. That is, the block registration unit 920b changes the name of the temporary table 90 in FIG.

<ステップS8>
ステップS8において、出力部50は、テーブル定義の変更結果として、第2テーブルを図5に示す第1テーブル70の形式で出力し、処理が終了する。
<Step S8>
In step S8, the output unit 50 outputs the second table in the format of the first table 70 shown in FIG. 5 as a result of the change in the table definition, and the process ends.

<列の削除>
次にテーブル定義変更情報61が列の削除を指示する場合を説明する。
<Delete column>
Next, a case where the table definition change information 61 instructs the deletion of a column will be described.

<ステップS1>
ステップS1において、受信部910が、図9の中段のテーブル定義変更情報61を受信する。
<Step S1>
In step S1, the receiving unit 910 receives the table definition change information 61 shown in the middle part of FIG.

<ステップS2>
ステップS2において、一時テーブル生成部920aは、受信したテーブル定義変更情報61を参照してテーブル定義情報62aを変更する。
図13は、テーブル定義変更情報61が図9の中段のときの、テーブル定義情報62bを示す。テーブル定義情報62bでは、図5のテーブル定義情報62aに対して「売上」が削除されている。ステップS2おいて、制御部20は、テーブル定義情報62bを参照して、テーブル定義情報が変更されたテーブルを一時テーブル90として定義し、一時テーブル90を生成する。
<Step S2>
In step S2, the temporary table generating unit 920a refers to the received table definition change information 61 and changes the table definition information 62a.
Fig. 13 shows table definition information 62b when the table definition change information 61 is in the middle section of Fig. 9. In the table definition information 62b, "Sales" has been deleted from the table definition information 62a in Fig. 5. In step S2, the control unit 20 refers to the table definition information 62b, defines the table whose table definition information has been changed as a temporary table 90, and generates the temporary table 90.

<ステップS3>
図14は、テーブル定義変更情報61が列の削除の場合のテーブル生成条件64を示す。
ステップS3において、テーブル生成条件決定部30は、図13のテーブル定義情報62bと、図7のテーブル実体管理情報63aとから、図14のテーブル生成条件64を決定する。図14に示すテーブル生成条件64は、図11と同様であるので説明は省略する。
図15は、図14のテーブル生成条件64に従って、ブロック登録部920bが、第1テーブルの定義変更前のテーブル実体41aのデータを、ブロック単位で、一時テーブル90へ登録する状態を示している。
<Step S3>
FIG. 14 shows table generation conditions 64 when the table definition change information 61 is for deleting a column.
In step S3, the table generation condition determination unit 30 determines the table generation condition 64 in Fig. 14 from the table definition information 62b in Fig. 13 and the table entity management information 63a in Fig. 7. The table generation condition 64 shown in Fig. 14 is the same as that in Fig. 11, so a description thereof will be omitted.
FIG. 15 shows a state in which the block registration unit 920b registers the data of the table entity 41a before the definition of the first table is changed in the temporary table 90 in block units in accordance with the table generation condition 64 in FIG.

<ステップS4>
ステップS4の処理は、列の追加の場合と同じである。
<Step S4>
The process in step S4 is the same as that in the case of adding a column.

<ステップS5>
テーブル定義変更情報61は、修正として、第1テーブルから削除するべき列を指示している。この場合、ブロック登録部920bは、テーブル定義変更情報61で指示されている列に含まれるブロックを決定し、決定したブロックを一時テーブルへの登録から除外する。以下に具体的に説明する。
ステップS5において、ブロック登録部920b、各グループの再編成を行う。ブロック登録部920bは、図14のテーブル生成条件64に従い、図15に示すように、グループ#1に関して、コピーすべきブロックについては定義変更前のテーブル実体41aからグループ単位にブロックを一時テーブル90へコピーする。図14のテーブル生成条件64では定義変更前のテーブル実体41aのブロック#5は、削除対象であるので、ブロック登録部920bは、ブロック#5をコピーしない。図15に示すように、定義変更前のテーブル実体41aにおけるブロックB#5はコピーされないので、「売上」の列は削除される。
<Step S5>
The table definition change information 61 indicates, as a correction, a column to be deleted from the first table. In this case, the block registration unit 920b determines the blocks contained in the column indicated in the table definition change information 61, and excludes the determined blocks from registration in the temporary table. A specific description will be given below.
In step S5, the block registration unit 920b reorganizes each group. In accordance with the table generation conditions 64 in FIG. 14, the block registration unit 920b copies blocks to be copied from the table entity 41a before the definition change to the temporary table 90 in group units as shown in FIG. 15 for group #1. Since block #5 of the table entity 41a before the definition change is to be deleted according to the table generation conditions 64 in FIG. 14, the block registration unit 920b does not copy block #5. As shown in FIG. 15, block B#5 in the table entity 41a before the definition change is not copied, so the "Sales" column is deleted.

<ステップS7、ステップS8>
以下のステップS7、ステップS8は、列の追加の場合と同様であるので説明は省略する。
<Steps S7 and S8>
The following steps S7 and S8 are similar to the case of adding a column, and therefore the explanation will be omitted.

<列の属性変更>
次にテーブル定義変更情報61が列の属性変更を指示する場合を説明する。
<Column attribute change>
Next, a case where the table definition change information 61 instructs a change in the attribute of a column will be described.

<ステップS1>
ステップS1において、受付部10が、図9の下段のテーブル定義変更情報61を受信する。
<Step S1>
In step S1, the reception unit 10 receives the table definition change information 61 shown in the lower part of FIG.

<ステップS2>
ステップS2において、一時テーブル生成部920aは、受信したテーブル定義変更情報61を参照してテーブル定義情報62aを変更する。
図16は、テーブル定義変更情報61が図9の中段のときの、テーブル定義情報62bを示す。テーブル定義情報62bでは、図5のテーブル定義情報62aに対して「売上日」のデータ属性がtimestampになっている。ステップS2おいて、一時テーブル生成部920aは、テーブル定義情報62bを参照して、テーブル定義情報が変更されたテーブルを一時テーブル90として定義し、一時テーブル90を生成する。
一時テーブルは、後述する。
<Step S2>
In step S2, the temporary table generating unit 920a refers to the received table definition change information 61 and changes the table definition information 62a.
Figure 16 shows table definition information 62b when the table definition change information 61 is in the middle section of Figure 9. In the table definition information 62b, the data attribute of "sales date" is set to timestamp compared to the table definition information 62a in Figure 5. In step S2, the temporary table generation unit 920a refers to the table definition information 62b, defines the table whose table definition information has been changed as a temporary table 90, and generates the temporary table 90.
The temporary table is described below.

<ステップS3>
図17は、テーブル定義変更情報61が列の属性変更の場合のテーブル生成条件64を示す。
ステップS3において、テーブル生成条件決定部30は、図16のテーブル定義情報62bと、図7のテーブル実体管理情報63aとから、図17のテーブル生成条件64を決定する。図17に示すテーブル生成条件64は、図11と同様であるので説明は省略する。
図18は、図17のテーブル生成条件64に従って、ブロック登録部920bが、第1テーブルの定義変更前のテーブル実体41aのデータを、ブロック単位で、一時テーブル90へ登録する状態を示している。
<Step S3>
FIG. 17 shows table generation conditions 64 when the table definition change information 61 is a change to a column attribute .
In step S3, the table generation condition determination unit 30 determines the table generation condition 64 of Fig. 17 from the table definition information 62b of Fig. 16 and the table entity management information 63a of Fig. 7. The table generation condition 64 shown in Fig. 17 is the same as that of Fig. 11, so a description thereof will be omitted.
FIG. 18 shows a state in which the block registration unit 920b registers the data of the table entity 41a before the definition of the first table is changed in the temporary table 90 in block units in accordance with the table generation condition 64 in FIG.

<ステップS4>
ステップS4の処理は、列の追加の場合と同じである。
<Step S4>
The process in step S4 is the same as that in the case of adding a column.

<ステップS5>
テーブル定義変更情報61は、修正として、属性を変更するべき第1テーブルの列と、変更するべき属性とを指示している。この場合、ブロック登録部920bは、テーブル定義変更情報61によって属性の変更が指示されている列に属するブロックを決定し、決定したブロックを登録するべき一時テーブルの領域の属性を、修正指示情報の指示する属性に設定する。以下に具体的に説明する。
ステップS5において、ブロック登録部920b、各グループの再編成を行う。ブロック登録部920bは、図17のテーブル生成条件64に従い、図18に示すように、グループ#1に関して、コピーすべきブロックについては定義変更前のテーブル実体41aからグループ単位にブロックを一時テーブル90へコピーする。図17のテーブル生成条件64では定義変更前のテーブル実体41aのブロック#2は、属性がtimestampへの変換対象であるので、ブロック登録部920bは、ブロック#2のデータ形式をimestamp型へ変換して、一時テーブル90へコピーする。
<Step S5>
The table definition change information 61 indicates the column of the first table whose attribute should be changed and the attribute to be changed as the modification. In this case, the block registration unit 920b determines the block belonging to the column whose attribute is instructed to be changed by the table definition change information 61, and sets the attribute of the area of the temporary table in which the determined block should be registered to the attribute instructed by the modification instruction information. A specific description will be given below.
In step S5, the block registration unit 920b reorganizes each group. In accordance with the table generation condition 64 in Fig. 17, the block registration unit 920b copies blocks to be copied from the table entity 41a before the definition change to the temporary table 90 in group units as shown in Fig. 18 for group #1. Since the attribute of block #2 of the table entity 41a before the definition change is subject to conversion to timestamp in the table generation condition 64 in Fig. 17, the block registration unit 920b converts the data format of block #2 to imestamp type and copies it to the temporary table 90.

<ステップS7、ステップS8>
以下のステップS7、ステップS8は、列の追加の場合と同様であるので説明は省略する。
<Steps S7 and S8>
The following steps S7 and S8 are similar to the case of adding a column, and therefore the explanation will be omitted.

***実施の形態1の効果***
テーブル修正装置100によれば、第1テーブルから検索により1件ずつレコードを取り出す必要がなく、第1テーブルのデータベース構造のブロックのまま一時テーブルへデータをコピーする。よって、短時間で第1テーブルの修正処理が可能となる。
特に、圧縮テーブルであっても伸長、レコード変換が不要となるため、大幅に時間短縮、処理の高速化ができる。
***Advantages of First Embodiment***
According to the table modification device 100, it is not necessary to retrieve records one by one from the first table by searching, but data is copied to the temporary table while retaining the blocks of the database structure of the first table, thereby enabling modification of the first table in a short time.
In particular, since decompression and record conversion are not required even for compressed tables, time can be significantly reduced and processing speed can be increased.

なお、実施の形態1では定義変更前のテーブル実体41aから第1テーブルへのデータ移行をデータコピーで実施したが、データの切り取りで実施しても良い。 In the first embodiment, data migration from the table entity 41a before the definition change to the first table was performed by copying the data, but it may also be performed by cutting the data.

なお、テーブル修正装置100は、テーブル定義変更情報61によって列を追加する場合において、追加する列の、データ型、圧縮属性、暗号化属性またはその組み合わせのような属性に応じて、新しいブロックを生成してもよい。 When adding a column using the table definition change information 61, the table modification device 100 may generate a new block depending on the attributes of the column to be added, such as the data type, compression attribute, encryption attribute, or a combination thereof.

なお、テーブル修正装置100は、テーブル定義変更情報61によって列を追加する場合において、おいて、予めユーザが指定した列の値を、既定値として追加ブロックを生成してもよい。 When adding a column using the table definition change information 61, the table modification device 100 may generate an additional block with the column value previously specified by the user as the default value.

なお、テーブル修正装置100は、テーブル定義変更情報61によって列の属性を変更する場合において、データ型、圧縮属性、暗号化属性またはその組み合わせのような、変更するべき変更後の属性に応じて、定義変更前のテーブル実体41aの持つブロックのデータ変換を行い、一時テーブルのためのブロックを生成しても良い。 When changing column attributes using table definition change information 61, the table modification device 100 may convert data in blocks held by the table entity 41a before the definition change according to the attributes to be changed, such as data type, compression attribute, encryption attribute, or a combination thereof, and generate blocks for a temporary table.

100 テーブル修正装置、10 受付部、20 制御部、30 テーブル生成条件決定部、40 テーブル格納領域、41a 定義変更前のテーブル実体、41b 定義変更後のテーブル実体、50 出力部、61 テーブル定義変更情報、62 テーブル定義情報、63a テーブル実体管理情報、63b テーブル実体管理情報、64 テーブル生成条件、70 第1テーブル、90 一時テーブル、110 プロセッサ、120 主記憶装置、130 補助記憶装置、140 入力IF、150 出力IF、160 通信IF、170 信号線、910 受信部、920a 一時テーブル生成部、920b ブロック登録部。 100 table modification device, 10 reception unit, 20 control unit, 30 table generation condition determination unit, 40 table storage area, 41a table entity before definition change, 41b table entity after definition change, 50 output unit, 61 table definition change information, 62 table definition information, 63a table entity management information, 63b table entity management information, 64 table generation condition, 70 first table, 90 temporary table, 110 processor, 120 main memory device, 130 auxiliary memory device, 140 input IF, 150 output IF, 160 communication IF, 170 signal line, 910 receiving unit, 920a temporary table generation unit, 920b block registration unit.

Claims (4)

複数の列と複数の行とを有し、列と行との交差で形成されるセルにセルデータが登録されており、列指向型データベースのデータ構造によって、列を同じくする1以上のセルデータがブロック化された1以上のブロックの状態で格納されている第1テーブルについて、修正を指示する修正指示情報を受信する受信部と、
前記修正指示情報の指示する前記修正が反映された修正後の前記第1テーブルである第2テーブルの生成の元になるテーブルであって、前記列指向型データベースの前記データ構造を有するテーブルである一時テーブルを生成するとともに前記第1テーブルを定義しているテーブル定義情報を前記修正指示情報を参照して変更する一時テーブル生成部と、
変更された前記テーブル定義情報と、前記第1テーブルのブロック位置及びブロックサイズを保持しているテーブル実体管理情報とに基づいて、前記第2テーブルを生成するテーブル生成条件を決定するテーブル生成条件決定部と、
決定された前記テーブル生成条件に基づいて、1以上のブロックの状態で格納されている前記第1テーブルの前記ブロックのうち、前記一時テーブルに登録するべきブロックを前記一時テーブルに登録するブロック登録部と
を備えるテーブル修正装置であって、
前記修正指示情報は、
前記修正として、前記第1テーブルへの列の追加を指示しており、
前記テーブル生成条件決定部は、
変更された前記テーブル定義情報と、前記第1テーブルのブロック位置及びブロックサイズを保持している前記テーブル実体管理情報とを参照して、前記修正指示情報が、前記修正として、前記第1テーブルへの列の追加を指示していることへの応答として、
前記第1テーブルにおける前記一時テーブルに登録するべき前記ブロックを入力元ブロックとする決定と、
前記入力元ブロックの前記一時テーブルにおける出力先のブロックを出力先ブロックとする決定と、
前記第1テーブルから前記一時テーブルへの登録のアクションであって、前記入力元ブロックから前記出力先ブロックへのアクションをコピーとする決定と、
前記修正指示情報によって前記第1テーブルに追加されるべき前記列に対応する前記一時テーブルにおけるブロックを出力先ブロックとする決定と、
前記第1テーブルに追加されるべき前記列に対応する前記出力先ブロックに対するアクションを、データ無し(NULL)の空ブロックの生成とする決定と
を行うとともに、
それぞれの前記決定を反映することにより、前記一時テーブルに登録するべき前記ブロックと、前記一時テーブルに生成するべき空ブロックとされた前記テーブル生成条件を決定し、
前記ブロック登録部は、
前記第1テーブルへの前記列の追加について、決定された前記テーブル生成条件における前記空ブロックの生成を示す前記アクションを参照することにより、前記一時テーブルに、データが未登録のセルを示す1以上の未登録フィールドからなる未登録ブロックを、前記空ブロックとして生成するテーブル修正装置。
a receiving unit that receives correction instruction information instructing a correction to a first table having a plurality of columns and a plurality of rows, with cell data registered in cells formed at the intersections of the columns and the rows, and in which one or more cell data in the same column are blocked and stored in one or more blocks according to a data structure of a column-oriented database;
a temporary table generating unit that generates a temporary table having the data structure of the column-oriented database, the temporary table being a base for generating a second table, which is the first table after the modification specified by the modification instruction information is reflected, and that modifies table definition information defining the first table by referring to the modification instruction information;
a table generation condition determination unit that determines table generation conditions for generating the second table based on the changed table definition information and table entity management information that holds block positions and block sizes of the first table;
a block registration unit that registers, in the temporary table, blocks to be registered in the temporary table, among the blocks of the first table stored in a state of one or more blocks, based on the determined table generation condition,
The correction instruction information is
The modification indicates the addition of a column to the first table;
The table generation condition determination unit
In response to the modification instruction information instructing the addition of a column to the first table as the modification, by referring to the changed table definition information and the table entity management information holding the block position and block size of the first table,
determining that the block to be registered in the temporary table in the first table is an input source block;
determining that the destination block in the temporary table of the source block is the destination block;
A decision to copy an action of registering from the first table to the temporary table from the input source block to the output destination block;
determining, as an output destination block, a block in the temporary table corresponding to the column to be added to the first table by the modification instruction information;
A decision to generate an empty block with no data (NULL) as an action for the destination block corresponding to the column to be added to the first table;
In addition,
determining the table creation conditions, which indicate the blocks to be registered in the temporary table and the empty blocks to be created in the temporary table, by reflecting each of the decisions ;
The block registration unit
A table modification device that generates an unregistered block consisting of one or more unregistered fields indicating cells in which data is not registered as the empty block in the temporary table by referring to the action indicating the generation of the empty block in the determined table generation conditions for adding the column to the first table.
複数の列と複数の行とを有し、列と行との交差で形成されるセルにセルデータが登録されており、列指向型データベースのデータ構造によって、列を同じくする1以上のセルデータがブロック化された1以上のブロックの状態で格納されている第1テーブルについて、修正を指示する修正指示情報を受信する受信部と、
前記修正指示情報の指示する前記修正が反映された修正後の前記第1テーブルである第2テーブルの生成の元になるテーブルであって、前記列指向型データベースの前記データ構造を有するテーブルである一時テーブルを生成するとともに前記第1テーブルを定義しているテーブル定義情報を前記修正指示情報を参照して変更する一時テーブル生成部と、
変更された前記テーブル定義情報と、前記第1テーブルのブロック位置及びブロックサイズを保持しているテーブル実体管理情報とに基づいて、前記第2テーブルを生成するテーブル生成条件を決定するテーブル生成条件決定部と、
決定された前記テーブル生成条件に基づいて、1以上のブロックの状態で格納されている前記第1テーブルの前記ブロックのうち、前記一時テーブルに登録するべきブロックを前記一時テーブルに登録するブロック登録部と
を備えるテーブル修正装置であって、
前記修正指示情報は、
前記修正として、前記第1テーブルから削除するべき列を指示しており、
前記テーブル生成条件決定部は、
変更された前記テーブル定義情報と、前記第1テーブルのブロック位置及びブロックサイズを保持している前記テーブル実体管理情報と参照して、前記修正指示情報が、前記修正として、前記第1テーブルから削除するべき列を指示していることへの応答として、
前記第1テーブルにおけるブロックを入力元ブロックとする決定と、
前記入力元ブロックのうち削除される前記列に対応する入力元ブロック以外の前記一時テーブルにおける出力先のブロックを出力先ブロックとする決定と、
前記入力元ブロックの前記出力先ブロックへのアクションをコピーとする決定と、
削除される前記列に対応する前記入力元ブロックに対する前記一時テーブルへのアクションを、前記入力元ブロックをコピーしないノーオペレーション(NOP)とする決定と
を行うとともに、
それぞれの前記決定を反映することにより、前記一時テーブルに登録するべき前記ブロックと、前記第1テーブルのブロックのうち前記一時テーブルに登録しない削除ブロックとが示された前記テーブル生成条件を決定し、
前記ブロック登録部は、
前記第1テーブルに存在する前記列の削除について、前記テーブル生成条件において前記ノーオペレーション(NOP)で示されている前記入力元ブロックを前記削除ブロック決定し、決定した前記削除ブロックを前記一時テーブルへの登録から除外するテーブル修正装置。
a receiving unit that receives correction instruction information instructing a correction to a first table having a plurality of columns and a plurality of rows, with cell data registered in cells formed at the intersections of the columns and the rows, and in which one or more cell data in the same column are blocked and stored in one or more blocks according to a data structure of a column-oriented database;
a temporary table generating unit that generates a temporary table having the data structure of the column-oriented database, the temporary table being a base for generating a second table, which is the first table after the modification specified by the modification instruction information is reflected, and that modifies table definition information defining the first table by referring to the modification instruction information;
a table generation condition determination unit that determines table generation conditions for generating the second table based on the changed table definition information and table entity management information that holds block positions and block sizes of the first table;
a block registration unit that registers, in the temporary table, blocks to be registered in the temporary table, among the blocks of the first table stored in a state of one or more blocks, based on the determined table generation condition,
The correction instruction information is
The modification indicates a column to be deleted from the first table;
The table generation condition determination unit
In response to the modification instruction information indicating, as the modification, a column to be deleted from the first table, by referring to the changed table definition information and the table entity management information holding the block position and block size of the first table,
determining that a block in the first table is a source block;
determining, as an output destination block, a block of the output destination in the temporary table other than the input source block corresponding to the column to be deleted among the input source blocks;
A decision to copy the action of the source block to the destination block;
A decision to perform an action on the temporary table for the source block corresponding to the column to be deleted as a no-operation (NOP) that does not copy the source block;
In addition,
determining the table generation conditions in which the blocks to be registered in the temporary table and deleted blocks of the first table that are not to be registered in the temporary table are indicated by reflecting the respective decisions ;
The block registration unit
A table modification device that, when deleting the column present in the first table, determines that the input source block indicated by the no operation (NOP) in the table generation conditions is the deleted block, and excludes the determined deleted block from registration in the temporary table.
複数の列と複数の行とを有し、列と行との交差で形成されるセルにセルデータが登録されており、列指向型データベースのデータ構造によって、列を同じくする1以上のセルデータがブロック化された1以上のブロックの状態で格納されている第1テーブルについて、修正を指示する修正指示情報を受信する受信部と、
前記修正指示情報の指示する前記修正が反映された修正後の前記第1テーブルである第2テーブルの生成の元になるテーブルであって、前記列指向型データベースの前記データ構造を有するテーブルである一時テーブルを生成するとともに前記第1テーブルを定義しているテーブル定義情報を前記修正指示情報を参照して変更する一時テーブル生成部と、
変更された前記テーブル定義情報と、前記第1テーブルのブロック位置及びブロックサイズを保持しているテーブル実体管理情報とに基づいて、前記第2テーブルを生成するテーブル生成条件を決定するテーブル生成条件決定部と、
決定された前記テーブル生成条件に基づいて、1以上のブロックの状態で格納されている前記第1テーブルの前記ブロックのうち、前記一時テーブルに登録するべきブロックを前記一時テーブルに登録するブロック登録部と
を備えるテーブル修正装置であって、
前記修正指示情報は、
前記修正として、属性を変更するべき前記第1テーブルの列と、変更するべき前記属性とを指示しており、
前記テーブル生成条件決定部は、
変更された前記テーブル定義情報と、前記第1テーブルのブロック位置及びブロックサイズを保持している前記テーブル実体管理情報を参照して、前記修正指示情報が、前記修正として、属性を変更するべき前記第1テーブルの列と、変更するべき前記属性とを指示していることへの応答として、
前記第1テーブルにおけるブロックを入力元ブロックとする決定と、
前記入力元ブロックの前記一時テーブルにおける出力先のブロックを出力先ブロックとする決定と、
属性を変更するべき前記第1テーブルの前記列に対応する入力元ブロック以外の前記入力元ブロックから前記出力先ブロックへのアクションをコピーとする決定と、
前記属性を変更するべき前記第1テーブルの前記列に対応する前記入力元ブロックから前記出力先ブロックへのアクションをデータ変換とする決定と
を行うとともに、
それぞれの前記決定を反映することにより、前記一時テーブルに登録するべき前記ブロックと、前記第1テーブルのブロックのうち前記属性を変換するべき属性変換ブロック及び前記属性の変換のアクションとが示された前記テーブル生成条件を決定し、
前記ブロック登録部は、
前記テーブル生成条件で示されている前記属性変換ブロックを決定し、決定した前記属性変換ブロックを登録するべき前記一時テーブルの領域の属性を、前記テーブル生成条件の示す前記属性に設定するテーブル修正装置。
a receiving unit that receives correction instruction information instructing a correction to a first table having a plurality of columns and a plurality of rows, with cell data registered in cells formed at the intersections of the columns and the rows, and in which one or more cell data in the same column are blocked and stored in one or more blocks according to a data structure of a column-oriented database;
a temporary table generating unit that generates a temporary table having the data structure of the column-oriented database, the temporary table being a base for generating a second table, which is the first table after the modification specified by the modification instruction information is reflected, and that modifies table definition information defining the first table by referring to the modification instruction information;
a table generation condition determination unit that determines table generation conditions for generating the second table based on the changed table definition information and table entity management information that holds block positions and block sizes of the first table;
a block registration unit that registers, in the temporary table, blocks to be registered in the temporary table, among the blocks of the first table stored in a state of one or more blocks, based on the determined table generation condition,
The correction instruction information is
the modification indicates a column of the first table whose attribute is to be changed and the attribute to be changed;
The table generation condition determination unit
by referring to the table definition information that has been changed and the table entity management information that holds the block position and block size of the first table, in response to the modification instruction information indicating, as the modification, the column of the first table whose attribute should be changed and the attribute whose attribute should be changed,
determining that a block in the first table is a source block;
determining that the destination block in the temporary table of the source block is the destination block;
determining that the action is to copy from the source blocks other than the source block corresponding to the column of the first table whose attribute is to be changed to the destination block;
determining that an action from the source block to the destination block corresponding to the column of the first table whose attribute is to be changed is a data conversion;
In addition,
By reflecting each of the decisions, the table generation condition is determined, which indicates the blocks to be registered in the temporary table, the attribute conversion blocks in which the attributes of the blocks in the first table should be converted, and the action of converting the attributes;
The block registration unit
a table modification device that determines the attribute conversion block indicated by the table generation conditions, and sets the attribute of an area of the temporary table in which the determined attribute conversion block is to be registered to the attribute indicated by the table generation conditions.
コンピュータに、
複数の列と複数の行と有し、列と行との交差で形成されるセルにセルデータが登録されており、列指向型データベースのデータ構造によって、列を同じくする1以上のセルデータがブロック化された1以上のブロックの状態で格納されている第1テーブルについて、修正を指示する修正指示情報を受信する受信処理と、
前記修正指示情報の指示する前記修正が反映された修正後の前記第1テーブルである第2テーブルの生成の元になるテーブルであって、前記列指向型データベースの前記データ構造を有するテーブルである一時テーブルを生成するとともに前記第1テーブルを定義しているテーブル定義情報を前記修正指示情報を参照して変更する一時テーブル生成処理と、
変更された前記テーブル定義情報と、前記第1テーブルのブロック位置及びブロックサイズを保持しているテーブル実体管理情報とに基づいて、前記第2テーブルを生成するテーブル生成条件を決定するテーブル生成条件決定処理と、
決定された前記テーブル生成条件に基づいて、1以上のブロックの状態で格納されている前記第1テーブルの前記ブロックのうち、前記一時テーブルに登録するべきブロックを前記一時テーブルに登録するブロック登録処理と
を実行させるテーブル修正プログラムであって、
前記修正指示情報は、
前記修正として、前記第1テーブルへの列の追加を指示しており、
前記テーブル生成条件決定処理では、
変更された前記テーブル定義情報と、前記第1テーブルのブロック位置及びブロックサイズを保持している前記テーブル実体管理情報とを参照して、前記修正指示情報が、前記修正として、前記第1テーブルへの列の追加を指示していることへの応答として、
前記第1テーブルにおける前記一時テーブルに登録するべき前記ブロックを入力元ブロックとする決定と、
前記入力元ブロックの前記一時テーブルにおける出力先のブロックを出力先ブロックとする決定と、
前記第1テーブルから前記一時テーブルへの登録のアクションであって、前記入力元ブロックから前記出力先ブロックへのアクションをコピーとする決定と、
前記修正指示情報によって前記第1テーブルに追加されるべき前記列に対応する前記一時テーブルにおけるブロックを出力先ブロックとする決定と、
前記第1テーブルに追加されるべき前記列に対応する前記出力先ブロックに対するアクションを、データ無し(NULL)の空ブロックの生成とする決定と
を行うとともに、
それぞれの前記決定を反映することにより、前記一時テーブルに登録するべき前記ブロックと、前記一時テーブルに生成するべき空ブロックとが示された前記テーブル生成条件を決定し、
前記ブロック登録処理では、
前記第1テーブルへの前記列の追加について、決定された前記テーブル生成条件における前記空ブロックの生成を示す前記アクションを参照することにより、前記一時テーブルに、データが未登録のセルを示す1以上の未登録フィールドからなる未登録ブロックを、前記空ブロックとして生成するテーブル修正プログラム。
On the computer,
a receiving process for receiving correction instruction information instructing a correction to a first table having a plurality of columns and a plurality of rows, with cell data registered in cells formed at the intersections of the columns and the rows, and in which one or more cell data in the same column are blocked and stored in one or more blocks according to a data structure of a column-oriented database;
a temporary table generation process for generating a temporary table that is a table that is a base for generating a second table, which is the first table after the modification instructed by the modification instruction information, and that is a table having the data structure of the column-oriented database, and for modifying table definition information that defines the first table by referring to the modification instruction information;
a table generation condition determination process for determining table generation conditions for generating the second table based on the changed table definition information and table entity management information holding the block positions and block sizes of the first table;
a block registration process for registering, in the temporary table, blocks to be registered in the temporary table, among the blocks of the first table stored in a state of one or more blocks, based on the determined table generation condition,
The correction instruction information is
The modification indicates the addition of a column to the first table;
In the table generation condition determination process,
In response to the modification instruction information instructing the addition of a column to the first table as the modification, by referring to the changed table definition information and the table entity management information holding the block position and block size of the first table,
determining that the block to be registered in the temporary table in the first table is an input source block;
determining that the destination block in the temporary table of the source block is the destination block;
A decision to copy an action of registering from the first table to the temporary table from the input source block to the output destination block;
determining, as an output destination block, a block in the temporary table corresponding to the column to be added to the first table by the modification instruction information;
A decision to generate an empty block with no data (NULL) as an action for the destination block corresponding to the column to be added to the first table;
In addition,
determining the table creation conditions , which indicate the blocks to be registered in the temporary table and the empty blocks to be created in the temporary table, by reflecting each of the decisions ;
In the block registration process ,
A table modification program that generates an unregistered block consisting of one or more unregistered fields indicating cells in which data is not registered as the empty block in the temporary table by referring to the action indicating the generation of the empty block in the determined table generation conditions for adding the column to the first table .
JP2020052714A 2020-03-24 2020-03-24 Table correction device and table correction program Active JP7653766B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020052714A JP7653766B2 (en) 2020-03-24 2020-03-24 Table correction device and table correction program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020052714A JP7653766B2 (en) 2020-03-24 2020-03-24 Table correction device and table correction program

Publications (2)

Publication Number Publication Date
JP2021152732A JP2021152732A (en) 2021-09-30
JP7653766B2 true JP7653766B2 (en) 2025-03-31

Family

ID=77886601

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020052714A Active JP7653766B2 (en) 2020-03-24 2020-03-24 Table correction device and table correction program

Country Status (1)

Country Link
JP (1) JP7653766B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016539417A (en) 2013-12-06 2016-12-15 華為技術有限公司Huawei Technologies Co.,Ltd. Column-oriented database processing method and processing device
JP2018533091A (en) 2016-08-23 2018-11-08 平安科技(深▲ジェン▼)有限公司Ping An Technology(Shenzhen)Co.,Ltd. Information item storage method, information item storage system, information item storage device, information item storage program, and computer-readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016539417A (en) 2013-12-06 2016-12-15 華為技術有限公司Huawei Technologies Co.,Ltd. Column-oriented database processing method and processing device
JP2018533091A (en) 2016-08-23 2018-11-08 平安科技(深▲ジェン▼)有限公司Ping An Technology(Shenzhen)Co.,Ltd. Information item storage method, information item storage system, information item storage device, information item storage program, and computer-readable storage medium

Also Published As

Publication number Publication date
JP2021152732A (en) 2021-09-30

Similar Documents

Publication Publication Date Title
US8983919B2 (en) Systems and methods for improving database performance
US10496621B2 (en) Columnar storage of a database index
CN109690521B (en) Method and device for merging databases
US20250238544A1 (en) Query-based database redaction
WO2022061995A1 (en) R-tree index merging and updating method and apparatus based on hilbert curve, and medium
US20100235383A1 (en) Storage system and data migration-compatible search system
JP7653766B2 (en) Table correction device and table correction program
US10268644B2 (en) Information processing apparatus, computer-readable recording medium having stored therein data conversion program, and data conversion method
JP6006740B2 (en) Index management device
JP2001229060A (en) System and method for retrieving directory and computer readable recording medium with directory retrieval program recorded thereon
US20250045299A1 (en) Executing hierarchical data space operations
CN117573634B (en) A key-value storage method based on a multi-log structure merging tree
CN111221814B (en) Secondary index construction method, device and equipment
WO2023116828A1 (en) Method and system for hard disk data storing and access
JP2004192657A (en) Information retrieval system, and recording medium recording information retrieval method and program for information retrieval
US12339980B2 (en) Data replacement apparatus, data replacement method, and program
JP3980326B2 (en) Data management method and computer-readable recording medium
US12360993B2 (en) Method and database system for optimizing query processing execution scheme
JPH113354A (en) Data cube control system
JP2000242532A (en) Output file control device, data processing system using the device, and storage medium storing program for causing a computer to perform processing in the device
US12067014B2 (en) Methods and systems for performing a vectorized delete in a distributed database system
JP2004334436A (en) Large-scale data handling equipment
JP2008065716A (en) Data management apparatus, data management method, and data management program
JP4825504B2 (en) Data registration / retrieval system and data registration / retrieval method
JPS62287350A (en) Index integrally updating system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230103

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230912

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230913

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231017

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231212

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240201

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20240507

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240625

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20240704

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20240726

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250318

R150 Certificate of patent or registration of utility model

Ref document number: 7653766

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350