JP7740367B2 - Database management device, database management method and database management program - Google Patents
Database management device, database management method and database management programInfo
- Publication number
- JP7740367B2 JP7740367B2 JP2023564338A JP2023564338A JP7740367B2 JP 7740367 B2 JP7740367 B2 JP 7740367B2 JP 2023564338 A JP2023564338 A JP 2023564338A JP 2023564338 A JP2023564338 A JP 2023564338A JP 7740367 B2 JP7740367 B2 JP 7740367B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- database management
- graph
- database
- unit
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/182—Distributed file systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は、データベース管理装置、データベース管理方法およびデータベース管理プログラムに関する。 The present invention relates to a database management device, a database management method, and a database management program.
情報システムの開発において、アプリケーションによりデータベースを高速に参照したり、データ改ざんに対応したりすることが必要である。そこで近年は、データの参照元として、従来のリレーショナルデータベース(RDB)に加え、データ相互の接続関係をより高速に取得可能なグラフデータベース(グラフDB)が注目されている(特許文献1,非特許文献1参照)。ここで、グラフDBは図形表示に特化しているため、RDBの代替とはならない。つまり、RDBとグラフDBとは異種データベースであり、並存する形態となる。 In the development of information systems, it is necessary for applications to quickly access databases and respond to data tampering. In recent years, in addition to traditional relational databases (RDBs), graph databases (graph DBs), which can more quickly obtain interconnections between data, have been attracting attention as a data reference source (see Patent Document 1 and Non-Patent Document 1). However, because graph DBs are specialized for graphical display, they are not a substitute for RDBs. In other words, RDBs and graph DBs are different types of databases and will coexist.
しかしながら、従来の技術では、RDBとグラフDBのように特性の異なるデータベースが並存する環境は、アプリケーションの開発の妨げとなっていた。例えば、RDBとグラフDBとが並存していると、データの属性が参照のみなのか、あるいは更新されるのかといった観点で、データベースのデータの配置が混然としていて必ずしも整理されていない。そのため、スキーマが複雑化して、アプリケーションの開発の妨げとなっていた。 However, with conventional technology, an environment in which databases with different characteristics, such as RDBs and graph DBs, coexisted hindered application development. For example, when an RDB and a graph DB coexisted, the database data layout was disorganized and not necessarily organized, depending on whether the data attributes were read-only or updated. This resulted in complex schemas and hindered application development.
本発明は、上記に鑑みてなされたものであって、特性の異なるデータベースが並存する環境で、アプリケーションの開発の効率化が可能なデータベースを実現することを目的とする。 The present invention has been made in consideration of the above, and aims to realize a database that can improve the efficiency of application development in an environment where databases with different characteristics coexist.
上述した課題を解決し、目的を達成するために、本発明に係るデータベース管理装置は、データを取得する取得部と、記憶部の特性の異なるデータベースのそれぞれの領域を、データを参照させる領域とデータの更新を許容する領域とに分離する分離部と、取得された前記データを、該データの属性に応じて、分離された前記領域に分類して記憶させる分類部と、を有することを特徴とする。 In order to solve the above-mentioned problems and achieve the objectives, the database management device of the present invention is characterized by having an acquisition unit that acquires data, a separation unit that separates each area of a database with different storage characteristics into an area that allows data to be referenced and an area that allows data to be updated, and a classification unit that classifies and stores the acquired data in the separated areas according to the attributes of the data.
本発明によれば、特性の異なるデータベースが並存する環境で、アプリケーションの開発の効率化が可能なデータベースを実現することが可能となる。 According to the present invention, it is possible to realize a database that can improve the efficiency of application development in an environment where databases with different characteristics coexist.
以下、図面を参照して、本発明の一実施形態を詳細に説明する。なお、この実施形態により本発明が限定されるものではない。また、図面の記載において、同一部分には同一の符号を付して示している。 One embodiment of the present invention will be described in detail below with reference to the drawings. Note that the present invention is not limited to this embodiment. In addition, in the drawings, identical parts are designated by the same reference numerals.
[データベース管理装置の概要]
図1は、データベース管理装置の概要を説明するための図である。図1に示すように、本実施形態のデータベース管理装置は、例えばRDBとグラフDBのように、データベース特性が異なる異種のデータベースが並存する環境において、それぞれのデータベースの領域を参照系と更新系とに分離する。
[Database Management Device Overview]
1 is a diagram for explaining an overview of a database management device. As shown in Fig. 1, in an environment where different types of databases with different database characteristics, such as an RDB and a graph DB, coexist, the database management device of this embodiment separates the areas of each database into a reference system and an update system.
ここで、参照系とは、アプリケーションが参照するデータを記憶する領域である。また、更新系とは、アプリケーションによるデータの更新を許容するデータを記憶する領域である。図1に示す例では、RDBがRDB参照系14aとRDB更新系14bとに分離され、グラフDBがグラフDB参照系14cとグラフDB更新系14dとに分離されている。 Here, the reference system is an area that stores data referenced by an application. The update system is an area that stores data that allows applications to update data. In the example shown in Figure 1, the RDB is separated into an RDB reference system 14a and an RDB update system 14b, and the graph DB is separated into a graph DB reference system 14c and a graph DB update system 14d.
このように、データベースの内部で参照系/更新系のマルチレイヤが構成される。これにより、アプリケーション開発者がデータベースの内部構成を容易に把握して、開発効率を向上させて開発期間を短縮することが可能となる。 In this way, a multi-layer database with reference and update systems is configured within the database. This allows application developers to easily understand the internal structure of the database, improving development efficiency and shortening development time.
また、グラフDB参照系とグラフDB更新系とにデータが配置されることにより、図形表示に特化した処理の高速化が可能となる。 In addition, by placing data in the graph DB reference system and the graph DB update system, it is possible to speed up processing specialized for graphic display.
また、グラフDBを含むNoSQL系データベースは、一般に性能重視のためにトランザクション管理の実装が不十分であるところ、並存するRDBのトランザクション管理によってグラフDBのトランザクション管理が補完されるため、データの信頼性が強化される。 In addition, NoSQL databases, including graph DBs, generally have insufficient transaction management implementation due to the emphasis on performance, but the transaction management of the graph DB is complemented by the transaction management of the coexisting RDB, thereby strengthening data reliability.
また、構成されたデータベースのバックアップ作業は更新系のみを対象とすることにより、バックアップや回復時間を短縮することが可能となる。 In addition, by only targeting the updated system when backing up the configured database, backup and recovery times can be shortened.
[データベース管理装置の構成]
図2は、データベース管理装置の概略構成を例示する模式図である。図2に例示するように、データベース管理装置10は、パソコン等の汎用コンピュータで実現され、入力部11、出力部12、通信制御部13、記憶部14、および制御部15を備える。
[Configuration of database management device]
2 is a schematic diagram illustrating the overall configuration of a database management device 10. As illustrated in FIG. 2, the database management device 10 is realized by a general-purpose computer such as a personal computer, and includes an input unit 11, an output unit 12, a communication control unit 13, a storage unit 14, and a control unit 15.
入力部11は、キーボードやマウス等の入力デバイスを用いて実現され、操作者による入力操作に対応して、制御部15に対して処理開始などの各種指示情報を入力する。出力部12は、液晶ディスプレイなどの表示装置、プリンター等の印刷装置等によって実現される。 The input unit 11 is realized using input devices such as a keyboard and a mouse, and inputs various instruction information, such as starting processing, to the control unit 15 in response to input operations by the operator. The output unit 12 is realized by a display device such as an LCD display, a printing device such as a printer, etc.
通信制御部13は、NIC(Network Interface Card)等で実現され、ネットワークを介したサーバ等の外部の装置と制御部15との通信を制御する。例えば、通信制御部13は、後述するデータベース管理処理に用いられるデータを管理する他システムのデータベース装置やアプリケーションがインストールされたユーザ端末等と、制御部15との通信を制御する。The communication control unit 13 is realized by a NIC (Network Interface Card) or the like, and controls communication between the control unit 15 and external devices such as servers via a network. For example, the communication control unit 13 controls communication between the control unit 15 and database devices of other systems that manage data used in the database management processing described below, or user terminals on which applications are installed.
記憶部14は、RAM(Random Access Memory)、フラッシュメモリ(Flash Memory)等の半導体メモリ素子、または、ハードディスク、光ディスク等の記憶装置によって実現される。記憶部14には、データベース管理装置10を動作させる処理プログラムや、処理プログラムの実行中に使用されるデータなどが予め記憶され、あるいは処理の都度一時的に記憶される。なお、記憶部14は、通信制御部13を介して制御部15と通信する構成でもよい。 The memory unit 14 is realized by a semiconductor memory element such as RAM (Random Access Memory) or flash memory, or a storage device such as a hard disk or optical disk. The memory unit 14 pre-stores the processing programs that operate the database management device 10 and data used during execution of the processing programs, or temporarily stores them each time processing is performed. The memory unit 14 may also be configured to communicate with the control unit 15 via the communication control unit 13.
本実施形態において、記憶部14には、後述するデータベース管理処理で生成されるRDB参照系14a、RDB更新系14b、グラフDB参照系14c、およびグラフDB更新系14dが記憶され、データベースとしてアプリケーションに利用される。 In this embodiment, the memory unit 14 stores an RDB reference system 14a, an RDB update system 14b, a graph DB reference system 14c, and a graph DB update system 14d, which are generated in the database management process described below, and are used by applications as databases.
制御部15は、CPU(Central Processing Unit)等を用いて実現され、メモリに記憶された処理プログラムを実行する。これにより、制御部15は、図2に例示するように、取得部15a、分離部15bおよび分類部15cとして機能する。なお、これらの機能部は、それぞれあるいは一部が異なるハードウェアに実装されてもよい。例えば、分離部15bは、他の機能部とは別の装置に実装されてもよい。また、制御部15は、その他の機能部を備えてもよい。 The control unit 15 is implemented using a CPU (Central Processing Unit) or the like, and executes processing programs stored in memory. As a result, the control unit 15 functions as an acquisition unit 15a, a separation unit 15b, and a classification unit 15c, as illustrated in FIG. 2. Note that each or some of these functional units may be implemented in different hardware. For example, the separation unit 15b may be implemented in a device separate from the other functional units. The control unit 15 may also include other functional units.
取得部15aは、データを取得する。例えば、取得部15aは、後述するデータベース管理処理に用いられるデータを、入力部11あるいは通信制御部13を介して、他のシステムのデータベースから取得する。具体的には、取得部15aは、他システムのデータベースをスナップショットにより複製する。また、取得部15aは、取得したデータをマスターデータあるいは初期データとして記憶部14に記憶させてもよい。なお、取得部15aは、これらのデータを記憶部14に記憶させずに、後述する分類部15cに転送してもよい。 The acquisition unit 15a acquires data. For example, the acquisition unit 15a acquires data used in the database management process described below from the database of another system via the input unit 11 or the communication control unit 13. Specifically, the acquisition unit 15a replicates the database of the other system using a snapshot. The acquisition unit 15a may also store the acquired data in the memory unit 14 as master data or initial data. The acquisition unit 15a may also transfer this data to the classification unit 15c described below without storing it in the memory unit 14.
分離部15bは、記憶部14の特性の異なるデータベースのそれぞれの領域を、データを参照させる参照系の領域とデータの更新を許容する更新系の領域とに分離する。具体的には、分離部15bは、記憶部14のRDBとグラフDBとのそれぞれの領域を、データを参照させる参照系の領域とデータの更新を許容する更新系の領域とに分離する。これにより分離部15bは、記憶部14に、例えば、RDB参照系14a、RDB更新系14b、グラフDB参照系14c、およびグラフDB更新系14dの領域を生成する。 The separation unit 15b separates each area of databases with different characteristics in the storage unit 14 into a reference system area that references data and an update system area that allows data updates. Specifically, the separation unit 15b separates each of the RDB and graph DB areas in the storage unit 14 into a reference system area that references data and an update system area that allows data updates. As a result, the separation unit 15b generates areas in the storage unit 14, for example, an RDB reference system 14a, an RDB update system 14b, a graph DB reference system 14c, and a graph DB update system 14d.
分類部15cは、取得されたデータを、該データの属性に応じて、分離された領域に分類して記憶させる。ここで、データの属性とは、例えば、当該データが参照対象/更新対象のいずれであるか等の区分を含む。そして、分類部15cは、取得されたデータを、各データの属性に応じて、RDB参照系14a、RDB更新系14b、グラフDB参照系14c、およびグラフDB更新系14dのいずれかに記憶させる。 The classification unit 15c classifies and stores the acquired data in separate areas according to the attributes of the data. Here, the attributes of the data include, for example, whether the data is to be referenced or updated. The classification unit 15c then stores the acquired data in one of the RDB reference system 14a, RDB update system 14b, graph DB reference system 14c, and graph DB update system 14d according to the attributes of each data.
例えば、分類部15cは、取得されたデータのうち、ノードとノード間の関係性とで表されるデータを、グラフDBの領域のうちの分離されたグラフDB参照系14cまたはグラフDB更新系14dのいずれかに記憶させる。 For example, the classification unit 15c stores the acquired data, which is represented as nodes and relationships between nodes, in either the graph DB reference system 14c or the graph DB update system 14d, which are separated within the graph DB area.
ここで、図3は、分類部の処理を説明するための図である。図3に示すように、分類部15cは、他のシステムのDBから取得したデータを、各データの属性に応じて、RDB参照系14a、RDB更新系14b、グラフDB参照系14c、およびグラフDB更新系14dに分類して記憶させる。 Here, Figure 3 is a diagram for explaining the processing of the classification unit. As shown in Figure 3, the classification unit 15c classifies and stores data acquired from the databases of other systems into an RDB reference system 14a, an RDB update system 14b, a graph DB reference system 14c, and a graph DB update system 14d according to the attributes of each data.
具体的には、分類部15cは、取得部15aが他システムDBから取得したデータをスナップショットで複製して(図3(1))、まず、RDB参照系14aに格納する。次に、分類部15cは、例えばノードとノード間の関係性とで表されるデータ等のグラフDBに格納するデータを除いて、更新対象のキーバリュー等の独自管理のデータを、RDB参照系14aからRDB更新系14bに移動させる(図3(2))。Specifically, the classification unit 15c replicates the data acquired by the acquisition unit 15a from the other system DB as a snapshot (Figure 3(1)) and first stores it in the RDB reference system 14a. Next, the classification unit 15c moves independently managed data, such as key values to be updated, from the RDB reference system 14a to the RDB update system 14b (Figure 3(2)), excluding data to be stored in the graph DB, such as data represented by the relationships between nodes.
また、分類部15cは、例えばノードとノード間の関係性とで表されるデータ等のグラフDBに格納するデータをグラフDB参照系14cまたはグラフDB更新系14dのいずれかに分類する。ノードとノード間の関係性で表されるデータとは、例えば、マンホール、電柱等の点設備の座標と、とう道、管路、ケーブル等の点設備間のスパンの長さのように、直線図やネットワーク状に図示され得るデータである。 The classification unit 15c also classifies data stored in the graph DB, such as data expressed as relationships between nodes, into either the graph DB reference system 14c or the graph DB update system 14d. Data expressed as relationships between nodes is data that can be illustrated in a line diagram or network form, such as the coordinates of point facilities such as manholes and utility poles, and the span lengths between point facilities such as conduits, pipelines, and cables.
分類部15cは、グラフDBに格納するデータのうち、参照対象のデータをRDB参照系14aからグラフDB参照系14cに移動させる(図3(3))。また、分類部15cは、グラフDBに格納するデータのうち、更新対象のデータをRDB参照系14aからグラフDB更新系14dに移動させる(図3(5))。例えば、グラフDB更新系14dには、点設備やスパンについての材質や建設年等の属性値や、サービス関連のキーバリュー等が格納される。 The classification unit 15c moves the data to be referenced, among the data stored in the graph DB, from the RDB reference system 14a to the graph DB reference system 14c (Figure 3 (3)). Furthermore, the classification unit 15c moves the data to be updated, among the data stored in the graph DB, from the RDB reference system 14a to the graph DB update system 14d (Figure 3 (5)). For example, the graph DB update system 14d stores attribute values such as material and construction year for point equipment and spans, as well as service-related key values.
また、分類部15cは、RDB更新系14bのデータのうち、ノードとノード間の関係性とで表されるデータであって更新対象の属性値があれば、RDB更新系14bからグラフDB更新系14dに移動させる(図3(6))。また、分類部15cは、グラフDB参照系14cのデータのうち、更新対象の属性値があれば、グラフDB参照系14cからグラフDB更新系14dに移動させる(図3(4))。 Furthermore, if there is data in the RDB update system 14b that is expressed as relationships between nodes and has an attribute value to be updated, the classification unit 15c moves it from the RDB update system 14b to the graph DB update system 14d (Figure 3 (6)).Furthermore, if there is an attribute value to be updated in the data in the graph DB reference system 14c, the classification unit 15c moves it from the graph DB reference system 14c to the graph DB update system 14d (Figure 3 (4)).
このように、RDBとグラフDBとの内部でそれぞれ参照系・更新系のマルチレイヤが構成される(図3(2)、(4)参照)。これにより、アプリケーションの開発効率が向上する。また、RDBと分離して、グラフDB参照系14cとグラフDB更新系14dとにデータが配置される(図3(3)、(5)、(6)参照)ことにより、図形表示に特化した処理の高速化が可能となる。 In this way, multiple layers of reference and update systems are configured within the RDB and graph DB, respectively (see Figure 3 (2) and (4)). This improves the efficiency of application development. Furthermore, by separating data from the RDB and storing it in the graph DB reference system 14c and graph DB update system 14d (see Figure 3 (3), (5), and (6)), it becomes possible to speed up processing specialized for graphic display.
また、このように構成された記憶部14をデータベースとして、例えば、グラフ表示を行うアプリケーションは、グラフDB参照系14cとグラフDB更新系14dとにアクセスすればよい(図3(7)、(8))。また、データ表示を行うアプリケーションは、RDB参照系14aとRDB更新系14bとにアクセスすればよい(図3(9)、(10))。 Furthermore, with the memory unit 14 configured in this manner as a database, for example, an application that displays graphs can access the graph DB reference system 14c and the graph DB update system 14d (Figures 3 (7) and (8)). Furthermore, an application that displays data can access the RDB reference system 14a and the RDB update system 14b (Figures 3 (9) and (10)).
このように、記憶部14をデータベースとして、当該データベースにアクセスするアプリケーションの処理対象の領域が明確になるため、アプリケーション開発が容易になり開発期間を短縮することが可能となる。また、データベースとして運用中のバックアップ作業を更新系のみに限定することにより、バックアップおよび復元の作業時間を短縮することが可能となる。 In this way, by using the storage unit 14 as a database, the areas to be processed by applications that access the database are clearly defined, making application development easier and shortening development time. Furthermore, by limiting backup operations during database operation to the update system only, it is possible to shorten the time required for backup and restoration operations.
[データベース管理処理]
次に、図4を参照して、本実施形態に係るデータベース管理装置10によるデータベース管理処理について説明する。図4は、データベース管理処理手順を示すフローチャートである。図4のフローチャートは、例えば、データベース管理処理の開始を指示する操作入力があったタイミングで開始される。
[Database management process]
Next, the database management process performed by the database management device 10 according to this embodiment will be described with reference to Fig. 4. Fig. 4 is a flowchart showing the procedure of the database management process. The flowchart of Fig. 4 starts, for example, when an operation input is made to instruct the start of the database management process.
まず、取得部15aが、他システムのDB等からデータを取得する(ステップS1)。 First, the acquisition unit 15a acquires data from a database of another system, etc. (step S1).
次に、分離部15bが、記憶部14の特性の異なるデータベースのそれぞれの領域を、データを参照させる参照系の領域とデータの更新を許容する更新系の領域とに分離する(ステップS2)。 Next, the separation unit 15b separates each area of the database with different characteristics in the memory unit 14 into a reference-system area that allows data to be referenced and an update-system area that allows data to be updated (step S2).
具体的には、分離部15bは、記憶部14のRDBとグラフDBとのそれぞれの領域を、データを参照させる参照系の領域とデータの更新を許容する更新系の領域とに分離する。これにより分離部15bは、記憶部14に、例えば、RDB参照系14a、RDB更新系14b、グラフDB参照系14c、およびグラフDB更新系14dの領域を生成する。Specifically, the separation unit 15b separates the RDB and graph DB areas of the storage unit 14 into a reference system area that allows data to be referenced and an update system area that allows data updates. As a result, the separation unit 15b generates areas in the storage unit 14, for example, an RDB reference system 14a, an RDB update system 14b, a graph DB reference system 14c, and a graph DB update system 14d.
そして、分類部15cが、取得されたデータを、該データの参照対象/更新対象等の属性に応じて、分離された領域に分類して記憶させる(ステップS3)。例えば、分類部15cは、取得されたデータを、RDB参照系14a、RDB更新系14b、グラフDB参照系14c、およびグラフDB更新系14dのいずれかに記憶させる。The classification unit 15c then classifies and stores the acquired data in separate areas according to attributes such as the data's reference target/update target (step S3). For example, the classification unit 15c stores the acquired data in one of the RDB reference system 14a, the RDB update system 14b, the graph DB reference system 14c, and the graph DB update system 14d.
例えば、分類部15cは、取得されたデータのうち、ノードとノード間の関係性とで表されるデータを、グラフDBの領域のうちの分離されたグラフDB参照系14cまたはグラフDB更新系14dのいずれかに記憶させる。これにより、一連のデータベース管理処理が終了する。For example, the classification unit 15c stores the acquired data, which is represented by nodes and their relationships, in either the graph DB reference system 14c or the graph DB update system 14d, which are separated within the graph DB area. This completes the series of database management processes.
[効果]
以上、説明したように、データベース管理装置10において、取得部15aが、データを取得する。分離部15bは、記憶部14の特性の異なるデータベースのそれぞれの領域を、データを参照させる参照系の領域とデータの更新を許容する更新系の領域とに分離する。分類部15cが、取得されたデータを、該データの属性に応じて、分離された領域に分類して記憶させる。
[effect]
As described above, in the database management device 10, the acquisition unit 15a acquires data. The separation unit 15b separates each area of the database with different characteristics in the storage unit 14 into a reference-system area that allows data to be referenced and an update-system area that allows data to be updated. The classification unit 15c classifies and stores the acquired data in the separated areas according to the attributes of the data.
これにより、データベース管理装置10は、データベースの内部で参照系/更新系のマルチレイヤを構成することが可能となる。したがって、アプリケーション開発者がデータベースの内部構成を容易に把握して、開発効率を向上させて開発期間を短縮することが可能となる。このように、RDBとグラフDBのような異種データベースが並存する環境で、アプリケーションの開発の効率化が可能なデータベースを実現することが可能となる。This allows the database management device 10 to configure multiple layers of reference and update systems within the database. This allows application developers to easily understand the internal structure of the database, improving development efficiency and shortening development time. In this way, it is possible to create a database that can improve the efficiency of application development in an environment where heterogeneous databases such as RDBs and graph DBs coexist.
具体的には、分離部15bは、記憶部14のRDBとグラフDBとのそれぞれの領域を、データを参照させる参照系の領域とデータの更新を許容する更新系の領域とに分離する。これにより、一般にグラフDBを含むNoSQL系データベースは性能重視のためにトランザクション管理の実装が不十分であるところ、並存するRDBのトランザクション管理によってグラフDBのトランザクション管理が補完されるため、データの信頼性が強化される。 Specifically, the separation unit 15b separates the RDB and graph DB areas of the storage unit 14 into a reference area that allows data to be referenced and an update area that allows data updates. While NoSQL databases, including graph DBs, generally have insufficient transaction management due to their emphasis on performance, this arrangement strengthens data reliability by complementing the transaction management of the graph DB with the transaction management of the coexisting RDB.
また、分類部15cは、取得されたデータのうち、ノードとノード間の関係性とで表されるデータを、グラフDBの領域のうちの分離されたグラフDB参照系14cまたはグラフDB更新系14dのいずれかに記憶させる。このように、RDBと分離して、グラフDB参照系14cとグラフDB更新系14dとにデータが配置されることにより、図形表示に特化した処理の高速化が可能となる。 The classification unit 15c also stores the acquired data, which is expressed as relationships between nodes, in either the graph DB reference system 14c or the graph DB update system 14d, which are separated from the RDB. By separating the data from the RDB and storing it in the graph DB reference system 14c and the graph DB update system 14d, it is possible to speed up processing specialized for graphical display.
[プログラム]
上記実施形態に係るデータベース管理装置10が実行する処理をコンピュータが実行可能な言語で記述したプログラムを作成することもできる。一実施形態として、データベース管理装置10は、パッケージソフトウェアやオンラインソフトウェアとして上記のデータベース管理処理を実行するデータベース管理プログラムを所望のコンピュータにインストールさせることによって実装できる。例えば、上記のデータベース管理プログラムを情報処理装置に実行させることにより、情報処理装置をデータベース管理装置10として機能させることができる。また、その他にも、情報処理装置にはスマートフォン、携帯電話機やPHS(Personal Handyphone System)等の移動体通信端末、さらには、PDA(Personal Digital Assistant)等のスレート端末等がその範疇に含まれる。また、データベース管理装置10の機能を、クラウドサーバに実装してもよい。
[program]
A program written in a computer-executable language may be created to execute the processes executed by the database management device 10 according to the above embodiment. In one embodiment, the database management device 10 can be implemented by installing a database management program that executes the above database management processes as package software or online software on a desired computer. For example, by executing the database management program on an information processing device, the information processing device can function as the database management device 10. Other examples of information processing devices include mobile communication terminals such as smartphones, mobile phones, and PHS (Personal Handyphone Systems), as well as slate terminals such as PDAs (Personal Digital Assistants). The functions of the database management device 10 may also be implemented on a cloud server.
図5は、データベース管理プログラムを実行するコンピュータの一例を示す図である。コンピュータ1000は、例えば、メモリ1010と、CPU1020と、ハードディスクドライブインタフェース1030と、ディスクドライブインタフェース1040と、シリアルポートインタフェース1050と、ビデオアダプタ1060と、ネットワークインタフェース1070とを有する。これらの各部は、バス1080によって接続される。 Figure 5 shows an example of a computer that executes a database management program. The computer 1000 has, for example, memory 1010, a CPU 1020, a hard disk drive interface 1030, a disk drive interface 1040, a serial port interface 1050, a video adapter 1060, and a network interface 1070. These components are connected by a bus 1080.
メモリ1010は、ROM(Read Only Memory)1011およびRAM1012を含む。ROM1011は、例えば、BIOS(Basic Input Output System)等のブートプログラムを記憶する。ハードディスクドライブインタフェース1030は、ハードディスクドライブ1031に接続される。ディスクドライブインタフェース1040は、ディスクドライブ1041に接続される。ディスクドライブ1041には、例えば、磁気ディスクや光ディスク等の着脱可能な記憶媒体が挿入される。シリアルポートインタフェース1050には、例えば、マウス1051およびキーボード1052が接続される。ビデオアダプタ1060には、例えば、ディスプレイ1061が接続される。 The memory 1010 includes a ROM (Read Only Memory) 1011 and a RAM 1012. The ROM 1011 stores a boot program such as a BIOS (Basic Input Output System). The hard disk drive interface 1030 is connected to a hard disk drive 1031. The disk drive interface 1040 is connected to a disk drive 1041. A removable storage medium such as a magnetic disk or optical disk is inserted into the disk drive 1041. The serial port interface 1050 is connected to, for example, a mouse 1051 and a keyboard 1052. The video adapter 1060 is connected to, for example, a display 1061.
ここで、ハードディスクドライブ1031は、例えば、OS1091、アプリケーションプログラム1092、プログラムモジュール1093およびプログラムデータ1094を記憶する。上記実施形態で説明した各情報は、例えばハードディスクドライブ1031やメモリ1010に記憶される。 Here, the hard disk drive 1031 stores, for example, an OS 1091, an application program 1092, a program module 1093, and program data 1094. Each piece of information described in the above embodiment is stored, for example, in the hard disk drive 1031 or memory 1010.
また、データベース管理プログラムは、例えば、コンピュータ1000によって実行される指令が記述されたプログラムモジュール1093として、ハードディスクドライブ1031に記憶される。具体的には、上記実施形態で説明したデータベース管理装置10が実行する各処理が記述されたプログラムモジュール1093が、ハードディスクドライブ1031に記憶される。 The database management program is stored on the hard disk drive 1031, for example, as a program module 1093 that describes instructions to be executed by the computer 1000. Specifically, the program module 1093 that describes each process executed by the database management device 10 described in the above embodiment is stored on the hard disk drive 1031.
また、データベース管理プログラムによる情報処理に用いられるデータは、プログラムデータ1094として、例えば、ハードディスクドライブ1031に記憶される。そして、CPU1020が、ハードディスクドライブ1031に記憶されたプログラムモジュール1093やプログラムデータ1094を必要に応じてRAM1012に読み出して、上述した各手順を実行する。 In addition, data used for information processing by the database management program is stored, for example, on the hard disk drive 1031 as program data 1094. The CPU 1020 then reads the program module 1093 and program data 1094 stored on the hard disk drive 1031 into the RAM 1012 as needed, and executes each of the procedures described above.
なお、データベース管理プログラムに係るプログラムモジュール1093やプログラムデータ1094は、ハードディスクドライブ1031に記憶される場合に限られず、例えば、着脱可能な記憶媒体に記憶されて、ディスクドライブ1041等を介してCPU1020によって読み出されてもよい。あるいは、データベース管理プログラムに係るプログラムモジュール1093やプログラムデータ1094は、LAN(Local Area Network)やWAN(Wide Area Network)等のネットワークを介して接続された他のコンピュータに記憶され、ネットワークインタフェース1070を介してCPU1020によって読み出されてもよい。 The program module 1093 and program data 1094 related to the database management program are not limited to being stored on the hard disk drive 1031, but may be stored, for example, on a removable storage medium and read by the CPU 1020 via the disk drive 1041, etc. Alternatively, the program module 1093 and program data 1094 related to the database management program may be stored in another computer connected via a network such as a LAN (Local Area Network) or WAN (Wide Area Network), and read by the CPU 1020 via the network interface 1070.
以上、本発明者によってなされた発明を適用した実施形態について説明したが、本実施形態による本発明の開示の一部をなす記述および図面により本発明は限定されることはない。すなわち、本実施形態に基づいて当業者等によりなされる他の実施形態、実施例および運用技術等は全て本発明の範疇に含まれる。 The above describes an embodiment of the invention made by the inventor, but the present invention is not limited to the descriptions and drawings that form part of the disclosure of the present invention according to this embodiment. In other words, all other embodiments, examples, operational techniques, etc. made by those skilled in the art based on this embodiment are included in the scope of the present invention.
10 データベース管理装置
11 入力部
12 出力部
13 通信制御部
14 記憶部
14a RDB参照系
14b RDB更新系
14c グラフDB参照系
14d グラフDB更新系
15 制御部
15a 取得部
15b 分離部
15c 分類部
REFERENCE SIGNS LIST 10 Database management device 11 Input unit 12 Output unit 13 Communication control unit 14 Storage unit 14a RDB reference system 14b RDB update system 14c Graph DB reference system 14d Graph DB update system 15 Control unit 15a Acquisition unit 15b Separation unit 15c Classification unit
Claims (4)
記憶部のリレーショナルデータベースとグラフデータベースとのそれぞれの領域を、データを参照させる領域とデータの更新を許容する領域とに分離する分離部と、
取得された前記データを、該データの属性に応じて、分離された前記領域に分類して記憶させる分類部と
を有することを特徴とするデータベース管理装置。 an acquisition unit for acquiring data;
a separation unit that separates each of the areas of the relational database and the graph database in the storage unit into an area that allows data to be referenced and an area that allows data to be updated;
a classification unit that classifies and stores the acquired data into the separated areas according to the attributes of the data.
データを取得する取得工程と、
前記記憶部のリレーショナルデータベースとグラフデータベースとのそれぞれの領域を、データを参照させる領域とデータの更新を許容する領域とに分離する分離工程と、
取得された前記データを、該データの属性に応じて、分離された前記領域に分類して記憶させる分類工程と、
を含んだことを特徴とするデータベース管理方法。 A database management method executed by a database management device having a storage unit, comprising:
an acquisition step of acquiring data;
a separation step of separating each of the areas of the relational database and the graph database in the storage unit into an area for referencing data and an area for allowing data updates;
a classification step of classifying and storing the acquired data into the separated areas according to the attributes of the data;
A database management method comprising:
記憶部のリレーショナルデータベースとグラフデータベースとのそれぞれの領域を、データを参照させる領域とデータの更新を許容する領域とに分離する分離ステップと、
取得された前記データを、該データの属性に応じて、分離された前記領域に分類して記憶させる分類ステップと、
をコンピュータに実行させるためのデータベース管理プログラム。
an acquisition step for acquiring data;
a separation step of separating each of the areas of the relational database and the graph database in the storage unit into an area for referencing data and an area for allowing data updates;
a classification step of classifying and storing the acquired data into the separated areas according to attributes of the data;
A database management program that allows a computer to execute the above.
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/JP2021/044109 WO2023100289A1 (en) | 2021-12-01 | 2021-12-01 | Database management device, database management method, and database management program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPWO2023100289A1 JPWO2023100289A1 (en) | 2023-06-08 |
| JP7740367B2 true JP7740367B2 (en) | 2025-09-17 |
Family
ID=86611788
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2023564338A Active JP7740367B2 (en) | 2021-12-01 | 2021-12-01 | Database management device, database management method and database management program |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP7740367B2 (en) |
| WO (1) | WO2023100289A1 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2009123342A1 (en) | 2008-04-04 | 2009-10-08 | 日本電気株式会社 | Database system, database update method, database, and database update program |
| JP2013161398A (en) | 2012-02-08 | 2013-08-19 | Nippon Telegr & Teleph Corp <Ntt> | Database system, method for database management, and database management program |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3330006B2 (en) * | 1995-12-20 | 2002-09-30 | 日立電子サービス株式会社 | Network system including information storage system, input system of the system, and |
-
2021
- 2021-12-01 JP JP2023564338A patent/JP7740367B2/en active Active
- 2021-12-01 WO PCT/JP2021/044109 patent/WO2023100289A1/en not_active Ceased
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2009123342A1 (en) | 2008-04-04 | 2009-10-08 | 日本電気株式会社 | Database system, database update method, database, and database update program |
| JP2013161398A (en) | 2012-02-08 | 2013-08-19 | Nippon Telegr & Teleph Corp <Ntt> | Database system, method for database management, and database management program |
Also Published As
| Publication number | Publication date |
|---|---|
| JPWO2023100289A1 (en) | 2023-06-08 |
| WO2023100289A1 (en) | 2023-06-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112015491B (en) | Method, device and computer storage medium for realizing function jump | |
| CN114398030B (en) | System and method for modeling arbitrary software logic | |
| US8954859B2 (en) | Visually analyzing, clustering, transforming and consolidating real and virtual machine images in a computing environment | |
| US8494996B2 (en) | Creation and revision of network object graph topology for a network performance management system | |
| US7861222B2 (en) | Discoscript: a simplified distributed computing scripting language | |
| US9558474B2 (en) | Systems management operational workflow templates | |
| CN111639287A (en) | Page processing method and device, terminal equipment and readable storage medium | |
| US20230401214A1 (en) | Graph database and methods with improved functionality | |
| EP3698241A1 (en) | Using semantic annotations to control compatibility behaviors | |
| CN107368353B (en) | A method and device for realizing hot adding of virtual machine memory | |
| CN110162344B (en) | Isolation current limiting method and device, computer equipment and readable storage medium | |
| EP4423598A1 (en) | Extending application lifecycle management to user-created application platform components | |
| JP2023553220A (en) | Process mining for multi-instance processes | |
| JP4798395B2 (en) | Resource automatic construction system, automatic construction method, and management terminal therefor | |
| JP7740367B2 (en) | Database management device, database management method and database management program | |
| CN116762067B (en) | Near Data Processing (NDP) in a network node | |
| US11271999B2 (en) | Flexible associativity in multitenant clustered environments | |
| AU2016100156A4 (en) | Data Structure, Model for Populating a Data Structure and Method of Programming a Processing Device Utilising a Data Structure | |
| CN116431194A (en) | Construction method, device, equipment and storage medium for continuous integration task | |
| CN114356379A (en) | Backup-based service upgrading method, device, equipment and storage medium | |
| WO2025195154A1 (en) | Environment isolation method and apparatus based on spark computing engine, and device | |
| WO2023275945A1 (en) | Database management device, database management method, and database management program | |
| WO2024121893A1 (en) | Database management device, database management method, and database management program | |
| US9703532B1 (en) | Dynamically updating class instances based on class definition changes | |
| WO2024121892A1 (en) | Database management device, database management method, and database management program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240516 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250701 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250723 |
|
| 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: 20250805 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250818 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7740367 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |