JP2010532052A5 - - Google Patents

Download PDF

Info

Publication number
JP2010532052A5
JP2010532052A5 JP2010514967A JP2010514967A JP2010532052A5 JP 2010532052 A5 JP2010532052 A5 JP 2010532052A5 JP 2010514967 A JP2010514967 A JP 2010514967A JP 2010514967 A JP2010514967 A JP 2010514967A JP 2010532052 A5 JP2010532052 A5 JP 2010532052A5
Authority
JP
Japan
Prior art keywords
transaction
write
nested
compensation map
parent
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
Application number
JP2010514967A
Other languages
English (en)
Other versions
JP2010532052A (ja
JP4923142B2 (ja
Filing date
Publication date
Priority claimed from US11/823,162 external-priority patent/US7899999B2/en
Application filed filed Critical
Publication of JP2010532052A publication Critical patent/JP2010532052A/ja
Publication of JP2010532052A5 publication Critical patent/JP2010532052A5/ja
Application granted granted Critical
Publication of JP4923142B2 publication Critical patent/JP4923142B2/ja
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Claims (18)

  1. トランザクショナルメモリシステムにおいて、入れ子型の子の親トランザクションを不正に失敗させることを回避するための方法であって、
    複数の入れ子トランザクションがロールバックするとき、書き込みロックが解放される毎にリリースカウントを追跡するステップと、
    親トランザクションの検証中に、前記リリースカウントを使用して、検証を失敗した楽観的読み取りが実際には有効であるかどうかを決定するステップと
    を含むことを特徴とする方法。
  2. バージョン番号の差が前記リリースカウントに正確に一致している場合、前記失敗した検証は、実際には有効であることを特徴とする請求項1に記載の方法。
  3. 前記リリースカウントは、書き込み停止補償マップにおいて追跡されることを特徴とする請求項1に記載の方法。
  4. 前記書き込み停止補償マップは、前記複数の入れ子トランザクションの各々に対して作成されることを特徴とする請求項3に記載の方法。
  5. 前記書き込み停止補償マップは、前記複数の入れ子トランザクションの個々の1つの入れ子トランザクションに対して、該個々の1つの入れ子トランザクションが最初にロールバックして書き込みロックを解放するときに作成されることを特徴とする請求項4に記載の方法。
  6. 前記複数の入れ子トランザクションの各々に対する前記書き込み停止補償マップは、集約書き込み停止補償マップに集約されることを特徴とする請求項4に記載の方法。
  7. 前記集約書き込み停止補償マップは、前記親トランザクションのトランザクションログを処理する間に、前記失敗した楽観的読み取りが実際には有効であるかどうかを判断するのに使用されることを特徴とする請求項6に記載の方法。
  8. 前記親トランザクションの前記トランザクションログは、逆の順序で処理されることを特徴とする請求項7に記載の方法。
  9. 入れ子トランザクションの書き込み停止補償マップを作成するステップと、
    前記入れ子トランザクションが書き込みロックを解放する回数を、前記書き込み停止補償マップに記録するステップと、
    親トランザクションの検証中に、前記書き込み停止補償マップを使用して、失敗した楽観的読み取りが実際には有効であるかどうかを判断するステップと
    をコンピュータに実行させるためのコンピュータ実行可能な命令を記憶したことを特徴とするコンピュータ記憶媒体。
  10. 前記書き込み停止補償マップは、前記入れ子トランザクションが最初にロールバックして書き込みロックを解放するときに作成されることを特徴とする請求項9に記載のコンピュータ記憶媒体。
  11. 前記失敗した楽観的読み取りは、バージョン番号の差が、前記入れ子トランザクションが前記書き込みロックを解放した回数に正確に一致している場合、実際には有効であることを特徴とする請求項9に記載のコンピュータ記憶媒体。
  12. 前記書き込み停止補償マップは、前記親トランザクションのトランザクションログに保持されることを特徴とする請求項9に記載のコンピュータ記憶媒体。
  13. 前記書き込み停止補償マップは、前記親トランザクションによって全ての楽観的読み取りが行われた後、前記入れ子トランザクションの開始時に、順序付けされることを特徴とする請求項12に記載のコンピュータ記憶媒体。
  14. 前記書き込み停止補償マップは、前記親トランザクションのロールバック中に、他の入れ子の子について作成された他の書き込み停止補償マップとともに集約されて、集約された書き込み停止補償マップを形成することを特徴とする請求項9に記載のコンピュータ記憶媒体。
  15. 前記集約された書き込み停止補償マップは、前記親トランザクションのトランザクションログ内に配置されることを特徴とする請求項14に記載のコンピュータ記憶媒体。
  16. 前記集約された書き込み停止補償マップは、前記親トランザクションの前記トランザクションログを逆の順序で処理するとき、前記親トランザクションの前記トランザクションログに配置されることを特徴とする請求項15に記載のコンピュータ記憶媒体。
  17. トランザクションの検証中に書き込み停止補償マップを使用して入れ子トランザクションの親を不正に失敗させることを回避するための方法であって、
    親のログの処理中に、複数の入れ子の子トランザクションにおいて見つかった全ての書き込み停止補償マップを、集約された書き込み停止補償マップに集約するステップと、
    楽観的読み取りが、バージョン番号の不一致のために失敗した場合、前記集約された書き込み停止補償マップを参照して、前記複数の入れ子の子トランザクションの書き込みロックリリースカウントを取り出すステップと、
    バージョン番号の差が前記複数の入れ子の子トランザクションの前記書き込みロックリリースカウントに正確に一致するとき、前記楽観的読み取りは有効であるとするステップと
    を含むことを特徴とする方法。
  18. 前記バージョン番号の差が前記入れ子の子トランザクションの前記書き込みロックリリースカウントに正確に一致しないとき、前記楽観的読み取りは無効であるとすることを特徴とする請求項17に記載の方法。
JP2010514967A 2007-06-27 2008-06-16 入れ子トランザクションの親の不正な失敗への対処 Active JP4923142B2 (ja)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US11/823,162 2007-06-27
US11/823,162 US7899999B2 (en) 2007-06-27 2007-06-27 Handling falsely doomed parents of nested transactions
PCT/US2008/067145 WO2009002754A2 (en) 2007-06-27 2008-06-16 Handling falsely doomed parents of nested transactions

Publications (3)

Publication Number Publication Date
JP2010532052A JP2010532052A (ja) 2010-09-30
JP2010532052A5 true JP2010532052A5 (ja) 2011-08-04
JP4923142B2 JP4923142B2 (ja) 2012-04-25

Family

ID=40161865

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010514967A Active JP4923142B2 (ja) 2007-06-27 2008-06-16 入れ子トランザクションの親の不正な失敗への対処

Country Status (6)

Country Link
US (1) US7899999B2 (ja)
EP (1) EP2176762B1 (ja)
JP (1) JP4923142B2 (ja)
CN (1) CN101689138B (ja)
TW (1) TWI363299B (ja)
WO (1) WO2009002754A2 (ja)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7890472B2 (en) * 2007-09-18 2011-02-15 Microsoft Corporation Parallel nested transactions in transactional memory
US8719515B2 (en) 2010-06-21 2014-05-06 Microsoft Corporation Composition of locks in software transactional memory
US9411634B2 (en) 2010-06-21 2016-08-09 Microsoft Technology Licensing, Llc Action framework in software transactional memory
US10073844B1 (en) * 2010-11-24 2018-09-11 Federal Home Loan Mortgage Corporation (Freddie Mac) Accelerated system and method for providing data correction
US20140281236A1 (en) * 2013-03-14 2014-09-18 William C. Rash Systems and methods for implementing transactional memory
US10284649B2 (en) * 2013-05-31 2019-05-07 Nec Corporation Distributed processing system
US20150370409A1 (en) * 2014-06-18 2015-12-24 International Business Machines Corporation Disambiguation of touch-based gestures
US10503698B2 (en) 2014-07-31 2019-12-10 Splunk Inc. Configuration replication in a search head cluster
US10152237B2 (en) 2016-05-05 2018-12-11 Micron Technology, Inc. Non-deterministic memory protocol
US10534540B2 (en) 2016-06-06 2020-01-14 Micron Technology, Inc. Memory protocol
US10635613B2 (en) 2017-04-11 2020-04-28 Micron Technology, Inc. Transaction identification
CN110347533A (zh) * 2019-07-11 2019-10-18 中国工商银行股份有限公司 数据异常的处理方法、装置、计算设备及介质

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5701480A (en) 1991-10-17 1997-12-23 Digital Equipment Corporation Distributed multi-version commitment ordering protocols for guaranteeing serializability during transaction processing
US5241675A (en) 1992-04-09 1993-08-31 Bell Communications Research, Inc. Method for enforcing the serialization of global multidatabase transactions through committing only on consistent subtransaction serialization by the local database managers
US5335343A (en) 1992-07-06 1994-08-02 Digital Equipment Corporation Distributed transaction processing using two-phase commit protocol with presumed-commit without log force
JP3672208B2 (ja) * 1996-07-02 2005-07-20 インターナショナル・ビジネス・マシーンズ・コーポレーション 階層化トランザクション処理方法
CA2285019A1 (en) * 1998-01-26 1999-07-29 Telenor As Database management system and method for conditional conflict serializability of transactions and for combining meta-data of varying degrees of reliability
US6298478B1 (en) 1998-12-31 2001-10-02 International Business Machines Corporation Technique for managing enterprise JavaBeans (™) which are the target of multiple concurrent and/or nested transactions
JP2004505380A (ja) * 2000-07-28 2004-02-19 キシムフォニック システムズ エーエス ネスト化データベースを実行するための方法、システム及びデータ構造
US6671686B2 (en) 2000-11-02 2003-12-30 Guy Pardon Decentralized, distributed internet data management
US6850938B1 (en) * 2001-02-08 2005-02-01 Cisco Technology, Inc. Method and apparatus providing optimistic locking of shared computer resources
JP3732113B2 (ja) * 2001-05-14 2006-01-05 株式会社八十二銀行 トランザクション制御システム、方法及びプログラム
GB0130399D0 (en) 2001-12-19 2002-02-06 Ibm Message ordering in a messaging system
US6754737B2 (en) 2001-12-24 2004-06-22 Hewlett-Packard Development Company, L.P. Method and apparatus to allow dynamic variation of ordering enforcement between transactions in a strongly ordered computer interconnect
US6785779B2 (en) 2002-01-09 2004-08-31 International Business Machines Company Multi-level classification method for transaction address conflicts for ensuring efficient ordering in a two-level snoopy cache architecture
US7685583B2 (en) 2002-07-16 2010-03-23 Sun Microsystems, Inc. Obstruction-free mechanism for atomic update of multiple non-contiguous locations in shared memory
US7076508B2 (en) 2002-08-12 2006-07-11 International Business Machines Corporation Method, system, and program for merging log entries from multiple recovery log files
US7089253B2 (en) 2002-09-13 2006-08-08 Netezza Corporation Computer method and system for concurrency control using dynamic serialization ordering
JP2004157776A (ja) * 2002-11-06 2004-06-03 Nec Corp アプリケーションの処理方法およびシステム
US6898685B2 (en) 2003-03-25 2005-05-24 Emc Corporation Ordering data writes from a local storage device to a remote storage device
US7376675B2 (en) 2005-02-18 2008-05-20 International Business Machines Corporation Simulating multi-user activity while maintaining original linear request order for asynchronous transactional events
US20070186056A1 (en) * 2006-02-07 2007-08-09 Bratin Saha Hardware acceleration for a software transactional memory system
US8099538B2 (en) * 2006-03-29 2012-01-17 Intel Corporation Increasing functionality of a reader-writer lock
US7434010B2 (en) 2006-08-04 2008-10-07 Microsoft Corporation Combined pessimistic and optimisitic concurrency control

Similar Documents

Publication Publication Date Title
JP2010532052A5 (ja)
US11256715B2 (en) Data backup method and apparatus
JP2010539609A5 (ja)
TWI431474B (zh) 在交換式記憶體中之平行巢狀交換
JP4923142B2 (ja) 入れ子トランザクションの親の不正な失敗への対処
US8527459B2 (en) System and method for data replication between heterogeneous databases
CN104881371A (zh) 持久性内存事务处理缓存管理方法与装置
US7853571B2 (en) Techniques for file system recovery
JP2013535737A5 (ja)
US20100036861A1 (en) Method and System for Implementing Parallel Transformations of Records
JP2013508857A5 (ja)
JP2010524133A5 (ja)
US10817390B2 (en) Imparting durability to a transactional memory system
JP2006236321A5 (ja)
CN101329642A (zh) 基于时间戳日志存储的连续数据保护和恢复方法
RU2012129205A (ru) Корректность без зависимости от упорядоченности
JP2013513862A5 (ja)
CN107229537A (zh) 一种数据库实时备份方法
Padhye et al. Scalable transaction management with snapshot isolation for NoSQL data storage systems
CN106406750A (zh) 一种数据操作方法及系统
JP2013105491A5 (ja)
CN102368210A (zh) 一种分布式系统中基于流水线的元数据日志的方法
TW200929237A (en) Memory architecture and configuration method thereof
CN103488547A (zh) 一种raid组故障硬盘快速重建的方法
CN104572506B (zh) 一种并发访问内存的方法及装置