JP4432087B2 - データベース更新管理システム、プログラムおよび方法 - Google Patents
データベース更新管理システム、プログラムおよび方法 Download PDFInfo
- Publication number
- JP4432087B2 JP4432087B2 JP2006350653A JP2006350653A JP4432087B2 JP 4432087 B2 JP4432087 B2 JP 4432087B2 JP 2006350653 A JP2006350653 A JP 2006350653A JP 2006350653 A JP2006350653 A JP 2006350653A JP 4432087 B2 JP4432087 B2 JP 4432087B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- database
- transaction
- update
- updated
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
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
Description
Claims (14)
- 複数の同時並行トランザクションによる複数のデータベースに対する更新処理において、デッドロックの発生を防止するためのデータベース更新管理システムであって、
複数のデータベースにどの順序でアクセスするかを示すアクセス順序を予め記憶するアクセス順序記憶部と、
トランザクションから、更新しようとする前記データベース中のデータに対するデータ要求を受信するデータ要求受信部と、
前記データを前記データベースから仮想データ領域にロードするデータ・ロード部と、
前記仮想データ領域にロードされた前記データが前記トランザクションにより更新されたことに応じて、前記更新されたデータを特定する情報を記憶する更新データ記憶部と、
前記トランザクションが完了したことに応じて、前記更新データ記憶部に記憶された前記情報を、前記アクセス順序記憶部に記憶されたアクセス順序に従ってソートするデータ・ソート部であって、前記ソートされた情報を用いて前記データベースの更新が行われる、前記データ・ソート部と
を有する、前記データベース更新管理システム。 - 前記データ・ロード部は、前記トランザクションからデータ要求を受信する都度、前記データ要求の対象であるデータを前記データベースからロードする、請求項1に記載のシステム。
- 前記データ・ロード部は、前記トランザクションの開始に応じて、前記トランザクションが要求するすべてのデータを一括して前記データベースからロードする、請求項1に記載のシステム。
- 前記トランザクションは、前記仮想データ領域にロードされたデータを更新する、請求項1に記載のシステム。
- 前記トランザクションは、複数のコンポーネントを含み、同一トランザクションに属する前記コンポーネントからのデータ要求に対して、同一の仮想データ領域が使用される、請求項1に記載のシステム。
- 前記仮想データ領域にロードされたデータが更新されることに応じて、前記更新データ記憶部において当該データに対応する更新フラグがセットされる、請求項4に記載のシステム。
- 前記データベースからロードされたデータが他のトランザクションにより更新されたかどうか判断するロック管理部をさらに有する、請求項1に記載のシステム。
- 前記ロック管理部は、前記データ要求の対象であるデータを前記データベースからロードすることに応じて取得した当該データの更新時刻を記憶する更新時刻記憶部を有し、前記記憶された更新時刻と、前記データベースの更新を行う際に再度、前記データベースからロードした当該データにかかる更新時刻とを比較することにより、当該データが他のトランザクションにより更新されたかどうか判断する、請求項7に記載のシステム。
- トランザクションが完了したかどうかを監視するトランザクション監視部をさらに有し、当該トランザクション監視部は、前記トランザクションの完了を検知することに応じて、前記データベースの更新処理を開始させる、請求項1に記載のシステム。
- 更新されたデータを特定する前記情報は、前記トランザクションにより更新されたデータを含むテーブルおよびデータ・レコードの識別子である、請求項1に記載のシステム。
- 前記ソートされた情報を用いて更新コマンドを作成し、当該更新コマンドを前記データベースに発行するコマンド発行部をさらに有する、請求項1に記載のシステム。
- 複数の同時並行トランザクションによる複数のデータベースに対する更新処理において、デッドロックの発生を防止するためのデータベースの更新を管理する方法であって、データベース更新管理システムに、
複数のデータベースにどの順序でアクセスするかを示すアクセス順序を予め記憶するステップと、
トランザクションから、更新しようとする前記データベース中のデータに対するデータ要求を受信するステップと、
前記データを前記データベースから仮想データ領域にロードするステップと、
前記仮想データ領域にロードされた前記データが前記トランザクションにより更新されたことに応じて、前記更新されたデータを特定する情報を記憶するステップと、
前記トランザクションが完了したことに応じて、前記更新データ記憶部に記憶された前記情報を、前記アクセス順序記憶部に記憶されたアクセス順序に従ってソートするステップであって、それによって前記ソートされた情報を用いて前記データベースの更新が行われる、前記ソートするステップと
を実行させることを含む、前記方法。 - 複数の同時並行トランザクションによる複数のデータベースに対する更新処理において、デッドロックの発生を防止するためのデータベース更新を管理する方法であって、データベース更新管理システムに、
複数のデータベースにどの順序でアクセスするかを示すアクセス順序をアクセス順序記憶部に予め記憶するステップと、
トランザクションから、更新しようとする前記データベース中のデータに対するデータ要求を受信するステップと、
前記データ要求に基づき仮想データ領域にロードされたデータが前記トランザクションにより更新されたことに応じて、前記更新されたデータを特定する情報を記憶するステップと、
前記トランザクションが完了したことに応じて、前記更新データ記憶部に記憶された前記情報を、前記アクセス順序記憶部に記憶されたアクセス順序に従ってソートするステップであって、それによって前記ソートされた情報を用いて前記データベースの更新が行われる、前記ソートするステップと
を実行させることを含む、前記方法。 - 複数の同時並行トランザクションによる複数のデータベースに対する更新処理において、デッドロックの発生を防止するためのデータベース更新管理システムに、請求項12又は13に記載の方法の各ステップを実行させるプログラム。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006350653A JP4432087B2 (ja) | 2006-12-26 | 2006-12-26 | データベース更新管理システム、プログラムおよび方法 |
US11/957,957 US8001098B2 (en) | 2006-12-26 | 2007-12-17 | Database update management |
CN2007101600258A CN101211362B (zh) | 2006-12-26 | 2007-12-20 | 用于数据库更新管理的系统和方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006350653A JP4432087B2 (ja) | 2006-12-26 | 2006-12-26 | データベース更新管理システム、プログラムおよび方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008165272A JP2008165272A (ja) | 2008-07-17 |
JP4432087B2 true JP4432087B2 (ja) | 2010-03-17 |
Family
ID=39544379
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006350653A Expired - Fee Related JP4432087B2 (ja) | 2006-12-26 | 2006-12-26 | データベース更新管理システム、プログラムおよび方法 |
Country Status (3)
Country | Link |
---|---|
US (1) | US8001098B2 (ja) |
JP (1) | JP4432087B2 (ja) |
CN (1) | CN101211362B (ja) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8407183B2 (en) * | 2007-12-21 | 2013-03-26 | Sap Ag | Business intelligence data extraction on demand |
JP5352421B2 (ja) * | 2009-10-30 | 2013-11-27 | 株式会社エヌ・ティ・ティ・データ | データアクセス装置、データアクセス方法およびデータアクセスプログラム |
US8768902B2 (en) * | 2010-06-11 | 2014-07-01 | Microsoft Corporation | Unified concurrent changes to data, schema, and application |
US9258415B1 (en) | 2015-03-30 | 2016-02-09 | Captioncall, Llc | Communication device and related methods for offline data record modification and synchronization with a backend server associated with a relay service for hearing-impaired users |
CN108228893A (zh) * | 2018-02-05 | 2018-06-29 | 广州中元软件有限公司 | 一种关系数据库数据持久化优化和排队方法 |
US11243777B2 (en) * | 2018-05-18 | 2022-02-08 | Nuxeo Corporation | Process stream replication for content management system synchronization |
CN110442361B (zh) * | 2019-06-27 | 2024-02-09 | 五八有限公司 | 一种灰度发布方法、装置及电子设备 |
Family Cites Families (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0314027A (ja) | 1989-06-12 | 1991-01-22 | Kubota Nainen Kiki Service Kk | 診断・指導エキスパートシステム |
JPH0659959A (ja) | 1992-08-04 | 1994-03-04 | Mutoh Ind Ltd | ファイル保護方式 |
GB9424699D0 (en) * | 1994-12-07 | 1995-02-01 | Int Computers Ltd | Deadlock detection mechanism |
JP3014027B2 (ja) | 1995-05-19 | 2000-02-28 | エヌ・ティ・ティ移動通信網株式会社 | 情報信号無線伝送方法 |
JP2701814B2 (ja) | 1995-11-28 | 1998-01-21 | 日本電気株式会社 | 分散ファイル管理方法 |
JPH1049420A (ja) | 1996-08-02 | 1998-02-20 | Fuji Xerox Co Ltd | データベース管理方法 |
JPH1165904A (ja) | 1997-08-15 | 1999-03-09 | Nec Corp | データ管理システム、データ管理方法およびデータ管理プログラムを記録した媒体 |
JP3478131B2 (ja) | 1998-07-01 | 2003-12-15 | 日本電気株式会社 | ファイルアクセス装置及びファイルアクセスプログラムを記録したコンピュータ読み取り可能な記録媒体 |
SE521433C2 (sv) * | 1998-07-22 | 2003-11-04 | Ericsson Telefon Ab L M | En metod för hantering av risken för en total låsning mellan samtidiga transaktioner i en databas |
PA8502401A1 (es) * | 1999-09-17 | 2002-02-21 | Nagracard Sa | Procedimiento y sistema de transmision de una cadena de mensajes para banco de datos. |
US6438558B1 (en) * | 1999-12-23 | 2002-08-20 | Ncr Corporation | Replicating updates in original temporal order in parallel processing database systems |
US6957237B1 (en) * | 2000-06-02 | 2005-10-18 | Sun Microsystems, Inc. | Database store for a virtual heap |
US6947956B2 (en) | 2002-06-06 | 2005-09-20 | International Business Machines Corporation | Method and apparatus for selective caching of transactions in a computer system |
US8010491B2 (en) | 2003-02-28 | 2011-08-30 | Microsoft Corporation | Method for managing multiple file states for replicated files |
JP2005122560A (ja) | 2003-10-17 | 2005-05-12 | Fujitsu Ltd | デッドロック事前検出プログラム |
US7385608B1 (en) * | 2003-12-31 | 2008-06-10 | 3Dlabs Inc. Ltd. | State tracking methodology |
JP4314126B2 (ja) | 2004-02-20 | 2009-08-12 | 株式会社東芝 | 同時実行制御方法及び装置 |
JP2005309653A (ja) | 2004-04-20 | 2005-11-04 | Hitachi Global Storage Technologies Netherlands Bv | ディスク装置及びキャッシュ制御方法 |
JP4892812B2 (ja) | 2004-04-28 | 2012-03-07 | 株式会社日立製作所 | キャッシュ制御およびデータ処理システム並びにその処理プログラム |
GB2414089A (en) * | 2004-05-07 | 2005-11-16 | Paul Pickering | Adding temporal characteristics to an existing database |
US7062628B2 (en) * | 2004-09-28 | 2006-06-13 | Hitachi, Ltd. | Method and apparatus for storage pooling and provisioning for journal based storage and recovery |
US7801882B2 (en) * | 2004-10-01 | 2010-09-21 | Microsoft Corporation | Optimized constraint and index maintenance for non updating updates |
-
2006
- 2006-12-26 JP JP2006350653A patent/JP4432087B2/ja not_active Expired - Fee Related
-
2007
- 2007-12-17 US US11/957,957 patent/US8001098B2/en not_active Expired - Fee Related
- 2007-12-20 CN CN2007101600258A patent/CN101211362B/zh not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
US8001098B2 (en) | 2011-08-16 |
JP2008165272A (ja) | 2008-07-17 |
CN101211362A (zh) | 2008-07-02 |
US20080154900A1 (en) | 2008-06-26 |
CN101211362B (zh) | 2010-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102934114B (zh) | 用于文件系统的检查点 | |
US8276153B2 (en) | Method and system for dividing and executing on-line transaction processing in distributed environment | |
US7672966B2 (en) | Adding extrinsic data columns to an existing database schema using a temporary column pool | |
JP5731000B2 (ja) | 差分バックアップからのデータベースの個別復元を実行する方法及びシステム | |
JP4432087B2 (ja) | データベース更新管理システム、プログラムおよび方法 | |
US20180157674A1 (en) | Distributed nfs metadata server | |
US20130318497A1 (en) | Infrastructure for the automation of the assembly of schema maintenance scripts | |
CN100514331C (zh) | 在文件系统保持活动状态的同时转换文件系统的方法 | |
US20080104441A1 (en) | Data processing system and method | |
US8832022B2 (en) | Transaction processing device, transaction processing method and transaction processing program | |
JP2008541263A (ja) | ファイルシステムディレクトリの高速かつ信頼性のある同期 | |
CN101187934A (zh) | 用于提供对关系数据库表的高性能数据修改的方法和系统 | |
US11327905B2 (en) | Intents and locks with intent | |
CN101414295A (zh) | 数据库的升级方法 | |
US8918370B2 (en) | Dynamic allocation of program libraries | |
US10997158B2 (en) | Techniques for updating big data tables using snapshot isolation | |
US20150347236A1 (en) | System and method for the production of job level pre-processed backup of critical data and/or datasets in a mainframe computing environment | |
US20100146033A1 (en) | Selection of transaction managers based on runtime data | |
JP6402537B2 (ja) | 更新処理プログラム、装置、及び方法 | |
JP2002157156A (ja) | データベース管理方法およびシステム並びにその処理プログラムおよびそのプログラムを格納した記録媒体 | |
JP4060890B2 (ja) | 階層化ドライバ入出力システム内の複数ドライバによる入出力要求の再処理を可能にするファイル・システム・プリミティブ | |
EP1941396A2 (en) | Method and system for re-population of data in a database | |
US7647295B2 (en) | Method, apparatus, computer program, and computer program product for managing the durability of a pluraliy of transactions | |
US20210405879A1 (en) | Incremental replication between foreign system dataset stores | |
JP5820902B2 (ja) | データベースサーバ |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090616 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20090616 |
|
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20090702 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090714 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20090804 Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090804 |
|
RD12 | Notification of acceptance of power of sub attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7432 Effective date: 20090804 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20090804 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091022 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20091112 Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091112 |
|
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: 20091204 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20091207 |
|
RD14 | Notification of resignation of power of sub attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7434 Effective date: 20091207 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20091211 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130108 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140108 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |