CN111656331B - 在系统中的垃圾收集处理期间从故障中恢复的方法和装置 - Google Patents

在系统中的垃圾收集处理期间从故障中恢复的方法和装置 Download PDF

Info

Publication number
CN111656331B
CN111656331B CN201980010582.2A CN201980010582A CN111656331B CN 111656331 B CN111656331 B CN 111656331B CN 201980010582 A CN201980010582 A CN 201980010582A CN 111656331 B CN111656331 B CN 111656331B
Authority
CN
China
Prior art keywords
garbage collection
log
target slot
transaction
slot
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
Application number
CN201980010582.2A
Other languages
English (en)
Chinese (zh)
Other versions
CN111656331A (zh
Inventor
A·古普塔
S·瑟哈德里
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by International Business Machines Corp filed Critical International Business Machines Corp
Publication of CN111656331A publication Critical patent/CN111656331A/zh
Application granted granted Critical
Publication of CN111656331B publication Critical patent/CN111656331B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2358Change logging, detection, and notification
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/073Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a memory management context, e.g. virtual memory or cache management
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • G06F11/0778Dumping, i.e. gathering error/state information after a fault for later diagnosis
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operations
    • G06F11/1471Error detection or correction of the data by redundancy in operations involving logging of persistent data for recovery
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operations
    • G06F11/1474Error detection or correction of the data by redundancy in operations in transactions
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0253Garbage collection, i.e. reclamation of unreferenced memory
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Data Mining & Analysis (AREA)
  • Debugging And Monitoring (AREA)
  • Retry When Errors Occur (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
CN201980010582.2A 2018-02-23 2019-02-19 在系统中的垃圾收集处理期间从故障中恢复的方法和装置 Active CN111656331B (zh)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US15/904,180 US10642680B2 (en) 2018-02-23 2018-02-23 Chronologically ordered log-structured key-value store from failures during garbage collection
US15/904,180 2018-02-23
PCT/IB2019/051323 WO2019162828A1 (en) 2018-02-23 2019-02-19 A chronologically ordered log-structured key-value store from failures during garbage collection

Publications (2)

Publication Number Publication Date
CN111656331A CN111656331A (zh) 2020-09-11
CN111656331B true CN111656331B (zh) 2024-03-29

Family

ID=67685967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201980010582.2A Active CN111656331B (zh) 2018-02-23 2019-02-19 在系统中的垃圾收集处理期间从故障中恢复的方法和装置

Country Status (6)

Country Link
US (2) US10642680B2 (enExample)
JP (1) JP7672224B2 (enExample)
CN (1) CN111656331B (enExample)
DE (1) DE112019000401B4 (enExample)
GB (1) GB2583884B (enExample)
WO (1) WO2019162828A1 (enExample)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10642680B2 (en) * 2018-02-23 2020-05-05 International Business Machines Corporation Chronologically ordered log-structured key-value store from failures during garbage collection

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063635A (zh) * 2014-07-02 2014-09-24 北京深思数盾科技有限公司 目标文件的保护方法及保护系统
CN105677297A (zh) * 2014-11-18 2016-06-15 龙芯中科技术有限公司 套锁实现方法及装置

Family Cites Families (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5996054A (en) 1996-09-12 1999-11-30 Veritas Software Corp. Efficient virtualized mapping space for log device data storage system
US7200623B2 (en) 1998-11-24 2007-04-03 Oracle International Corp. Methods to perform disk writes in a distributed shared disk system needing consistency across failures
US9239763B2 (en) * 2012-09-28 2016-01-19 Oracle International Corporation Container database
US6728738B2 (en) * 2002-04-03 2004-04-27 Sun Microsystems, Inc. Fast lifetime analysis of objects in a garbage-collected system
US7058670B2 (en) * 2002-12-20 2006-06-06 Sun Microsystems, Inc. Scalable, space-efficient, parallel remembered-sets
US7984180B2 (en) 2005-10-20 2011-07-19 Solarflare Communications, Inc. Hashing algorithm for network receive filtering
US7555619B2 (en) * 2005-12-07 2009-06-30 Microsoft Corporation Efficient per-object operations in software transactional memory
US20090210429A1 (en) 2008-02-19 2009-08-20 Yahoo! Inc. System and method for asynchronous update of indexes in a distributed database
US20100332240A1 (en) 2009-06-24 2010-12-30 Microsoft Corporation Decentralized account digest using signed electronic receipts
US9003159B2 (en) 2009-10-05 2015-04-07 Marvell World Trade Ltd. Data caching in non-volatile memory
US8412689B2 (en) 2010-07-07 2013-04-02 Microsoft Corporation Shared log-structured multi-version transactional datastore with metadata to enable melding trees
US10558705B2 (en) 2010-10-20 2020-02-11 Microsoft Technology Licensing, Llc Low RAM space, high-throughput persistent key-value store using secondary memory
US8805984B2 (en) 2011-07-14 2014-08-12 Red Hat, Inc. Multi-operational transactional access of in-memory data grids in a client-server environment
JP2013033345A (ja) 2011-08-01 2013-02-14 Internatl Business Mach Corp <Ibm> トランザクション処理システム、方法及びプログラム
GB2511222A (en) 2011-09-30 2014-08-27 Ibm Transaction processing system, method and program
US8949190B2 (en) * 2011-11-07 2015-02-03 Sap Se Point-in-time database recovery using log holes
CN103164345B (zh) 2011-12-08 2016-04-27 光宝科技股份有限公司 固态存储装置遭遇断电后的数据存储方法
US9021421B1 (en) 2012-05-07 2015-04-28 Google Inc. Read and write barriers for flexible and efficient garbage collection
US20140136575A1 (en) * 2012-11-10 2014-05-15 Yuanyuan Zhao Log-structured garbage collection
US9400816B1 (en) 2013-02-28 2016-07-26 Google Inc. System for indexing collections of structured objects that provides strong multiversioning semantics
US9092238B2 (en) 2013-03-15 2015-07-28 Joyent, Inc. Versioning schemes for compute-centric object stores
US9519575B2 (en) 2013-04-25 2016-12-13 Sandisk Technologies Llc Conditional iteration for a non-volatile device
US8683262B1 (en) 2013-06-21 2014-03-25 Terracotta Inc. Systems and/or methods for rapid recovery from write-ahead logs
US9223843B1 (en) 2013-12-02 2015-12-29 Amazon Technologies, Inc. Optimized log storage for asynchronous log updates
US9268653B2 (en) 2014-01-17 2016-02-23 Netapp, Inc. Extent metadata update logging and checkpointing
US9697267B2 (en) 2014-04-03 2017-07-04 Sandisk Technologies Llc Methods and systems for performing efficient snapshots in tiered data structures
US10242027B2 (en) 2014-08-15 2019-03-26 Hewlett-Packard Development Company, L.P. Three phase commit for a distributed file system
US9928264B2 (en) 2014-10-19 2018-03-27 Microsoft Technology Licensing, Llc High performance transactions in database management systems
US10210168B2 (en) * 2015-02-23 2019-02-19 International Business Machines Corporation Managing data in storage according to a log structure
US10083082B2 (en) 2015-09-07 2018-09-25 International Business Machines Corporation Efficient index checkpointing in log-structured object stores
CN107038131A (zh) 2016-02-04 2017-08-11 广明光电股份有限公司 固态硬盘断电保护装置及方法
CN107203552B (zh) 2016-03-17 2021-12-28 阿里巴巴集团控股有限公司 垃圾回收方法及装置
US10552404B2 (en) 2016-09-29 2020-02-04 International Business Machines Corporation Retrospective snapshots in log-structured storage systems
US10795779B2 (en) 2017-02-17 2020-10-06 Sap Se Asynchronous garbage collection in database redo log replay
US11210211B2 (en) 2017-08-21 2021-12-28 Western Digital Technologies, Inc. Key data store garbage collection and multipart object management
US10635523B2 (en) * 2018-02-23 2020-04-28 International Business Machines Corporation Fast recovery from failures in a chronologically ordered log-structured key-value storage system
US10642680B2 (en) * 2018-02-23 2020-05-05 International Business Machines Corporation Chronologically ordered log-structured key-value store from failures during garbage collection
US10783073B2 (en) * 2018-02-23 2020-09-22 International Business Machines Corporation Chronologically ordered out-of-place update key-value storage system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063635A (zh) * 2014-07-02 2014-09-24 北京深思数盾科技有限公司 目标文件的保护方法及保护系统
CN105677297A (zh) * 2014-11-18 2016-06-15 龙芯中科技术有限公司 套锁实现方法及装置

Also Published As

Publication number Publication date
CN111656331A (zh) 2020-09-11
DE112019000401B4 (de) 2022-01-05
US20200183775A1 (en) 2020-06-11
US11163636B2 (en) 2021-11-02
US20190266043A1 (en) 2019-08-29
WO2019162828A1 (en) 2019-08-29
GB202013416D0 (en) 2020-10-14
US10642680B2 (en) 2020-05-05
JP2021515301A (ja) 2021-06-17
GB2583884A (en) 2020-11-11
GB2583884B (en) 2021-03-24
DE112019000401T5 (de) 2020-10-22
JP7672224B2 (ja) 2025-05-07

Similar Documents

Publication Publication Date Title
US10725976B2 (en) Fast recovery using self-describing replica files in a distributed storage system
CN111801661A (zh) 多主机分布式数据管理系统中的事务操作
US10140054B2 (en) Retrospective snapshots in log structured storage systems
US20150007169A1 (en) Deploying an application in a cloud computing environment
US10061665B2 (en) Preserving management services with self-contained metadata through the disaster recovery life cycle
US20190095284A1 (en) Enhanced application write performance
CN109906597B (zh) 向和从云网络中存储和取回受限制的数据集和非受限制的数据集
CN111684437B (zh) 按时间顺序排序的错位更新键-值存储系统
US11150981B2 (en) Fast recovery from failures in a chronologically ordered log-structured key-value storage system
JP7816877B2 (ja) クラスタ化されたコンピューティング環境内の処理を容易にするためのコンピュータプログラム、コンピュータシステムおよびコンピュータ実装方法(クラスタ化されたコンピューティング環境にわたるリソースロック所有権の識別)
US10552404B2 (en) Retrospective snapshots in log-structured storage systems
US9904600B2 (en) Generating initial copy in replication initialization
CN111656331B (zh) 在系统中的垃圾收集处理期间从故障中恢复的方法和装置
US11249967B1 (en) Database access performance improvement
JP2021515301A5 (enExample)
US20200110819A1 (en) Low cost fast recovery index in storage class memory

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant