KR100278024B1 - Apparatus and method for recreating a running database online - Google Patents

Apparatus and method for recreating a running database online Download PDF

Info

Publication number
KR100278024B1
KR100278024B1 KR1019980058195A KR19980058195A KR100278024B1 KR 100278024 B1 KR100278024 B1 KR 100278024B1 KR 1019980058195 A KR1019980058195 A KR 1019980058195A KR 19980058195 A KR19980058195 A KR 19980058195A KR 100278024 B1 KR100278024 B1 KR 100278024B1
Authority
KR
South Korea
Prior art keywords
database
relation
information
tuple
data
Prior art date
Application number
KR1019980058195A
Other languages
Korean (ko)
Other versions
KR20000042105A (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 KR1019980058195A priority Critical patent/KR100278024B1/en
Publication of KR20000042105A publication Critical patent/KR20000042105A/en
Application granted granted Critical
Publication of KR100278024B1 publication Critical patent/KR100278024B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/2254Arrangements for supervision, monitoring or testing in networks
    • H04M3/2263Network management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/0016Arrangements providing connection between exchanges
    • H04Q3/0062Provisions for network management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2203/00Aspects of automatic or semi-automatic exchanges
    • H04M2203/55Aspects of automatic or semi-automatic exchanges related to network data storage and management
    • H04M2203/558Databases
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13547Indexing scheme relating to selecting arrangements in general and for multiplex systems subscriber, e.g. profile, database, database access

Abstract

본 발명은 운용중인 데이터베이스를 온라인으로 재생성하는 장치 및 방법에 관한 것으로, 주메모리 상주 데이터베이스를 사용하는 시스팀에서 운용중인 데이터베이스의 재제작사유 발생 시, 운용 중인 데이터베이스를 감사(audit)하여 백업한 다음, 백업한 데이터베이스를 이용하여 온라인 상에서 새로운 데이터베이스를 제작하는 장치 및 방법에 관한 것인 바, 데이터베이스 재생성은 물론 데이터베이스를 교환시스팀에 적용하는데 드는 시간과 비용을 절감하는 경제적인 잇점이 있으며, 데이터베이스 재제작 과정이 간소해지고 운용 중인 데이터베이스 상태를 최대한으로 보장하므로 기존 방법에서 백업과 적용 시점과의 시간차로 인해 그 동안의 데이터 변경사항 적용 후 수 작업으로 반복 입력해야 하는 비효율성을 제거한 운용의 효율성을 향상시키는 잇점이 있다.The present invention relates to an apparatus and method for regenerating an online database online. When a reason for the reproduction of an operating database occurs in a system using a main memory resident database, the operating database is audited and backed up. The present invention relates to an apparatus and method for creating a new database online using a backed up database. The database regeneration process and the economical cost of saving the time and cost of applying the database to the exchange system are also provided. This simplifies and maximizes the operational state of the database, improving the efficiency of operations that eliminates the inefficiencies of manual input after applying data changes in the past due to the time difference between backup and application. It has the advantage.

Description

운용중인 데이터베이스를 온라인으로 재생성 하는 장치 및 방법Apparatus and method for recreating a running database online

본 발명은 운용중인 데이터베이스를 온라인으로 재생성하는 장치 및 방법에 관한 것으로, 주메모리 상주(main memory resident) 데이터베이스를 사용하는 시스팀에서 운용중인 데이터베이스의 재제작사유 발생 시(예 : 새로운 서비스 기능의 추가나 운용상의 문제점 보완을 위해 소프트웨어 버전을 업그레이드하는 경우), 운용 중인 데이터베이스를 감사(audit)하여 백업한 다음, 백업한 데이터베이스를 이용하여 온라인 상에서 새로운 데이터베이스를 제작하는 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and a method for regenerating an online database online. The present invention relates to a system for using a main memory resident database. The present invention relates to an apparatus and method for auditing and backing up a running database, and then creating a new database online using the backed up database.

일반적으로 교환시스팀 소프트웨어는 대개 응용 프로그램과 데이터로 구성되는데, 데이터는 데이터베이스의 일부분이며 교환시스팀 데이터베이스는 실시간 처리를 생명으로 하는 교환시스팀의 특성상 상용 데이터베이스와는 달리 데이터베이스가 하드디스크가 아닌 프로세서의 메인 메모리에 상주하며, 이를 관리하는 데이터베이스 관리 시스팀(DBMS)도 프로세서의 메인 메모리에 상주하는 특징을 갖는다.In general, exchange system software usually consists of applications and data. The data is part of the database, and the exchange system database is the main memory of the processor rather than the hard disk. The database management system (DBMS) that resides in and manages the database also resides in the processor's main memory.

데이터베이스는 새로운 서비스 기능의 추가나 운용상의 문제점 보완을 위해 소프트웨어 버전을 업그레이드해야 하는 경우, 관련 응용 프로그램외에 릴레이션 스키마 변경으로 인해 해당 릴레이션의 변경/추가를 수반하므로 데이터베이스도 새로 제작해야 하나, 데이터베이스 제작에 소요되는 시간 때문에 소프트웨어 버전 적용을 신속하게 처리하지 못하는 주원인이 되고 있다.If the database needs to upgrade the software version to add new service functions or to supplement operational problems, the database must be newly created because it involves changing / adding the relation due to the relation schema change besides the related application. The main reason for this is that the software version can not be processed quickly.

교환시스팀 데이터베이스는 오프라인으로 데이터베이스 제작 호스트에서 제작되는데 데이터베이스 제작 사유가 발생함에 따라 현재 운용 중인 데이터베이스를 최대한으로 보존하여 새로운 데이터베이스를 제작해야 하기 때문에 운용 중인 데이터베이스를 백업 받아 제작한다.The exchange system database is produced offline at the database production host. As the reason for the database production occurs, it is necessary to preserve the current database to the maximum and produce a new database.

이 과정에서 다음의 몇 가지 문제점이 발생하는데 첫째, 데이터베이스 제작사유가 단순히 데이터베이스 스키마 변경인 경우에 변경되어야 할 몇몇 릴레이션을 위해 전체 데이터베이스를 백업 받아 오프라인 상에서 제작해야 하는 불합리성, 둘째, 백업 받은 시점부터 새로이 제작된 데이터베이스를 적용하기까지의 발생한 데이터베이스의 변경사항을 새로이 데이터베이스를 적용한 후에 다시 수 작업으로 재입력해야 하는 불합리성, 셋째, 교환시스팀의 소프트웨어 버전 교체 시 데이터베이스를 적용하려면, 데이터베이스 백업, 제작, 검증, 적용까지 최소 3일에서 5일이 소요되어 전체적인 소프트웨어 버전 적용에 걸리는 시간이 데이터베이스 변경양에 비해 상당하여 엄청난 시간과 인력의 낭비를 초래하는 비효율성 등이다.In the process, several problems occur. First, if the reason for making the database is simply a database schema change, it is unreasonable to back up the entire database and make it offline for some relations that need to be changed. The irrationality of re-entering the changes made to the database until the application of the database is applied, and then manually re-enter the database. Third, to apply the database when replacing the software version of the exchange system, the database backup, production, verification, and application It takes at least three to five days to complete the entire software version, compared to the amount of database changes, resulting in huge time and labor costs.

따라서, 변경할 필요가 없는 데이터를 최대한으로 보존한 상태에서 스키마 변경에 따른 릴레이션들만을 재생성하여 데이터베이스를 제작할 수 있는 방법이 필요로 되고 있는 실정이다.Therefore, there is a need for a method for creating a database by regenerating only relations according to schema changes while preserving data that does not need to be changed to the maximum.

본 발명은 상기에 기술한 바와 같은 종래 문제점 및 요구사항을 감안하여, 주메모리 상주 데이터베이스를 사용하는 시스팀에서 데이터베이스를 온라인으로 재생성하므로써 신속한 데이터베이스 교체 작업이 가능해져 데이터베이스 제작에 드는 비용과 시간을 절감하고 운용 중인 데이터베이스 상태를 최대한으로 보장해주므로써 시스팀 운용의 효율성을 향상시키는 것을 목적으로 한다.In view of the above-described problems and requirements of the present invention, the present invention enables rapid database replacement by regenerating the database online in a system using a main memory resident database, thereby reducing the cost and time required for database creation. It aims to improve the efficiency of system operation by ensuring the maximum state of the database in operation.

상기와 같은 목적을 달성하기 위해, 본 발명에서는 주메모리 상주 데이터베이스를 사용하는 교환시스팀의 데이터베이스를 재제작할 필요 발생 시, 메모리와 하드디스크에 각각 존재하는 데이터베이스간의 불일치성을 최대한으로 없애기 위한 감사기능을 수행하고, 데이터베이스를 백업 받아 이로부터 릴레이션 오브젝트 파일을 추출해내고, 필요에 따라 릴레이션 오브젝트 파일을 변경하여 새로운 데이터베이스를 제작하는 것이다.In order to achieve the above object, the present invention performs an audit function for maximizing the inconsistency between the databases existing in the memory and the hard disk when necessary to rebuild the database of the exchange system using the main memory resident database You can back up the database, extract the relation object file from it, and change the relation object file as needed to create a new database.

도 1은 본 발명에 의한 데이터베이스를 온라인으로 재생성하기 위한 장치의 개략 블록도.1 is a schematic block diagram of an apparatus for regenerating a database online according to the present invention;

도 2는 본 발명에 의한 운용중인 데이터베이스를 온라인으로 재생성하는 과정 중 데이터베이스 감사기능 처리 과정을 나타내는 순서도.Figure 2 is a flow chart illustrating a database audit function processing process of the process of regenerating the operating database online in accordance with the present invention.

도 3은 본 발명에 의한 운용중인 데이터베이스를 온라인으로 재생성하는 과정 중 릴레이션 오브젝트 파일을 변경하는 기능의 처리 과정을 나타내는 순서도.Figure 3 is a flow chart showing the processing of the function of changing the relation object file during the process of regenerating the operating database online in accordance with the present invention.

< 도면의 주요부분에 대한 부호의 설명 ><Description of Symbols for Major Parts of Drawings>

10 : 교환기 11 : 하드디스크10: changer 11: hard disk

12 : 시스팀 로더부(System Loader) 13 : 메모리12: system loader 13: memory

14 : 데이터베이스 감사부(Audit)14: Database Audit Department

15 : 데이터베이스 백업(Backup)/덤프(Dump)부15: Database Backup / Dump section

20 : 데이터베이스 생성기 21 : 데이터베이스 백업/덤프부20: database generator 21: database backup / dump

22 : 백업 데이터베이스 추출부22: backup database extractor

23 : 릴레이션 오프젝트 파일 변경부 231 : 질의어 구문 분석부23: relation object file changing unit 231: query parsing unit

232 : 질의어 처리부 24 : 데이터베이스 생성부232: query processing unit 24: database generation unit

30 : 데이터베이스 전송로30: database transmission path

상기와 같은 목적을 달성하기 위해 본 발명에서는, 교환기에서 사용할 데이터베이스를 저장하는 하드디스크와, 상기 하드디스크에 저장된 데이터베이스를 로딩하여 교환기 내 프로세서의 메모리로 로딩하는 시스팀 로더부와, 상기 시스팀 로더부에서 입력하는 데이터베이스를 상주시키는 메모리와, 교환기 운용 중 데이터베이스 재제작사유가 발생하면 상기 운용 중인 데이터베이스에 대한 감사기능을 수행하는 데이터베이스 감사부, 및 상기 하드디스크에 저장된 데이터베이스를 백업 및 덤프시키는 데이터베이스 백업/덤프부를 구비하는 교환기와;In order to achieve the above object, in the present invention, a hard disk for storing a database to be used in the exchanger, a system loader for loading the database stored in the hard disk into the memory of the processor in the exchange, and the system loader unit Memory that resides the input database, database audit unit that performs the audit function for the database in operation when a reason for database re-production occurs, and database backup / dump unit that backs up and dumps the database stored in the hard disk. An exchanger provided;

상기 교환기에서 현재 운용중인 데이터베이스를 온라인 상에서 재생성하는 데이터베이스 생성기와;A database generator for reproducing on-line the database currently running at the exchange;

상기 교환기와 데이터베이스 생성기 간 데이터베이스를 덤프시키는 전송로인 데이터베이스 전송로를 구비하는 것을 특징으로 한다.And a database transmission path which is a transmission path for dumping a database between the switch and the database generator.

또한, 상기와 같은 목적을 달성하기 위해 본 발명에서는 주메모리 상주 데이터베이스를 사용하는 시스팀에서 운용 중인 데이터베이스 상태를 감사(audit)하는 제 1 과정과;In addition, in order to achieve the above object, the present invention includes a first process of auditing the state of the database operating in the system using the main memory resident database;

상기 감사가 완료된 하드디스크 데이터베이스를 데이터베이스 생성수단으로 백업하는 제 2 과정과;A second step of backing up the audited hard disk database to a database generating means;

상기 백업된 데이터베이스로부터 릴레이션 오브젝트 파일(Relation Object File)을 추출하는 제 3 과정과;Extracting a relation object file from the backed up database;

상기 추출된 릴레이션 오브젝트 파일 중 변경해야할 사항이 있을 경우, 릴레이션 스키마 정보에 따라 질의어 입력을 통해 해당 릴레이션 오브젝트 파일을 변경하는 제 4 과정과;A fourth step of changing the relation object file by inputting a query in accordance with relation schema information when there is a change to be made among the extracted relation object files;

상기 제 3과정에서 추출한 릴레이션 오브젝트 파일과 제 4 과정에서 생성/변경된 릴레이션 오브젝트 파일로부터 새로운 데이터베이스를 생성하는 제 5 과정을 포함하여 수행하는 것을 특징으로 한다.And a fifth process of generating a new database from the relation object file extracted in the third process and the relation object file generated / modified in the fourth process.

상술한 목적, 특징 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 이하 첨부된 도면을 참조하여 본 발명의 실시예를 상세히 설명하면 다음과 같다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 의해 데이터베이스를 온라인으로 제작하기 위한 장치 구성을 개략적으로 나타낸 블록도로, 데이터베이스를 주메모리에 상주시켜 사용하는 교환기(10)와;1 is a block diagram schematically showing the configuration of an apparatus for producing a database online according to the present invention, comprising: a switch 10 resident in a main memory;

상기 교환기(10)에서 사용되는 데이터베이스를 생성하는 데이터베이스 생성기(20)와;A database generator 20 for generating a database used in the exchange 10;

상기 교환기(10)와 데이터베이스 생성기(20) 간 데이터베이스를 덤프시키는 전송로인 데이터베이스 전송로(30)를 구비한다.It is provided with a database transmission path 30 which is a transmission path for dumping the database between the switch 10 and the database generator 20.

상기 교환기(10)는 사용할 데이터베이스를 저장하는 하드디스크(11)와;The exchanger (10) includes a hard disk (11) for storing a database to be used;

상기 하드디스크(11)에 저장된 데이터베이스를 로딩하여 교환기(10) 내 프로세서의 메모리(13)로 로딩하는 시스팀 로더(System Loader)부(12)와;A system loader (12) for loading a database stored in the hard disk (11) and loading it into the memory (13) of the processor in the exchanger (10);

상기 시스팀 로더부(12)에서 입력하는 데이터베이스를 상주시키는 메모리(13)와;A memory (13) for resident database input from the system loader (12);

교환기(10) 운용 중 데이터베이스 재제작사유가 발생하면 상기 운용 중인 데이터베이스에 대한 감사기능을 수행하는 데이터베이스 감사부(14)와;A database audit unit 14 for performing an audit function on the database in operation when a reason for reproduction of the database occurs during operation of the switch 10;

상기 하드디스크(11)에 저장된 데이터베이스를 백업 및 덤프시키는 데이터베이스 백업/덤프부(15)를 구비한다.And a database backup / dump unit 15 for backing up and dumping the database stored in the hard disk 11.

상기 데이터베이스 생성기(20)는 데이터베이스 생성기(20)에서 생성된 데이터베이스를 백업 및 덤프시키는 데이터베이스 백업/덤프부(21)와;The database generator 20 includes a database backup / dump unit 21 for backing up and dumping a database generated by the database generator 20;

상기 데이터베이스 백업/덤프부(12)에서 입력된 새로운 데이터베이스에서 릴레이션(relation) 오브젝트 파일을 추출하는 백업 데이터베이스 추출부(22)와;A backup database extraction unit 22 for extracting a relation object file from a new database inputted from the database backup / dump unit 12;

상기 추출된 릴레이션 오브젝트 파일 중 스키마가 변경되거나 새로 추가된 릴레이션에 대해 릴레이션 오브젝트 파일을 변경하는 릴레이션 오브젝트 파일 변경부(23)와;A relation object file change unit (23) for changing a relation object file for a relation whose schema is changed or newly added among the extracted relation object files;

상기 추출된 릴레이션 오브젝트 파일과 상기 릴레이션 오브젝트 파일 변경부(23)를 통해 생성된 릴레이션 오브젝트 파일을 이용해 새로운 데이터베이스를 생성하는 데이터베이스 생성부(24)를 구비한다.And a database generator 24 for generating a new database using the extracted relation object file and the relation object file generated by the relation object file changer 23.

상기 릴레이션 오브젝트 파일 변경부(23)는 운용자가 관계형 데이터베이스의 데이터 처리 언어인 질의어를 입력하면 이의 구문을 분석하는 질의어 구문분석부(231)와;The relation object file changer 23 may include a query syntax parser 231 which analyzes a syntax of an operator when the operator inputs a query that is a data processing language of a relational database;

상기 질의어 구문분석부(23)를 통해 분석된 질의어에 따라 릴레이션 스키마 및 데이터를 변경하여 릴레이션 오브젝트 파일을 생성 및 변경하는 질의어 처리부(232)를 구비한다.A query processing unit 232 for generating and changing a relation object file by changing relation schema and data according to the query analyzed by the query syntax analyzing unit 23 is provided.

상기와 같이 구성된 데이터베이스 온라인 재생성 장치의 전체적인 동작 과정을 설명하면 하기와 같다.Referring to the overall operation of the database online regeneration device configured as described above are as follows.

먼저, 데이터베이스가 교환기(10)에 적용되는 과정은 다음과 같다. 데이터베이스를 하드디스크(11)로 적재한 다음, 시스팀 로더부(12)에 의해 하드디스크(11) 내의 데이터베이스는 프로세서의 메모리(13)로 로딩(loading)된다.First, the process of applying the database to the exchange 10 is as follows. After the database is loaded onto the hard disk 11, the database in the hard disk 11 is loaded into the memory 13 of the processor by the system loader unit 12.

운용 중에 릴레이션 데이터의 변경(log)이 발생하면 메모리(13) 내 데이터베이스에 반영되고, 상기 로그는 로그버퍼(log buffer)(도면에는 도시하지 않음)에 쌓여 주기적으로 하드디스크(11) 내 데이터베이스로 백업된다.If a change in the relation data (log) occurs during operation, it is reflected in the database in the memory 13, the log is accumulated in a log buffer (not shown in the figure) periodically to the database in the hard disk 11 Is backed up.

이와 같은 상태에서 데이터베이스 재제작사유가 발생하면 교환기(10)에서는 운용 중인 데이터베이스에 대한 감사기능을 수행한다.In such a state, if a reason for database reproduction occurs, the switch 10 performs an audit function for the database in operation.

이러한 감사 기능은 상부 데이터베이스 감사부(14)를 통해 수행되는 바, 새로운 데이터베이스 제작은 하드디스크(11) 내 데이터베이스를 백업 받아 제작하는 것이기 때문에 하드디스크(11) 데이터베이스의 상태를 감사할 필요가 있다.Such an audit function is performed through the upper database audit unit 14, and since a new database production is to backup and produce a database in the hard disk 11, it is necessary to audit the state of the hard disk 11 database.

왜냐하면 운용 중에 백업 시, 프로세서의 장애나 기타 응용 프로그램의 불완전한 수행에 의해 메모리(13)와 하드디스크(11)간의 데이터베이스에 불일치가 발생할 수 있기 때문에 운용 중인 데이터베이스를 백업하기 전에 감사하는 것이다.This is because auditing before backing up the database in operation may occur because the inconsistency may occur in the database between the memory 13 and the hard disk 11 due to processor failure or incomplete execution of other applications.

상기 감사가 종료되어 메모리(13)와 하드디스크(11)간 데이터베이스 불일치가 최대한으로 해소된 다음에는 교환기(10)과 데이터베이스 생성기(20)간의 전송로(30)를 통해 교환기(10)의 데이터베이스 백업/덤프부(15)와 데이터베이스 생성기(20)의 데이터베이스 백업/덤프부(21)의 상호 작용으로 하드디스크(11) 데이터베이스를 데이터베이스 생성기(20)로 백업한다.After the audit is completed and the database inconsistency between the memory 13 and the hard disk 11 is resolved to the maximum, the database backup of the exchange 10 is carried out through the transmission path 30 between the exchange 10 and the database generator 20. The database of the hard disk 11 is backed up to the database generator 20 by the interaction of the database backup / dump unit 21 of the / dump unit 15 and the database generator 20.

이때, 교환기(10)와 데이터베이스 생성기(20)간의 전송로(30)는 물리적으로 X.25나 근거리 통신망(LAN)으로 연결 가능하다.In this case, the transmission path 30 between the switch 10 and the database generator 20 may be physically connected to an X.25 or local area network (LAN).

이어 데이터베이스 생성기(20)에서는 백업 데이터베이스 추출부(22)를 통해 상기 백업한 데이터베이스에서 릴레이션 오브젝트 파일을 추출한다.Subsequently, the database generator 20 extracts a relation object file from the backed up database through the backup database extracting unit 22.

추출된 릴레이션 오브젝트 파일 중 스키마가 변경되거나 새로 추가된 릴레이션에 대해서는 릴레이션 오브젝트 파일 변경부(23)에서 릴레이션 오브젝트 파일을 변경한다.The relation object file is changed by the relation object file changing unit 23 for a relation in which the schema is changed or newly added among the extracted relation object files.

상기 변경하는 방법은 운용자가 관계형 데이터베이스의 데이터 처리 언어인 질의어를 입력하면 이를 질의어 구문분석부(231)를 통해 구문 분석하고, 구문이 분석되면 이에 따라 질의어 처리부(232)에서 릴레이션 스키마 및 데이터를 변경하여 릴레이션 오브젝트 파일을 생성 및 변경한다.In the changing method, when an operator inputs a query that is a data processing language of a relational database, the operator parses the query through the query parsing unit 231, and if the parse is parsed, changes the relation schema and data in the query processing unit 232 accordingly. Create and change the relation object file.

이어 상기 동작이 완료되면, 데이터베이스 생성부(24)에서는 상기 추출된 릴레이션 오브젝트 파일과 릴레이션 오브젝트 파일 변경부(23)를 통해 생성된 릴레이션 오브젝트 파일을 이용해 새로운 데이터베이스를 제작한다.Subsequently, when the operation is completed, the database generator 24 creates a new database using the extracted relation object file and the relation object file generated by the relation object file changer 23.

이와 같은 과정으로 제작된 새 데이터베이스는 데이터베이스 전송로(30)를 통해 교환기(10)와 데이터베이스 생성기(20)간의 각 데이터베이스 덤프부(15, 21)의 상호작용으로 교환기(10)의 하드디스크(11)로 덤프되며, 시스팀 로더부(12)는 이 데이터베이스를 프로세서의 메모리(13)로 로딩하므로써 데이터베이스 교체작업이 완료된다.The new database produced by this process is the hard disk 11 of the exchanger 10 by the interaction of the database dump unit 15, 21 between the exchanger 10 and the database generator 20 through the database transmission path 30. ), The system loader 12 loads the database into the processor's memory 13, thereby completing the database replacement.

도 2는 본 발명에 따른 운용중인 데이터베이스를 온라인으로 재생성하는 과정 중 데이터베이스 감사기능을 수행하는 순서도를 나타낸다.2 is a flowchart illustrating a database audit function during a process of regenerating an operating database online according to the present invention.

도면을 이용하여 그 처리과정을 살펴보면 다음과 같다.Looking at the process using the drawings as follows.

하드디스크(11) 내 데이터베이스 상태를 감사하기 위해 메모리(13) 데이터베이스와 상기 하드디스크(11) 내 데이터베이스 헤더를 비교하기 시작한다(21).In order to audit the state of the database in the hard disk 11, the memory 13 database is compared with the database header in the hard disk 11 (21).

이때 상기 헤더 정보에는 데이터베이스 추출 시에 필요한 정보인 릴레이션 디렉토리(directory), 딕셔너리(dictionary) 정보와 실제 릴레이션 데이터에 접근하는 물리적인 방법 등의 메타 데이터(meta data)가 포함되어 있고, 이 정보 중에서 데이터베이스 제작 시에 생성된 값이 운용 중에도 바뀌지 않는 불변정보가 포함되어 있고, 상기 불변정보에 대해서는 데이터베이스를 초기에 하드디스크(11)에 저장할 때 별도의 파일로 작성하여 보관한다.In this case, the header information includes metadata such as relation directory, dictionary information, and a physical method of accessing the actual relation data, which are information necessary for extracting a database. The value generated at the time of manufacture contains invariant information that does not change even during operation. The invariant information is created and stored in a separate file when the database is initially stored on the hard disk 11.

상기 헤더 비교시, 먼저 메모리(13) 헤더와 하드 디스크(11) 헤더의 불변정보를 비교하며(22), 비교 결과 데이터가 동일하지 않을 경우 상기 하드디스크(11) 내의 불변 정보와, 상기 별도의 파일로 저장된 불변정보를 비교하여, 하드디스크(11)의 값이 올바른지(valid) 확인한다(23).When comparing the header, first, invariant information of the header of the memory 13 and the header of the hard disk 11 is compared (22). If the comparison result data is not the same, the invariant information in the hard disk 11 and the separate By comparing the invariant information stored in the file, it is checked whether the value of the hard disk 11 is valid (23).

상기 비교결과 값이 상이한 경우에는 고정정보 테이블에 있는 값으로 메모리(13)와 하드디스크(11)의 각 해당 헤더 정보를 변경하고(24), 다음으로 메모리(13) 헤더와 하드디스크(11) 헤더의 가변정보에 대해 감사한다(25).If the comparison result is different, the corresponding header information of the memory 13 and the hard disk 11 is changed to the value in the fixed information table (24), and then the header of the memory 13 and the hard disk 11 are next. The variable information in the header is audited (25).

상기 비교결과 상이하면, 메모리의 릴레이션 데이터(튜플 갯수)가 메모리의 헤더 정보와 일치하는지 검사하여(26) 일치하면 메모리 헤더 정보와 실제 데이터를 하드디스크의 해당영역으로 복사한다(28).If the comparison result is different, it checks whether the relation data (number of tuples) of the memory matches the header information of the memory (26), and if so, the memory header information and the actual data are copied to the corresponding area of the hard disk (28).

상기에서 일치하지 않는 경우에는 복구를 할 수 없게 된다(27).If they do not match, recovery cannot be performed (27).

한편, 상기 가변정보의 비교 결과(25) 값이 동일하다면, 하드디스크(11)의 데이터와 메모리 데이터 변경이 발생할 때마다 정상적으로 백업되어 일관성있게 유지되었는지를 검사하기 위해 메모리(13) 튜플 데이터와 하드디스크(11) 튜플 데이터를 비교한다(29).On the other hand, if the comparison result 25 of the variable information is the same, each time the data and memory data change of the hard disk 11 occurs, the memory 13 tuple data and the hard to check whether it is maintained consistently and consistently The disk 11 tuple data is compared (29).

상기 비교 결과 상이하면, 메모리(13)와 하드디스크(11)간의 데이터 불일치(mismatch)가 발생한 것이므로 메모리(13) 데이터를 하드디스크(11)의 해당 영역으로 복사한다(30).If the comparison result is different, the data mismatch between the memory 13 and the hard disk 11 has occurred, and thus the data of the memory 13 is copied to the corresponding area of the hard disk 11 (30).

상기 비교 결과(29) 값이 동일하면, 하드디스크(11)의 데이터베이스는 메모리(13) 데이터베이스 변경사항이 발생할 때마다 정상적이고 성공적인 백업 수행이 이루어지고 있는 상태이므로, 메모리 데이터베이스를 잘 반영(mirror)하고 있다고 볼 수 있다.If the comparison result 29 is the same, the database of the hard disk 11 reflects the memory database well since a normal and successful backup is performed every time a memory 13 database change occurs. It can be seen that.

도 3은 본 발명에 따른 운용중인 데이터베이스를 온라인으로 재생성하는 과정 중 릴레이션 오브젝트 파일을 변경하는 기능의 처리 과정을 나타내는 순서도로 다음과 같다.3 is a flowchart illustrating a process of a function of changing a relation object file during a process of regenerating a database in operation according to the present invention online.

릴레이션 오브젝트 파일은 릴레이션의 속성(attribute) 정보와 튜플 정보를 기술한 헤더(header)부분과 실제 릴레이션 튜플 데이터 영역으로 이루어져 있다.The relation object file is composed of a header portion describing attribute information and tuple information of the relation and an actual relation tuple data area.

릴레이션 오브젝트 파일의 생성과 변경은 각각 목적에 맞는 질의어를 입력하면 질의어 구문분석부(23)를 통해 상기 입력된 질의어를 분석하여 해당 질의어를 실행하며 이때, 필요에 따라 릴레이션의 헤더와 데이터 영역이 변경된다.In the creation and modification of the relation object file, if a query suitable for each purpose is inputted, the query parser 23 analyzes the input query and executes the corresponding query. At this time, the header and data area of the relation are changed as necessary. do.

상기와 같은 변경에 따라 새로운 릴레이션이 추가되어야 하는 경우에는(31) 릴레이션의 속성 정보인 딕셔너리와 튜플 개수, 저장 형태, 릴레이션 타입 정보 등을 질의어 형태로 입력하여 입력된 스키마 정보를 가지고 릴레이션 헤더를 생성한다(32).When a new relation is to be added according to the above change (31), a relation header is generated with the schema information inputted by inputting a dictionary, tuple number, storage type, relation type information, etc., which are attribute information of the relation, in the form of a query. (32).

이어 튜플 개수에 따라 릴레이션 튜플 정보를 저장하기 위한 영역을 할당받아 각 속성 초기값(default values)으로 튜플 데이터를 생성한다(33).Subsequently, an area for storing relation tuple information is allocated according to the number of tuples, and tuple data is generated with default values of each property (33).

한편, 기존 릴레이션의 속성 추가나 변경등의 스키마가 변경되는 경우의 처리는 다음과 같다(34).On the other hand, processing when a schema such as adding or changing an attribute of an existing relation is changed is as follows (34).

릴레이션의 속성이 추가되는 경우에는(35) 입력된 어트리뷰트 정보에 따라 릴레이션 헤더를 변경하고(36) 릴레이션 데이터 영역에 추가된 속성을 위한 영역을 확보하여 초기값으로 채워 넣는다(37).When the relation attribute is added (35), the relation header is changed according to the input attribute information (36), and the region for the attribute added to the relation data region is secured and filled with the initial value (37).

그리고 기존 속성의 변경인 경우에는(38) 변경된 속성 정보를 릴레이션 헤더에 반영하고(39) 변경된 이유가 더 큰 값을 저장하기 위해 속성의 도메인(domain) 데이터 타입의 범위가 증가되는 경우 속성 크기가 증가될 수도 있기 때문에 필요에 따라 증가된 속성 크기에 맞게 값을 저장할 영역을 늘린다(40).In the case of the change of the existing attribute (38), the changed attribute information is reflected in the relation header (39) and the attribute size is increased when the range of the domain data type of the attribute is increased to store the larger value. Since it may be increased, the area to store the value is increased according to the increased attribute size as needed (40).

또한, 릴레이션의 튜플 수가 증가되거나 감소되는 경우에는(41) 릴레이션 헤더에 변경된 튜플 정보를 반영하고(42) 증가되거나 감소된 튜플 수만큼 튜플 데이터를 위한 영역을 조정하며, 증가된 경우에는 늘어난 튜플 수만큼 튜플의 초기 값으로 채워 넣는다(43).In addition, when the number of tuples of a relation is increased or decreased (41), the changed tuple information is reflected in the relation header (42), and the area for tuple data is adjusted by the number of increased or decreased tuples, and if the number of tuples is increased, As much as the tuple is filled with the initial value (43).

한편, 릴레이션 스키마 변경이 아닌 릴레이션 튜플 데이터의 변경인 경우의 처리는 다음과 같다(44).On the other hand, processing in the case of changing relation tuple data instead of changing relation schema is as follows (44).

튜플이 삽입된 경우에는(46) 튜플 삽입 질의어를 통해 해당 릴레이션의 튜플 정보를 입력하여 튜플 정보를 삽입한다(47).When the tuple is inserted (46), the tuple information is inserted by inserting tuple information of the relation through the tuple insertion query (47).

또한, 속성 값을 변경해야 하는 경우에는(48) 변경 질의어를 통해 해당 릴레이션의 조건에 맞는 튜플을 찾아 원하는 속성 값을 변경한다(49).In addition, when the attribute value needs to be changed (48), the tuple matching the condition of the relation is found through the change query word, and the desired attribute value is changed (49).

그리고, 튜플을 삭제해야 하는 경우에는(50) 튜플 삭제 질의어를 통해 릴레이션에서 조건에 맞는 튜플을 찾아 튜플을 삭제한다(51).When the tuple needs to be deleted (50), the tuple matching the condition is found in the relation through the tuple deletion query word and the tuple is deleted (51).

마지막으로 상기 모든 경우에 해당되지 않으면 릴레이션 데이터를 다시 한 번 확인해 본다(45).Finally, if the above is not the case, check the relation data once again (45).

이상에서 상세히 설명한 바와 같이 본 발명은 데이터베이스 제작은 물론 데이터베이스를 교환시스팀에 적용하는데 드는 시간과 비용을 절감하는 경제적인 잇점이 있으며, 데이터베이스 재제작 과정이 간소해지고 운용 중인 데이터베이스 상태를 최대한으로 보장하므로 기존 방법에서 백업과 적용 시점과의 시간차로 인해 그 동안의 데이터 변경사항을 적용 후 수 작업으로 반복 입력해야 하는 비효율성을 제거한 운용의 효율성을 향상시키는 잇점이 있다.As described in detail above, the present invention has an economical advantage in reducing the time and cost of database creation as well as the application of the database to the exchange system, and the database reproduction process is simplified and the state of the database in operation is guaranteed to the maximum. The method has the advantage of improving the efficiency of the operation, eliminating the inefficiency of manually entering data changes in the past and applying them manually after the time difference between backup and application.

따라서, 본 발명을 적용하므로 인해 교환시스팀 소프트웨어 버전 적용의 장애가 되었던 데이터베이스 제작 및 적용이 온라인으로 이루어짐에 따라 교환시스팀 소프트웨어 버전 적용을 신속하게 수행하여 정보 통신의 기술 발전에 따른 가입자의 다양한 욕구에 부응하는 새로운 서비스를 신속하게 제공하는 기반을 형성하는 잇점을 수반한다.Therefore, according to the present invention, the production and application of the database, which has been an obstacle to the application of the exchange system software, is made online, so that the application of the exchange system software version can be performed quickly to meet various needs of subscribers according to the development of information and communication technology. This has the advantage of forming a foundation for providing new services quickly.

아울러 본 발명의 바람직한 실시예는 예시의 목적을 위해 개시된 것이며, 당업자라면 본 발명의 사상과 범위안에서 다양한 수정, 변경, 부가등이 가능할 것이며, 이러한 수정 변경 등은 이하의 특허 청구의 범위에 속하는 것으로 보아야 할 것이다.In addition, a preferred embodiment of the present invention is disclosed for the purpose of illustration, those skilled in the art will be able to make various modifications, changes, additions, etc. within the spirit and scope of the present invention, such modifications and modifications belong to the following claims You will have to look.

Claims (16)

교환기에서 사용할 데이터베이스를 저장하는 하드디스크와, 상기 하드디스크에 저장된 데이터베이스를 로딩하여 교환기 내 프로세서의 메모리로 로딩하는 시스팀 로더부와, 상기 시스팀 로더부에서 입력하는 데이터베이스를 상주시키는 메모리와, 교환기 운용 중 데이터베이스 재제작사유가 발생하면 상기 운용 중인 데이터베이스에 대한 감사기능을 수행하는 데이터베이스 감사부, 및 상기 하드디스크에 저장된 데이터베이스를 백업 및 덤프시키는 데이터베이스 백업/덤프부를 구비하는 교환기와;A hard disk storing a database for use in the exchanger, a system loader unit for loading the database stored in the hard disk into the memory of the processor in the exchanger, a memory for residing the database input by the system loader unit, and the exchanger in operation An exchanger having a database auditing unit for performing an audit function on the database in operation, and a database backup / dump unit for backing up and dumping a database stored in the hard disk when a database re-production reason occurs; 상기 교환기에서 현재 운용중인 데이터베이스를 온라인 상에서 재생성하는 데이터베이스 생성기와;A database generator for reproducing on-line the database currently running at the exchange; 상기 교환기와 데이터베이스 생성기 간 데이터베이스를 덤프시키는 전송로인 데이터베이스 전송로를 구비하는 것을 특징으로 하는 운용중인 데이터베이스를 온라인으로 재생성 하는 장치.And a database transmission path which is a transmission path for dumping a database between the switch and the database generator. 제 1항에 있어서,The method of claim 1, 상기 데이터베이스 생성기는, 데이터베이스 생성기에서 생성된 데이터베이스를 백업 및 덤프시키는 데이터베이스 백업/덤프부와;The database generator includes a database backup / dump unit for backing up and dumping a database generated by the database generator; 상기 데이터베이스 백업/덤프부에서 입력된 새로운 데이터베이스에서 릴레이션 오브젝트 파일을 추출하는 백업 데이터베이스 추출부와;A backup database extraction unit for extracting a relation object file from a new database inputted from the database backup / dump unit; 상기 추출된 릴레이션 오브젝트 파일 중 스키마가 변경되거나 새로 추가된 릴레이션에 대해 릴레이션 오브젝트 파일을 변경하는 릴레이션 오브젝트 파일 변경부와;A relation object file change unit for changing a relation object file with respect to a relation whose schema is changed or newly added among the extracted relation object files; 상기 추출된 릴레이션 오브젝트 파일과 상기 릴레이션 오브젝트 파일 변경부를 통해 생성된 릴레이션 오브젝트 파일을 이용해 새로운 데이터베이스를 생성하는 데이터베이스 생성부를 구비하는 것을 특징으로 하는 운용중인 데이터베이스를 온라인으로 재생성 하는 장치.And a database generator for generating a new database by using the extracted relation object file and the relation object file generated by the relation object file changer. 제 2항에 있어서,The method of claim 2, 상기 릴레이션 오브젝트 파일 변경부는, 운용자가 관계형 데이터베이스의 데이터 처리 언어인 질의어를 입력하면 이의 구문을 분석하는 질의어 구문분석부와;The relation object file change unit may include: a query syntax parser configured to analyze a syntax of an operator when the operator inputs a query that is a data processing language of a relational database; 상기 질의어 구문분석부를 통해 분석된 질의어에 따라 릴레이션 스키마 및 데이터를 변경하여 릴레이션 오브젝트 파일을 생성 및 변경하는 질의어 처리부를 구비하는 것을 특징으로 하는 운용중인 데이터베이스를 온라인으로 재생성 하는 장치.And a query processing unit configured to generate and change a relation object file by changing relation schema and data according to the query analyzed by the query parsing unit. 주메모리 상주 데이터베이스를 사용하는 시스팀에서 운용 중인 데이터베이스 상태를 감사(audit)하는 제 1 과정과;A first step of auditing a database state in operation in a system using a main memory resident database; 상기 감사가 완료된 하드디스크 데이터베이스를 데이터베이스 생성수단으로 백업하는 제 2 과정과;A second step of backing up the audited hard disk database to a database generating means; 상기 백업된 데이터베이스로부터 릴레이션 오브젝트 파일(Relation Object File)을 추출하는 제 3 과정과;Extracting a relation object file from the backed up database; 상기 추출된 릴레이션 오브젝트 파일 중 변경해야할 사항이 있을 경우, 릴레이션 스키마 정보에 따라 질의어 입력을 통해 해당 릴레이션 오브젝트 파일을 변경하는 제 4 과정과;A fourth step of changing the relation object file by inputting a query in accordance with relation schema information when there is a change to be made among the extracted relation object files; 상기 제 3과정에서 추출한 릴레이션 오브젝트 파일과 제 4 과정에서 생성/변경된 릴레이션 오브젝트 파일로부터 새로운 데이터베이스를 생성하는 제 5 과정을 포함하여 수행하는 것을 특징으로 하는 운용중인 데이터베이스를 온라인으로 재생성 하는 방법.And a fifth process of generating a new database from the relation object file extracted in the third process and the relation object file created / modified in the fourth process. 제 4항에 있어서,The method of claim 4, wherein 상기 제 1 과정은, 메모리 헤더와 하드디스크 헤더의 불변정보를 비교하는 제 1 단계와;The first process includes a first step of comparing invariant information of a memory header and a hard disk header; 상기 비교 결과 데이터가 동일하지 않을 경우 상기 하드디스크 내의 불변 정보와, 상기 불변정보에 대한 고정정보 테이블 데이터를 비교하는 제 2 단계와;A second step of comparing invariant information in the hard disk with fixed information table data for the invariant information when the comparison result data is not the same; 상기 비교결과 값이 상이한 경우 고정정보 테이블에 저장된 값으로 메모리와 하드디스크의 각 해당 헤더 정보를 변경한 후, 메모리 헤더와 하드디스크 헤더의 가변정보에 대해 감사를 수행하는 제 3 단계와;A third step of performing audit on variable information of a memory header and a hard disk header after changing corresponding header information of a memory and a hard disk to a value stored in a fixed information table if the comparison result value is different; 상기 감사 결과 상이하거나 동일하면 이에 각각 해당되는 처리를 수행한 후, 메모리 데이터를 하드디스크의 해당 영역으로 복사하는 제 4 단계를 포함하여 수행하는 것을 특징으로 하는 운용중인 데이터베이스를 온라인으로 재생성 하는 방법.And if the audit results are different or the same, performing a corresponding process, and then copying the memory data to the corresponding area of the hard disk. 제 5항에 있어서,The method of claim 5, 상기 제 4 단계에서 가변정보 비교 결과 상이하면, 메모리의 릴레이션 데이터가 메모리의 헤더 정보와 일치하는지 검사하는 제 1 단계와;A first step of checking whether relation data of the memory matches header information of the memory if the variable information comparison result is different in the fourth step; 상기 비교 결과 일치하면 메모리 헤더 정보와 실제 데이터를 하드디스크의 해당영역으로 복사하는 제 2 단계를 포함하여 수행하는 것을 특징으로 하는 운용중인 데이터베이스를 온라인으로 재생성 하는 방법.And a second step of copying the memory header information and the actual data to the corresponding area of the hard disk if the comparison result is matched. 제 5항에 있어서,The method of claim 5, 상기 제 4 단계에서 가변정보 비교 결과 동일하면, 메모리 튜플 데이터와 하드디스크 튜플 데이터가 일치하는지 검사하는 제 1 단계와;A first step of checking whether the memory tuple data and the hard disk tuple data match if the variable information comparison result is the same in the fourth step; 상기 비교 결과 상이하면, 메모리 튜플 데이터를 하드디스크의 해당 영역으로 복사하는 제 2 단계를 포함하여 수행하는 것을 특징으로 하는 운용중인 데이터베이스를 온라인으로 재생성 하는 방법.And if the comparison result is different, performing a second step of copying the memory tuple data to the corresponding area of the hard disk. 제 5항에 있어서,The method of claim 5, 상기 고정정보 테이블은 상기 데이터 베이스를 초기 하드디스크에 저장할 시, 고정정보에 대한 데이터에 대해 상기 하드디스크에 저장함과 동시에 독립된 테이블에 저장하여 생성한 테이블인 것을 특징으로 하는 운용중인 데이터베이스를 온라인으로 재생성 하는 방법.The fixed information table is a table generated by storing the data for fixed information on the hard disk and storing the data in an independent table at the time of storing the database on the initial hard disk. How to. 제 4항에 있어서,The method of claim 4, wherein 상기 제 4 과정에서 릴레이션 오브젝트 파일을 변경하는 단계는, 릴레이션 오브젝트 파일의 생성과 변경 목적에 맞는 질의어가 입력되면 질의어 구문분석부를 통해 상기 입력된 질의어를 분석하여 해당 질의어를 실행하는 제 1 단계와;The changing of the relation object file in the fourth process may include: a first step of executing the query by analyzing the input query through a query syntax parser when a query suitable for generation and modification of the relation object file is input; 상기 질의어 분석에 따른 변경이 새로운 릴레이션이 추가되어야 하는 경우, 릴레이션의 속성 정보인 딕셔너리와 튜플 개수, 저장 형태, 릴레이션 타입 정보 등을 질의어 형태로 입력하여 입력된 스키마 정보를 이용해 릴레이션 헤더를 생성하는 제 2 단계와;When a new relation needs to be added when a change is made according to the query analysis, a relation header is generated by inputting a dictionary, tuple number, storage type, relation type information, etc., which are attribute information of the relation, in a query form and using the input schema information. Two steps; 상기 튜플 개수에 따라 릴레이션 튜플 정보를 저장하기 위한 영역을 할당받아 각 속성의 초기값으로 튜플 데이터를 생성하는 제 3 단계를 포함하여 수행하는 것을 특징으로 하는 운용중인 데이터베이스를 온라인으로 재생성 하는 방법.And generating a tuple data with an initial value of each attribute by allocating an area for storing relation tuple information according to the number of tuples. 제 9항에 있어서,The method of claim 9, 상기 제 1 단계에서 질의어 분석에 따른 변경이 릴레이션 스키마 변경일 경우에서 릴레이션의 속성이 추가되는 경우, 릴레이션 헤더에 입력된 속성 정보를 삽입하는 제 1 단계와;A first step of inserting attribute information input in the relation header when the attribute of the relation is added when the change according to the query analysis in the first stage is a relation schema modification; 상기 릴레이션 데이터 영역에 추가된 속성을 위한 영역을 확보하여 초기값을 저장하는 제 2 단계를 포함하여 수행하는 것을 특징으로 하는 운용중인 데이터베이스를 온라인으로 재생성 하는 방법.And a second step of storing an initial value by securing an area for an attribute added to the relation data area. 제 10항에 있어서,The method of claim 10, 상기 제 1 단계에서 릴레이션 스키마 변경 중 기존 속성 변경인 경우, 변경된 속성 정보를 릴레이션 헤더에 반영하는 제 1 단계와;A first step of reflecting the changed property information in the relation header when the existing property is changed during the relation schema change in the first step; 상기 변경된 이유에 따른 속성 도메인 데이터 타입의 크기가 증가될 경우 필요에 따라 증가된 속성 크기에 맞게 값을 저장할 영역을 확장하는 제 2 단계를 포함하여 수행하는 것을 특징으로 하는 운용중인 데이터베이스를 온라인으로 재생성 하는 방법.And regenerating the operating database online, comprising: a second step of expanding an area to store a value according to the increased attribute size as needed when the size of the attribute domain data type is increased according to the changed reason. How to. 제 10에 있어서,The method according to claim 10, 상기 제 1 단계에서 릴레이션 스키마 변경 중 릴레이션의 튜플 수가 증가되거나 감소되는 경우, 릴레이션 헤더에 변경된 튜플 정보를 반영하는 제 1 단계와;A first step of reflecting the changed tuple information in the relation header when the number of tuples of the relation is increased or decreased during the relation schema change in the first stage; 상기 증가 또는 감소된 튜플 수만큼 튜플 데이터를 위한 영역을 조정하는 제 2 단계와;Adjusting a region for tuple data by the increased or decreased number of tuples; 이어 상기 튜플 수가 증가된 경우 늘어난 튜플 수만큼 튜플의 초기 값을 저장하는 제 3 단계를 포함하여 수행하는 것을 특징으로 하는 운용중인 데이터베이스를 온라인으로 재생성 하는 방법.And a third step of storing the initial value of the tuple by the increased number of tuples when the number of tuples is increased. 제 9항에 있어서,The method of claim 9, 상기 제 1 단계에서 질의어 분석에 따른 변경이 릴레이션 데이터 변경일 경우에서 튜플이 삽입된 경우, 튜플 삽입 질의어를 통해 해당 릴레이션의 튜플 정보를 입력하여 튜플 정보를 삽입하는 것을 특징으로 하는 운용중인 데이터베이스를 온라인으로 재생성 하는 방법.If the tuple is inserted when the change according to the query analysis in the first step is a relation data change, the tuple information is input by inserting tuple information of the relation through a tuple insertion query. To regenerate. 제 13항에 있어서,The method of claim 13, 상기 제 1 단계에서 질의어 분석에 따른 변경이 릴레이션 데이터 변경일 경우에서 속성 값을 변경해야 하는 경우, 변경 질의어를 통해 해당 릴레이션의 조건에 맞는 튜플을 찾아 원하는 속성 값을 변경하는 것을 특징으로 하는 운용중인 데이터베이스를 온라인으로 재생성 하는 방법.If the attribute value needs to be changed when the change according to the query analysis in the first step is a relation data change, the desired attribute value is changed by finding a tuple that matches the condition of the relation through the change query word. How to recreate a database online. 제 13항에 있어서,The method of claim 13, 상기 제 1 단계에서 질의어 분석에 따른 변경이 릴레이션 데이터 변경일 경우에서 튜플을 삭제해야 하는 경우, 튜플 삭제 질의어를 통해 릴레이션에서 조건에 맞는 튜플을 찾아 튜플을 삭제하는 것을 특징으로 하는 운용중인 데이터베이스를 온라인으로 재생성 하는 방법.If the tuple is to be deleted when the change according to the query analysis in the first step is a relation data change, the tuple deletion query word searches for a tuple matching a condition in the relation and deletes the tuple online. To regenerate. 제 4항에 있어서,The method of claim 4, wherein 상기 릴레이션 오브젝트 파일은 릴레이션의 속성 정보와;The relation object file includes attribute information of the relation; 튜플 정보를 기술한 헤더부분과;A header portion describing tuple information; 실제 릴레이션 튜플 데이터 영역을 구비하는 것을 특징으로 하는 운용중인 데이터베이스를 온라인으로 재생성 하는 방법.A method for regenerating a live database online comprising a real relation tuple data area.
KR1019980058195A 1998-12-24 1998-12-24 Apparatus and method for recreating a running database online KR100278024B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980058195A KR100278024B1 (en) 1998-12-24 1998-12-24 Apparatus and method for recreating a running database online

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980058195A KR100278024B1 (en) 1998-12-24 1998-12-24 Apparatus and method for recreating a running database online

Publications (2)

Publication Number Publication Date
KR20000042105A KR20000042105A (en) 2000-07-15
KR100278024B1 true KR100278024B1 (en) 2001-02-01

Family

ID=19565350

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980058195A KR100278024B1 (en) 1998-12-24 1998-12-24 Apparatus and method for recreating a running database online

Country Status (1)

Country Link
KR (1) KR100278024B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100464147B1 (en) * 2000-10-30 2004-12-31 엘지전자 주식회사 Method and Device for Managing error Using Loading Server in Private Exchange Branch

Also Published As

Publication number Publication date
KR20000042105A (en) 2000-07-15

Similar Documents

Publication Publication Date Title
JP6668442B2 (en) Method and system for detecting data replication and synchronization errors of heterogeneous database through SQL packet analysis
US6490590B1 (en) Method of generating a logical data model, physical data model, extraction routines and load routines
CN106933703B (en) Database data backup method and device and electronic equipment
US20110071986A1 (en) Method for mass-deleting data records of a database system
US20060004840A1 (en) Index adding program of relational database, index adding apparatus, and index adding method
US20080228802A1 (en) System and Method for Rebuilding Indices for Partitioned Databases
CN110287192B (en) Search application data processing method and device, computer equipment and storage medium
KR20030094328A (en) System and method for reorganizing stored data
CN110825546A (en) Recovery method, system and equipment terminal for high-availability database cluster
KR20150043929A (en) Method and System for Managing Database, and Tree Structure for Database
CN114925073A (en) Distributed database architecture supporting flexible dynamic fragmentation and implementation method thereof
CN117473021B (en) Incremental synchronization realization method for dream database based on CDC mode
CN111367893A (en) Method and device for database version iteration
CN111966656B (en) Method, system, terminal and storage medium for simulating high-load scene of storage file
US7756818B1 (en) Database table recovery system
KR100278024B1 (en) Apparatus and method for recreating a running database online
CN112463447B (en) Optimization method for realizing physical backup based on distributed database
KR20020030223A (en) Logging and recovery method for supporting high performance transaction in main memory resident database system
KR101024494B1 (en) Extraction method of modified data using meta data
CN115544173B (en) Linearly expandable distributed database
CN117349088B (en) Database increment back-cut method, device, equipment and storage medium
KR102013839B1 (en) Method and System for Managing Database, and Tree Structure for Database
CN112612648B (en) SQL Server database recovery method, terminal equipment and storage medium
Tavares et al. An efficient and reliable scientific workflow system
CN113407378A (en) Fragmentation information backup method and device for distributed database

Legal Events

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

Payment date: 20091006

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee