KR100515890B1 - 효율적인 데이터베이스 복구방법 - Google Patents
효율적인 데이터베이스 복구방법 Download PDFInfo
- Publication number
- KR100515890B1 KR100515890B1 KR1020050018797A KR20050018797A KR100515890B1 KR 100515890 B1 KR100515890 B1 KR 100515890B1 KR 1020050018797 A KR1020050018797 A KR 1020050018797A KR 20050018797 A KR20050018797 A KR 20050018797A KR 100515890 B1 KR100515890 B1 KR 100515890B1
- Authority
- KR
- South Korea
- Prior art keywords
- database
- page
- pages
- transaction
- recovery
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 238000011084 recovery Methods 0.000 claims abstract description 139
- 238000010295 mobile communication Methods 0.000 claims abstract description 30
- 230000008859 change Effects 0.000 claims abstract description 28
- 238000007726 management method Methods 0.000 claims description 14
- 230000008569 process Effects 0.000 claims description 10
- 238000012545 processing Methods 0.000 claims description 9
- 238000013500 data storage Methods 0.000 claims description 6
- 230000002159 abnormal effect Effects 0.000 description 14
- 230000006870 function Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000007796 conventional method Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000004927 fusion Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 229920001690 polydopamine Polymers 0.000 description 1
- 230000002250 progressing effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1474—Saving, restoring, recovering or retrying in transactions
-
- C—CHEMISTRY; METALLURGY
- C10—PETROLEUM, GAS OR COKE INDUSTRIES; TECHNICAL GASES CONTAINING CARBON MONOXIDE; FUELS; LUBRICANTS; PEAT
- C10L—FUELS NOT OTHERWISE PROVIDED FOR; NATURAL GAS; SYNTHETIC NATURAL GAS OBTAINED BY PROCESSES NOT COVERED BY SUBCLASSES C10G, C10K; LIQUEFIED PETROLEUM GAS; ADDING MATERIALS TO FUELS OR FIRES TO REDUCE SMOKE OR UNDESIRABLE DEPOSITS OR TO FACILITATE SOOT REMOVAL; FIRELIGHTERS
- C10L5/00—Solid fuels
- C10L5/40—Solid fuels essentially based on materials of non-mineral origin
- C10L5/44—Solid fuels essentially based on materials of non-mineral origin on vegetable substances
-
- C—CHEMISTRY; METALLURGY
- C10—PETROLEUM, GAS OR COKE INDUSTRIES; TECHNICAL GASES CONTAINING CARBON MONOXIDE; FUELS; LUBRICANTS; PEAT
- C10L—FUELS NOT OTHERWISE PROVIDED FOR; NATURAL GAS; SYNTHETIC NATURAL GAS OBTAINED BY PROCESSES NOT COVERED BY SUBCLASSES C10G, C10K; LIQUEFIED PETROLEUM GAS; ADDING MATERIALS TO FUELS OR FIRES TO REDUCE SMOKE OR UNDESIRABLE DEPOSITS OR TO FACILITATE SOOT REMOVAL; FIRELIGHTERS
- C10L5/00—Solid fuels
- C10L5/02—Solid fuels such as briquettes consisting mainly of carbonaceous materials of mineral or non-mineral origin
- C10L5/34—Other details of the shaped fuels, e.g. briquettes
- C10L5/36—Shape
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1441—Resetting or repowering
-
- C—CHEMISTRY; METALLURGY
- C10—PETROLEUM, GAS OR COKE INDUSTRIES; TECHNICAL GASES CONTAINING CARBON MONOXIDE; FUELS; LUBRICANTS; PEAT
- C10L—FUELS NOT OTHERWISE PROVIDED FOR; NATURAL GAS; SYNTHETIC NATURAL GAS OBTAINED BY PROCESSES NOT COVERED BY SUBCLASSES C10G, C10K; LIQUEFIED PETROLEUM GAS; ADDING MATERIALS TO FUELS OR FIRES TO REDUCE SMOKE OR UNDESIRABLE DEPOSITS OR TO FACILITATE SOOT REMOVAL; FIRELIGHTERS
- C10L2290/00—Fuel preparation or upgrading, processes or apparatus therefore, comprising specific process steps or apparatus units
- C10L2290/24—Mixing, stirring of fuel components
-
- C—CHEMISTRY; METALLURGY
- C10—PETROLEUM, GAS OR COKE INDUSTRIES; TECHNICAL GASES CONTAINING CARBON MONOXIDE; FUELS; LUBRICANTS; PEAT
- C10L—FUELS NOT OTHERWISE PROVIDED FOR; NATURAL GAS; SYNTHETIC NATURAL GAS OBTAINED BY PROCESSES NOT COVERED BY SUBCLASSES C10G, C10K; LIQUEFIED PETROLEUM GAS; ADDING MATERIALS TO FUELS OR FIRES TO REDUCE SMOKE OR UNDESIRABLE DEPOSITS OR TO FACILITATE SOOT REMOVAL; FIRELIGHTERS
- C10L2290/00—Fuel preparation or upgrading, processes or apparatus therefore, comprising specific process steps or apparatus units
- C10L2290/32—Molding or moulds
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/80—Database-specific techniques
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E50/00—Technologies for the production of fuel of non-fossil origin
- Y02E50/10—Biofuels, e.g. bio-diesel
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E50/00—Technologies for the production of fuel of non-fossil origin
- Y02E50/30—Fuel from waste, e.g. synthetic alcohol or diesel
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Chemical & Material Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Organic Chemistry (AREA)
- Oil, Petroleum & Natural Gas (AREA)
- Life Sciences & Earth Sciences (AREA)
- Environmental & Geological Engineering (AREA)
- General Life Sciences & Earth Sciences (AREA)
- Geochemistry & Mineralogy (AREA)
- Geology (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
Claims (7)
- 데이터 저장수단 내에 데이터베이스 저장영역과 데이터베이스 복구영역을 각각 별도로 마련하고, 관리대상인 데이터베이스를 다수의 보다 작은 사이즈의 페이지 단위로 구분하여 상기 데이터 저장수단에 대한 입/출력을 수행하는 데이터베이스 관리시스템을 갖춘 컴퓨팅 장치에서, 상기 데이터베이스 관리시스템이 하나의 트랜잭션을 처리하는 과정에서 실패가 발생한 경우 상기 데이터베이스를 복구하는 방법에 있어서,상기 데이터베이스 저장영역에 있는 상기 데이터베이스의 페이지들 중에서 상기 트랜잭션을 수행하기 위해 변경하여야 할 페이지들의 이미지를 순차적으로 읽어와서 메모리버퍼에 저장하고, 그 변경 전 페이지의 원본 이미지를 일련번호를 부여하여 상기 데이터베이스 복구영역에 백업시켜 둔 다음, 상기 메모리버퍼에 있는 페이지들의 이미지를 상기 트랜잭션에 따라 변경하는 일련의 작업을, 상기 트랜잭션에 따라 변경해야 할 페이지 전체에 대하여 수행하는 제1 단계;상기 데이터베이스 저장영역에 저장되어 있는 변경대상인 각 페이지의 이미지를 상기 메모리버퍼에서 변경처리 된 해당 페이지의 이미지로 갱신하는 제2단계;상기 제2 단계의 갱신이 성공적으로 수행되지 못한 채 상기 컴퓨팅 장치가 비정상적으로 종료되었으면, 재 부팅 시에 상기 데이터베이스 복구영역에 저장되어 있는 마지막 페이지의 일련번호와 그 데이터베이스 복구영역에 저장되어 있는 페이지들의 총 개수가 일치하는 지를 확인하여 그러한 경우에 상기 데이터베이스 복구영역에 저장된 수정 전 페이지의 원본 이미지로 상기 데이터베이스 저장영역의 해당 페이지를 복구하는 제3단계를 구비하는 것을 특징으로 하는 데이터베이스 복구방법.
- 제 1항에 있어서, 상기 제3단계는,(a) 상기 컴퓨팅 장치가 재 부팅될 때, 상기 데이터베이스 복구영역을 읽어서 데이터가 존재하는 지 여부를 확인하는 단계;(b) 상기 단계 (a)에서 읽혀진 상기 데이터베이스 복구영역에 저장되어 있는 페이지들의 총 개수와 상기 마지막 페이지의 일련번호를 비교하는 단계;(c) 상기 단계 (b)에서 비교한 두 정보 값이 같을 경우에는 상기 데이터베이스 복구영역에 저장된 수정 전 페이지의 원본 이미지로 상기 데이터베이스 저장영역의 해당 페이지를 복구하고, 두 정보 값이 다를 경우에는 상기 데이터베이스 복구영역에 저장되어 있는 페이지를 모두 삭제하는 단계를 구비하는 것을 특징으로 하는 데이터베이스 복구방법.
- 제 1항에 있어서, 상기 데이터베이스 복구영역에 백업되는 페이지들에게 부여되는 상기 일련번호는, 하나의 트랜잭션을 수행되는 동안 상기 트랜잭션에 따라 변경해야 할 전체 페이지들에 대하여 1번부터 차례로 1씩 증가시키면서 순차적으로 부여되고, 그 트랜잭션의 수행이 완료되면 리셋 시키는 방식으로 부여되는 것을 특징으로 하는 데이터베이스 복구방법.
- 제 1항에 있어서, 상기 데이터 저장수단으로서 플래쉬메모리를 사용하는 것을 특징으로 하는 데이터베이스 복구방법.
- 제 1항에 있어서, 상기 컴퓨팅 장치는 이동통신단말기인 것을 특징으로 하는 데이터베이스 복구방법.
- 제 1항에 있어서, 상기 제1단계에서 상기 데이터베이스 복구영역에 변경 전 페이지의 원본 이미지를 해당 일련번호와 함께 백업할 때, 당해 트랜잭션의 시작 전 데이터베이스의 전체 사이즈도 추가적으로 함께 저장하는 것을 특징으로 하는 데이터베이스 복구방법.
- 제 6항에 있어서, 상기 트랜잭션을 수행하면서 변경된 내용들로 인해 추가되는 페이지가 있으면, 상기 복구는 상기 트랜잭션 수행 전의 데이터베이스 사이즈보다 큰 페이지 번호를 가지는 페이지들을 삭제함과 동시에, 상기 트랜잭션 내의 다른 변경 내용들에 관한 복구는 상기 데이터베이스 복구영역에 백업되어 있는 변경 전 페이지의 원본 이미지를 사용하여 수행하는 단계를 더 구비하는 것을 특징으로 하는 데이터베이스 복구방법.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050018797A KR100515890B1 (ko) | 2005-03-07 | 2005-03-07 | 효율적인 데이터베이스 복구방법 |
US11/367,455 US20060200500A1 (en) | 2005-03-07 | 2006-03-06 | Method of efficiently recovering database |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050018797A KR100515890B1 (ko) | 2005-03-07 | 2005-03-07 | 효율적인 데이터베이스 복구방법 |
Publications (1)
Publication Number | Publication Date |
---|---|
KR100515890B1 true KR100515890B1 (ko) | 2005-09-20 |
Family
ID=36945293
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020050018797A KR100515890B1 (ko) | 2005-03-07 | 2005-03-07 | 효율적인 데이터베이스 복구방법 |
Country Status (2)
Country | Link |
---|---|
US (1) | US20060200500A1 (ko) |
KR (1) | KR100515890B1 (ko) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101286020B1 (ko) * | 2012-02-01 | 2013-07-19 | 주식회사 이노와이어리스 | 계측기의 메뉴 설정값 복원 장치 및 방법 |
WO2013126046A1 (en) * | 2012-02-21 | 2013-08-29 | Hewlett-Packard Development Company, L.P. | Maintaining system firmware images remotely using a distribute file system protocol |
KR101365704B1 (ko) | 2012-03-30 | 2014-02-24 | 유비벨록스(주) | 플래시 기반 메모리를 관리하기 위한 방법 |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101473344B1 (ko) * | 2007-08-24 | 2014-12-17 | 삼성전자 주식회사 | 플래시 메모리를 스토리지로 사용하는 장치 및 그 동작방법 |
US7917472B2 (en) * | 2008-11-03 | 2011-03-29 | Mats Stefan Persson | Method, system and computer-readable media for backing up information contained in a database |
US8793288B2 (en) * | 2009-12-16 | 2014-07-29 | Sap Ag | Online access to database snapshots |
CN102768632B (zh) * | 2011-05-03 | 2015-01-28 | 厦门市美亚柏科信息股份有限公司 | 恢复移动终端数据的方法和装置 |
EP2709022A1 (en) * | 2012-09-14 | 2014-03-19 | Harman Becker Automotive Systems GmbH | Method and devices for updating a database of a navigation device |
US9015404B2 (en) | 2012-09-28 | 2015-04-21 | Intel Corporation | Persistent log operations for non-volatile memory |
US9952931B2 (en) | 2016-01-19 | 2018-04-24 | Microsoft Technology Licensing, Llc | Versioned records management using restart era |
US10296418B2 (en) | 2016-01-19 | 2019-05-21 | Microsoft Technology Licensing, Llc | Versioned records management using restart era |
US10331522B2 (en) * | 2017-03-17 | 2019-06-25 | International Business Machines Corporation | Event failure management |
US11537476B2 (en) * | 2020-03-25 | 2022-12-27 | Sap Se | Database management system backup and recovery management |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5043871A (en) * | 1986-03-26 | 1991-08-27 | Hitachi, Ltd. | Method and apparatus for database update/recovery |
JPH0373037A (ja) * | 1989-05-26 | 1991-03-28 | Hitachi Ltd | データベース障害回復方法 |
US5193162A (en) * | 1989-11-06 | 1993-03-09 | Unisys Corporation | Cache memory with data compaction for use in the audit trail of a data processing system having record locking capabilities |
US5530855A (en) * | 1992-10-13 | 1996-06-25 | International Business Machines Corporation | Replicating a database by the sequential application of hierarchically sorted log records |
FI100215B (fi) * | 1995-03-17 | 1997-10-15 | Nokia Telecommunications Oy | Matkaviestijärjestelmän tilaajatietojen päivittäminen |
JPH10333948A (ja) * | 1997-04-01 | 1998-12-18 | Kokusai Zunou Sangyo Kk | 仮想データベース空間システムおよびデータベースプログラムを記録したコンピュータ読み取り可能な記録媒体 |
US6415373B1 (en) * | 1997-12-24 | 2002-07-02 | Avid Technology, Inc. | Computer system and process for transferring multiple high bandwidth streams of data between multiple storage units and multiple applications in a scalable and reliable manner |
US6269431B1 (en) * | 1998-08-13 | 2001-07-31 | Emc Corporation | Virtual storage and block level direct access of secondary storage for recovery of backup data |
US6631478B1 (en) * | 1999-06-18 | 2003-10-07 | Cisco Technology, Inc. | Technique for implementing high performance stable storage hierarchy in a computer network |
US7305421B2 (en) * | 2001-07-16 | 2007-12-04 | Sap Ag | Parallelized redo-only logging and recovery for highly available main memory database systems |
-
2005
- 2005-03-07 KR KR1020050018797A patent/KR100515890B1/ko not_active IP Right Cessation
-
2006
- 2006-03-06 US US11/367,455 patent/US20060200500A1/en not_active Abandoned
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101286020B1 (ko) * | 2012-02-01 | 2013-07-19 | 주식회사 이노와이어리스 | 계측기의 메뉴 설정값 복원 장치 및 방법 |
WO2013126046A1 (en) * | 2012-02-21 | 2013-08-29 | Hewlett-Packard Development Company, L.P. | Maintaining system firmware images remotely using a distribute file system protocol |
US9930112B2 (en) | 2012-02-21 | 2018-03-27 | Hewlett Packard Enterprise Development Lp | Maintaining system firmware images remotely using a distribute file system protocol |
KR101365704B1 (ko) | 2012-03-30 | 2014-02-24 | 유비벨록스(주) | 플래시 기반 메모리를 관리하기 위한 방법 |
Also Published As
Publication number | Publication date |
---|---|
US20060200500A1 (en) | 2006-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11550675B2 (en) | Remote data replication method and system | |
US10936441B2 (en) | Write-ahead style logging in a persistent memory device | |
US9183236B2 (en) | Low level object version tracking using non-volatile memory write generations | |
EP1769343B1 (en) | Method and system for in-place updating content stored in a storage device | |
EP3036634B1 (en) | Disconnected operation for systems utilizing cloud storage | |
EP3179359B1 (en) | Data sending method, data receiving method, and storage device | |
US7860836B1 (en) | Method and apparatus to recover data in a continuous data protection environment using a journal | |
CN109542682B (zh) | 一种数据备份方法、装置、设备和存储介质 | |
US20060200500A1 (en) | Method of efficiently recovering database | |
US7395278B2 (en) | Transaction consistent copy-on-write database | |
US11221927B2 (en) | Method for the implementation of a high performance, high resiliency and high availability dual controller storage system | |
KR102262409B1 (ko) | 비휘발성 메모리 기반 파일 시스템 및 이를 이용한 데이터 갱신 방법 | |
CN104166605A (zh) | 基于增量数据文件的数据备份方法及系统 | |
CN103049539A (zh) | 一种文件系统中文件数据的存储方法及其装置 | |
WO2023206968A1 (zh) | 一种数据存储方法、系统及计算机可读存储介质 | |
CN101196839A (zh) | 双快闪只读存储器的数据修复与同步方法 | |
KR102049417B1 (ko) | Nvdimm을 이용한 인-메모리 데이터베이스 기반의 데이터 저장 및 복원 방법 | |
WO2020060620A1 (en) | Storage segment server covered cache | |
US11226875B2 (en) | System halt event recovery | |
US12124596B2 (en) | Universal platform for data protection | |
US11755425B1 (en) | Methods and systems for synchronous distributed data backup and metadata aggregation | |
US20220129198A1 (en) | Data updates for controllers | |
WO2024076629A1 (en) | Extended protection storage system put operation | |
US8370306B1 (en) | Systems and methods for recovering from continuous-data-protection blackouts | |
CN115329391A (zh) | 一种文本数据库的防护方法、装置、设备及介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20050307 |
|
PA0201 | Request for examination | ||
A302 | Request for accelerated examination | ||
PA0302 | Request for accelerated examination |
Patent event date: 20050310 Patent event code: PA03022R01D Comment text: Request for Accelerated Examination Patent event date: 20050307 Patent event code: PA03021R01I Comment text: Patent Application |
|
E902 | Notification of reason for refusal | ||
PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20050617 Patent event code: PE09021S01D |
|
E701 | Decision to grant or registration of patent right | ||
PE0701 | Decision of registration |
Patent event code: PE07011S01D Comment text: Decision to Grant Registration Patent event date: 20050824 |
|
GRNT | Written decision to grant | ||
PR0701 | Registration of establishment |
Comment text: Registration of Establishment Patent event date: 20050912 Patent event code: PR07011E01D |
|
PR1002 | Payment of registration fee |
Payment date: 20050913 End annual number: 3 Start annual number: 1 |
|
PG1601 | Publication of registration | ||
FPAY | Annual fee payment |
Payment date: 20080829 Year of fee payment: 4 |
|
PR1001 | Payment of annual fee |
Payment date: 20080829 Start annual number: 4 End annual number: 4 |
|
LAPS | Lapse due to unpaid annual fee | ||
PC1903 | Unpaid annual fee |