JP2019066939A - Transfer management device and transfer management method - Google Patents
Transfer management device and transfer management method Download PDFInfo
- Publication number
- JP2019066939A JP2019066939A JP2017188843A JP2017188843A JP2019066939A JP 2019066939 A JP2019066939 A JP 2019066939A JP 2017188843 A JP2017188843 A JP 2017188843A JP 2017188843 A JP2017188843 A JP 2017188843A JP 2019066939 A JP2019066939 A JP 2019066939A
- Authority
- JP
- Japan
- Prior art keywords
- migration
- database
- target table
- migration target
- query
- 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.)
- Granted
Links
Images
Abstract
Description
本発明は、移行管理装置及び移行管理方法に関する。 The present invention relates to a migration management apparatus and a migration management method.
従来、データ仮想化技術を用いることにより、複数のデータベースシステム(以下、データベースという。)を仮想的に統合したデータ統合環境を構築することが行われている。 2. Description of the Related Art Conventionally, it has been practiced to construct a data integration environment in which a plurality of database systems (hereinafter referred to as databases) are virtually integrated by using data virtualization technology.
データ統合環境では、データベースに格納されているテーブルを示す情報であるスキーマ情報を物理モデルと論理モデルで表現する。物理モデルでは、テーブルの物理的な格納先を示すとともに、テーブルが格納されているデータベースに接続するための接続情報を保持する。論理モデルでは、一以上の物理モデル又は論理モデルに対応する仮想テーブルを構成する。クライアントは仮想テーブルを参照してクエリを実行することにより、テーブルが配置されているデータベースを意識することなくクエリを実行することができる。 In a data integration environment, schema information, which is information indicating a table stored in a database, is represented by a physical model and a logical model. The physical model indicates the physical storage destination of the table and holds connection information for connecting to the database in which the table is stored. Logical models construct virtual tables that correspond to one or more physical models or logical models. The client can execute the query without referring to the database in which the table is arranged by executing the query with reference to the virtual table.
データ統合環境では、ユーザから受け付けたクエリを処理するクエリ処理装置が、クエリの実行時に必要となるテーブルをデータベースからネットワークを介して取得し、取得したテーブルを用いてクエリを実行する。したがって、データ統合環境におけるクエリの実行性能は、データ通信量に依存する。このため、データ通信量を減らすことにより、データ統合環境におけるクエリの実行性能を改善することができる。 In the data integration environment, a query processing device that processes a query received from a user acquires a table required at the time of query execution from a database via a network, and executes the query using the acquired table. Therefore, the execution performance of queries in a data integration environment depends on the amount of data communication. Therefore, by reducing the amount of data communication, it is possible to improve the query execution performance in the data integration environment.
非特許文献1には、データ通信量を減らす方法として、クエリの実行時に、クエリに対応する処理を、当該クエリに対応するテーブルを格納するデータベース上で行う方法が開示されている。 Non-Patent Document 1 discloses, as a method of reducing the amount of data communication, a method of performing processing corresponding to a query when executing a query on a database storing a table corresponding to the query.
また、特許公報1では、クエリの実行時に、複数のデータベースのそれぞれに格納されているテーブルを参照する場合、データ量が小さいテーブルを一時的に一方のデータベースに移動した後、非特許文献1に開示される方法を適用し、当該データベース上で、クエリに対応する処理を行う方法が開示されている。 Further, in Patent Document 1, when referring to tables stored in each of a plurality of databases at the time of executing a query, after temporarily moving a table with a small amount of data to one of the databases, A method is disclosed that applies the disclosed method and performs processing corresponding to a query on the database.
特許文献1に記載の方法を用いることで、複数のデータベースのそれぞれに格納されているテーブルを参照する場合のデータ通信量を削減することができる。しかしながら、異なるデータベースに格納されているテーブルがクエリに含まれている場合において、これらのテーブルが同程度のサイズであるとき、テーブルの移動を行うことにより、通信量が増えてしまうという問題が発生する。 By using the method described in Patent Document 1, it is possible to reduce the amount of data communication when referring to the tables stored in each of the plurality of databases. However, when tables stored in different databases are included in the query, if these tables have similar sizes, there is a problem that moving the tables will increase the amount of communication. Do.
また、上記の問題を解決するために、複数のテーブルのそれぞれに含まれるデータの関係に基づいて、関連性の高い複数のテーブルを予め一のデータベースに移しておくことが考えられる。しかしながら、このようにテーブルを配置しても、ユーザのテーブルの利用状況が考慮されていないため、ユーザが頻繁に使用するテーブルが、異なるデータベースに格納される場合がある。このため、異なるデータベースに格納されているテーブルがクエリに含まれている場合には、データベース上でクエリを実行することができないことから、クエリの実行性能を改善することができないという問題が発生する。 Moreover, in order to solve the above-mentioned problem, it is conceivable to transfer a plurality of highly relevant tables to one database in advance based on the relationship of data included in each of the plurality of tables. However, even if the tables are arranged in this way, the tables frequently used by the user may be stored in different databases because the utilization status of the user's tables is not taken into consideration. For this reason, when tables stored in different databases are included in the query, the query execution performance can not be improved because the query can not be executed on the database. .
そこで、本発明はこれらの点に鑑みてなされたものであり、テーブルを適切なデータベースに配置することができる移行管理装置及び移行管理方法を提供することを目的とする。 Therefore, the present invention has been made in view of these points, and it is an object of the present invention to provide a migration management apparatus and a migration management method that can arrange tables in an appropriate database.
本発明の第1の態様に係る移行管理装置は、複数のデータベースのそれぞれに含まれる複数のテーブルの利用状況を特定する利用状況特定部と、特定された前記利用状況に基づいて、前記複数のデータベースのうち、現在格納されているデータベースとは異なるデータベースに移行するテーブルを移行対象テーブルとして特定するテーブル特定部と、特定された前記移行対象テーブルを移行先のデータベースに複製する移行制御部と、前記移行対象テーブルの複製が完了すると、前記複数のテーブルのそれぞれの格納先を管理する物理モデルと、ユーザが参照する仮想テーブルを管理する論理モデルとを記憶し前記ユーザから受け付けたクエリを処理するクエリ処理装置の前記物理モデルが示す前記移行対象テーブルの格納先を前記移行先のデータベースに更新する更新部と、を備える。 According to a first aspect of the present invention, there is provided a migration management apparatus comprising: a plurality of usage status specifying units for specifying usage status of a plurality of tables included in each of a plurality of databases; A table identification unit that specifies a table to be migrated to a database different from the currently stored database among the databases as a migration target table, a migration control unit copying the identified migration target table to the migration destination database, When replication of the migration target table is completed, the physical model managing the storage destination of each of the plurality of tables and the logical model managing the virtual table referred to by the user are stored, and the query received from the user is processed. The storage destination of the migration target table indicated by the physical model of the query processing device is the migration destination Comprising an update unit for updating the database, the.
前記移行制御部は、前記更新部が前記物理モデルを更新すると、移行元のデータベースから前記移行対象テーブルを消去してもよい。 The migration control unit may erase the migration target table from the migration source database when the updating unit updates the physical model.
前記テーブル特定部は、前記移行先のデータベースの空きサイズが前記移行対象テーブルのサイズよりも小さい場合には、前記移行先のデータベースから移行させるテーブルを第2移行対象テーブルとして特定し、前記移行制御部は、前記テーブル特定部が第2移行対象テーブルを特定した場合に、前記移行対象テーブルの一部と、前記第2移行対象テーブルの一部とを、それぞれのテーブルの移行先のデータベースに複製し、前記更新部は、前記移行対象テーブルの一部の複製が完了すると、移行先のデータベースに一部が複製されている前記移行対象テーブルを示す前記物理モデルを新たに生成し、前記移行対象テーブルの前記論理モデルが示すテーブルを、新たに生成された前記物理モデルが示す前記移行対象テーブルのデータと、移行元のデータベースに格納されている複製前の前記移行対象テーブルのデータとを連結するクエリに変更し、前記第2移行対象テーブルの一部の複製が完了すると、移行先のデータベースに一部が複製されている前記第2移行対象テーブルを示す前記物理モデルを新たに生成し、前記第2移行対象テーブルの前記論理モデルが示すテーブルを、新たに生成された前記物理モデルが示す前記第2移行対象テーブルのデータと、移行元のデータベースに格納されている複製前の前記第2移行対象テーブルのデータとを連結するクエリに変更し、前記移行制御部は、前記更新部が前記移行対象テーブル及び前記第2移行対象テーブルの前記論理モデルを変更すると、複製済の前記移行対象テーブルの一部及び前記第2移行対象テーブルの一部を移行元のデータベースから消去し、前記移行対象テーブルの一部と、前記第2移行対象テーブルの一部とを、それぞれのテーブルの移行先のデータベースにさらに複製してもよい。 The table identification unit identifies, as the second migration target table, a table to be migrated from the migration destination database, when the free space size of the migration destination database is smaller than the size of the migration target table. When the table specifying unit specifies the second migration target table, the unit copies a part of the migration target table and a part of the second migration target table to the migration destination database of each table. When the partial copy of the migration target table is completed, the update unit newly generates the physical model indicating the migration target table partially copied to the migration destination database, and the migration target is The table indicated by the logical model of the table is transferred from the data of the migration target table indicated by the newly generated physical model, Change the query to the data of the migration target table before replication stored in the original database to a query to link, and when replication of part of the second migration target table is completed, part of the replication destination database is replicated The physical model indicating the second migration target table being generated is newly generated, and the second migration target indicating the newly generated physical model indicates the table indicating the logical model of the second migration target table The data of the table and the data of the second migration target table before duplication stored in the migration source database are changed to a query for linking, and the migration control unit is configured such that the updating unit is the migration target table and the When the logical model of the second migration target table is changed, a part of the copied migration target table and a part of the second migration target table are migrated Clear from the database, and a part of the migration target table and a portion of the second migration target table may be further replicated to the destination database each table.
前記移行制御部は、前記第2移行対象テーブルの移行先のデータベースの空きサイズが、前記第2移行対象テーブルのサイズ以上の場合には、前記第2移行対象テーブルの全体を一度に当該移行先のデータベースに複製してもよい。
前記移行制御部は、前記第2移行対象テーブルを、前記移行対象テーブルの移行元のデータベースに移行してもよい。
When the free size of the database of the migration destination of the second migration target table is equal to or larger than the size of the second migration target table, the migration control unit moves the entire second migration target table to the migration destination at one time May be replicated to the database of
The migration control unit may migrate the second migration target table to a migration source database of the migration target table.
前記移行制御部は、前記利用状況に基づいて、それぞれ異なるデータベースに格納されているテーブルが結合される結合処理のうち、出現頻度が高いと予測される結合処理を特定し、特定した結合処理の入力データ又は出力データを前記クエリ処理装置の記憶部に生成し、前記更新部は、前記クエリ処理装置の記憶部に生成されたテーブルが参照可能に前記物理モデル及び前記論理モデルを更新してもよい。 The migration control unit identifies a combining process predicted to have a high frequency of occurrence among combining processes in which tables stored in different databases are combined based on the usage status, and identifies the specified combining process Even if input data or output data is generated in the storage unit of the query processing apparatus, the updating unit updates the physical model and the logical model so that the table generated in the storage unit of the query processing apparatus can be referred to Good.
本発明の第2の態様に係る移行管理方法は、コンピュータが実行する、複数のデータベースのそれぞれに含まれる複数のテーブルの利用状況を特定するステップと、特定された前記利用状況に基づいて、前記複数のデータベースのうち、現在格納されているデータベースとは異なるデータベースに移行するテーブルを移行対象テーブルとして特定するステップと、特定された前記移行対象テーブルを移行先のデータベースに複製するステップと、前記移行対象テーブルの複製が完了すると、前記複数のテーブルのそれぞれの格納先を管理する物理モデルと、ユーザが参照する仮想テーブルを管理する論理モデルとを記憶し前記ユーザから受け付けたクエリを処理するクエリ処理装置の前記物理モデルが示す前記移行対象テーブルの格納先を前記移行先のデータベースに更新するステップと、を備える。 In the migration management method according to the second aspect of the present invention, the computer executes the steps of identifying the utilization status of a plurality of tables included in each of a plurality of databases, and the identification based on the identified utilization status. Among the plurality of databases, a step of identifying a table to be migrated to a database different from the currently stored database as a migration target table, copying the identified migration target table to the migration destination database, and the migration When replication of the target table is completed, a query process for storing a physical model for managing the storage destination of each of the plurality of tables and a logical model for managing the virtual table referred to by the user and processing a query received from the user Storage destination of the migration target table indicated by the physical model of the device Comprising the steps of updating on the destination database, the.
本発明によれば、テーブルを適切なデータベースに配置することができるという効果を奏する。 According to the present invention, it is possible to arrange the table in an appropriate database.
[仮想データベースシステムSの概要]
図1は、本実施形態に係る仮想データベースシステムSの構成を示す図である。仮想データベースシステムSは、データベース11を物理的に格納する複数の記憶装置1と、クエリ処理装置2と、ユーザ端末3と、移行管理装置4とを備え、複数のデータベース11を仮想的に統合するシステムである。なお、図1において、ユーザ端末3は1台のみ示されているが、複数のユーザ端末3がクエリ処理装置2に接続されているものとする。
[Overview of Virtual Database System S]
FIG. 1 is a diagram showing the configuration of a virtual database system S according to the present embodiment. The virtual database system S includes a plurality of storage devices 1 for physically storing the
クエリ処理装置2は、データベース11に格納されているテーブルを示す情報であるスキーマ情報として、物理モデルと、論理モデルとを記憶している。物理モデルは、テーブルの物理的な格納場所を示すモデルである。論理モデルは、ユーザ端末3が参照可能な仮想的なテーブルを管理するモデルであり、仮想的なテーブルと、物理モデルが示すテーブルとの関連付けを行う。クエリ処理装置2は、ユーザ端末3から論理モデルに対応するクエリを取得すると、物理モデルを参照し、当該クエリに対応する1以上のデータベース11を特定する。
The query processing device 2 stores a physical model and a logical model as schema information which is information indicating a table stored in the
クエリ処理装置2は、特定したデータベース11からデータを取得してクエリに対応する演算を実行し、実行結果をユーザ端末3に出力する。これにより、ユーザは、データベース11の物理的な位置を意識することなく複数のデータベース11に格納されているデータを参照することができる。
The query processing device 2 acquires data from the identified
クエリ処理装置2は、クエリに対応する複数のテーブルが同一のデータベース11に格納されている場合に、クエリ実行時のデータ通信量を減らすために、クエリに対応する処理を当該データベース11上で行わせる。また、クエリ処理装置2は、クエリに対応する複数のテーブルが同一のデータベース11に格納されていない場合に、クエリに対応するテーブルをクエリ処理装置2が取得し、クエリ処理装置2においてクエリに対応する処理を行う。クエリに対応するテーブルが同一のデータベース11に格納されていない場合には、データ通信量が増加し、クエリの実行性能が悪化するため、ユーザが同時に参照する頻度が高い複数のテーブルが同一のデータベース11に格納されていることが好ましい。
When a plurality of tables corresponding to a query are stored in the
本実施形態では、移行管理装置4が、ユーザが同時に参照する頻度が高い複数のテーブルが同一のデータベース11に格納されるようにテーブルを移行する。移行管理装置4は、図1に示すように、クエリ処理装置2及び記憶装置1から、複数のテーブルの利用状況を示す利用状況情報を取得し、当該利用状況情報に基づいて、他のデータベース11に移行するテーブルTを特定する。
In the present embodiment, the migration management apparatus 4 migrates the tables so that a plurality of tables frequently referred to by the user at the same time are stored in the
移行管理装置4は、特定したテーブルTを移行させる移行制御を行うとともに、クエリ処理装置2に記憶されている物理モデルを更新する。このようにすることで、移行管理装置4は、テーブルを適切なデータベース11に配置することができる。
続いて、クエリ処理装置2及び移行管理装置4の構成を説明する。
The migration management device 4 performs migration control to migrate the identified table T, and updates the physical model stored in the query processing device 2. By doing this, the migration management device 4 can arrange the table in the
Subsequently, configurations of the query processing device 2 and the migration management device 4 will be described.
[クエリ処理装置2の構成]
図2は、本実施形態に係るクエリ処理装置2の構成を示す図である。クエリ処理装置2は、コンピュータであり、LAN(Local Area Network)等を介して、複数の記憶装置1と、ユーザ端末3と、移行管理装置4とに通信可能に接続されている。
[Configuration of Query Processing Device 2]
FIG. 2 is a diagram showing the configuration of the query processing device 2 according to the present embodiment. The query processing device 2 is a computer, and is communicably connected to the plurality of storage devices 1, the
クエリ処理装置2は、図2に示すように、記憶部21と、制御部22とを備える。
記憶部21は、例えば、ROM(Read Only Memory)及びRAM(Random Access Memory)等である。記憶部21は、クエリ処理装置2を機能させるための各種プログラムを記憶する。例えば、記憶部21は、クエリ処理装置2の制御部22を、後述するクエリ取得部221、クエリ実行部222、及び出力部223として機能させるクエリ実行プログラムを記憶する。
The query processing device 2 includes a
The
また、記憶部21は、データベース11に格納されているテーブルを示す情報であるスキーマ情報として、物理モデルPMと論理モデルLMとを記憶する。物理モデルPMは、複数のデータベース11に格納されている複数のテーブルの格納先を管理する。具体的には、物理モデルPMは、データベース11に格納されているテーブルを識別するテーブル名と、当該テーブルが格納されているデータベース11を識別するデータベース識別情報とを関連付けて記憶する。
The
論理モデルLMは、ユーザが参照する仮想テーブルを管理する。論理モデルLMは、仮想テーブルを識別するテーブル名と、当該仮想テーブルの構成を示す情報とを関連付けて記憶する。ここで、仮想テーブルの構成を示す情報は、物理モデルPMが示すテーブル名、又は、クエリである。 The logical model LM manages virtual tables referenced by the user. The logical model LM associates and stores a table name for identifying a virtual table and information indicating the configuration of the virtual table. Here, the information indicating the configuration of the virtual table is a table name or a query indicated by the physical model PM.
制御部22は、例えばCPU(Central Processing Unit)である。制御部22は、記憶部21に記憶されている各種プログラムを実行することにより、クエリ処理装置2に係る機能を制御する。制御部22は、クエリ実行プログラムを実行することにより、クエリ取得部221、クエリ実行部222、及び出力部223として機能する。
The
クエリ取得部221は、ユーザ端末3から複数のデータベース11の少なくともいずれかに対応するクエリを取得する。
The
クエリ実行部222は、取得されたクエリを解析し、取得されたクエリに対応する処理を行う。例えば、クエリ実行部222は、クエリに対応するテーブルが同一のデータベース11に格納されている場合に、クエリに対応する処理を当該データベース11上で行わせる。また、クエリ実行部222は、クエリに対応するテーブルが同一のデータベース11に格納されていない場合に、クエリに対応するテーブルをデータベース11から取得し、当該テーブルを用いてクエリに対応する処理を行う。
The
出力部223は、クエリ実行部222によって実行されたクエリの実行結果をユーザ端末3に出力する。
The
[移行管理装置4の構成]
図3は、本実施形態に係る移行管理装置4の構成を示す図である。移行管理装置4は、コンピュータであり、LAN等を介して、複数の記憶装置1と、クエリ処理装置2とに通信可能に接続されている。
[Configuration of Migration Management Device 4]
FIG. 3 is a diagram showing the configuration of the migration management device 4 according to the present embodiment. The migration management device 4 is a computer, and is communicably connected to the plurality of storage devices 1 and the query processing device 2 via a LAN or the like.
移行管理装置4は、図3に示すように、記憶部41と、制御部42とを備える。
記憶部41は、例えば、ROM及びRAM等である。記憶部41は、移行管理装置4を機能させるための各種プログラムを記憶する。例えば、記憶部41は、移行管理装置4の制御部42を、後述する利用状況特定部421、テーブル特定部422、移行制御部423、及び更新部424として機能させる移行管理プログラムを記憶する。
The migration management device 4 includes a
The
また、記憶部41は、プロファイル情報411を記憶する。プロファイル情報411は、複数のデータベース11のそれぞれに格納されているテーブルの利用状況を示す情報や、記憶装置1の記憶領域の利用可能サイズを示す情報を含む。
The
制御部42は、例えばCPUである。制御部42は、記憶部41に記憶されている各種プログラムを実行することにより、移行管理装置4に係る機能を制御する。制御部42は、移行管理プログラムを実行することにより、利用状況特定部421、テーブル特定部422、移行制御部423、及び更新部424として機能する。
The
[移行管理装置4における処理の流れ]
以下、移行管理装置4における処理の流れを説明しながら、利用状況特定部421、テーブル特定部422、移行制御部423、及び更新部424について説明する。図4は、本実施形態における移行管理装置4における処理の流れを示すフローチャートである。
[Flow of processing in migration management device 4]
Hereinafter, the use
利用状況特定部421は、所定時間おきに複数のデータベース11のそれぞれに含まれる複数のテーブルの利用状況を特定する(S10)。具体的には、利用状況特定部421は、クエリ処理装置2から、クエリ処理装置2で実行されたクエリのログを取得するとともに、スキーマ情報を取得する。また、利用状況特定部421は、複数のデータベース11のそれぞれにおいて実行されたクエリのログを取得する。クエリのログには、クエリを示す文字列、クエリに基づいて生成された実行計画、クエリ実行中に使用する記憶領域のサイズを示す中間コスト、クエリの実行結果を示すデータのサイズを示す情報が含まれる。
The use
利用状況特定部421は、取得したこれらの情報に基づいて、データベース11に含まれている複数のテーブルの利用頻度、テーブル間の結合関係、結合頻度を含むテーブルの利用状況を特定する。
The use
また、利用状況特定部421は、複数の記憶装置1のそれぞれから、テーブルに含まれるカラムの構成等を示すテーブル構成情報、テーブルに含まれるデータのサイズやデータの分布を示す統計情報、記憶装置1の記憶領域のサイズを示すサイズ情報、記憶装置1の記憶領域の利用量を示す利用量情報を取得する。利用状況特定部421は、取得したこれらの情報に基づいて、複数の記憶装置1のそれぞれに格納されているデータベース11の利用可能サイズを算出する。
In addition, the use
利用状況特定部421は、特定したテーブルの利用状況を示す利用状況情報と、算出したデータベース11の利用可能サイズを示す情報と、スキーマ情報とを、テーブルに含まれるデータのサイズやデータの分布を示す統計情報とを、プロファイル情報411として記憶部41に記憶させる。
The usage
テーブル特定部422は、利用状況特定部421により特定された利用状況に基づいて、複数のデータベース11のうち、現在格納されているデータベース11とは異なるデータベース11に移行するテーブルを移行対象テーブルとして特定する。また、テーブル特定部422は、移行対象テーブルの移行先のデータベースを特定する(S20)。
The
具体的には、テーブル特定部422は、プロファイル情報411に含まれる利用状況情報を利用して、同じデータベース11にあるべき複数のテーブルを示すテーブルセットを作成する。例えば、テーブル特定部422は、利用状況情報に含まれるクエリのログが示すテーブルの結合関係に基づいて、テーブルをノード、テーブルの結合関係をエッジとしたグラフを生成する。テーブル特定部422は、利用状況情報に含まれる複数のクエリのログが示すテーブルの結合関係に基づいて、テーブル同士の結合回数を算出し、当該結合回数に基づいてエッジの重み付けを行う。
Specifically, the
テーブル特定部422は、エッジの重み付けが行われたグラフに基づいて、グラフに含まれる複数のノードを複数のクラスタに分類する。ここで、テーブル特定部422は、記憶装置1の記憶領域のサイズと、ノードが示すテーブルのサイズとに基づいて、グラフに含まれる複数のノードを複数のクラスタに分類する。そして、テーブル特定部422は、クラスタに含まれる複数のノードを移行後のテーブルセットとして特定する。
The
テーブル特定部422は、複数の記憶装置1のそれぞれに格納されているデータベース11に含まれる複数のテーブルを、移行前のテーブルセットとして特定する。テーブル特定部422は、移行後のテーブルセットに含まれているテーブルと、移行前のテーブルセットに含まれているテーブルとの一致率に基づいて、移行前のテーブルセットに対応する移行後のテーブルセットを特定する。
The
そして、テーブル特定部422は、移行前のテーブルセットに含まれておらず、移行後のテーブルセットに含まれているテーブルを、移行対象テーブルと特定する。また、テーブル特定部422は、移行前のテーブルセットに対応するデータベース11を、移行対象テーブルの移行先と特定する。また、テーブル特定部422は、移行対象テーブルが含まれている移行前のテーブルセットに対応するデータベース11を、移行対象テーブルの移行元と特定する。
Then, the
続いて、移行制御部423は、特定された移行対象テーブルの移行を制御する。具体的には、移行制御部423は、特定された移行対象テーブルの中から1つの移行対象テーブルを選択する(S30)。
Subsequently, the
続いて、移行制御部423は、選択された移行対象テーブルのサイズと、移行先のデータベース11のサイズとに基づいて、移行先のデータベース11の容量が不足しているか否かを判定する(S40)。移行制御部423は、移行先のデータベース11の容量が不足していると判定すると、S90に処理を移し、テーブル交換処理を実行する。テーブル交換処理の詳細については後述する。
Subsequently, the
移行制御部423及び更新部424は、移行先のデータベース11の容量が不足していないと判定すると、S50〜S70に示されるテーブル移行処理を実行する。図5は、テーブル移行処理を実行した場合のクエリ処理装置2の状態と、データベース11におけるテーブルの状態とを示す図である。図5に示す例では、移行対象テーブルがTA、移行元のデータベースが11A、移行先のデータベースが11Bであるものとする。テーブル移行処理が実行される前は、図5(a)に示すように、移行対象テーブルTAがデータベース11Aに格納されている。
If the
移行制御部423は、S50において、特定された移行対象テーブルTAをデータベース11Bに複製する。これにより、図5(b)に示すように、移行元のデータベース11Aと、移行先のデータベース11Bとの双方に移行対象テーブルTAが格納される。
The
続いて、更新部424は、移行対象テーブルの複製が完了したことに応じて、クエリ処理装置2に記憶されている物理モデルを更新する(S60)。具体的には、更新部424は、図5(c)に示すように、クエリ処理装置2に記憶されている物理モデルが示す移行対象テーブルの格納先を、移行元のデータベース11Aから移行先のデータベース11Bに変更する。
Subsequently, the updating
続いて、移行制御部423は、更新部424が物理モデルを更新すると、図5(d)に示すように、移行元のデータベース11Aから移行対象テーブルTAを消去する(S70)。
Subsequently, when the updating
続いて、移行制御部423は、全ての移行対象テーブルの移行が完了したか否かを判定する(S80)。移行制御部423は、全ての移行対象テーブルの移行が完了したと判定すると、本フローチャートに係る処理を終了し、全ての移行対象テーブルが移行完了していないと判定すると、S30に処理を移し、移行が完了していない移行対象テーブルを選択する。
Subsequently, the
続いて、テーブル交換処理の詳細について説明する。図6は、本実施形態に係るテーブル交換処理に係る処理の流れを示すフローチャートである。また、図7、図8は、本実施形態に係るテーブル交換処理を実行した場合のクエリ処理装置2の状態と、データベース11におけるテーブルの状態とを示す図である。
Subsequently, the details of the table exchange process will be described. FIG. 6 is a flowchart showing the flow of processing relating to table exchange processing according to the present embodiment. 7 and 8 are diagrams showing the state of the query processing device 2 and the state of the table in the
図7、図8に示す例では、移行対象テーブルがTA、移行元のデータベースが11A、移行先のデータベースが11Bであるものとする。テーブル移行処理が実行される前は、図7(a)に示すように、移行対象テーブルTAがデータベース11Aに格納されている。なお、図7、8では、説明を簡単にするため、移行対象テーブルTAに対応する物理モデルPMA及び論理モデルLMAのみを示す。 In the example shown in FIGS. 7 and 8, it is assumed that the migration target table is TA, the migration source database is 11A, and the migration destination database is 11B. Before the table migration process is executed, as shown in FIG. 7A, the migration target table TA is stored in the database 11A. 7 and 8 show only the physical model PMA and the logical model LMA corresponding to the migration target table TA, in order to simplify the description.
まず、テーブル特定部422は、移行対象テーブルTAの移行先のデータベース11Bの空きサイズが移行対象テーブルTAのサイズよりも小さい場合には、移行先のデータベース11Bから移行させるテーブルを第2移行対象テーブルとして特定する(S91)。まず、テーブル特定部422は、移行対象テーブルTAのサイズから、移行先のデータベース11Bの空きサイズを減算して得られるサイズよりも大きいサイズのテーブルを選択する。
First, when the empty size of the
ここで、テーブル特定部422は、移行対象テーブルTAと、選択したテーブルとを交換した後のデータベース間の結合回数や結合処理時の入出力のデータサイズ等を予測する。そして、テーブル特定部422は、当該結合回数や結合処理時の入出力のデータサイズ等に基づいて、移行対象テーブルTAと、選択したテーブルとを交換した後に、交換前に比べてデータ通信量が削減されているか否かを判定する。テーブル特定部422は、交換前に比べてデータ通信量が削減されていると判定すると、移行対象テーブルTAと、選択したテーブルとの交換が、クエリの実行性能の改善に寄与すると判定し、選択したテーブルを第2移行対象テーブルとして特定する。ここで、図7、図8に示す例では、第2移行対象テーブルがTBであるものとする。なお、テーブル特定部422は、複数のテーブルを第2移行対象テーブルとして特定してもよい。
Here, the
続いて、移行制御部423は、データベース11Aの空きサイズ、データベース11Bの空きサイズ、移行対象テーブルTAのサイズ、第2移行対象テーブルTBのサイズに基づいて、1回あたりの移行量を算出する(S92)。図7、図8に示す例では、移行対象テーブルTAと、第2移行対象テーブルTBとが同じサイズであり、1回あたりの移行量が、移行対象テーブルTAの半分のサイズであるものとする。
Subsequently, the
続いて、移行制御部423は、算出された1回あたりの移行量に基づいて、移行対象テーブルTA、及び第2移行対象テーブルTBの一部を複製する(S93)。具体的には、移行制御部423は、データベース11Bにデータが含まれていない移行対象テーブルTAを生成するとともに、データベース11Aにデータが含まれていない第2移行対象テーブルTBを生成する。
Subsequently, the
続いて、移行制御部423は、プロファイル情報411に記憶されている統計情報を参照して、移行対象テーブルTA及び第2移行対象テーブルTBからデータの抽出する際の抽出条件に用いるカラムと、抽出条件とを特定する。ここで、カラムは、移行するレコードの数やサイズの推定精度が高いものが好ましく、数値型の主キーのように一様に分布しているカラムが好ましい。
Subsequently, the
続いて、移行制御部423は、図7(b)に示すように、抽出条件に基づいて移行対象テーブルTAから抽出したデータを、データベース11Bに生成された移行対象テーブルTAに複製する。同様に、移行制御部423は、抽出条件に基づいて移行対象テーブルTBから抽出したデータを、データベース11Aに生成された移行対象テーブルTBに複製する。
Subsequently, as shown in FIG. 7B, the
続いて、更新部424は、クエリ処理装置2に記憶されている論理モデル及び物理モデルを更新する(S94)。具体的には、図7(c)に示すように、更新部424は、移行対象テーブルの一部の複製が完了すると、データベース11Bに一部が複製されている移行対象テーブルTAを示す物理モデルPMBを新たに生成する。
Subsequently, the updating
そして、更新部424は、図7(c)に示すように、物理モデルPMAが示す複製されていない移行対象テーブルTAのデータと、物理モデルPMBが示すデータベース11Bに複製された移行対象テーブルTAのデータとを連結するクエリを示す論理モデルLMBを新たに生成する。ここで、論理モデルLMBが示すテーブルは、ビューである。
Then, as shown in FIG. 7C, the updating
ここで、データベース11Aのデータベース名をA、データベース11Bのデータベース名をBとした場合、論理モデルLMBが示すクエリは、例えば以下に示すクエリである。
SELECT * FROM A.TA WHERE A.TA.x > a
UNION all
SELECT * FROM B.TA WHERE B.TA.x ≦ a
Here, when the database name of the
SELECT * FROM A.TA WHERE A.TA.x> a
UNION all
SELECT * FROM B.TA WHERE B.TA.x ≦ a
論理モデルLMBが示すクエリにおいて、移行先のデータベース11Bの移行対象テーブルTAからデータを抽出する抽出条件は、移行対象テーブルTAの一部のデータを移行する際に使用した抽出条件となる。また、移行元のデータベース11Aの移行対象テーブルTAからデータを抽出する抽出条件は、移行対象テーブルTAの一部のデータを移行する際に使用した抽出条件の逆の論理を示す抽出条件となる。
In the query indicated by the logical model LMB, the extraction condition for extracting data from the migration target table TA of the
また、更新部424は、図7(c)に示すように、移行対象テーブルTAの論理モデルLMAが示すテーブルを、論理モデルLMBが示す、新たに生成された物理モデルPMBが示す移行対象テーブルのデータと、移行元のデータベース11Aに格納されている複製前の移行対象テーブルのデータとを連結したビューに変更する。
Further, as illustrated in FIG. 7C, the updating
同様に、更新部424は、第2移行対象テーブルの一部の複製が完了すると、データベース11Aに一部が複製されている第2移行対象テーブルTBを示す物理モデルを新たに生成する。
Similarly, when the replication of a part of the second migration target table is completed, the updating
そして、更新部424は、複製されていない第2移行対象テーブルTBのデータと、新たに生成された物理モデルが示すデータベース11Aに複製された第2移行対象テーブルTBのデータとを連結するクエリを示す論理モデルを新たに生成する。ここで、当該論理モデルが示すテーブルは、ビューである。また、更新部424は、第2移行対象テーブルTBの論理モデルが示すテーブルを、新たに生成された論理モデルが示すビューに変更する。
Then, the updating
続いて、移行制御部423は、更新部424が移行対象テーブルTA及び第2移行対象テーブルTBの論理モデルを変更すると、複製済の移行対象テーブルTAの一部及び第2移行対象テーブルTBの一部を、それぞれのテーブルの移行元のデータベースから消去する(S95)。具体的には、移行制御部423は、図7(d)に示すように、データベース11Aから、移行対象テーブルTAの複製済のデータを消去するとともに、データベース11Bから、第2移行対象テーブルTBの複製済のデータを消去する。
Subsequently, when the updating
続いて、移行制御部423は、移行対象テーブルTA及び第2移行対象テーブルTBの移行が完了したか否かを判定する(S96)。移行制御部423は、移行が完了したと判定すると、テーブル交換処理を終了する。
Subsequently, the
また、移行制御部423は、移行が完了していないと判定すると、S93に処理を移し、図8(e)に示すように、複製されていない移行対象テーブルTAの一部のデータと、第2移行対象テーブルTBの一部とを、それぞれのテーブルの移行先のデータベースにさらに複製する。
Further, when the
その後、更新部424は、図8(f)に示すように、データベース11Aに格納されている移行対象テーブルTAを示す物理モデルPMAを消去し、移行対象テーブルTAの論理モデルLMAが示すテーブルを、物理モデルPMBが示す移行対象テーブルTAに変更する。そして、移行制御部423は、図8(g)に示すように、データベース11Aに格納されている移行対象テーブルTAを消去する。
Thereafter, as shown in FIG. 8F, the updating
なお、移行制御部423は、第2移行対象テーブルTBの一部をデータベース11Aに複製する処理を繰り返すことにより、第2移行対象テーブルTBの移行を行ったが、これに限らない。
Although the
移行制御部423は、第2移行対象テーブルTBの移行先のデータベース11Aの空きサイズが、第2移行対象テーブルTBのサイズ以上の場合には、第2移行対象テーブルTBの全体を一度に当該移行先のデータベース11Aに複製してもよい。そして、移行制御部423は、第2移行対象テーブルTBを移行元のデータベース11Bから消去した後に、複製していない移行対象テーブルTAのデータを、当該テーブルの当該移行先のデータベース11Bに一度に複製してもよい。このようにすることで、移行管理装置4は、移行処理にかかる時間を短縮することができる。
The
また、全ての移行対象テーブルの移行が完了しても、依然として複数のデータベース11のテーブルを参照して実行されるクエリは存在する。このため、移行制御部423は、移行対象テーブルの移行完了後に、複数のテーブルの利用状況に基づいて、それぞれ異なるデータベース11に格納されているテーブルを結合する結合処理のうち、出現頻度が高い予測される結合処理を特定する。
In addition, even if migration of all migration target tables is completed, there are still queries executed with reference to the tables of the plurality of
そして、移行制御部423は、特定した結合処理に対応する入力データ又は出力データ(マテリアライズドビュー)のサイズを算出する。移行制御部423は、算出したサイズがクエリ処理装置2の記憶部21の利用可能サイズ以下である場合に、マテリアライズドビューをクエリ処理装置2の記憶部21に生成する。更新部424は、マテリアライズドビューが生成されると、マテリアライズドビューを参照可能なように、物理モデルPM及び論理モデルLMを更新する。
Then, the
クエリ処理装置2のクエリ実行部222は、取得されたクエリを解析し、取得されたクエリに対応する処理に、生成したマテリアライズドビューに対応する結合処理が含まれている場合に、当該マテリアライズドビューにアクセスして処理を実行する。このようにすることで、クエリ処理装置2は、異なるデータベース11に格納されている複数のテーブルを参照することによるクエリの実行性能の悪化を防ぐことができる。なお、移行制御部423は、移行対象テーブルの移行完了後にマテリアライズドビューをクエリ処理装置2の記憶部21に生成したが、これに限らない。移行制御部423は、移行対象テーブルの移行完了前に、複数のテーブルの利用状況に基づいて、マテリアライズドビューをクエリ処理装置2の記憶部21に生成してもよい。
The
[本実施形態における効果]
以上のとおり、本実施形態に係る移行管理装置4は、複数のデータベース11のそれぞれに含まれる複数のテーブルの利用状況に基づいて、複数のデータベース11のうち、現在格納されているデータベースとは異なるデータベースに移行するテーブルを移行対象テーブルとして特定する。そして、移行管理装置4は、特定された移行対象テーブルを移行先のデータベースに複製し、移行対象テーブルの複製が完了すると、クエリ処理装置2の物理モデルが示す移行対象テーブルの格納先を移行先のデータベースに更新する。
[Effect in the present embodiment]
As described above, the migration management apparatus 4 according to the present embodiment is different from the database currently stored among the plurality of
このようにすることで、移行管理装置4は、テーブルの利用状況に基づいて、テーブルを適切なデータベースに配置することができる。これにより、クエリ処理装置2が、クエリをデータベース11に実行させる機会が増加するので、クエリ実行時のデータ通信量を削減し、クエリの実行性能を向上させることができる。また、移行管理装置4は、移行対象テーブルの複製が完了すると、クエリ処理装置2の物理モデルが示す移行対象テーブルの格納先を移行先のデータベースに更新することにより、ユーザに影響を与えることなく移行対象テーブルの移行を実施することができる。
By doing this, the migration management apparatus 4 can arrange the table in an appropriate database based on the usage of the table. As a result, the query processing device 2 increases the chance of causing the
また、移行管理装置4は、移行先のデータベース11の空きサイズが移行対象テーブルのサイズよりも小さい場合には、移行先のデータベースから移行させるテーブルを第2移行対象テーブルとして特定し、移行対象テーブルと、第2移行対象テーブルとを、部分的に移行する処理を複数回実行することにより、移行対象テーブルを移行先のデータベース11に移行させる。このようにすることで、移行管理装置4は、移行先のデータベース11の空きサイズが移行対象テーブルのサイズよりも小さい場合であっても、移行対象テーブルを当該データベース11に移行することができる。
Further, when the free size of the
以上、本発明を実施形態を用いて説明したが、本発明の技術的範囲は上記実施形態に記載の範囲には限定されない。上記実施形態に、多様な変更又は改良を加えることが可能であることが当業者に明らかである。例えば、上述の複数の実施形態を組み合わせてもよい。また、特に、装置の分散・統合の具体的な実施形態は以上に図示するものに限られず、その全部又は一部について、種々の付加等に応じて、又は、機能負荷に応じて、任意の単位で機能的又は物理的に分散・統合して構成することができる。 As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. It is apparent to those skilled in the art that various changes or modifications can be added to the above embodiment. For example, the above embodiments may be combined. Further, in particular, the specific embodiment of the distribution and integration of the devices is not limited to the one illustrated above, but all or part of the embodiments according to various additions or the like, or according to the functional load. It can be configured to be distributed or integrated functionally or physically in units.
例えば、上述の実施形態では、クエリ処理装置2と、移行管理装置4とが異なる装置であるものとしたが、これに限らない。例えば、クエリ処理装置2が、利用状況特定部421、テーブル特定部422、移行制御部423、更新部424を備え、移行管理装置4として機能してもよい。
For example, although the query processing device 2 and the migration management device 4 are different devices in the above-described embodiment, the present invention is not limited to this. For example, the query processing device 2 may function as the migration management device 4 by including the usage
1・・・記憶装置、2・・・クエリ処理装置、21・・・記憶部、22・・・制御部、221・・・クエリ取得部、222・・・クエリ実行部、223・・・出力部、3・・・ユーザ端末、4・・・移行管理装置、41・・・記憶部、42・・・制御部、421・・・利用状況特定部、422・・・テーブル特定部、423・・・移行制御部、424・・・更新部、S・・・仮想データベースシステム
DESCRIPTION OF SYMBOLS 1 ... Memory | storage device, 2 ... Query processing apparatus, 21 ... Storage part, 22 ... Control part, 221 ... Query acquisition part, 222 ... Query execution part, 223 ...
Claims (7)
特定された前記利用状況に基づいて、前記複数のデータベースのうち、現在格納されているデータベースとは異なるデータベースに移行するテーブルを移行対象テーブルとして特定するテーブル特定部と、
特定された前記移行対象テーブルを移行先のデータベースに複製する移行制御部と、
前記移行対象テーブルの複製が完了すると、前記複数のテーブルのそれぞれの格納先を管理する物理モデルと、ユーザが参照する仮想テーブルを管理する論理モデルとを記憶し前記ユーザから受け付けたクエリを処理するクエリ処理装置の前記物理モデルが示す前記移行対象テーブルの格納先を前記移行先のデータベースに更新する更新部と、
を備える移行管理装置。 A usage status identification unit that identifies usage status of a plurality of tables included in each of a plurality of databases;
A table identification unit that identifies, as a migration target table, a table to be migrated to a database different from the currently stored database among the plurality of databases based on the identified usage status;
A migration control unit that duplicates the identified migration target table to a migration destination database;
When replication of the migration target table is completed, the physical model managing the storage destination of each of the plurality of tables and the logical model managing the virtual table referred to by the user are stored, and the query received from the user is processed. An updating unit for updating the storage destination of the migration target table indicated by the physical model of the query processing device to the migration destination database;
Migration management device comprising:
請求項1に記載の移行管理装置。 The migration control unit erases the migration target table from the migration source database when the updating unit updates the physical model.
The migration management device according to claim 1.
前記移行制御部は、前記テーブル特定部が第2移行対象テーブルを特定した場合に、前記移行対象テーブルの一部と、前記第2移行対象テーブルの一部とを、それぞれのテーブルの移行先のデータベースに複製し、
前記更新部は、前記移行対象テーブルの一部の複製が完了すると、移行先のデータベースに一部が複製されている前記移行対象テーブルを示す前記物理モデルを新たに生成し、前記移行対象テーブルの前記論理モデルが示すテーブルを、新たに生成された前記物理モデルが示す前記移行対象テーブルのデータと、移行元のデータベースに格納されている複製前の前記移行対象テーブルのデータとを連結するクエリに変更し、前記第2移行対象テーブルの一部の複製が完了すると、移行先のデータベースに一部が複製されている前記第2移行対象テーブルを示す前記物理モデルを新たに生成し、前記第2移行対象テーブルの前記論理モデルが示すテーブルを、新たに生成された前記物理モデルが示す前記第2移行対象テーブルのデータと、移行元のデータベースに格納されている複製前の前記第2移行対象テーブルのデータとを連結するクエリに変更し、
前記移行制御部は、前記更新部が前記移行対象テーブル及び前記第2移行対象テーブルの前記論理モデルを変更すると、複製済の前記移行対象テーブルの一部及び前記第2移行対象テーブルの一部を移行元のデータベースから消去し、前記移行対象テーブルの一部と、前記第2移行対象テーブルの一部とを、それぞれのテーブルの移行先のデータベースにさらに複製する、
請求項1又は2に記載の移行管理装置。 The table identification unit identifies a table to be migrated from the migration destination database as a second migration target table, when the free space size of the migration destination database is smaller than the size of the migration target table.
The migration control unit, when the table identification unit identifies the second migration target table, the migration control unit determines a part of the migration target table and a part of the second migration target table as a migration destination of each table. Replicate to the database,
The update unit newly generates the physical model indicating the migration target table partially copied to the migration destination database when replication of part of the migration target table is completed, and The table indicated by the logical model is a query that links data of the migration target table indicated by the newly generated physical model and data of the migration target table before duplication stored in the database of migration source. When it is changed and replication of part of the second migration target table is completed, the physical model indicating the second migration target table which is partially copied to the migration destination database is newly generated, and the second Data of the second migration target table represented by the newly generated physical model, and a table represented by the logical model of the migration target table; Change before replication stored in the database of the second migration target table data to the query for connecting,
When the updating unit changes the logical model of the migration target table and the second migration target table, the migration control unit changes a part of the copied migration target table and a part of the second migration target table. Erase from the migration source database, and further duplicate a part of the migration target table and a part of the second migration target table to the migration destination database of each table;
The migration management apparatus according to claim 1.
請求項3に記載の移行管理装置。 When the free size of the database of the migration destination of the second migration target table is equal to or larger than the size of the second migration target table, the migration control unit moves the entire second migration target table to the migration destination at one time To the database of,
The migration management device according to claim 3.
請求項3又は4に記載の移行管理装置。 The migration control unit migrates the second migration target table to a migration source database of the migration target table.
The migration management apparatus according to claim 3 or 4.
前記更新部は、前記クエリ処理装置の記憶部に生成されたテーブルが参照可能に前記物理モデル及び前記論理モデルを更新する、
請求項1から5のいずれか1項に記載の移行管理装置。 The migration control unit identifies a combining process predicted to have a high frequency of occurrence among combining processes in which tables stored in different databases are combined based on the usage status, and identifies the specified combining process Generating input data or output data in the storage unit of the query processing device;
The updating unit updates the physical model and the logical model so that a table generated in a storage unit of the query processing device can be referred to.
The migration management apparatus according to any one of claims 1 to 5.
複数のデータベースのそれぞれに含まれる複数のテーブルの利用状況を特定するステップと、
特定された前記利用状況に基づいて、前記複数のデータベースのうち、現在格納されているデータベースとは異なるデータベースに移行するテーブルを移行対象テーブルとして特定するステップと、
特定された前記移行対象テーブルを移行先のデータベースに複製するステップと、
前記移行対象テーブルの複製が完了すると、前記複数のテーブルのそれぞれの格納先を管理する物理モデルと、ユーザが参照する仮想テーブルを管理する論理モデルとを記憶し前記ユーザから受け付けたクエリを処理するクエリ処理装置の前記物理モデルが示す前記移行対象テーブルの格納先を前記移行先のデータベースに更新するステップと、
を備える移行管理方法。
Computer runs,
Identifying usage of a plurality of tables included in each of a plurality of databases;
Identifying, as a migration target table, a table to be migrated to a database different from the currently stored database among the plurality of databases based on the identified use status;
Replicating the identified migration target table to a migration destination database;
When replication of the migration target table is completed, the physical model managing the storage destination of each of the plurality of tables and the logical model managing the virtual table referred to by the user are stored, and the query received from the user is processed. Updating the storage destination of the migration target table indicated by the physical model of the query processing device to the migration destination database;
Migration management method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017188843A JP6744272B2 (en) | 2017-09-28 | 2017-09-28 | Migration management device and migration management method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017188843A JP6744272B2 (en) | 2017-09-28 | 2017-09-28 | Migration management device and migration management method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019066939A true JP2019066939A (en) | 2019-04-25 |
JP6744272B2 JP6744272B2 (en) | 2020-08-19 |
Family
ID=66339600
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017188843A Active JP6744272B2 (en) | 2017-09-28 | 2017-09-28 | Migration management device and migration management method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6744272B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020024483A (en) * | 2018-08-06 | 2020-02-13 | 京セラドキュメントソリューションズ株式会社 | Data management system and data management program |
CN111694812A (en) * | 2020-05-06 | 2020-09-22 | 五八有限公司 | Data migration method and data migration device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003150414A (en) * | 2001-11-12 | 2003-05-23 | Hitachi Ltd | Data rearrangement method taking database management system information into account and computer system for performing data rearrangement |
JP2006221513A (en) * | 2005-02-14 | 2006-08-24 | Hitachi Ltd | Setting of arrangement of data in computer system |
JP2013117873A (en) * | 2011-12-02 | 2013-06-13 | Hitachi Systems Ltd | Database processing method |
JP2015179449A (en) * | 2014-03-19 | 2015-10-08 | Kddi株式会社 | Virtual database system management device, management method, and management program |
JP2017146764A (en) * | 2016-02-17 | 2017-08-24 | 日本電信電話株式会社 | Data rearrangement system, data rearrangement device, and data rearrangement method |
-
2017
- 2017-09-28 JP JP2017188843A patent/JP6744272B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003150414A (en) * | 2001-11-12 | 2003-05-23 | Hitachi Ltd | Data rearrangement method taking database management system information into account and computer system for performing data rearrangement |
JP2006221513A (en) * | 2005-02-14 | 2006-08-24 | Hitachi Ltd | Setting of arrangement of data in computer system |
JP2013117873A (en) * | 2011-12-02 | 2013-06-13 | Hitachi Systems Ltd | Database processing method |
JP2015179449A (en) * | 2014-03-19 | 2015-10-08 | Kddi株式会社 | Virtual database system management device, management method, and management program |
JP2017146764A (en) * | 2016-02-17 | 2017-08-24 | 日本電信電話株式会社 | Data rearrangement system, data rearrangement device, and data rearrangement method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020024483A (en) * | 2018-08-06 | 2020-02-13 | 京セラドキュメントソリューションズ株式会社 | Data management system and data management program |
CN111694812A (en) * | 2020-05-06 | 2020-09-22 | 五八有限公司 | Data migration method and data migration device |
Also Published As
Publication number | Publication date |
---|---|
JP6744272B2 (en) | 2020-08-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110622152B (en) | Scalable database system for querying time series data | |
US8121966B2 (en) | Method and system for automated integrated server-network-storage disaster recovery planning | |
US20130166502A1 (en) | Segmented storage for database clustering | |
CN109656911A (en) | Distributed variable-frequencypump Database Systems and its data processing method | |
CN107545015B (en) | Processing method and processing device for query fault | |
JP2007241486A (en) | Memory system | |
JPWO2011108695A1 (en) | Parallel data processing system, parallel data processing method and program | |
CN108073696B (en) | GIS application method based on distributed memory database | |
US11250022B1 (en) | Offline index builds for database tables | |
CN108369588B (en) | Database level automatic storage management | |
JP4945232B2 (en) | Access control method, computer system, and object replication program | |
JP6744272B2 (en) | Migration management device and migration management method | |
CN113760902A (en) | Data splitting method, device, equipment, medium and program product | |
US20210397599A1 (en) | Techniques for generating a consistent view of an eventually consistent database | |
CN109710698B (en) | Data aggregation method and device, electronic equipment and medium | |
US11934927B2 (en) | Handling system-characteristics drift in machine learning applications | |
Saxena et al. | Concepts of HBase archetypes in big data engineering | |
JP2013033439A (en) | Database management method | |
Vilaça et al. | On the expressiveness and trade-offs of large scale tuple stores | |
JP6898215B2 (en) | Database management device, database management method and database management program | |
CN104765748A (en) | Method and device for converting copying table into slicing table | |
JP5832592B1 (en) | Data management device | |
US11271999B2 (en) | Flexible associativity in multitenant clustered environments | |
US11880385B1 (en) | Ordering updates to secondary indexes using conditional operations | |
US20240028580A1 (en) | Methods and systems related to a unified framework for global table with guarantee on replica data freshness |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190802 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200423 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200519 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200702 |
|
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: 20200721 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200730 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6744272 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |