KR20010004069A - Data backup and restore method in relation database and method for monitoring capacity of stroage the relation database - Google Patents

Data backup and restore method in relation database and method for monitoring capacity of stroage the relation database Download PDF

Info

Publication number
KR20010004069A
KR20010004069A KR1019990024667A KR19990024667A KR20010004069A KR 20010004069 A KR20010004069 A KR 20010004069A KR 1019990024667 A KR1019990024667 A KR 1019990024667A KR 19990024667 A KR19990024667 A KR 19990024667A KR 20010004069 A KR20010004069 A KR 20010004069A
Authority
KR
South Korea
Prior art keywords
database
user
backup
restore
file
Prior art date
Application number
KR1019990024667A
Other languages
Korean (ko)
Other versions
KR100313465B1 (en
Inventor
송종철
Original Assignee
윤종용
삼성전자 주식회사
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 윤종용, 삼성전자 주식회사 filed Critical 윤종용
Priority to KR1019990024667A priority Critical patent/KR100313465B1/en
Publication of KR20010004069A publication Critical patent/KR20010004069A/en
Application granted granted Critical
Publication of KR100313465B1 publication Critical patent/KR100313465B1/en

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F25REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
    • F25DREFRIGERATORS; COLD ROOMS; ICE-BOXES; COOLING OR FREEZING APPARATUS NOT OTHERWISE PROVIDED FOR
    • F25D31/00Other cooling or freezing apparatus
    • F25D31/006Other cooling or freezing apparatus specially adapted for cooling receptacles, e.g. tanks
    • F25D31/007Bottles or cans
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F25REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
    • F25DREFRIGERATORS; COLD ROOMS; ICE-BOXES; COOLING OR FREEZING APPARATUS NOT OTHERWISE PROVIDED FOR
    • F25D3/00Devices using other cold materials; Devices using cold-storage bodies
    • F25D3/02Devices using other cold materials; Devices using cold-storage bodies using ice, e.g. ice-boxes
    • F25D3/06Movable containers
    • F25D3/08Movable containers portable, i.e. adapted to be carried personally
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F25REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
    • F25DREFRIGERATORS; COLD ROOMS; ICE-BOXES; COOLING OR FREEZING APPARATUS NOT OTHERWISE PROVIDED FOR
    • F25D2331/00Details or arrangements of other cooling or freezing apparatus not provided for in other groups of this subclass
    • F25D2331/80Type of cooled receptacles
    • F25D2331/803Bottles

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Thermal Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE: A backup/restore method of a relational database and a method for monitoring a capacity are provided to backup/restore every relational database and to backup/restore while an application program is performed. CONSTITUTION: A database archiver is outputted on a monitor by a GUI(Graphic User Interface)(204) to decide a backup/restore objective period and a storing medium and to select the backup/restoration by a user. In deciding and selecting by the user, a user configured definition file(206) defining backup/restore conditions is checked by deciding a backup/restoring data with a table unit. The database(200) and the decided storing medium are backup/restored according to the conditions about the defined table in the user configured definition file.

Description

관계형 데이터베이스의 백업 및 복원방법과 그의 용량 모니터링방법{DATA BACKUP AND RESTORE METHOD IN RELATION DATABASE AND METHOD FOR MONITORING CAPACITY OF STROAGE THE RELATION DATABASE}DATA BACKUP AND RESTORE METHOD IN RELATION DATABASE AND METHOD FOR MONITORING CAPACITY OF STROAGE THE RELATION DATABASE}

본 발명은 시간 경과에 대응하여 획득되는 데이터를 관계형 데이터베이스의 관련 테이블에 축적하는 시스템에 관한 것으로, 특히 시스템에서 시간 경과에 따라 발생하는 데이터를 관련 테이블에 축적하는 데이터베이스의 데이터를 백업/복원(backup/restore)하는 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system for accumulating data obtained in response to a passage of time in a related table of a relational database. In particular, the present invention relates to a backup / restore of data of a database that accumulates data generated over time in a related table. / restore).

통상적으로 관계형 데이터베이스, 즉 RDB(Relational Database)를 이용하여 데이터를 관리하는 시스템중에 망 관리 시스템(NMS: Network Management System)과 같은 시스템에서는 시간 경과에 대응하여 획득되는 데이터를 RDB의 관련 테이블에 축적시켜 관리하게 된다. 이러한 시스템에서 데이터베이스(이하 "DB"라 함)를 이용하는 많은 응용 프로그램이 존재하는데, 이들 응용 프로그램중에는 DB를 일정 주기로 백업/복원/삭제해야하는 프로그램들이 존재한다.In general, a relational database, that is, a system that manages data using a relational database (RDB), in a system such as a network management system (NMS), accumulates data acquired in response to the passage of time in a related table of the RDB. To manage. In such a system, there are many applications that use a database (hereinafter referred to as "DB"). Among these applications, there are programs that need to backup / restore / delete the DB at regular intervals.

통상적으로 상용 DB 툴(tool)이나 종래의 알고리즘(algorithm)에 따른 데이터 백업과 복원은 데이터가 저장된 날짜만을 근거로 하여 순차적으로 이루어진다. 이때 백업/복원의 단위는 전체 DB이다. 이와 같이 백업/복원의 단위가 전체 DB이므로 동작중에는 DB 프로세스들을 이용할 수 없게 되며, 그에 따라 백업/복원 중에는 데이터에 대한 액세스(access), 즉 읽기/쓰기가 불가능하다. 그리고 동작중에는 DB 프로세스들을 이용할 수 없으므로 백업/복원을 위해 운용 중지를 하게 되면, 운용 중지한 동안에는 데이터의 손실이 발생한다. 또한 백업/복원의 단위가 DB 전체이므로 원하는 부분만의 백업/복원이 어려우며 속도가 느리다. 그리고 범용 백업 툴인 경우에는 처리해야하는 작업이 많으므로 저장/복원의 속도가 느린 단점이 있다.In general, data backup and restoration according to a commercial DB tool or a conventional algorithm are sequentially performed based only on a date when data is stored. At this time, the unit of backup / restore is entire DB. As the unit of backup / restore is the whole DB, the DB processes cannot be used during operation. Therefore, access to data, that is, read / write, is impossible during backup / restore. And because DB processes are not available during operation, if the operation is stopped for backup / restore, data loss occurs during the operation. In addition, since the unit of backup / restore is the entire DB, it is difficult to backup / restore only the desired part and it is slow. In the case of general-purpose backup tools, there are a lot of tasks that need to be processed.

아울러 종래의 백업/복원방식은 특정한 상용 DB가 제공하는 방식에 의존한다. 이에따라 DB가 변경되는 경우에는 백업/복원 툴의 재활용이 불가능하며, 응용 프로그램이 바뀔때마다 백업/복원 툴을 수정해야만 하였었다.In addition, the conventional backup / restore method depends on the method provided by a particular commercial DB. As a result, when the DB is changed, the backup / restore tool cannot be recycled, and the backup / restore tool had to be modified every time the application was changed.

또한 저장된 데이터의 용량이 DB의 용량, 즉 DB영역으로 선정된 하드 디스크(hard disk)의 용량에 도달하게 되면 DB의 동작뿐아니라 전체 소프트웨어의 동작이 중지되게 된다. 그러므로 종래에는 이러한 문제가 발생하기 전에 사용자가 주기적으로 또는 원하는 시간대에 DB의 용량을 점검해야하는 번거러움이 있었다.In addition, when the capacity of the stored data reaches the capacity of the DB, that is, the capacity of the hard disk selected as the DB area, not only the operation of the DB but also the operation of the entire software is stopped. Therefore, conventionally, the user has to check the capacity of the DB periodically or at a desired time period before such a problem occurs.

따라서 본 발명의 목적은 모든 RDB의 백업/복원에 사용할 수 있는 백업 및 복원방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a backup and restore method that can be used for the backup / restore of all RDB.

본 발명의 다른 목적은 응용 프로그램의 실행 중에도 백업/복원이 가능한 백업 및 복원방법을 제공함에 있다.Another object of the present invention is to provide a backup and restore method capable of backup / restore even during execution of an application program.

본 발명의 또 다른 목적은 백업/복원의 용이성과 함께 속도와 안정성을 향상시킬 수 있는 백업 및 복원방법을 제공함에 있다.Another object of the present invention is to provide a backup and restore method that can improve the speed and stability with ease of backup / restore.

본 발명의 또 다른 목적은 DB의 용량을 모두 사용하기 전에 사용자에게 미리 자동으로 경고할 수 있는 모니터링(monitoring)방법을 제공함에 있다.Another object of the present invention is to provide a monitoring method that can automatically warn a user in advance before using all of the DB capacity.

도 1은 본 발명의 실시예에 따른 사용자 정의 파일의 예시도,1 is an exemplary diagram of a user defined file according to an embodiment of the present invention;

도 2는 본 발명의 실시예에 따른 시스템 구성도,2 is a system configuration diagram according to an embodiment of the present invention;

도 3은 본 발명의 실시예에 따른 데이터베이스 아카이버의 GUI 예시도,3 is a GUI illustration of a database archiver according to an embodiment of the present invention;

도 4는 본 발명의 실시예에 따른 데이터베이스의 용량 모니터링을 위한 상태 창의 GUI 예시도,4 is a diagram illustrating a GUI of a status window for monitoring a capacity of a database according to an embodiment of the present invention;

도 5는 본 발명의 실시예에 따른 백업/복원 처리 흐름도,5 is a flowchart of a backup / restore process according to an embodiment of the present invention;

도 6은 본 발명의 실시예에 따른 용량 모니터링 처리 흐름도.6 is a capacity monitoring process flow diagram according to an embodiment of the present invention.

상술한 목적들을 달성하기 위한 본 발명의 백원 및 복원 방법은 백업/복원 대상 기간 및 저장매체의 지정과 함께 백업/복원 실행 여부를 사용자가 선택하기 위한 DB 아카이버(archiver)를 GUI(Graphical User Interface)에 의해 화면 출력하는 과정과, 사용자에 의해 DB 아카이버에서 백업/복원 대상 기간 및 저장매체의 지정과 함께 백업/복원 실행이 선택되면 DB에 대해 백업/복원을 원하는 데이터를 테이블단위로 지정하여 백업/복원 각각의 조건을 정의해 놓은 사용자 정의 파일(user configured definition file)을 확인하는 과정과, 사용자 정의 파일에 정의된 테이블에 대해 백업/복원 각각의 조건에 따라 레코드(record)단위로 DB와 지정된 저장매체간에 백업/복원을 실행하는 과정을 구비함을 특징으로 한다.In order to achieve the above objects, the method of backing up and restoring the present invention includes a GUI (Graphical User Interface) for selecting a DB archiver for selecting whether to perform backup / restoration together with designation of a backup / restore target period and storage medium. When the backup / restore operation is selected along with the screen output by the user and the backup / restore target period and storage medium in the DB archiver by the user, the backup / restore data for the DB can be designated in table units. The process of checking the user configured definition file that defines each condition of restoration, and saving the DB and designated data by record according to each condition of backup / restore for the table defined in the user definition file. And a process of executing backup / restore between the media.

또한 상술한 목적을 달성하기 위한 본 발명의 모니터링방법은 DB의 전체 용량 대비 사용된 용량의 비율을 주기적으로 확인하는 과정과, 확인 결과 전체 용량 대비 사용된 용량의 비율이 미리 설정된 임계비율을 초과하면 경고 메시지를 화면 출력하는 과정을 구비함을 특징으로 한다.In addition, the monitoring method of the present invention for achieving the above object is a process of periodically checking the ratio of the used capacity to the total capacity of the DB, and if the result of the ratio of the used capacity to the total capacity exceeds the predetermined threshold ratio And displaying a warning message on the screen.

이하 본 발명의 바람직한 실시예를 첨부한 도면을 참조하여 상세히 설명한다. 하기 설명 및 첨부 도면에서 구체적인 사용자 정의 파일의 예와 같은 많은 특정 상세들이 본 발명의 보다 전반적인 이해를 제공하기 위해 나타나 있으나, 이들 특정 상세들은 본 발명의 설명을 위해 예시한 것으로, 본 발명이 그들에 한정됨을 의미하는 것은 아니다. 그리고 본 발명의 요지를 불필요하게 흐릴 수 있는 공지 기능 및 구성에 대한 상세한 설명은 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. While many specific details are set forth in the following description and in the accompanying drawings, such as examples of specific user defined files, to provide a more general understanding of the invention, these specific details are illustrated for purposes of explanation of the invention, and the invention is directed to them. It is not meant to be limited. And a detailed description of known functions and configurations that may unnecessarily obscure the subject matter of the present invention will be omitted.

우선 본 발명은 사용자가 원하는 데이터만을 도 1의 예로서 보인 사용자 정의 파일로 정의하여 백업하도록 하며 테이블단위로 레코드를 백업/복원하도록 하도록 한다. 이에따라 사용자는 원하는 DB의 테이블 이름을 참조하여 DB 백업/복원을 정의하는 도 1과 같은 사용자 정의 파일을 통상적인 편집기(editor)를 사용하여 작성하여 ASCII(American Standard Code for Information Interchange) 파일 형식으로 저장하게 된다.First of all, the present invention defines and backs up only the data desired by the user as a user-defined file shown in the example of FIG. 1 and backs up / restores records in table units. Accordingly, the user can create a user-defined file such as Fig. 1 that defines the DB backup / restore by referring to the table name of the desired DB using a conventional editor and save it in the American Standard Code for Information Interchange (ASCII) file format. Done.

상기한 도 1의 사용자 정의 파일에 있어서, "#"은 주석문의 시작이다. "!"은 DB의 이름앞에 오게 되며, 이 명령문 이하의 테이블은 주어진 DB를 사용한다. 그러므로 도 1의 사용자 정의 파일은 DB 이름(102)이 "eventdb"인 DB에 대한 것이다. 그리고 정의문은 테이블명(table name)(104), 연산자(operator)(106), 매개 변수(parameter)(108,110)로 이루어진다. 도 1에서 테이블 명(104)은 "table name"으로, 연산자(106)은 "op"로, 매개 변수(108,110)는 두가지로서 하나의 매개변수(108)는 "param1"으로 다른 하나의 매개변수(110)는 "param2"로 표기한 예를 보인다.In the above user definition file of FIG. 1, "#" is the start of a comment. The "!" Comes before the name of the database, and the tables below this statement use the given database. Therefore, the user-defined file of FIG. 1 is for a DB whose DB name 102 is "eventdb". The definition statement is composed of a table name 104, an operator 106, and parameters 108 and 110. In FIG. 1 the table name 104 is "table name", the operator 106 is "op", the parameters 108 and 110 are two and one parameter 108 is "param1" and the other parameter. (110) shows an example of "param2".

그리고 도 1의 예에 있어서 연산자는 시간, 조건, 자동 삭제, 중복 체크, 중복 삭제, 저장 공간 최적화, 인덱스 중에 하나가 되며, 연산자에 따라 매개 변수에 주어져야 하는 값이 정해진다. 이들 연산자에 대해 도 1에서는 시간 연산자는 "time"으로, 조건 연산자는 "cond"로, 자동 삭제 연산자는 "autodel"로, 중복 체크 연산자는 "check"로, 중복 삭제 연산자는 "nodup"로, 저장 공간 최적화 연산자는 "stroage"로, 인덱스 연산자는 "index"로 보였다.In the example of FIG. 1, the operator is one of time, condition, automatic deletion, duplicate check, duplicate deletion, storage space optimization, and index, and a value to be given to a parameter is determined according to the operator. For these operators in Figure 1, the time operator is "time", the condition operator is "cond", the auto delete operator is "autodel", the duplicate check operator is "check", the duplicate delete operator is "nodup", The storage optimization operator is shown as "stroage" and the index operator as "index".

상기한 연산자들중에 첫번째로 시간 연산자 "time"은 주어진 시간 범위와 매개변수(108)로서 주어진 날짜-시간(date-time) 필드의 값을 비교하여 백업을 수행한다. 여기서 주어진 필드는 날짜-시간 속성을 가진 것이라야 의미가 있다.First of these operators, the time operator "time" performs a backup by comparing the given time range with the value of the date-time field given as parameter 108. The field given here is meaningful only if it has a date-time attribute.

두번째로 조건 연산자 "cond"는 매개변수(108)로서 관련-테이블(related-table) 필드가 주어지고 매개변수(110)로서 공통(common) 필드가 주어진다. 조건 연산자 "cond"는 테이블이 날짜-시간 속성을 가지지 않았을 경우, 관련된 테이블에 따라 백업/삭제를 수행하도록 한다. 예를들어 도 1에서 "alarm-sub" 테이블은 공통 필드로서 "alarm_id" 필드를 가지고 있으므로 "alarm_data" 테이블의 같은 "alarm_id" 필드를 가지는 레코드가 백업/삭제될때 같이 백업/삭제되게 된다.Secondly, the conditional operator "cond" is given a related-table field as parameter 108 and a common field as parameter 110. The conditional operator "cond" allows backup / delete according to the relevant table when the table does not have a date-time attribute. For example, in FIG. 1, since the "alarm-sub" table has the "alarm_id" field as a common field, when the record having the same "alarm_id" field of the "alarm_data" table is backed up / deleted, it is backed up / deleted.

세번째로 자동삭제 연산자 "autodel"는 매개변수(108)로서 날짜-시간 필드가 주어지고 매개변수(110)로서 기간(period) 필드가 주어진다. 자동삭제 연산자 "autodel"는 일정 기간이 지난 레코드는 자동으로 삭제하도록 하는 연산자이다. 날짜-시간 필드가 기간 필드만큼 지난 레코드는 응용 프로그램이 동작시에 자동으로 삭제하도록 한다. 이때 기간의 단위는 예를 들어 개월이며, 이 단위는 응용 프로그램에 따라 바뀔 수 있다.Thirdly, the autodelete operator "autodel" is given a date-time field as parameter 108 and a period field as parameter 110. Automatic deletion operator "autodel" is an operator that automatically deletes records after a certain period of time. Records whose date-time fields are older than the duration field will be automatically deleted by the application. In this case, the unit of period is, for example, months, which may be changed according to an application program.

네번째로 중복체크 연산자 "check"는 매개변수(108)로서 체크 필드가 주어진다. 중복체크 연산자 "check"는 복원시에 중복된 레코드의 복원을 금지할 수 있도록 한다. 즉, 체크 필드의 값이 같은 레코드가 복원되려고 하면 금지하여 중복된 값이 DB(200)에 저장되는 것을 막아준다. DB(200) 설계시에 유니크(unique)가 선언된 필드를 체크하게 되면 DB(200)의 일관성을 유지하는데 큰 도움을 준다.Fourth, the duplicate check operator "check" is given a check field as parameter 108. The duplicate check operator "check" prevents the restoration of duplicate records at the time of restoration. That is, if a record having the same check field value is attempted to be restored, it prevents duplicate values from being stored in the DB 200. Checking a field in which a unique is declared in the DB 200 design greatly helps maintain the consistency of the DB 200.

다섯번째로 중복삭제 연산자 "nodup"는 매개변수(108)로서 중복-삭제 필드가 주어진다. 중복삭제 연산자 "nodup"는 DB(200)의 중복을 허용하는 응용 프로그램이 존재할 경우, 저장 공간의 절약을 위해서 중복을 주기적으로 없애주는 기능을 한다. 중복-삭제 필드가 중복된 것이 존재하면 하나만을 남기고 나머지는 자동으로 제거해주는 기능을 한다.Fifth, the deduplication operator "nodup" is given a duplicate-delete field as a parameter 108. Duplicate deletion operator "nodup" is a function that periodically removes duplicates in order to save storage space, if there is an application program that allows the duplication of the DB (200). Duplicate-Delete If there is a duplicate field, only one is left and the other is automatically removed.

여섯번째로 저장공간 최적화 연산자 "storage"는 매개 변수 없이 동작하는데, 레코드의 삭제가 있을 경우, 저장 공간의 최적화를 수행한다. RDB의 경우에는 레코드를 지워도 사용 저장 공간이 늘어나지 않는 제품들이 있다. 이러한 RDB의 예로서 인포믹스가 있다. 그러므로 백업이나 삭제를 수행 후에는 저장 공간을 재할당하기 위해 저장공간 최적화 연산자 "storage"를 사용한다. 단, 저장 공간 재할당은 시간 비용이 많이 사용되므로 사용에 주의가 필요하다.Sixth, the storage optimization operator "storage" operates without parameters. When there is a deletion of records, the storage optimization is performed. In the case of RDB, there are some products that do not increase the storage space used by deleting records. An example of such an RDB is Informix. Therefore, after performing a backup or delete, use the storage optimization operator "storage" to reallocate storage space. However, storage reallocation is time-consuming and requires careful use.

일곱번째로 인덱스 연산자 "index"는 매개변수(108)로서 인덱싱(indexing) 필드가 주어지고 매개변수(110)로서 인덱스 명(index-name) 필드가 주어진다. 저장공간 최적화 연산자 "storage" 연산을 수행한 후에는 기존의 인덱스가 삭제될 수 있으므로, 이런 경우에는 인덱스 연산자 "index"에 의한 인덱스 연산으로 인덱스가 없을 경우 생성하여 응용 프로그램 수행에 지장이 없도록 하였다.Seventh, the index operator "index" is given an indexing field as parameter 108 and an index-name field as parameter 110. After performing the storage optimization operator "storage" operation, the existing index can be deleted. In this case, the index operation by the index operator "index" is created when there is no index so that it does not interfere with application execution.

그리고 도 1에서와 같이 테이블단위로 사용자 정의 파일을 작성함으로써 테이블단위의 레코드 백업/복원이 이루어지게 된다. 이와 같이 백업/복원의 단위를 테이블로 함으로써 백업/복원 동작 중에도 DB에 액세스가 가능하게 된다. 이에따라 종래에 DB 백업/복원시 액세스가 불가능하였던 것을 개선하여 백업/복원시의 데이터 손실을 방지하며, 이러한 사용자 정의 파일을 이용하는 경우 DB 저장 테이블의 스키마(schema)가 변경되는 경우에도 백업/복원 소프트웨어의 동작이 영향받지 않는다. 또한 특정 DB의 백업/복원 툴에 의존하지 않고 테이블단위의 레코드를 임시 파일에 백업/복원하므로 어떠한 RDB에도 적용 가능하다. 또한 날짜뿐만아니라 테이블의 선별을 가능케 하여 원하는 데이터나 중요한 데이터 관리를 용이하게 한다.And as shown in Figure 1 by creating a user-defined file in the table unit record backup / restore of the table unit is made. By using the backup / restore unit as a table, the DB can be accessed during the backup / restore operation. Accordingly, it is possible to prevent data loss during backup / restore by improving access that was previously inaccessible during DB backup / restore, and backup / restore software even when the schema of the DB storage table is changed when using such a user-defined file. The operation of is not affected. Also, it can be applied to any RDB because it backs up / restores the table unit records to a temporary file without depending on the backup / restore tool of a specific DB. It also enables the sorting of tables as well as dates, making it easy to manage the data you want or important data.

도 2는 상기한 바와 같은 사용자 정의 파일에 근거하여 DB의 백업/복원/삭제와 모니터링을 하는 본 발명의 실시예에 따른 시스템 구성도를 보인 것이다. 상기 도 2에서 DB(200)는 시간 경과에 따라 지속적으로 획득되는 데이터를 저장하게 되는 DB이다. 스토리지 관리 블록(202)은 후술하는 도 3의 DB 아카이버와 도 4의 상태 창을 GUI(204)에 의해 화면 출력하고, DB 아카이버에서의 사용자 입력에 따라 사용자 정의 파일(206)에 근거하여 DB(200)에 대한 백업/복원/삭제를 실행한다. 스토리지 관리 블록(202)은 또한 후술하는 바와 같이 DB(200)의 용량에 대한 모니터링을 하며, 경고 메시지 처리블록(208)을 통해 경고 메시지를 화면 출력시킨다. 사용자 정의 파일(206)은 상기한 도 1의 예와 같이 작성되어 저장되어 있게 된다.Figure 2 shows a system configuration according to an embodiment of the present invention to backup / restore / delete and monitor the DB based on the user-defined file as described above. In FIG. 2, the DB 200 is a DB for storing data continuously obtained over time. The storage management block 202 outputs the DB archiver of FIG. 3 and the status window of FIG. 4 to be described later by the GUI 204, and based on a user-defined file 206 based on a user input from the DB archiver, the DB ( Perform backup / restore / delete for 200). The storage management block 202 also monitors the capacity of the DB 200 as described below, and outputs a warning message through the warning message processing block 208. The user definition file 206 is created and stored as in the example of FIG. 1 described above.

도 3은 본 발명의 실시예에 따른 DB 아카이버의 GUI 예시도로서, 백업/복원/삭제 대상 기간 및 저장매체의 지정과 함께 백업/복원/삭제 실행 여부를 사용자가 선택하기 위한 DB 아카이버(300)의 화면을 보인 것이다. 여기서 참조부호 302는 백업을 선택하기 위한 아이콘이고, 304는 복원을 선택하기 위한 아이콘이며, 306은 삭제를 선택하기 위한 아이콘이며, 308은 DB 용량 모니터링을 위한 상태 확인 아이콘이며, 314는 실행을 선택하기 위한 아이콘이며, 316은 DB 아카이버(300)를 닫기 위한 아이콘이다. 또한 참조부호 310은 저장 매체를 지정하기 위한 입력 창이고, 312는 백업/복원/삭제 대상 기간을 지정하기 위한 입력 창이다. 도 3에서는 대상 기간이 1998년 12월 1일부터 1998년 12월 10일까지로 지정되는 예를 보인다.3 is a diagram illustrating a GUI of a DB archiver according to an exemplary embodiment of the present invention. The DB archiver 300 for selecting a backup / restore / delete operation by the user with a designation of a backup / restore / delete target period and a storage medium. The screen of the is shown. Here, reference numeral 302 is an icon for selecting a backup, 304 is an icon for selecting a restore, 306 is an icon for selecting a delete, 308 is a status check icon for monitoring DB capacity, and 314 is selected for execution. 316 is an icon for closing the DB archiver 300. Reference numeral 310 is an input window for designating a storage medium, and 312 is an input window for designating a backup / restore / delete target period. 3 shows an example in which the target period is designated from December 1, 1998 to December 10, 1998.

도 4는 본 발명의 실시예에 따른 도 3의 DB 아카이버(300)에서 상태 확인 아이콘(308)이 입력될때 화면 출력하는 상태 창(400)의 GUI 예시도로서, DB(200)의 전체 용량에 대비하여 사용된 용량의 비율에 대한 상태를 보임과 아울러 저장용량 임계비율을 사용자가 설정하기 위한 상태 창(400)의 화면을 보인 것이다. 상기 도 4의 상태 창(400)는 상기한 도 3의 DB 아카이버(300)에서 사용자에 의해 아이콘(308)이 입력될때 화면 출력된다. 그리고 참조부호 402는 DB(200)의 전체 용량에 대비하여 사용된 용량을 타원 형태의 그림으로 보이는데, 예를 들어 빗금친 부분이 사용된 용량을 나타내고 나머지 부분이 미사용 용량을 나타낸다. 또한 참조부호 404는 DB(200)의 전체 용량을 표시하는 창이고, 406은 현재 사용된 용량을 표시하는 창이며, 408은 사용자에 의해 설정되는 임계 비율을 입력 및 표시하는 창이다. 도 4에서는 전체 용량이 10GB이고 현재 사용된 용량이 5.5GB이며 임계비율이 75%로 설정된 예를 보인다.4 is a diagram illustrating a GUI of a status window 400 that is displayed on a screen when a status check icon 308 is input from the DB archiver 300 of FIG. 3 according to an embodiment of the present invention. In addition to showing the status of the ratio of the capacity used in preparation, the screen of the status window 400 for the user to set the storage capacity threshold ratio is shown. The state window 400 of FIG. 4 is output when the icon 308 is input by the user in the DB archiver 300 of FIG. Reference numeral 402 denotes an elliptic figure of the used capacity relative to the total capacity of the DB 200. For example, the hatched portion represents the used capacity and the remaining portion represents the unused capacity. In addition, reference numeral 404 is a window for displaying the total capacity of the DB 200, 406 is a window for displaying the currently used capacity, and 408 is a window for inputting and displaying a threshold ratio set by the user. 4 shows an example in which the total capacity is 10 GB, the currently used capacity is 5.5 GB, and the threshold ratio is set to 75%.

도 5는 본 발명의 실시예에 따른 백업/복원 처리 흐름도를 보인 것이다. 상기한 도 5를 참조하면, (500)단계에서는 백업/복원/삭제 대상 기간 및 저장매체의 지정과 함께 백업/복원/삭제 실행 여부를 사용자가 선택하기 위한 도 3의 DB 아카이버(300)를 GUI(204)에 의해 화면 출력한다. 이러한 상태에서 (502)단계의 사용자 입력을 받아 (504)∼(510)단계를 수행한다.5 is a flowchart illustrating a backup / restore process according to an embodiment of the present invention. Referring to FIG. 5, in step 500, the GUI of the DB archiver 300 of FIG. 3 for selecting a backup / restore / delete or not by executing a backup / restore / delete target period and a storage medium. The screen is output by 204. In this state, steps 504 to 510 are performed by receiving the user input of step 502.

이때 사용자가 백업을 원하는 경우 원하는 데이터의 백업에 대한 사용자 정의 파일(206)을 작성하고 백업을 원하는 데이터가 저장된 날짜를 DB 아카이버(300)에서 지정한다. 이와 같이 DB 아카이버(300)에서 백업 대상 기간 및 저장매체의 지정과 함께 백업 실행이 선택되면, 상기한 (504),(510)단계에서 이에 응답하여 스토리지 관리블록(202)에서는 (512)단계에서 DB(200)에 대해 백업/복원/삭제를 원하는 데이터를 테이블단위로 지정하여 백업/복원/삭제 각각의 조건을 정의해 놓은 도 1과 같은 사용자 정의 파일(206)을 확인하여, (514)단계에서 사용자 정의 파일(206)에 정의된 테이블에 대해 DB 아카이버(300)에서 지정된 기간에 속하는 레코드를 DB(200)에서 검색한다. 즉, 사용자가 지정된 날짜와 사용자 정의 파일(206)에 명기된 테이블의 조건에 맞는 DB(200)에 저장된 데이터를 순차적으로 검색한다. 검색조건에 맞는 데이터가 없으면 임시 파일을 생성하여 복사본을 만든다. 전체 DB의 조건 검색에 따라 검색된 데이터는 하나의 파일에 복사된다. 다음에 (516)단계에서 검색 조건에 맞는 데이터가 있으면 임시 파일을 생성하여 복사본을 만들어 지정된 저장매체에 저장한다. 즉, 검색이 끝나면 복사본을 사용자가 지정한 매개체로 이동한다. 이때 매개체는 ASCII 파일 또는 테이프를 이용할 수 있다. 이후 상기한 (502)단계로 되돌아 간다.At this time, if the user wants to backup, the user creates a user-defined file 206 for the backup of the desired data and specifies the date in which the data to be backed up is stored in the DB archiver 300. As described above, when the backup execution is selected together with the backup target period and the storage medium in the DB archiver 300, the storage management block 202 responds to the operations in steps 512 and 510. By specifying the data to be backed up / restored / deleted for the DB 200 in table units, confirming the user-defined file 206 shown in FIG. 1 that defines the conditions for backup / restored / deleted, step 514. The DB 200 searches for records belonging to the period specified by the DB archiver 300 for the table defined in the user definition file 206. That is, the user sequentially searches the data stored in the DB 200 meeting the specified date and the conditions of the table specified in the user definition file 206. If no data meets the search criteria, a temporary file is created to make a copy. According to the conditional search of the entire DB, the retrieved data is copied to one file. Next, in step 516, if there is data that meets the search conditions, a temporary file is created and a copy is made and stored in the designated storage medium. In other words, after the search is complete, the copy is moved to the user-specified medium. At this time, the medium may use an ASCII file or tape. The process then returns to step 502 described above.

여기서 만일 도 3에서와 같이 주어진 값이 1998/12/01∼1998/12/10이라고 하자. 그리고 도 1에서 "alarm_data" 테이블은 "loggingtime" 필드에 의해서 백업을 수행한다고 정의되어 있다. 그러므로 백업을 수행하면 "alarm-data" 테이블은 1998/12/01∼1998/12/10의 "loggingtime" 필드를 갖는 레코드들이 백업되게 된다.Here, suppose that a value given as in FIG. 3 is 1998/12/01 to 1998/12/10. In addition, in FIG. 1, the "alarm_data" table is defined to perform backup by the "loggingtime" field. Therefore, when performing a backup, the "alarm-data" table will back up records with the "loggingtime" field from 1998/12/01 to 1998/12/10.

그리고 사용자가 복원을 원하는 경우 상기한 저장방식을 이용하여 생성된 ASCII 파일 또는 테이프 이름을 DB 아카이버(300)에서 입력 창(310)을 통해 지정하여 복원 요구를 한다. 이와 같이 사용자에 의해 DB 아카이버(300)에서 복원 대상 기간 및 저장매체의 지정과 함께 복원 실행이 선택되면, 상기한 (504),(510)단계에서 이에 응답하여 스토리지 관리블록(202)에서는 (518)단계에서 사용자 정의 파일(206)을 확인하여 (520)단계에서 사용자 정의 파일(206)에 정의된 테이블을 DB(200)에 생성하고 생성된 테이블에서 이용하게 되는 인덱스를 생성한다. 다음에 (522)단계에서는 지정된 저장매체에서 DB(200)에 생성된 테이블로 테이블의 레코드단위로 복사한다. 즉, ASCII 파일 또는 테이프에서 테이블의 레코드 단위로 DB에 생성한 테이블로 복사한다. 이후 상기한 (502)단계로 되돌아 간다.When the user wants to restore, the user requests the restoration by specifying the ASCII file or tape name generated using the above-described storage method through the input window 310 in the DB archiver 300. As described above, when the user selects the restoration execution with the restoration target period and the storage medium in the DB archiver 300, the storage management block 202 responds to the operation at steps 504 and 510. In step 520, the user definition file 206 is checked, and in step 520, the table defined in the user definition file 206 is created in the DB 200, and an index used in the generated table is generated. Next, in step 522, the table is copied to the table created in the DB 200 from the designated storage medium in record units of the table. In other words, copy from the ASCII file or tape to the table created in the DB in the record unit of the table. The process then returns to step 502 described above.

따라서 사용자 정의 파일을 이용하여 저장단위를 테이블화하여 데이터의 저장 속도, 안정성, 저장방식의 용이도를 개선한다. 테이블단위의 레코드 복사/이동을 함에 따라 데이터 백업/복원 중에도 DB(200)의 액세스가 가능함으로써 안정성을 개선한다.Therefore, the storage unit is tabulated using user-defined files to improve data storage speed, stability, and ease of storage. By copying / moving records in table units, the DB 200 can be accessed even during data backup / restore, thereby improving stability.

또한 사용자에 의해 DB 아카이버(300)에서 삭제 대상 기간의 지정과 함께 삭제 실행이 선택되면, 스토리지 관리블록(202)에서는 (524)단계에서 사용자 정의 파일(206)을 확인하여 (526)단계에서 사용자 정의 파일(206)에 정의된 테이블에 대해 지정된 기간에 속하는 레코드를 DB(200)에서 삭제한다. 이후 상기한 (502)단계로 되돌아 간다.In addition, if the user selects the deletion target in the DB archiver 300 together with the deletion target period, the storage management block 202 checks the user-defined file 206 in step 524, and the user in step 526. The record belonging to the period specified for the table defined in the definition file 206 is deleted from the DB 200. The process then returns to step 502 described above.

상기한 바와 같이 사용자 정의 파일을 이용한 백업/복원을 함으로써 날짜에 근거하는 백업/복원뿐 아니라 테이블별로의 선택적 저장과 복원이 가능하게 되며, 그에 따라 백업/복원의 용이성과 함께 속도와 안정성이 향상된다. 그리고 백업/복원에 있어서 테이블단위의 레코드 읽기/쓰기방식을 이용하므로 어떠한 RDB의 데이터 백업/복원에도 적용할 수 있다. 즉, RDB를 사용하는 모든 응용 프로그램의 DB 백업 및 복원에 적용할 수 있으며, 응용 프로그램의 실행 중에도 백업/복원이 가능하다. 아울러 선별적 테이블 쓰기/읽기를 이용하므로 날짜에만 기준하여 모든 데이터를 백업/복원해야하는 종래에 비해 속도 개선의 효과를 가진다. 또한 사용자 정의 파일의 기술만으로 백업 및 복원, 자동 삭제, 중복 삭제, 저장 공간 최적화를 할 수 있다. 그리고 이러한 사용자 정의 파일의 변경만으로 RDB를 사용하는 응용 프로그램에서 모두 사용할 수 있게 된다.As described above, backup / restore using user-defined file enables not only backup / restore based on date, but also selective storage and restoration by table, thereby improving speed and stability with ease of backup / restore. . And since backup / restore uses table-based record read / write method, it can be applied to data backup / restore of any RDB. That is, it can be applied to DB backup and restore of all applications using RDB, and backup / restore is possible even while the application is running. In addition, since selective table write / read is used, it has the effect of speed improvement compared to the conventional method which needs to backup / restore all data based on date only. In addition, users can backup and restore, auto-delete, duplicate delete, and optimize storage space using only the technology of user-defined files. And just by changing these customization files, you can use them in any application that uses RDB.

한편 사용자가 DB(200)의 용량 임계 초과치에 대한 메시지를 자동으로 받고 싶은 경우 원하는 임계 비율을 설정한다. 이를 위해 사용자가 DB(200)의 용량을 확인하기 위한 상태 확인 아이콘(308)을 입력하면, (528)단계에서 상태 창(400)을 GUI(204)에 의해 화면 출력한다. 이후 (530)∼(532)단계에서 사용자 입력에 따라 임계 비율을 설정하게 된다. 이때 임계 비율은 전체 DB(200)의 용량을 100으로 기준하여 설정하게 되며, 설정된 임계 비율은 ASCII 파일의 형태로 보관한다. 만일 설정이 되지 않은 경우 기본값으로 자동 설정하는데, 예를 들어 전체 용량대비 70%로 자동 설정한다.On the other hand, if the user wants to automatically receive a message for exceeding the capacity threshold of the DB (200) sets the desired threshold ratio. To this end, when a user inputs a status check icon 308 for checking the capacity of the DB 200, the screen 404 displays the status window 400 by the GUI 204 in step 528. Thereafter, in steps 530 to 532, a threshold ratio is set according to a user input. At this time, the threshold ratio is set based on the capacity of the entire DB 200 as 100, and the set threshold ratio is stored in the form of an ASCII file. If it is not set, it is automatically set as the default value, for example, 70% of the total capacity.

상기한 바와 같이 임계 비율이 설정되면, 도 6의 (600)∼(602)단계에서 DB(200)의 전체 용량에 대비하여 사용된 용량의 비율을 주기적으로 확인하여 사용 용량의 비율이 임계비율을 초과하는지 여부를 검사한다. 이때 확인하는 주기는 예를 들어 10분단위로 한다. 만일 사용 용량의 비율이 임계비율을 초과하면, (604)단계에서 경고 메시지 처리블록(208)을 통해 임계치 초과를 알리는 경고 메시지를 화면 출력한다. 이후 상기 (600)단계로 되돌아 간다. 이때 경고 메시지는 예를 들어 UNIX 모티프(Motif)에 의한 화면출력방식을 이용한다. 이와 같이 저장된 데이터와 DB(200)의 용량을 계산하여 사용자에게 자동으로 메시지가 전달됨으써 DB(200) 자체의 안정성이 제공된다.When the threshold ratio is set as described above, in step (600) to (602) of FIG. 6, the ratio of the used capacity to the total capacity of the DB 200 is periodically checked to determine the threshold ratio of the used capacity. Check if it is exceeded. At this time, the checking interval is, for example, 10 minutes. If the ratio of the used capacity exceeds the threshold ratio, in step 604, a warning message for notifying the threshold value is displayed through the warning message processing block 208. After that, the process returns to step 600 above. At this time, the warning message uses a display method using a UNIX motif, for example. As such, the stored data and the capacity of the DB 200 are calculated and the message is automatically delivered to the user, thereby providing stability of the DB 200 itself.

따라서 사용자가 원하는 DB(200)의 용량 임계 비율의 설정이 가능하도록 하고, 일단 설정된 임계 비율을 모니터링하여 임계 비율 초과시 사용자가 직접 확인하지 않아도 자동으로 사용자에게 메시지를 전달하므로써 DB(200)와 전체 소프트웨어 오동작을 미연에 방지한다. 임계치 설정이 가능하므로 원하는 DB의 가용 용량 선택이 가능하고 자동 메시지 전달로 DB와 소프트웨어 동작의 신뢰성이 향상된다.Therefore, it is possible to set the capacity threshold ratio of the DB 200 desired by the user, and once the threshold ratio is monitored, when the threshold ratio is exceeded, the DB 200 and the entire software are automatically delivered to the user without the user checking directly. Prevent malfunctions beforehand. It is possible to set the threshold so that the available capacity of the DB can be selected and the automatic message delivery improves the reliability of DB and software operation.

한편 상술한 본 발명의 설명에서는 구체적인 실시예에 관해 설명하였으나, 여러가지 변형이 본 발명의 범위에서 벗어나지 않고 실시할 수 있다. 특히 본 발명의 실시예에서는 백업/복원/삭제와 모니터링에 대한 실시예를 모두 보였으나, 백업/복원/삭제와 모니터링 중에 필요한 경우에만 선택적으로 적용할 수도 있다. 아울러 모니터링에 있어서도 임계 비율의 초과 여부만 확인하여 경고를 하는 것에만 한정하여 적용할 수도 있다. 따라서 발명의 범위는 설명된 실시예에 의하여 정할 것이 아니고 특허청구범위와 특허청구범위의 균등한 것에 의해 정하여져야 한다Meanwhile, in the above description of the present invention, specific embodiments have been described, but various modifications can be made without departing from the scope of the present invention. In particular, in the embodiment of the present invention, all the embodiments for backup / restore / delete and monitoring, but may be selectively applied only when necessary during backup / restore / delete and monitoring. In addition, in monitoring, it can be applied only to confirming whether the threshold rate is exceeded and warning. Therefore, the scope of the invention should not be defined by the described embodiments, but should be defined by the equivalent of claims and claims.

상술한 바와 같이 본 발명은 사용자 정의 파일을 이용한 백업/복원을 함으로써 RDB를 사용하는 모든 응용 프로그램의 DB 백업 및 복원에 적용할 수 있으며, 응용 프로그램의 실행 중에도 백업/복원이 가능하다. 또한 사용자 정의 파일의 기술만으로 백업/복원, 자동 삭제, 중복 삭제, 저장 공간 최적화를 할 수 있다.As described above, the present invention can be applied to DB backup and restore of all applications using RDB by performing backup / restore using a user-defined file, and backup / restore can be performed even while the application is running. In addition, only user-defined file technology is available for backup / restore, automatic deletion, duplicate deletion, and storage space optimization.

Claims (11)

시간 경과에 대응하여 획득되는 데이터를 관계형 데이터베이스의 관련 테이블에 축적하는 시스템에서 상기 데이터베이스의 데이터를 백업 및 복원하는 방법에 있어서,A method for backing up and restoring data in a database in a system that accumulates data obtained in response to a passage of time in a related table of a relational database, 백업/복원 대상 기간 및 저장매체의 지정과 함께 백업/복원 실행 여부를 사용자가 선택하기 위한 데이터베이스 아카이버를 GUI에 의해 화면 출력하는 과정과,A process of outputting a database archiver for the user to select whether to execute backup / restore along with designation of backup / restore target period and storage medium by GUI; 상기 사용자에 의해 상기 데이터베이스 아카이버에서 상기 백업/복원 대상 기간 및 저장매체의 지정과 함께 상기 백업/복원 실행이 선택되면, 상기 데이터베이스에 대해 백업/복원을 원하는 데이터를 테이블단위로 지정하여 백업/복원 각각의 조건을 정의해 놓은 사용자 정의 파일을 확인하는 과정과,When the backup / restore execution is selected by the user with the designation of the backup / restore target period and storage medium in the database archiver, each of the backup / restore by specifying data desired for backup / restore for the database in table units. Checking the user-defined file that defines the conditions for 상기 사용자 정의 파일에 정의된 테이블에 대해 백업/복원 각각의 조건에 따라 레코드단위로 상기 데이터베이스와 상기 지정된 저장매체간에 백업/복원을 실행하는 과정을 구비함을 특징으로 하는 백업 및 복원방법.And performing backup / restore between the database and the designated storage medium on a record basis for each table defined in the user-defined file according to the conditions of backup / restore. 제1항에 있어서, 상기 사용자 정의 파일이, 상기 사용자에 의해 생성되어 ASCII 파일 형식으로 미리 저장됨을 특징으로 하는 백업방법.The method of claim 1, wherein the user-defined file is generated by the user and stored in advance in an ASCII file format. 시간 경과에 대응하여 획득되는 데이터를 관계형 데이터베이스의 관련 테이블에 축적하는 시스템에서 상기 데이터베이스의 데이터를 백업 및 복원하는 방법에 있어서,A method for backing up and restoring data in a database in a system that accumulates data obtained in response to a passage of time in a related table of a relational database, 백업 대상 기간 및 저장매체의 지정과 함께 백업 실행 여부를 사용자가 선택하기 위한 데이터베이스 아카이버를 GUI에 의해 화면 출력하는 과정과,A process of outputting a database archiver by the GUI for selecting a backup target period and a storage medium with a GUI, 상기 사용자에 의해 상기 데이터베이스 아카이버에서 상기 백업 대상 기간 및 저장매체의 지정과 함께 상기 백업 실행이 선택되면, 상기 데이터베이스에 대해 백업을 원하는 데이터를 테이블단위로 지정하여 백업 조건을 정의해 놓은 사용자 정의 파일을 확인하는 과정과,If the backup execution is selected by the user with the designation of the backup target period and storage medium in the database archiver, the user-defined file which defines the backup conditions by specifying the data to be backed up for the database in table units is selected. To check, 상기 사용자 정의 파일에 정의된 테이블에 대해 상기 지정된 기간에 속하는 레코드를 상기 데이터베이스에서 검색하는 과정과,Searching the database for records belonging to the specified period for the table defined in the user definition file; 상기 검색 조건에 맞는 데이터가 있으면 임시 파일을 생성하여 복사본을 만들어 상기 지정된 저장매체에 저장하는 과정을 구비함을 특징으로 하는 백업방법.And if there is data that meets the search conditions, creating a temporary file, making a copy, and storing the copy in the designated storage medium. 제3항에 있어서, 상기 사용자 정의 파일이, 상기 사용자에 의해 생성되어 ASCII 파일 형식으로 미리 저장됨을 특징으로 하는 백업방법.The method of claim 3, wherein the user-defined file is generated by the user and stored in advance in an ASCII file format. 제3항 또는 제4항에 있어서, 상기 사용자 정의 파일이, 상기 복사본을 만들때 중복 삭제를 위한 연산자를 포함함을 특징으로 하는 백업방법.5. The method of claim 3 or 4, wherein the user-defined file includes an operator for duplicate deletion when making the copy. 시간 경과에 대응하여 획득되는 데이터를 관계형 데이터베이스의 관련 테이블에 축적하는 시스템에서 상기 데이터베이스의 데이터를 백업 및 복원하는 방법에 있어서,A method for backing up and restoring data in a database in a system that accumulates data obtained in response to a passage of time in a related table of a relational database, 복원 대상 기간 및 저장매체의 지정과 함께 복원 실행 여부를 상기 사용자가 선택하기 위한 데이터베이스 아카이버를 GUI에 의해 화면 출력하는 과정과,Displaying, by the GUI, a database archiver for the user to select whether to restore or not, along with a restoration target period and a storage medium; 상기 사용자에 의해 상기 데이터베이스 아카이버에서 상기 복원 대상 기간 및 저장매체의 지정과 함께 상기 복원 실행이 선택되면, 상기 데이터베이스에 대해 복원을 원하는 데이터를 테이블단위로 지정하여 복원 조건을 정의해 놓은 사용자 정의 파일을 확인하는 과정과,If the restore execution is selected by the user with the restoration target period and storage medium in the database archiver, the user-defined file defining the restoration conditions is defined by specifying the data to be restored in the table unit. To check, 상기 사용자 정의 파일에 정의된 테이블을 상기 데이터베이스에 생성하고 생성된 테이블에서 이용하게 되는 인덱스를 생성하는 과정과,Creating a table defined in the user definition file in the database and creating an index to be used in the generated table; 상기 지정된 저장매체에서 상기 데이터베이스에 생성된 테이블로 테이블의 레코드단위로 복사하는 과정을 구비함을 특징으로 하는 복원방법.And copying, by record unit of the table, from the designated storage medium to the table created in the database. 제6항에 있어서, 상기 사용자 정의 파일이, 상기 사용자에 의해 생성되어 ASCII 파일 형식으로 미리 저장됨을 특징으로 하는 백업방법.The method of claim 6, wherein the user-defined file is generated by the user and stored in advance in an ASCII file format. 시간 경과에 대응하여 획득되는 데이터를 관계형 데이터베이스의 관련 테이블에 축적하는 시스템에서 상기 데이터베이스의 데이터를 백업 및 복원하는 방법에 있어서,A method for backing up and restoring data in a database in a system that accumulates data obtained in response to a passage of time in a related table of a relational database, 백업/복원/삭제 대상 기간 및 저장매체의 지정과 함께 백업/복원/삭제 실행 여부를 사용자가 선택하기 위한 데이터베이스 아카이버를 GUI에 의해 화면 출력하는 과정과,A process of outputting a database archiver for the user to select whether to execute backup / restore / delete with the designation of backup / restore / delete target period and storage medium by GUI; 상기 사용자에 의해 상기 데이터베이스 아카이버에서 상기 백업 대상 기간 및 저장매체의 지정과 함께 상기 백업 실행이 선택되면, 상기 데이터베이스에 대해 백업/복원/삭제를 원하는 데이터를 테이블단위로 지정하여 백업/복원/삭제 각각의 조건을 정의해 놓은 사용자 정의 파일을 확인하는 과정과,When the backup execution is selected by the user with the designation of the backup target period and storage medium in the database archiver, the data to be backed up, restored, or deleted for the database is designated in table units. Checking the user-defined file that defines the conditions for 상기 사용자 정의 파일에 정의된 테이블에 대해 상기 지정된 기간에 속하는 레코드를 상기 데이터베이스에서 검색하는 과정과,Searching the database for records belonging to the specified period for the table defined in the user definition file; 상기 검색 조건에 맞는 데이터가 있으면 임시 파일을 생성하여 복사본을 만들어 상기 지정된 저장매체에 저장하는 과정과,If there is data that meets the search conditions, creating a temporary file, making a copy, and storing the copy in the designated storage medium; 상기 사용자에 의해 상기 데이터베이스 아카이버에서 상기 복원 대상 기간 및 저장매체의 지정과 함께 상기 복원 실행이 선택되면 상기 사용자 정의 파일을 확인하는 과정과,Identifying, by the user, the user-defined file if the restoration execution is selected with the designation of the restoration target period and storage medium in the database archiver; 상기 사용자 정의 파일에 정의된 테이블을 상기 데이터베이스에 생성하고 생성된 테이블에서 이용하게 되는 인덱스를 생성하는 과정과,Creating a table defined in the user definition file in the database and creating an index to be used in the generated table; 상기 지정된 저장매체에서 상기 데이터베이스에 생성된 테이블로 테이블의 레코드단위로 복사하는 과정과,Copying, by record unit of a table, from the designated storage medium to a table created in the database; 상기 사용자에 의해 상기 데이터베이스 아카이버에서 상기 삭제 대상 기간 의 지정과 함께 상기 삭제 실행이 선택되면 상기 사용자 정의 파일을 확인하는 과정과,Checking the user defined file when the deletion execution is selected by the user with the designation of the deletion target period in the database archiver; 상기 사용자 정의 파일에 정의된 테이블에 대해 상기 지정된 기간에 속하는 레코드를 상기 데이터베이스에서 삭제하는 과정을 구비함을 특징으로 하는 백업 및 복원방법.And deleting a record belonging to the specified time period from the database for the table defined in the user definition file. 제8항에 있어서, 상기 사용자 정의 파일이, 상기 사용자에 의해 생성되어 ASCII 파일 형식으로 미리 저장됨을 특징으로 하는 백업방법.The method of claim 8, wherein the user-defined file is generated by the user and stored in advance in an ASCII file format. 시간 경과에 대응하여 획득되는 데이터를 관계형 데이터베이스의 관련 테이블에 축적하는 시스템에서 상기 데이터베이스의 용량을 모니터링하는 방법에 있어서,A method for monitoring the capacity of a database in a system that accumulates data obtained in response to a passage of time in a related table of a relational database, 상기 데이터베이스의 전체 용량에 대비하여 사용된 용량의 비율을 주기적으로 확인하는 과정과,Periodically checking a ratio of the used capacity to the total capacity of the database; 상기 확인 결과 상기 전체 용량에 대비하여 사용된 용량의 비율이 미리 설정된 임계비율을 초과하면 경고 메시지를 화면 출력하는 과정을 구비함을 특징으로 하는 모니터링방법.And displaying a warning message when the ratio of the used capacity to the total capacity exceeds a preset threshold ratio as a result of the checking. 시간 경과에 대응하여 획득되는 데이터를 관계형 데이터베이스의 관련 테이블에 축적하는 시스템에서 상기 데이터베이스의 용량을 모니터링하는 방법에 있어서,A method for monitoring the capacity of a database in a system that accumulates data obtained in response to a passage of time in a related table of a relational database, 상기 데이터베이스의 용량을 확인하기 위한 상태 확인 여부를 사용자가 설정하기 위한 데이터베이스 아카이버를 GUI에 의해 화면 출력하는 과정과,Outputting, by the GUI, a database archiver for setting whether or not to check a state for checking the capacity of the database; 상기 사용자에 의해 상기 데이터베이스 아카이버에서 상기 상태 확인이 선택되면, 상기 데이터베이스의 전체 용량에 대비하여 사용된 용량의 비율에 대한 상태를 보임과 아울러 저장용량 임계비율을 상기 사용자가 설정하기 위한 상태 창을 화면 출력하는 과정과,When the status check is selected in the database archiver by the user, a status window is displayed for the user to set a storage threshold ratio as well as the status of the ratio of the used capacity to the total capacity of the database. Printing process, 상기 사용자에 의해 상기 상태 창에서 상기 저장 용량 임계비율이 입력되면 상기 임계비율을 설정하는 과정과,Setting the threshold ratio when the storage capacity threshold ratio is input by the user in the status window; 상기 데이터베이스의 전체 용량 대비 사용된 용량의 비율을 주기적으로 확인하는 과정과,Periodically checking a ratio of the used capacity to the total capacity of the database; 상기 확인 결과 상기 전체 용량에 대비하여 사용된 용량의 비율이 미리 설정된 임계비율을 초과하면 경고 메시지를 화면 출력하는 과정을 구비함을 특징으로 하는 모니터링방법.And displaying a warning message when the ratio of the used capacity to the total capacity exceeds a preset threshold ratio as a result of the checking.
KR1019990024667A 1999-06-28 1999-06-28 Data backup and restore method in relation database KR100313465B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990024667A KR100313465B1 (en) 1999-06-28 1999-06-28 Data backup and restore method in relation database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990024667A KR100313465B1 (en) 1999-06-28 1999-06-28 Data backup and restore method in relation database

Publications (2)

Publication Number Publication Date
KR20010004069A true KR20010004069A (en) 2001-01-15
KR100313465B1 KR100313465B1 (en) 2001-11-07

Family

ID=19595918

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990024667A KR100313465B1 (en) 1999-06-28 1999-06-28 Data backup and restore method in relation database

Country Status (1)

Country Link
KR (1) KR100313465B1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100414617B1 (en) * 2001-02-08 2004-01-07 주식회사 클래러스 Method for data backup using realtime monitoring of files and system therefor
KR100441617B1 (en) * 2001-12-21 2004-07-23 주식회사 파이널데이터 Method for recovering electronic mail message and computer readable medium storing thereof
KR100663605B1 (en) * 1999-12-18 2007-01-02 주식회사 케이티 Apparatus And Method For Electronic Data Backup And Restore
US7191360B2 (en) 2002-11-26 2007-03-13 Samsung Electronics Co., Ltd. Method of data backup and recovery
KR101232371B1 (en) * 2006-12-01 2013-02-12 주식회사 케이티 Apparatus and Method for Processing Data Mass Modification
KR101643729B1 (en) * 2015-10-28 2016-07-29 주식회사 인피니플럭스 System and method of data managing for time base data backup, restoring, and mounting

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100663605B1 (en) * 1999-12-18 2007-01-02 주식회사 케이티 Apparatus And Method For Electronic Data Backup And Restore
KR100414617B1 (en) * 2001-02-08 2004-01-07 주식회사 클래러스 Method for data backup using realtime monitoring of files and system therefor
KR100441617B1 (en) * 2001-12-21 2004-07-23 주식회사 파이널데이터 Method for recovering electronic mail message and computer readable medium storing thereof
US7191360B2 (en) 2002-11-26 2007-03-13 Samsung Electronics Co., Ltd. Method of data backup and recovery
KR100936390B1 (en) * 2002-11-26 2010-01-14 삼성전자주식회사 Method for data backup and recovery
KR101232371B1 (en) * 2006-12-01 2013-02-12 주식회사 케이티 Apparatus and Method for Processing Data Mass Modification
KR101643729B1 (en) * 2015-10-28 2016-07-29 주식회사 인피니플럭스 System and method of data managing for time base data backup, restoring, and mounting
US10120768B2 (en) 2015-10-28 2018-11-06 Machbase, Inc. Data management system and method for backup, recovery, and mount of time-series data

Also Published As

Publication number Publication date
KR100313465B1 (en) 2001-11-07

Similar Documents

Publication Publication Date Title
US8190571B2 (en) Managing data with backup server indexing
US7136882B2 (en) Storage device manager
US20180232386A1 (en) Space accounting for storage system snapshots
CA2629833C (en) Systems and methods for classifying and transferring information in a storage network
JP3448068B2 (en) Data processing system and storage management method
US8332442B1 (en) Automated restoration of links when restoring individual directory service objects
US20080010370A1 (en) System and Method for Analyzing Input/Output Activity on Local Attached Storage
US8326891B2 (en) Managing a hierarchy of databases
US6912630B1 (en) Method and apparatus for computing file storage elements for backup and restore
EP1975798A1 (en) System and method for exporting data directly from deduplication storage to non-deduplication storage
US10204016B1 (en) Incrementally backing up file system hard links based on change logs
EP0950971A2 (en) Project work management method and system
JPH05158770A (en) Dynamic-file moving method
KR20110022577A (en) Ranking and prioritizing point in time snapshots
KR100313465B1 (en) Data backup and restore method in relation database
JP4315021B2 (en) Management item management system and method
CN109815233A (en) A kind of processing method and system of tables of data
JP3888100B2 (en) File relocation system and its processing program
US10747438B1 (en) Reporting using archived data
US11687505B2 (en) Self-adaptive copy retention management
US10713226B1 (en) Managing data using archiving
CN110008188B (en) External storage quota system of application software at file system level
US8041680B2 (en) Backing up a database
US10747461B1 (en) Updating objects for archived objects
CN118277151A (en) Data backup method, device, equipment and storage medium

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20070910

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee