METHOD AND APPARATUS FOR RECOVERING DATA IN DB2 DATABASE

Disclosed are a method and an apparatus for recovering data in a DB2 database. The data recovery apparatus is configured to recover a deleted record by: receiving a system file and a data file from a database; deriving a data area including the deleted record by retrieving, from the data file, an ex...

Full description

Saved in:
Bibliographic Details
Main Authors LEE, SANG JIN, CHOI, JONG-HYUN, JEONG, DOO WON, KANG, CHEULHOON, LEE, KUK HEON, LEE, KYUNG MIN
Format Patent
LanguageEnglish
French
Korean
Published 29.10.2015
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:Disclosed are a method and an apparatus for recovering data in a DB2 database. The data recovery apparatus is configured to recover a deleted record by: receiving a system file and a data file from a database; deriving a data area including the deleted record by retrieving, from the data file, an extent map in which the address of the data area has been recorded; and extracting the deleted record from the data area. In addition, the data recovery apparatus is configured to derive table information of the deleted record by: deriving information about one or more tables from the system file; and sequentially comparing respective column sizes and data types included in the information about one or more tables, using the column size and data type of the deleted record. L'invention concerne un procédé et un appareil pour récupérer des données dans une base de données DB2. L'appareil de récupération de données est configuré pour récupérer un enregistrement supprimé par : réception d'un fichier de système et d'un fichier de données à partir d'une base de données ; dérivation d'une zone de données comprenant l'enregistrement supprimé par extraction, à partir du fichier de données, d'une carte d'étendue dans laquelle l'adresse de la zone de données a été enregistrée ; et extraction de l'enregistrement supprimé à partir de la zone de données. En outre, l'appareil de récupération de données est configuré pour dériver des informations de table de l'enregistrement supprimé par : dérivation d'informations concernant une ou plusieurs tables à partir du fichier de système ; et comparaison séquentielle des tailles de colonne et des types de données respectifs inclus dans les informations concernant une ou plusieurs tables, à l'aide de la taille de colonne et du type de données de l'enregistrement supprimé. DB2 데이터베이스에서 데이터를 복원하는 방법 및 장치에 관한 것으로서, 데이터 복원 장치가 데이터베이스로부터 시스템 파일 및 데이터 파일을 입력받고, 데이터 파일에서 데이터 영역의 주소가 기록된 익스텐트 맵을 검색하여 삭제된 레코드를 포함하는 데이터 영역을 도출하고, 데이터 영역에서 삭제된 레코드를 추출함으로써, 삭제된 레코드를 복구하되, 시스템 파일로부터 하나 이상의 테이블들에 대한 정보를 도출하고, 삭제된 레코드의 컬럼 사이즈와 데이터 타입을 이용하여 하나 이상의 테이블들에 대한 정보에 포함된 각각의 컬럼 사이즈와 데이터 타입을 순차적으로 비교함으로써, 삭제된 레코드의 테이블 정보를 도출한다.
Bibliography:Application Number: WO2015KR04033