KR100693720B1 - Controlling method of source system log table for data warehouse - Google Patents

Controlling method of source system log table for data warehouse Download PDF

Info

Publication number
KR100693720B1
KR100693720B1 KR1019990060385A KR19990060385A KR100693720B1 KR 100693720 B1 KR100693720 B1 KR 100693720B1 KR 1019990060385 A KR1019990060385 A KR 1019990060385A KR 19990060385 A KR19990060385 A KR 19990060385A KR 100693720 B1 KR100693720 B1 KR 100693720B1
Authority
KR
South Korea
Prior art keywords
data
raw
file
warehouse
temporary
Prior art date
Application number
KR1019990060385A
Other languages
Korean (ko)
Other versions
KR20010057375A (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 KR1019990060385A priority Critical patent/KR100693720B1/en
Publication of KR20010057375A publication Critical patent/KR20010057375A/en
Application granted granted Critical
Publication of KR100693720B1 publication Critical patent/KR100693720B1/en

Links

Images

Abstract

본 발명은 데이터웨어하우스 구축을 위한 원시 시스템 로그 테이블 데이터의 제어방법에 관한 것으로 원시 시스템이 과거 데이터의 보관을 위해 로그 테이블을 사용하는 경우에 로그 테이블로부터 주기적으로 데이터를 추출하여 데이터웨어하우스로 전송하고 이를 다시 데이터웨어하우스의 원시 테이블로 데이터의 시간적인 중복 및 누락을 최대한 수정하여 적재하는 작업을 별도의 운용자 작업이 필요 없이 정해진 일정 시간에 수행되도록 함으로서 이를 통해 운용자의 시간적, 인적 비용을 절감하고 원시 테이블 데이터의 중복 및 누락을 최대한 막을 수 있다.The present invention relates to a method of controlling raw system log table data for building a data warehouse. When the raw system uses a log table for archiving historical data, data is periodically extracted from the log table and transmitted to the data warehouse. And then the data loading to the raw table of the data warehouse as much as possible by correcting the time overlapping and omission of the data to be carried out at a fixed time without the need for a separate operator operation, thereby reducing the operator's time and human costs You can prevent duplicate and missing raw table data as much as possible.

운용자의 별도의 노력 없이 원시 시스템에서 생성된 파일을 일정 기간동안 보관하여 전송상의 오류에 의한 데이터 유실에 대비할 수 있으며, 로그 테이블의 시간 범위와 로그 테이블 갱신 주기가 정확히 일치하지 않은 오류로 인한 데이터의 누락 및 중복을 최대한 수정하여 원시 테이블의 신뢰도를 높일 수 있는 효과가 있다.You can keep files created on the raw system for a certain period of time without the operator's effort to prepare for data loss due to transmission errors, and the data caused by errors that do not exactly match the log table time range and log table update intervals. It is possible to increase the reliability of the raw table by correcting the missing and duplicated as much as possible.

Description

데이터웨어하우스 구축을 위한 원시 시스템 로그 테이블 데이터의 제어방법{Controlling method of source system log table for data warehouse}Controlling method of source system log table for data warehouse}

도 1은 본 발명에 따른 전체적인 구성도.1 is an overall configuration according to the present invention.

도 2는 도 1에 도시된 원시시스템에서의 데이터 추출 및 전송동작을 설명하기 위한 구성도.FIG. 2 is a block diagram illustrating a data extraction and transmission operation in the raw system shown in FIG.

도 3은 도 1에 도시된 테이터웨어하우스에서의 데이터 적재동작을 설명하기 위한 구성도.3 is a configuration diagram for explaining a data loading operation in the data warehouse shown in FIG.

본 발명은 데이터웨어하우스 구축을 위한 원시 시스템 로그 테이블 데이터의 제어방법에 관한 것으로, 보다 상세하게는 원시 시스템이 과거 데이터의 보관을 위해 로그 테이블을 사용하는 경우에 로그 테이블로부터 주기적으로 데이터를 추출하여 데이터웨어하우스로 전송하고 이를 다시 데이터웨어하우스의 원시 테이블로 데이터의 시간적인 중복 및 누락을 최대한 수정하여 적재하는 작업을 별도의 운용자 작업이 필요 없이 정해진 일정 시간에 수행되도록 한 데이터웨어하우스 구축을 위한 원시 시스템 로그 테이블 데이터의 제어방법에 관한 것이다.The present invention relates to a method of controlling raw system log table data for building a data warehouse. More particularly, the present invention relates to a method of controlling raw system log table data. For the data warehouse deployment, the data warehouse is transferred to the data warehouse and back to the raw table of the data warehouse, so that the timely redundancy and omission of the data can be corrected and performed in a predetermined time without the need for a separate operator. A method of controlling raw system log table data.

일반적으로 데이터웨어하우스로 운반 또는 전송 가능한 형태로 원시 시스템 데이터베이스의 내용을 변환하고 이를 수집하여 데이터웨어하우스의 데이터베이스에 적재하는데 각 시스템의 운용자가 매번 직접 개입하여 작업을 수행하면 시간적, 인적 비용이 과다하게 소요되고 운용자의 실수에 의한 오류의 가능성이 상존한다. In general, the contents of the raw system database are transformed into a form that can be transported or transferred to the data warehouse, collected, and loaded into the database of the data warehouse. When the operators of each system work directly and intervene each time, the time and human costs are excessive. The possibility of error due to operator error remains.

또한, 원시 시스템 데이터베이스의 로그 테이블로부터 데이터를 수집하는 경우, 운용자의 실수나 시스템 이상으로 인해 로그 테이블 데이터의 시간범위가 로그 테이블 갱신 주기와 정확히 일치하지 않을 경우(예, 데이터 갱신 주기가 1일인 로그 테이블이 1999년8월23일의 데이터를 가지고 있어야 하는 경우에 1999년8월23일 01:00 데이터로부터 1999년 8월 24일 03:00 데이터가 존재하는 경우)에 대한 대처가 미흡하면 데이터의 중복 또는 누락이 생길 수 있는 문제점이 있었다. In addition, when collecting data from the log table of the raw system database, if the time range of the log table data does not exactly match the log table update period due to operator error or system abnormality (for example, a log with a data update cycle of 1 day) If the table should have data for August 23, 1999, if the data for August 23, 1999 01:00 data from August 24, 1999 03:00 data is insufficient, There was a problem that duplicates or omissions may occur.

이에 본 발명은 상기와 같은 종래의 문제점을 해결하기 위해 안출된 것으로,원시 시스템이 과거 데이터의 보관을 위해 로그 테이블을 사용하는 경우에 로그 테이블로부터 주기적으로 데이터를 추출하여 데이터웨어하우스로 전송하고 이를 다시 데이터웨어하우스의 원시 테이블로 데이터의 시간적인 중복 및 누락을 최대한 수정하여 적재하는 작업을 별도의 운용자 작업이 필요없이 정해진 일정 시간에 수행되도록 한 데이터웨어하우스 구축을 위한 원시 시스템 로그 테이블 데이터의 제어방법을 제공함에 그 목적이 있다.Accordingly, the present invention has been made to solve the above-mentioned conventional problems, and when the raw system uses the log table for archiving historical data, the data is periodically extracted from the log table and transmitted to the data warehouse and Control of raw system log table data for data warehouse construction, which allows the loading of the data warehouse to the raw table of the data warehouse as much as possible by correcting the overlapping and omission of the data as much as possible without the need for a separate operator operation. The purpose is to provide a method.

상기와 같은 목적을 달성하기 위한 본 발명은 원시 시스템 데이터베이스의 로그 테이블을 데이터웨어하우스에서 인식 가능한 형식의 파일로 추출하여 데이터웨어하우스로 전송하는 제 1 과정과, 상기 데이터웨어하우스에서 수신된 파일의 데이터를 임시테이블에 저장하고, 상기 임시테이블에 저장된 파일의 데이터 시간범위와 원시테이블에 저장된 파일의 데이터 시간범위를 비교하여 그 결과에 따라 상기 데이터를 상기 원시테이블에 적재하는 제 2 과정과, 보관테이블에 1일전 저장된 데이터의 시간범위와 상기 원시테이블에 저장되어 있는 파일의 데이터 시간범위를 비교하여 그 결과에 따라 상기 보관 테이블의 데이터를 상기 원시테이블에 적재하는 제 3 과정을 포함하는 것을 특징으로 한다.The present invention for achieving the above object is a first step of extracting the log table of the raw system database to a file of a format that can be recognized in the data warehouse and transmitting to the data warehouse, and the file received from the data warehouse Storing data in a temporary table, comparing a data time range of a file stored in the temporary table with a data time range of a file stored in a raw table, and storing the data in the raw table according to the result; And comparing the time range of the data stored in the table with the data range of the file stored in the raw table one day ago and loading the data of the storage table into the raw table according to the result. do.

이하 첨부된 도면을 참조하여 본 발명의 실시예를 상세히 설명하면 다음과 같다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

본 발명의 전체적인 구성은 도 1에 도시된 바와 같이 원시시스템(10)과 데이터웨어하우스(20)로 구성되고, 구체적으로는 상기 원시시스템(10)의 원시 시스템 데이터베이스(12)의 로그 테이블(12a)로부터 주기적으로 파일을 추출하여 데이터웨어하우스(20)로 전송하는 데이터 추출 및 전송 부분과 원시시스템(10)에서 전송 받은 파일을 주기적으로 데이터 수집 시스템 데이터베이스의 원시 테이블(22a)에 적재하는 데이터 적재 부분으로 구성된다.The overall configuration of the present invention is composed of the raw system 10 and the data warehouse 20, as shown in Figure 1, specifically, the log table 12a of the raw system database 12 of the raw system 10 Data extraction and transmission part that extracts the file periodically and transfers it to the data warehouse 20 and the data that periodically loads the file received from the raw system 10 to the raw table 22a of the data collection system database It is composed of parts.

여기서 상기 데이터 추출 및 전송 부분은 데이터 전송상의 오류에 대비하여 과거 일정 기간동안의 데이터를 관리하면서 원시시스템 데이터베이스(12)의 로그 테이블(12a)로부터 주기적으로 파일을 추출하여 데이터웨어하우스(20)로 전송하는 부분으로 도 2에 도시된 바와 같이 파일명 변경, 파일추출 및 파일전송을 3단계로 수행한다.Here, the data extraction and transmission part periodically extracts a file from the log table 12a of the raw system database 12 to the data warehouse 20 while managing data for a certain period of time in preparation for an error in data transmission. As shown in FIG. 2, file name change, file extraction, and file transfer are performed in three steps.

한편, 상기 데이터 적재 부분은 상기 원시 시스템(10)에서 전송된 파일의 시간 범위가 로그 테이블 갱신 주기와 정확히 일치하지 않을 경우를 최대한 수정하여 주기적으로 데이터웨어하우스 데이터베이스(22)의 원시 테이블(22a)에 적재하는 부분으로 도 3에 도시된 바와 같은 테이블들로 구성되며 이 부분은 데이터웨어하우스에서 실행된다.Meanwhile, the data loading portion corrects the case where the time range of the file transmitted from the raw system 10 does not exactly match the log table update period, and periodically corrects the raw table 22a of the data warehouse database 22. The part that loads into the table consists of tables as shown in FIG. 3, which is executed in the data warehouse.

상기 임시 테이블은 데이터 적재 작업의 대상인 파일의 데이터를 적재하는 테이블이고, 보관테이블은 임시 테이블의 데이터 중에서 적재 작업이 수행되는 현재 날짜의 데이터를 다음 주기의 적재 작업을 위해 보관하는 테이블이며, 상기 원시 테이블은 임시 테이블과 보관 테이블을 이용하여 원시 시스템으로부터 전송되는 데이터의 시간적인 중복 및 누락을 최대한 수정한 데이터를 삽입하는 테이블이다.The temporary table is a table for loading data of a file which is a target of a data loading operation, and the storage table is a table for storing data of the current date at which the loading operation is performed among the data of the temporary table for the next cycle of loading operation. A table is a table that inserts data that fixes the temporal duplication and omission of data transmitted from the raw system using temporary tables and archive tables.

한편, 상기와 같은 구성으로 이루어진 원시시스템 및 데이터웨어하우스를 통한 로그 테이블 데이터의 추출, 전송 및 적재 동작을 자세히 살펴본다.Meanwhile, the extraction, transmission and stacking operations of log table data through the raw system and data warehouse configured as described above will be described in detail.

먼저, 도 1에 도시된 바와 같이 데이터 추출 및 전송 부분을 구현한 파일(Exp.sh로 가정)을 원시 시스템에서 UNIX 명령어인 crontab 명령을 사용하여 일정 시간에 주기적으로 수행되도록 설정한다. 이때 수행주기는 로그 테이블의 갱신 주기와 같게 한다.First, as shown in FIG. 1, a file (assuming Exp.sh) implementing data extraction and transmission parts is set to be periodically executed at a predetermined time using a crontab command, which is a UNIX command in a raw system. The execution cycle is the same as the update interval of the log table.

그리고 데이터 적재 부분을 구현한 파일(Load.sh로 가정)을 데이터웨어하우스에서 crontab 명령을 사용하여 일정 시간에 주기적으로 수행되도록 설정한다. 이때 수행 주기는 로그 테이블의 갱신 주기(Exp.sh의 수행 주기)와 같게 하며 contab에 설정하는 시간은 원시 시스템에서 Exp.sh가 완료되는 시점 이후로 한다.Then, the file that implements the data loading part (assuming Load.sh) is set to be executed periodically at a certain time using the crontab command in the data warehouse. At this time, the execution cycle is the same as the log table update cycle (Exp.sh execution cycle). The time set in contab is after the completion of Exp.sh in the raw system.

원시 시스템에서 crontab 명령에 지정된 시간이 되면 Exp.sh이 수행되어 로그 테이블의 데이터를 파일로 추출하고 이를 데이터웨어하우스로 전송한다.At the time specified by the crontab command on the raw system, Exp.sh is run to extract the data from the log tables to a file and transfer it to the data warehouse.

데이터웨어하우스에서 crontab 명령에 지정된 시간이 되면 load.sh 내용이 수행되어 원시 시스템에서 전송된 파일을 데이터베이스의 원시 테이블에 적재한다.At the time specified by the crontab command in the data warehouse, the contents of load.sh are performed to load the transferred files from the raw system into the raw tables in the database.

여기서 데이터 추출 및 전송 부분 동작을 도 2을 통해 더욱 구체적으로 설명한다. 여기서 구체적인 설명을 위해 다음과 같은 경우를 예로 구성하였다Herein, the operation of extracting and transmitting data will be described in more detail with reference to FIG. 2. For the detailed description, the following case is configured as an example.

로그 테이블의 갱신 및 데이터 추출 주기는 1일로 하고, 추출 파일을 생성하는 디렉토리명은 EXP으로 하며, 과거 데이터의 보관을 위한 파일명 및 개수는 EXT1, EXT2, EXT3 (3개)로 한다.The log table update and data extraction cycle is one day, the directory name for generating the extract file is EXP, and the file names and number for storing the past data are EXT1, EXT2, and EXT3 (three).

그리고 로그 테이블로부터 추출되는 파일명은 EXT1로 하고, 파일 전송 날짜 및 데이터웨어하우스로 전송되는 추출파일명은 1999년 8월 24일, EXT990824으로 한다.The file name extracted from the log table is named EXT1, and the file transfer date and the extracted file name transferred to the data warehouse are named August 24, 1999, EXT990824.

먼저, 데이터 추출 파일을 저장하는 대상 디렉토리(EXP)에 있는 파일의 이름을 그림과 같이 각각 변경한다(P1).First, the names of the files in the destination directory (EXP) where the data extraction files are stored are changed as shown in the figure (P1).

그리고 수집 대상이 되는 원시 시스템 데이터베이스의 로그 테이블을 데이터웨어하우스에서 인식 가능한 형식의 파일로 추출하고 파일명을 EXP1으로 설정한다(P2).The log table of the raw system database to be collected is extracted into a file that can be recognized by the data warehouse, and the file name is set to EXP1 (P2).

EXP1 파일을 데이터웨어하우스로 UNIX의 rcp 명령을 사용하여 전송하며 이때 데이터웨어하우스에서 수신되는 파일명은 UNIX의 date 명령을 사용하여 EXP`date+'%y%m%d'(예, 1999년 8월 24일인 경우, EXP990824)으로 설정한다(P3).Send the EXP1 file to the data warehouse using the rcp command on UNIX, at which time the name of the file received from the data warehouse is displayed using the date command on UNIX using EXP`date + '% y% m% d' (eg, August 1999). If it is 24 days, it is set to EXP990824) (P3).

즉, 상기한 파일명 변경, 파일 추출 과정을 통해 데이터웨어하우스로 파일이 전송된다. That is, the file is transferred to the data warehouse through the file name change and file extraction process.

여기서 전송된 파일을 통한 데이터 적재 부분의 동작은 도 3에 도시된 바와 같이 먼저, 데이터 적재 대상이 되는 임시 테이블이 존재하면 테이블을 drop한다(P4).In operation of the data loading portion through the transmitted file, as shown in FIG. 3, if there is a temporary table to be loaded data, the table is dropped (P4).

‘EXT현재년월일’파일(예,1999년 8월24일인 경우, EXT990824)을 대상으로 임시테이블을 생성한다. 이때 1999년 8월24일에 생성된 로그 테이블에 시간 범위의 오류가 없었다면 임시 테이블은 1999년 8월 23일 00:00:00 ~ 23:59:59 사이의 데이터만 포함한다(P5).Create a temporary table for the "EXT current date" file (ex: EXT990824 if it is 24 August 1999). In this case, if there is no error in the time range in the log table created on August 24, 1999, the temporary table includes only data between 00:00:00 and 23:59:59 on August 23, 1999 (P5).

임시 테이블의 현재 일에서 2일 이전 데이터(예 1999년 8월 22일 데이터)가 존재하면 이 중에서 현재 원시 테이블의 max(hr_id)보다 큰 hr_id를 가지는 데이터를 원시 테이블에 삽입한다(P6).If there is data two days before the current day of the temporary table (eg, August 22, 1999), data having an hr_id larger than max (hr_id) of the current raw table is inserted into the raw table (P6).

여기서 상기 hr_id은 임시 테이블의 시간 컬럼명을 의미한다.Here, hr_id means a time column name of a temporary table.

한편, 현재 보관 테이블에 데이터가 존재하면 이 중에서 hr_id가 임시 테이블의 현재 일 1일전 데이터(예 1999년 8월24일인 경우 1999년 8월 23일 데이터)중의 min(hr_id)보다 작은 데이터를 원시 테이블 삽입한다(P7).On the other hand, if data exists in the current archive table, hr_id is smaller than min (hr_id) in the data of the temporary table one day before the current day of the temporary table (e.g., August 23, 1999 in the case of August 24, 1999). Insert (P7).

그 후 임시 테이블의 현재 일 1일전 데이터(예 1999년 8월23일 데이터)를 원시 테이블에 삽입한다(P8).Thereafter, data one day before the current day of the temporary table (eg, August 23, 1999) is inserted into the raw table (P8).

보관 테이블을 truncate 한다(P9).Truncate the archive table (P9).

그리고 임시 테이블에 현재 일 데이터(1999년 8월 24일 데이터)가 있으면 보관 테이블에 삽입한다(P10).If the temporary table contains current day data (August 24, 1999 data), the temporary table is inserted into the archive table (P10).

이상에서 살펴본 바와 같이 본 발명은 원시 시스템에서의 데이터 추출, 전송 작업과 데이터웨어하우스 원시 테이블로의 적재 작업을 각 시스템 운용자의 별도의 업무 없이 수행하므로 시간적, 인적 비용을 절감할 수 있다. 그리고 운용자의 별도의 노력 없이 원시 시스템에서 생성된 파일을 일정 기간동안 보관하여 전송상의 오류에 의한 데이터 유실에 대비할 수 있으며, 로그 테이블의 시간 범위와 로그 테이블 갱신 주기가 정확히 일치하지 않은 오류로 인한 데이터의 누락 및 중복을 최대한 수정하여 원시 테이블의 신뢰도를 높일 수 있는 효과가 있다. As described above, the present invention can reduce the time and human costs because the data extraction, transfer and loading of the data warehouse raw table in the raw system is performed without a separate operation of each system operator. In addition, the files created in the raw system can be kept for a certain period of time without the operator's effort to prepare for data loss due to transmission errors, and the data due to errors in which the log table time range and the log table update cycle do not match exactly. You can improve the reliability of the raw table by correcting the omission and duplication of the table as much as possible.

아울러 본 발명의 바람직한 실시 예들은 예시의 목적을 위해 개시된 것이며, 당업자라면 본 발명의 사상과 범위 안에서 다양한 수정, 변경, 부가 등이 가능할 것이며, 이러한 수정 변경 등은 이하의 특허 청구의 범위에 속하는 것으로 보아야 할 것이다.In addition, preferred embodiments of the present invention are disclosed for the purpose of illustration, those skilled in the art will be able to 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 (7)

원시 시스템 데이터베이스의 로그 테이블을 데이터웨어하우스에서 인식 가능한 형식의 파일로 추출하여 데이터웨어하우스로 전송하는 제 1 과정;Extracting a log table of a raw system database into a file in a format recognizable by the data warehouse and transferring the log table to the data warehouse; 상기 데이터웨어하우스에서 수신된 파일의 데이터를 임시테이블에 저장하고, 상기 임시테이블에 저장된 파일의 데이터 시간범위와 원시테이블에 저장된 파일의 데이터 시간범위를 비교하여 그 결과에 따라 상기 데이터를 상기 원시테이블에 적재하는 제 2 과정; 및The data of the file received from the data warehouse is stored in a temporary table, and the data time range of the file stored in the temporary table is compared with the data time range of the file stored in the raw table. 2nd process loading to; And 보관테이블에 1일전 저장된 데이터의 시간범위와 상기 원시테이블에 저장되어 있는 파일의 데이터 시간범위를 비교하여 그 결과에 따라 상기 보관 테이블의 데이터를 상기 원시테이블에 적재하는 제 3 과정을 포함하는 것을 특징으로 하는 데이터웨어하우스 구축을 위한 원시 시스템 로그 테이블 데이터의 제어방법.And comparing the time range of the data stored in the storage table with the data time range of the file stored in the raw table, and loading the data in the storage table into the raw table according to the result. To control raw system log table data for building a data warehouse. 제 1 항에 있어서, 상기 제 1과정은,The method of claim 1, wherein the first process comprises: 데이터 추출 파일을 저장하는 대상 디렉토리에 있는 파일의 이름을 변경하고, 유닉스(UNIX)의 데이트(date)명령을 사용해서 파일명이 현재일인 추출파일을 상기 데이터웨어하우스로 전송하는 것을 특징으로 하는 데이터웨어하우스 구축을 위한 원시 시스템 로그 테이블 데이터의 제어방법.Rename the file in the target directory to save the data extraction file, and using the date command of the UNIX (UNIX) data transfer characterized in that to transfer the extraction file of the current date to the data warehouse How to control raw system log table data for house building. 제 1항 또는 제 2 항에 있어서, 상기 제 2과정 및 제 3 과정은,The method of claim 1 or 2, wherein the second process and the third process, 상기 데이터웨어하우스의 적재프로그램(load.sh)을 통해 상기 데이트(date) 명령을 이용하여 적재를 처리하는 것을 특징으로 하는 데이터웨어하우스 구축을 위한 원시 시스템 로그 테이블 데이터의 제어방법.The method of controlling raw system log table data for building a data warehouse, characterized in that the load is processed using the date command through a load program (load.sh) of the data warehouse. 제 1 항에 있어서, 상기 제 2과정은The method of claim 1, wherein the second process is 데이터 적재 대상이 되는 임시 테이블이 이미 존재하면 상기 임시 테이블을 드롭하고, 상기 원시시스템으로부터 수신된 파일을 대상으로 임시테이블을 생성하는 제 2-1과정; 및A step 2-1 of dropping the temporary table if a temporary table to be loaded with data already exists and creating a temporary table for a file received from the raw system; And 상기 임시 테이블의 현재 일에서 2일 이전의 데이터가 존재하면 이중에서 시간 컬럼의 값이 현재 원시 테이블의 시간 컬럼의 최대값보다 큰 값을 가지는 데이터를 원시 테이블에 삽입하는 제 2-2과정을 포함하는 것을 특징으로 하는 데이터웨어하우스 구축을 위한 원시 시스템 로그 테이블 데이터의 제어방법.If there is data two days before the current day of the temporary table, the second step of inserting the data having a value of the time column is greater than the maximum value of the time column of the current raw table to the raw table of the second step; Raw system log table data control method for building a data warehouse, characterized in that the. 제 1항 또는 제 4항에 있어서, 상기 제 3 과정은,The method of claim 1 or 4, wherein the third process comprises: 상기 보관 테이블에 데이터가 존재하면 이중에서 시간 컬럼의 값이 임시테이블의 현재일 1일전 데이터의 시간컬럼의 최소값보다 작은 데이터를 상기 원시 테이블에 삽입하는 제 3-1과정;Step 3-1 of inserting data into which the value of the time column is smaller than the minimum value of the time column of the data one day before the current day of the temporary table, if data exists in the archive table; 상기 임시테이블의 현재 1일전 데이터를 원시 테이블에 삽입하고, 보관테이블을 트렁케이트(truncate)하는 제 3-2과정; 및 Step 3-2 of inserting data one day prior to the temporary table into a raw table and truncating a storage table; And 상기 임시테이블에 현재 일 데이터가 있으면 상기 보관 테이블에 삽입하는 제 3-3 과정;을 포함하는 것을 특징으로 하는 데이터웨어하우스 구축을 위한 원시 시스템 로그 테이블 데이터의 제어방법.And a third process of inserting the temporary table into the storage table if there is current data in the temporary table. 3. 제 1항 또는 제 4항에 있어서, 상기 제 3과정의 보관 테이블은,According to claim 1 or claim 4, wherein the storage table of the third process, 상기 임시 테이블의 데이터 중에서 적재 작업이 수행되는 현재 날짜의 데이터를 다음 주기의 적재 작업을 위해 보관하는 것을 특징으로 하는 데이터웨어하우스 구축을 위한 원시 시스템 로그 테이블 데이터의 제어방법.The control method of the raw system log table data for building a data warehouse, characterized in that for storing the data of the current date, the load operation is performed for the next cycle of the temporary table data. 제 1항 또는 제 4항에 있어서, 상기 제 2과정 및 3과정의 원시 테이블은,The method of claim 1 or 4, wherein the second and third raw table, 상기 임시테이블 및 보관테이블을 이용하여 상기 원시시스템으로부터 전송되는 데이터의 시간적인 중복 및 누락을 수정한 데이터를 삽입하는 것을 특징으로 하는 데이터웨어하우스 구축을 위한 원시 시스템 로그 테이블 데이터의 제어방법.And inserting data correcting temporal duplication and omission of data transmitted from the raw system by using the temporary table and the storage table.
KR1019990060385A 1999-12-22 1999-12-22 Controlling method of source system log table for data warehouse KR100693720B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990060385A KR100693720B1 (en) 1999-12-22 1999-12-22 Controlling method of source system log table for data warehouse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990060385A KR100693720B1 (en) 1999-12-22 1999-12-22 Controlling method of source system log table for data warehouse

Publications (2)

Publication Number Publication Date
KR20010057375A KR20010057375A (en) 2001-07-04
KR100693720B1 true KR100693720B1 (en) 2007-03-12

Family

ID=19628115

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990060385A KR100693720B1 (en) 1999-12-22 1999-12-22 Controlling method of source system log table for data warehouse

Country Status (1)

Country Link
KR (1) KR100693720B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101564639B1 (en) 2013-05-03 2015-10-30 주식회사 엘지유플러스 A method and apparatus for processing data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980050443A (en) * 1996-12-20 1998-09-15 양승택 Alarm log data management method in communication network manager system
KR19990000904A (en) * 1997-06-11 1999-01-15 윤종용 How to manage the usage history of maintenance equipment in the exchange system
KR100243113B1 (en) * 1997-11-06 2000-02-01 정선종 Database management system
KR20000056409A (en) * 1999-02-20 2000-09-15 윤종용 Method for backing up data of NMS DB and method for extracting data of NMS DB

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980050443A (en) * 1996-12-20 1998-09-15 양승택 Alarm log data management method in communication network manager system
KR19990000904A (en) * 1997-06-11 1999-01-15 윤종용 How to manage the usage history of maintenance equipment in the exchange system
KR100243113B1 (en) * 1997-11-06 2000-02-01 정선종 Database management system
KR20000056409A (en) * 1999-02-20 2000-09-15 윤종용 Method for backing up data of NMS DB and method for extracting data of NMS DB

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1020000056409

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101564639B1 (en) 2013-05-03 2015-10-30 주식회사 엘지유플러스 A method and apparatus for processing data

Also Published As

Publication number Publication date
KR20010057375A (en) 2001-07-04

Similar Documents

Publication Publication Date Title
KR101904786B1 (en) Apparatus and method for replicating changed data in a source database management system to a target database management system in real time
CN109241185B (en) Data synchronization method and data synchronization device
CN102915336B (en) Incremental data capturing and extraction method based on timestamps and logs
US7788223B2 (en) Resource freshness and replication
CN103455557B (en) A kind of structural data synchronous method based on daily record
US7313576B2 (en) System and method for flexible data transfer
US6745304B2 (en) Method and device for storing computer data with back-up operations
KR101429575B1 (en) Real time backup system of database, system of recovering data and method of recovering data
US20040098418A1 (en) Method and server for system synchronization
CN104573056A (en) Database large data volume online migration method based on oracle
CN101004744A (en) System and method for synchronizing indexes of remote files at multiple points
EP1286277A2 (en) Method and system for reconciling changed file trees
EP0230616A3 (en) Library management system
US20190073153A1 (en) Efficient repository migration and storage
KR100693720B1 (en) Controlling method of source system log table for data warehouse
CN111858767A (en) Synchronous data processing method, device, equipment and storage medium
CN103645967B (en) A kind of read-only materialized view rollback method and device
Ling et al. Materialized view maintenance using version numbers
JPH03158961A (en) Software maintaining and managing system for decentralized processor
US20030126159A1 (en) Method and system for rollback of software system upgrade
US20040143610A1 (en) Method for combining distributed databases
CN104834487B (en) Remote signalling data compression based on slowly varying dimension form, which is stored and looked into, lacks method of filling a vacancy
KR100416366B1 (en) Method of preventing HLR traffic data from loss when recovering HLR with Backup System
KR20240032389A (en) System and Method for sending message for data synchronization transfer
CN116955369A (en) Database-based data fusion method and device, electronic 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: 20100302

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee