JP6477169B2 - データベースの処理制御方法、処理制御プロラム及びデータベースサーバ - Google Patents
データベースの処理制御方法、処理制御プロラム及びデータベースサーバ Download PDFInfo
- Publication number
- JP6477169B2 JP6477169B2 JP2015074599A JP2015074599A JP6477169B2 JP 6477169 B2 JP6477169 B2 JP 6477169B2 JP 2015074599 A JP2015074599 A JP 2015074599A JP 2015074599 A JP2015074599 A JP 2015074599A JP 6477169 B2 JP6477169 B2 JP 6477169B2
- Authority
- JP
- Japan
- Prior art keywords
- storage area
- processing
- update
- stored
- identification information
- 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; CALCULATING OR 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/23—Updating
- G06F16/2308—Concurrency control
- G06F16/2336—Pessimistic concurrency control approaches, e.g. locking or multiple versions without time stamps
- G06F16/2343—Locking methods, e.g. distributed locking or locking implementation details
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/23—Updating
- G06F16/2358—Change logging, detection, and notification
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
以下、図面を参照して、本発明の第1実施形態について説明する。図1は、本発明の実施形態に係るデータベースサーバ10の構成例を示す。データベースサーバ10は、データベース11、SQL(Structure Query Language)実行制御部12、及び実行部13を有する。データベースサーバ10の構成はこれに限られるものではなく、例えば、データベース11は、データベースサーバ10と接続された外部装置の記憶装置に記憶されても良い。
ロックがなされなかった場合(S102No)、処理は一時待ち状態となる。実行部13は、レコードが他の処理等の排他から解除され、ロックがなされると、上記同様の処理を実行する。
次に、図面を参照して、本発明の第2実施形態について説明する。第2実施形態に係るデータベースサーバ10の実行部13は、第1実施形態に係る各種処理の他に、コミット時刻管理テーブル30に格納されたコミット時刻31を、実データテーブル20へ反映させる処理を実行する。
11:データベース
12:SQL実行制御部
13:実行部
14:通信ネットワーク
15:アプリケーションサーバ
20:実データテーブル
21:レコードID
22:データ名
23:個数
24:処理ID
30:コミット時刻管理テーブル
31:コミット時刻
40:CPU
41:主記憶装置
42:補助記憶装置
43:ネットワーク接続装置
44:システムバス
Claims (6)
- データベースの第1の記憶領域に記憶されたデータを更新データに更新する更新処理を行なう際に、該更新処理に割り当てた識別情報を該更新データに対応付けて前記第1の記憶領域に記憶させ、
前記更新処理の確定処理に応じて、前記第1の記憶領域とは異なる第2の記憶領域に、前記識別情報と確定時刻とを対応付けて記憶させる、
ことを特徴とするデータベースの処理制御方法。 - 更に、前記識別情報に対応する更新データについて確定処理が行われた後に、前記識別情報に対応する前記更新データに対応付けて前記確定時刻を前記第1の記憶領域に記憶させ、
前記第2の記憶領域に記憶させた前記識別情報と前記確定時刻の記憶領域を他の識別情報と確定時刻の記憶に利用可能とする、
ことを特徴とする請求項1に記載のデータベースの処理制御方法。 - 第1の記憶領域に記憶されたデータを更新データに更新する更新処理を行なう際に、該更新処理に割り当てた識別情報を該更新データに対応付けて前記第1の記憶領域に記憶させ、前記更新処理の確定処理に応じて、前記第1の記憶領域とは異なる第2の記憶領域に、前記識別情報と確定時刻とを対応付けて記憶させたデータベースにおける処理方法において、
所定の時間帯内に属する確定時刻と対応付けて記憶された前記識別情報が前記第2の記憶領域に存在することを検出すると、検出した該識別情報に対応付けて前記第1の記憶領域に記憶された更新データを、前記所定の時間帯内に更新処理が確定した処理対象のデータとして特定する、
ことを特徴とするデータベースの処理制御方法。 - コンピュータに、
データベースの第1の記憶領域に記憶されたデータを更新データに更新する更新処理を行なう際に、該更新処理に割り当てた識別情報を該更新データに対応付けて前記第1の記憶領域に記憶させ、
前記更新処理の確定処理に応じて、前記第1の記憶領域とは異なる第2の記憶領域に、前記識別情報と確定時刻とを対応付けて記憶させる、
処理を実行させることを特徴とするデータベースの処理制御プログラム。 - データベースの第1の記憶領域に記憶されたデータを更新データに更新する更新処理を行なう際に、該更新処理に割り当てた識別情報を該更新データに対応付けて前記第1の記憶領域に記憶させ、前記更新処理の確定処理に応じて、前記第1の記憶領域とは異なる第2の記憶領域に、前記識別情報と確定時刻とを対応付けて記憶させる実行部、
を有することを特徴とするデータベースサーバ。 - 第1の記憶領域に記憶されたデータを更新データに更新する更新処理を行なう際に、該更新処理に割り当てた識別情報を該更新データに対応付けて前記第1の記憶領域に記憶させ、前記更新処理の確定処理に応じて、前記第1の記憶領域とは異なる第2の記憶領域に、前記識別情報と確定時刻とを対応付けて記憶させたデータベースサーバにおいて、
所定の時間帯内に属する確定時刻と対応付けて記憶された前記識別情報が前記第2の記憶領域に存在することを検出すると、検出した該識別情報に対応付けて前記第1の記憶領域に記憶された更新データを、前記所定の時間帯内に更新処理が確定した処理対象のデータとして特定する実行部、
を有することを特徴とするデータベースサーバ。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015074599A JP6477169B2 (ja) | 2015-03-31 | 2015-03-31 | データベースの処理制御方法、処理制御プロラム及びデータベースサーバ |
US15/068,983 US20160292203A1 (en) | 2015-03-31 | 2016-03-14 | Process control method for database, medium, and database server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015074599A JP6477169B2 (ja) | 2015-03-31 | 2015-03-31 | データベースの処理制御方法、処理制御プロラム及びデータベースサーバ |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2016194826A JP2016194826A (ja) | 2016-11-17 |
JP6477169B2 true JP6477169B2 (ja) | 2019-03-06 |
Family
ID=57015251
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015074599A Active JP6477169B2 (ja) | 2015-03-31 | 2015-03-31 | データベースの処理制御方法、処理制御プロラム及びデータベースサーバ |
Country Status (2)
Country | Link |
---|---|
US (1) | US20160292203A1 (ja) |
JP (1) | JP6477169B2 (ja) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11386067B2 (en) * | 2015-12-15 | 2022-07-12 | Red Hat, Inc. | Data integrity checking in a distributed filesystem using object versioning |
FR3090929B1 (fr) * | 2018-12-20 | 2021-07-02 | Amadeus Sas | Actualisation de multiples enregistrements de données |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04305742A (ja) * | 1991-04-03 | 1992-10-28 | Nippon Telegr & Teleph Corp <Ntt> | バージョン管理処理方式 |
JPH0844670A (ja) * | 1994-07-29 | 1996-02-16 | Hitachi Ltd | ファイル管理方法およびそれを用いた計算機システムならびにその計算機システムの運用方法 |
US7111023B2 (en) * | 2001-05-24 | 2006-09-19 | Oracle International Corporation | Synchronous change data capture in a relational database |
US8015161B2 (en) * | 2003-09-06 | 2011-09-06 | Oracle International Corporation | Method and mechanism for determining life intervals for a key in an index |
JP2008158978A (ja) * | 2006-12-26 | 2008-07-10 | Canon It Solutions Inc | データベース同期システム、データベース同期方法、データベースサーバ、データベースサーバの制御方法、およびプログラム |
US7904427B2 (en) * | 2008-01-11 | 2011-03-08 | Microsoft Corporation | Lazier timestamping in a transaction time database |
JP5343399B2 (ja) * | 2008-05-22 | 2013-11-13 | 富士通株式会社 | 管理プログラム、管理方法、及び管理装置 |
JP5652228B2 (ja) * | 2011-01-25 | 2015-01-14 | 富士通株式会社 | データベースサーバ装置、データベース更新方法及びデータベース更新プログラム |
US8762407B2 (en) * | 2012-04-17 | 2014-06-24 | Renmin University Of China | Concurrent OLAP-oriented database query processing method |
-
2015
- 2015-03-31 JP JP2015074599A patent/JP6477169B2/ja active Active
-
2016
- 2016-03-14 US US15/068,983 patent/US20160292203A1/en not_active Abandoned
Also Published As
Publication number | Publication date |
---|---|
JP2016194826A (ja) | 2016-11-17 |
US20160292203A1 (en) | 2016-10-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11429641B2 (en) | Copying data changes to a target database | |
US11003689B2 (en) | Distributed database transaction protocol | |
CN105630863B (zh) | 用于多版本并发提交状态的事务控制块 | |
EP3117348B1 (en) | Systems and methods to optimize multi-version support in indexes | |
US10180946B2 (en) | Consistent execution of partial queries in hybrid DBMS | |
EP3213230B1 (en) | Efficient maintenance of column store indexes on memory-optimized tables | |
US10262013B2 (en) | Efficient full delete operations | |
CN109923534B (zh) | 对具有未提交事务的数据库记录的多版本并发控制 | |
EP3418883B1 (en) | Apparatus and method for read optimized bulk data storage | |
JP6724039B2 (ja) | 分散型コンピューティングシステムにおけるデータベーストランザクションの処理 | |
US9171027B2 (en) | Managing a multi-version database | |
US11321302B2 (en) | Computer system and database management method | |
US8832022B2 (en) | Transaction processing device, transaction processing method and transaction processing program | |
US11269954B2 (en) | Data searching method of database, apparatus and computer program for the same | |
US20150277966A1 (en) | Transaction system | |
US20170329836A1 (en) | Database transfer of changes | |
WO2020098682A1 (en) | Systems and methods for managing shared database | |
JP6477169B2 (ja) | データベースの処理制御方法、処理制御プロラム及びデータベースサーバ | |
KR102123616B1 (ko) | 충돌 페이지 리스트를 이용한 병렬 저널링 방법 및 그 장치 | |
US10303680B2 (en) | Data processing apparatus and data processing method | |
CN113056734B (zh) | 管理共享数据库的系统和方法 | |
CN116244380A (zh) | 数据库的同步事务的处理方法、存储介质与计算机设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180115 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20180528 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20180913 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20181023 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20181218 |
|
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: 20190108 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190121 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6477169 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |