KR100567813B1 - Transaction Analysing System for Tandem system - Google Patents

Transaction Analysing System for Tandem system Download PDF

Info

Publication number
KR100567813B1
KR100567813B1 KR1020040016936A KR20040016936A KR100567813B1 KR 100567813 B1 KR100567813 B1 KR 100567813B1 KR 1020040016936 A KR1020040016936 A KR 1020040016936A KR 20040016936 A KR20040016936 A KR 20040016936A KR 100567813 B1 KR100567813 B1 KR 100567813B1
Authority
KR
South Korea
Prior art keywords
file
transaction
client
data
information
Prior art date
Application number
KR1020040016936A
Other languages
Korean (ko)
Other versions
KR20050091470A (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 KR1020040016936A priority Critical patent/KR100567813B1/en
Publication of KR20050091470A publication Critical patent/KR20050091470A/en
Application granted granted Critical
Publication of KR100567813B1 publication Critical patent/KR100567813B1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A45HAND OR TRAVELLING ARTICLES
    • A45FTRAVELLING OR CAMP EQUIPMENT: SACKS OR PACKS CARRIED ON THE BODY
    • A45F3/00Travelling or camp articles; Sacks or packs carried on the body
    • A45F3/04Sacks or packs carried on the body by means of two straps passing over the two shoulders
    • AHUMAN NECESSITIES
    • A45HAND OR TRAVELLING ARTICLES
    • A45CPURSES; LUGGAGE; HAND CARRIED BAGS
    • A45C13/00Details; Accessories
    • AHUMAN NECESSITIES
    • A45HAND OR TRAVELLING ARTICLES
    • A45CPURSES; LUGGAGE; HAND CARRIED BAGS
    • A45C15/00Purses, bags, luggage or other receptacles covered by groups A45C1/00 - A45C11/00, combined with other objects or articles
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65DCONTAINERS FOR STORAGE OR TRANSPORT OF ARTICLES OR MATERIALS, e.g. BAGS, BARRELS, BOTTLES, BOXES, CANS, CARTONS, CRATES, DRUMS, JARS, TANKS, HOPPERS, FORWARDING CONTAINERS; ACCESSORIES, CLOSURES, OR FITTINGS THEREFOR; PACKAGING ELEMENTS; PACKAGES
    • B65D81/00Containers, packaging elements, or packages, for contents presenting particular transport or storage problems, or adapted to be used for non-packaging purposes after removal of contents
    • B65D81/18Containers, packaging elements, or packages, for contents presenting particular transport or storage problems, or adapted to be used for non-packaging purposes after removal of contents providing specific environment for contents, e.g. temperature above or below ambient
    • AHUMAN NECESSITIES
    • A45HAND OR TRAVELLING ARTICLES
    • A45FTRAVELLING OR CAMP EQUIPMENT: SACKS OR PACKS CARRIED ON THE BODY
    • A45F5/00Holders or carriers for hand articles; Holders or carriers for use while travelling or camping
    • A45F2005/002Holders or carriers for hand articles; Holders or carriers for use while travelling or camping combined with other objects

Abstract

텐덤 시스템에서 트랜잭션 전후의 기록을 보관하는 감사추적을 분석하는 트랜잭션 분석 시스템에 있어서, 클라이언트로부터 시작시간과 종료시간정보를 입력받아 감사추적 파일을 결정하여 입력된 시간정보에 따라 분석하고 제 1 포맷으로 클라이언트에 분석결과를 제공하는 특정시간 데이터 변경내역 조회모듈; 클라이언트로부터 시작시간과 종료시간정보 및 데이터파일 정보를 입력받아 감사추적 파일을 결정하여 시간정보와 데이터파일 정보에 따라 분석하고 제 2 포맷으로 클라이언트에 분석결과를 제공하는 특정파일 데이터 변경내역 조회모듈; 및 클라이언트로부터 트랜잭션 ID를 입력받아 감사추적 파일을 분석하여 트랜잭션 ID에 대한 목록을 추출하여 데이터 파일의 목록을 작성하고 스크립트 파일을 만들어 트랜잭션 ID로 실수나 오류에 의한 변경 데이터를 원래의 상태로 복구하는 복구모듈을 포함하는 텐덤 시스템의 트랜잭션 분석 및 복구 시스템이 개시된다.A transaction analysis system for analyzing audit trails that maintain records before and after transactions in a tandem system, wherein the audit time file is determined by receiving a start time and an end time information from a client, and analyzed according to the input time information. A specific time data change history inquiry module for providing an analysis result to a client; A specific file data change history inquiry module which receives the start time, the end time information, and the data file information from the client to determine an audit trail file, analyzes the time according to the time information and the data file information, and provides the analysis result to the client in a second format; And receiving the transaction ID from the client, analyzing the audit trail file, extracting the list for the transaction ID, creating a list of data files, creating a script file, and recovering the changed data due to mistakes or errors with the transaction ID to the original state. Disclosed is a transaction analysis and recovery system of a tandem system comprising a recovery module.

분석, 애널라이징, 트랜잭션, 조회, 복구, tandemAnalysis, analyzing, transaction, query, recovery, tandem

Description

텐덤 시스템의 트랜잭션 분석 시스템{Transaction Analysing System for Tandem system} Transaction Analysing System for Tandem System             

도 1은 본 발명에 따른 트랜잭션 분석 및 복구 시스템이 적용되는 네트워크 구성도이다.1 is a network configuration to which a transaction analysis and recovery system according to the present invention is applied.

도 2는 본 발명에 일 실시예에 따른 분석 및 복구 시스템의 기능적 구성을 보여주는 블록도이다.Figure 2 is a block diagram showing the functional configuration of the analysis and recovery system according to an embodiment of the present invention.

도 3은 특정시간 데이터 변경내역 조회화면을 보여주는 화면 캡처도이다.3 is a screen capture diagram showing a specific time data change history inquiry screen.

도 4는 특정파일 데이터 변경내역 조회화면을 보여주는 화면 캡처도이다.4 is a screen capture diagram showing a specific file data change history inquiry screen.

도 5는 데이터 복구 대상 리스트를 보여주는 화면 캡처도이다.5 is a screen capture diagram showing a data recovery target list.

도 5a는 데이터 복구결과를 보여주는 화면 캡처도이다.5A is a screen capture diagram showing a result of data recovery.

도 6은 상세조회결과를 보여주는 화면 캡처도이다.6 is a screen capture diagram showing a detailed query result.

도 7은 일괄조회작업 요청을 위한 입력화면의 화면 캡처도이다.7 is a screen capture diagram of an input screen for a batch inquiry job request.

도 8은 통계처리결과 중 시간대별 입출력건수를 보여주는 화면 캡처도이다.8 is a screen capture diagram showing the number of input and output by time of the statistical processing results.

도 9는 통계처리결과 중 파일별 입출력건수를 보여주는 화면 캡처도이다.9 is a screen capture diagram showing the number of input and output files for each of the statistical processing results.

본 발명은 텐덤 시스템의 트랜잭션 분석 및 복구시스템에 관한 것으로, 보다 상세하게는 텐덤 시스템에서 운용되는 데이터베이스와 파일의 변경내역을 저장 관리하는 감사추적(Audit Trail)을 분석하여 이를 근거로 잘못 변경된 데이터를 복원시키기 위한 텐덤 시스템의 트랜잭션 분석 및 복구시스템에 관한 것이다.The present invention relates to a transaction analysis and recovery system of a tandem system, and more particularly, by analyzing audit trails that store and manage changes to databases and files operated in the tandem system, Transaction analysis and recovery system of a tandem system to restore.

텐덤 시스템(Tandem System)은 미국의 휴렛 팩커드사의 넌스톱(NonStop) 서버 제품군을 총칭하는 용어이며, 운영체제를 포함하는 모든 구성요소들이 이중화로 구성되어 있다. 원래는 미국의 Tandem사가 만들었으나, 컴팩사에 의해 합병된 후, 다시 휴렛 팩커드사에 합병되었다. Tandem System is a generic term for Hewlett Packard's NonStop server family in the United States, and all components, including the operating system, are redundant. Originally made by Tandem of the United States, it was merged by Compaq and then merged with Hewlett Packard.

텐덤 시스템은 가디언(Guardian)이라는 고유의 운영체제를 사용하며 논스톱 커널(NonStop Kernel) 또는 NSK라고도 불린다.Tandem systems use a proprietary operating system called Guardian, also called NonStop Kernel or NSK.

이와 같은 텐덤 시스템에서는 정전이나 지진과 같은 갑작스러운 사태로 트랜잭션(Transaction), 시스템 및 디스크 드라이브, 테이프 드라이브 등의 매체에 장애가 발생 시 데이터베이스의 무결성 및 일관성을 유지하기 위하여 TMF라는 서브시스템을 사용하여 모든 트랜잭션의 전후 이미지를 감사추적에 기록하여 장애 발생 시 트랜잭션을 철회하거나 감사추적을 이용하여 테이블 단위의 복구를 수행한다.In such tandem systems, TMF uses a subsystem called TMF to maintain the integrity and consistency of the database in the event of a media failure, such as a transaction, system, disk drive, or tape drive, due to a sudden power outage or earthquake. Records the before and after image of the transaction in the audit trail to withdraw the transaction when a failure occurs or to perform table-level recovery using the audit trail.

그러나 시스템 및 미디아 장애 시 TMF를 이용한 복구는 테이블 단위의 복구를 수행하기 때문에 고의나 실수에 의하여 잘못 변경된 데이터를 복구할 수는 없다는 결정적인 문제점이 있다.However, in case of system and media failure, recovery using TMF performs table-level recovery, so there is a critical problem that it is not possible to recover data that has been inadvertently changed due to intentional or mistake.

더욱이, TMF를 이용하여 복구하는 데에는 많은 시간과 숙련된 엔지니어를 필요로 한다는 문제점이 있다. Moreover, there is a problem in that recovery using TMF requires a lot of time and skilled engineers.

또한, 트랜잭션에 의한 데이터 변경 내역을 조회하기 위한 솔루션이나 방법이 제공되고 있지 않다는 문제점이 있다. In addition, there is a problem that a solution or method for querying the data change history by a transaction is not provided.

따라서, 본 발명의 목적은 텐덤 시스템에서 관리 운영되는 데이터베이스 파일의 데이터 변경 내역을 숙련된 엔지니어의 개입에 의한 복잡한 절차를 통하지 않고도 신속하게 감사추적을 분석하여 변경 내역을 조회할 수 있고, 고의나 실수에 의하여 잘못 변경된 데이터를 복구할 수 있는 텐덤 시스템의 트랜잭션 분석 및 복구 시스템을 제공하는 것이다.Therefore, an object of the present invention is to analyze the data change history of the database file managed in the tandem system without having to go through the complicated procedure by the skilled engineer's involvement to quickly analyze the audit trail, inquire the change history, intentional or mistake It is to provide a transaction analysis and recovery system of a tandem system that can recover data that has been incorrectly changed.

본 발명의 다른 목적과 특징은 이하에 서술되는 바람직한 실시예를 통하여 보다 명확하게 이해될 것이다.
Other objects and features of the present invention will be more clearly understood through the preferred embodiments described below.

본 발명에 따르면, 텐덤 시스템에서 트랜잭션 전후의 기록을 보관하는 감사추적을 분석하는 트랜잭션 분석 및 복구 시스템에 있어서, 클라이언트로부터 시작시간과 종료시간정보를 입력받아 감사추적 파일을 결정하여 입력된 시간정보에 따라 분석하고 제 1 포맷으로 클라이언트에 분석결과를 제공하는 특정시간 데이터 변 경내역 조회모듈; 클라이언트로부터 시작시간과 종료시간정보 및 데이터파일 정보를 입력받아 감사추적 파일을 결정하여 시간정보와 데이터파일 정보에 따라 분석하고 제 2 포맷으로 클라이언트에 분석결과를 제공하는 특정파일 데이터 변경내역 조회모듈; 및 클라이언트로부터 트랜잭션 ID를 입력받아 감사추적 파일을 분석하여 트랜잭션 ID에 대한 목록을 추출하여 데이터 파일의 목록을 작성하고 스크립트 파일을 만들어 트랜잭션 ID로 실수나 오류에 의한 변경 데이터를 원래의 상태로 복구하는 복구모듈을 포함하는 텐덤 시스템의 트랜잭션 분석 및 복구 시스템이 개시된다.According to the present invention, in the transaction analysis and recovery system for analyzing the audit trail to keep the records before and after the transaction in the tandem system, the start time and end time information from the client to determine the audit trail file to the input time information A specific time data change inquiry module for analyzing according to and providing the analysis result to the client in a first format; A specific file data change history inquiry module which receives the start time, the end time information, and the data file information from the client to determine an audit trail file, analyzes the time according to the time information and the data file information, and provides the analysis result to the client in a second format; And receiving the transaction ID from the client, analyzing the audit trail file, extracting the list for the transaction ID, creating a list of data files, creating a script file, and recovering the changed data due to mistakes or errors with the transaction ID to the original state. Disclosed is a transaction analysis and recovery system of a tandem system comprising a recovery module.

바람직하게, 특정시간 데이터 변경내역 조회모듈이나 특정파일 데이터 변경내역 조회모듈에 의해 1차 조회된 결과로부터 특정 레코드를 선택하여 조회하고자 하는 트랜잭션 ID를 입력하고 자동적으로 최초 RBA와 최초 시퀀스번호를 읽어 들여 트랜잭션 ID에 따라 1차 조회결과로부터 입력된 트랜잭션 ID에 대한 목록을 추출하여 제 3 포맷으로 클라이언트에 제공하는 상세조회모듈을 더 포함할 수 있다.Preferably, input a transaction ID to search by selecting a specific record from the result of the primary query by the specific time data change inquiry module or the specific file data change inquiry module, and automatically read the initial RBA and the initial sequence number. According to the transaction ID may further include a detailed lookup module for extracting a list of the input transaction ID from the first inquiry result to provide to the client in a third format.

일 예로, 제 1 포맷은 시퀀스번호, RBA(Relative Byte Address), 트랜잭션 시간, 트랜잭션 ID, 데이터 파일명 및 입출력 타입으로 구성되고, 제 2 포맷은 시퀀스번호, RBA(Relative Byte Address), 트랜잭션 시간, 트랜잭션 ID 및 입출력 타입으로 구성되며, 제 3 포맷은 트랜잭션 ID, 데이터 파일명, 입출력 타입별 건수 및 처리결과로 구성될 수 있다.For example, the first format includes a sequence number, a relative byte address (RBA), a transaction time, a transaction ID, a data file name, and an input / output type, and the second format includes a sequence number, a relative byte address (RBA), a transaction time, and a transaction. The third format may include a transaction ID, a data file name, the number of input / output types, and a processing result.

바람직하게, 클라이언트로부터 시작시간과 종료시간정보, 파일명, 입출력 타입 및 출력파일명을 입력받고 서버의 환경파일로부터 설정되어 있는 환경변수를 읽 어 들여 입력된 조건에 따라 감사추적 파일을 분석하여 클라이언트에 제공할 포맷으로 변환하여 지정된 출력파일명의 결과파일을 생성하는 일괄조회모듈을 더 포함할 수 있다.Preferably, it receives the start time and end time information, file name, input / output type, and output file name from the client, reads the environment variables set from the server's environment file, analyzes the audit trail file according to the input conditions, and provides them to the client. It may further include a batch lookup module for converting to a format to generate a result file of the specified output file name.

또한, 바람직하게, 시작시간과 종료시간정보 그리고 선택적으로 파일명을 입력받아 감사추적 파일을 분석하여 발생한 모든 데이터 변경건수를 특정 파일의 시간대별 데이터 변경건수 또는 설정된 시간 사이에 파일별 데이터 변경건수로 표시하며, 데이터 변경건수는 정상 처리건수와 롤백된 처리건수로 구분하고 각각을 다시 입출력 타입에 따라 구분하여 표시하는 통계처리모듈을 더 포함할 수 있다.Also, preferably, all data changes generated by analyzing the audit trail file by inputting start time and end time information and optionally file name are displayed as data change by time of a specific file or data change by file between set time. The data change number may further include a statistical processing module for classifying the normal number of processing cases and the number of rolled-back processes and classifying each data again according to the input / output type.

바람직하게, 파일명을 지정하고 기준 사용률을 입력하여, 지정된 파일들로부터 볼륨정보를 순차적으로 읽어 볼륨정보로부터 파일명에 의해 식별되는 자세한 정보를 얻고, 이를 분석하여 분석된 결과를 적절한 포맷으로 가공하여 클라이언트에게 제공하는 파일사용량 체크모듈을 더 포함할 수 있다.Preferably, by designating a file name and inputting a standard utilization rate, the volume information is sequentially read from the specified files to obtain detailed information identified by the file name from the volume information, and then analyzed and processed into an appropriate format. It may further include a file usage check module provided.

이하, 첨부된 도면을 참조하여 본 발명의 일 실시예를 설명한다.Hereinafter, with reference to the accompanying drawings will be described an embodiment of the present invention.

도 1은 본 발명에 따른 트랜잭션 분석 시스템이 적용되는 네트워크 구성도이다.1 is a diagram illustrating a network to which a transaction analysis system according to the present invention is applied.

운영자는 컴퓨터 시스템(100)을 이용하여 HTTP를 이용하여 웹 서버(200)에 접속하며, 텐덤 시스템(300)에서 시스템 자체가 제공하는 커널 윤영체제의 서브시스템인 TM/MP(310)는 데이터베이스와 파일의 데이터 변경내역을 트랜잭션 단위로 감사추적(320)에 저장한다.The operator accesses the web server 200 using HTTP using the computer system 100, and the TM / MP 310, which is a subsystem of the kernel rotation system provided by the system itself in the tandem system 300, is connected to the database. The data change history of the file is stored in the audit trail 320 in transaction units.

감사추적(320)에는 트랜잭션 단위로 데이터 변경내역이 저장되며, 후술하는 분석시스템(350)의 각 모듈들은 이 감사추적(320)의 내용을 참조하여 각각의 기능을 수행한다.The audit trail 320 stores data changes in transaction units, and each module of the analysis system 350 to be described below performs each function with reference to the audit trail 320.

도 2는 본 발명에 일 실시예에 따른 분석시스템의 기능적 구성을 보여주는 블록도이다.Figure 2 is a block diagram showing the functional configuration of the analysis system according to an embodiment of the present invention.

도 2를 참조하면, 본 발명에 따른 분석시스템은 특정시간 데이터 변경내역 조회모듈(351), 특정파일 데이터 변경내역 조회모듈(353) 및 복구모듈(354)로 이루어진다.Referring to FIG. 2, the analysis system according to the present invention includes a specific time data change history inquiry module 351, a specific file data change history inquiry module 353, and a recovery module 354.

특정시간 데이터 변경내역 조회모듈(351)은 클라이언트(100)로부터 시작시간과 종료시간정보를 입력받아 감사추적 파일(Audit Trail File)을 결정하여 입력된 시간정보에 따라 분석하고 제 1 포맷으로 클라이언트에 분석결과를 제공한다.The specific time data change inquiry module 351 receives the start time and the end time information from the client 100, determines an audit trail file, analyzes the received audit trail file according to the input time information, and provides the client with the first format. Provide analysis results.

도 3의 조회화면을 참조하면, 웹 서버(200)를 통하여 본 발명에 따른 분석시스템이 제공하는 웹 페이지로 로그인하여 데이터 변경내역 조회기능을 선택하고 다시 특정시간별 데이터 변경내역 조회를 선택하면, 시작시간과 종료시간정보를 입력하라는 화면이 제공된다.Referring to the inquiry screen of FIG. 3, when the user logs in to a web page provided by the analysis system according to the present invention through the web server 200, selects a data change history inquiry function, and then selects a data change history inquiry for a specific time, the start is performed. A screen for inputting time and end time information is provided.

클라이언트로부터 시작시간과 종료시간정보를 입력받은 후, 특정시간 데이터 변경내역 조회모듈(351)은 텐덤 시스템을 구성하는 서버의 환경파일로부터 설정되어 있는 환경변수를 읽어들인다.After receiving the start time and end time information from the client, the specific time data change history inquiry module 351 reads environment variables set from an environment file of a server constituting the tandem system.

이후에 감사추적 파일을 결정하고 입력된 시간정보에 따라 감사추적 파일을 분석하여 도 2에 도시된 포맷으로 분석결과를 클라이언트에게 제공한다.Thereafter, the audit trail file is determined, and the audit trail file is analyzed according to the input time information, and the analysis result is provided to the client in the format shown in FIG.

즉, 시퀀스번호(SEQNO), RBA(Relative Byte Address), 트랜잭션 시간, 트랜잭션 ID, 데이터 파일명 및 입출력(IO) 타입으로 제공한다. That is, it provides in sequence number (SEQNO), relative byte address (RBA), transaction time, transaction ID, data file name and input / output (IO) type.

여기에서, 입출력타입은 삭제(delete)나 삽입(insert) 또는 갱신(update) 중의 어느 하나이며, 예를 들어, 데이터베이스가 고객정보 데이터베이스인 경우, 회원등록은 삽입, 회원탈퇴는 삭제 그리고 회원정보 변경은 갱신으로 결정될 것이다. Here, the input / output type is either delete, insert, or update. For example, if the database is a customer information database, membership registration is inserted, membership withdrawal is deleted, and membership information is changed. Will be determined by the update.

또한, 특정파일 데이터 변경내역 조회모듈(353)은 클라이언트로부터 시작시간과 종료시간정보 그리고 데이터파일 정보를 입력받은 후, 텐덤 시스템을 구성하는 서버의 환경파일로부터 설정되어 있는 환경변수를 읽어 들인다.Also, the specific file data change inquiry module 353 receives the start time, the end time information, and the data file information from the client, and then reads the environment variables set from the environment files of the server constituting the tandem system.

이후에 감사추적 파일을 결정하고 입력된 시간정보와 데이터파일 정보에 따라 감사추적 파일을 분석하여 입력된 특정파일에 관한 목록만 추출하고 도 4에 도시된 포맷으로 분석결과를 클라이언트에게 제공한다.After that, the audit trail file is determined, the audit trail file is analyzed according to the input time information and the data file information, and only the list of the input specific file is extracted, and the analysis result is provided to the client in the format shown in FIG.

예를 들어, 도 4에 도시된 바와 같이, 시퀀스번호(SEQNO), RBA(Relative For example, as shown in Figure 4, the sequence number (SEQNO), RBA (Relative)

Byte Address), 트랜잭션 시간, 트랜잭션 ID 및 입출력(IO) 타입 항목으로 제공한다. Byte Address), transaction time, transaction ID, and IO type.

상기 두 가지 형태의 조회 시에 클라이언트에 전송할 데이터의 양에 따라 블록킹(blocking) 또는 레코드 단위로 전송할 수 있다.In the two types of inquiry, the data may be transmitted in blocking or record units according to the amount of data to be transmitted to the client.

복구모듈(354)은 트랜잭션 분석결과를 근간으로 실수나 오류에 의한 변경 데이터를 원래의 상태로 복구한다.The recovery module 354 restores the changed data due to a mistake or an error to the original state based on the transaction analysis result.

도 5에 도시된 복구대상 리스트로부터 하나를 선택하여 클라이언트로부터 트랜잭션 ID를 입력받으며, 이때 실질적으로 RBA와 시퀀스번호가 동시에 입력되며, 입력된 정보에 따라 감사추적 파일을 분석하여 해당 트랜잭션 ID에 대한 목록만을 추출한다.Select one from the list of recovery targets shown in FIG. 5 to receive a transaction ID from the client. At this time, the RBA and the sequence number are input at the same time. The audit trail file is analyzed and the list of the corresponding transaction ID is analyzed. Extract only.

이어 해당 트랜잭션과 관련된 데이터파일의 목록을 작성하고, 스크립트 파일(Script file)을 만들어 트랜잭션 ID로 복구하며, 도 5a에 도시된 바와 같이, 해당 데이터파일에 발생한 입출력 타입별 건수를 저장한다.Subsequently, a list of data files related to the corresponding transaction is created, a script file is created, and recovered as a transaction ID. As shown in FIG. 5A, the number of I / O types generated in the corresponding data file is stored.

선택적으로 본 발명의 분석시스템은 상세조회모듈(352)을 포함한다.Optionally, the analysis system of the present invention includes a detail query module 352.

즉, 특정시간 데이터 변경내역 조회모듈(351)이나 특정파일 데이터 변경내역 조회모듈(353)에 의해 1차 조회된 결과로부터 특정 트랜잭션 ID에 관련된 상세한 내용을 조회할 수 있다.That is, the detailed information related to the specific transaction ID may be inquired from the result of the primary inquiry by the specific time data change history inquiry module 351 or the specific file data change history inquiry module 353.

즉, 도 3이나 도 4의 화면에서 특정 레코드를 선택하여 조회하고자 하는 트랜잭션 ID를 입력하고 상세조회기능을 선택하면, 시스템에서는 최초 RBA와 최초 시퀀스번호를 읽어 들인다. That is, if a specific record is selected on the screen of FIG. 3 or FIG. 4, the transaction ID to be searched is input and the detail inquiry function is selected, the system reads the first RBA and the first sequence number.

이어 입력된 조건인 트랜잭션 ID에 따라 1차 조회결과로부터 입력된 트랜잭션 ID에 대한 목록을 추출하여 도 6에 도시된 바와 같은 포맷으로 클라이언트에 제공한다.Subsequently, a list of the input transaction IDs is extracted from the primary inquiry result according to the input transaction ID and provided to the client in a format as shown in FIG. 6.

도 6을 참조하면, 트랜잭션 ID를 인덱스 키로 하여 트랜잭션 시간, 파일명, RBA 및 입출력 타입으로 출력된다. Referring to FIG. 6, a transaction ID is used as an index key and output as a transaction time, a file name, an RBA, and an input / output type.

이들로부터 어느 하나를 선택하게 되면, 상세내용이 출력되는데, 입출력 타입에 따라 삭제일 때는 before 이미지, 삽입일 때는 after 이미지 그리고 갱신일 때는 before와 after 이미지가 모두 표시된다. If you select any one of them, the details are displayed. Depending on the input and output types, the before image when deleting, the after image when inserting, and the before and after images when updating are displayed.

한편, 상세내역조회 결과 화면에서도 복구기능을 수행할 수 있으며, 이는 상세내역조회 시에 이미 대상되는 트랜잭션 ID가 입력된 상태이기 때문에 별도의 트랜잭션 ID를 입력할 필요없이 진행할 수 있다.On the other hand, the recovery function can also be performed in the detail inquiry result screen, which can be performed without inputting a separate transaction ID since the target transaction ID is already input during the detail inquiry.

또한, 본 발명의 분석시스템은 선택적으로 일괄조회모듈(356)을 포함한다.In addition, the analysis system of the present invention optionally includes a batch query module 356.

도 7을 참조하면, 클라이언트로부터 시작시간과 종료시간정보, 파일명, 입출력 타입 및 출력파일명을 입력받고 서버의 환경파일로부터 설정되어 있는 환경변수를 읽어 들인다. 그리고, 입력된 조건에 따라 감사추적 파일을 분석하여 클라이언트에 제공할 포맷으로 변환하여 지정된 출력파일명의 결과파일을 생성하며, 생성된 파일은 FTP로 클라이언트가 지정한 경로로 전송될 수 있다.Referring to FIG. 7, a start time and end time information, a file name, an input / output type, and an output file name are input from a client, and environment variables set from an environment file of a server are read. Then, the audit trail file is analyzed and converted into a format to be provided to the client according to the input condition to generate a result file of the designated output file name, and the generated file can be transmitted to the path specified by the client by FTP.

본 발명에 따르면, 선택적으로 통계처리모듈(355)을 포함한다.According to the invention, it optionally includes a statistical processing module 355.

통계처리모듈(355)은 특정일 기준 시간대별 또는 특정 파일에 대해 발생한 모든 데이터 변경건수를 제시하며, 정상 처리건수와 롤백(rollback)된 처리건수를 구분하고 입출력 타입에 따라 구분하여 출력한다.The statistics processing module 355 presents all data change cases generated for a specific time zone or a specific file, and distinguishes between normal processing rolls and rolled back processing numbers and outputs them according to input / output types.

도 8과 도 9를 각각 참조하면, 특정일 기준 시간대별 또는 특정 파일별로 통계 처리하기 위한 화면을 보여주고 있는 바, 시작시간과 종료시간정보 그리고 선택적으로 파일명을 입력하면, 이를 기준으로 하여 모든 데이터 변경건수를 제공한다.Referring to FIGS. 8 and 9, a screen for processing statistics by a specific time zone or a specific file is shown. When the start time and end time information and optionally a file name are input, all data based on this are displayed. Provide the number of changes.

시간대별 입출력 통계에 있어서는 특정 파일의 시간대별 데이터 변경건수가 표시되며, 파일별 입출력 통계에 있어서는 설정된 시간 사이에 파일별로 데이터 변경건수가 표시된다. 양자 동일하게 정상 처리건수와 롤백된 처리건수가 구분되며, 각각의 처리건수는 입출력 타입에 따라 삭제, 삽입 및 갱신으로 구분되어 표시된 다.In the I / O statistics by time zone, the number of data changes by time zone of a specific file is displayed. In the I / O statistics by file, the number of data changes by file is displayed during the set time. In the same way, the normal number of processed cases and the number of rolled back cases are distinguished, and each processed number is displayed by being divided into delete, insert, and update according to the input / output type.

또한, 바람직하게, 본 발명의 분석시스템은 파일사용량 체크모듈(357)을 구비하여 사용률이 임계치를 초과하는 파일을 검색하여 File Full을 방지하도록 할 수 있다.Also, preferably, the analysis system of the present invention may include a file usage check module 357 to search for a file whose usage rate exceeds a threshold to prevent file full.

특정 파일명을 지정하여 입력하거나 와일드 카드를 이용할 수 있으며, 기준 사용률을 입력한다. 파일사용량 체크모듈(357)은 지정된 파일들로부터 볼륨정보를 순차적으로 읽어 볼륨정보로부터 파일명에 의해 식별되는 자세한 정보를 얻는다.You can specify a specific file name or use wildcards. The file usage checking module 357 sequentially reads volume information from the designated files and obtains detailed information identified by the file name from the volume information.

분석된 결과는 적절한 포맷으로 가공하여 클라이언트에게 제공되는데, 예를 들어, 파일의 사이즈와 현재 사용량 및 현재 오픈여부가 표시될 수 있다.The analyzed result is processed in an appropriate format and provided to the client. For example, the size of the file, the current usage, and whether the file is currently open can be displayed.

이상에서는 본 발명의 바람직한 실시예를 중심으로 설명하였지만, 당업자의 수준에서 여러 가지의 변형을 가할수 있음은 물론이다. 따라서, 본 발명의 권리범위는 상기한 실시예에 한정되어 판단되어서는 안되며, 이하에 기술되는 특허청구범위에 의해 판단되어야 할 것이다.Although the above has been described with reference to the preferred embodiment of the present invention, various modifications can be made at the level of those skilled in the art. Therefore, the scope of the present invention should not be determined limited to the above embodiment, but should be determined by the claims described below.

이상에서 설명한 바와 같이, 본 발명에 따르면 텐덤 시스템에서 제공하는 TMF를 통한 테이블 단위의 복구와는 별개로 실수나 오류에 의해 잘못 변경된 데이터를 트랜잭션 단위로 복구할 수 있다는 이점이 있다.As described above, according to the present invention, there is an advantage in that, in addition to the table-based recovery through the TMF provided by the tandem system, data that is incorrectly changed by a mistake or an error can be recovered in a transactional unit.

또한, 웹을 통한 사용자 인터페이스로 숙련된 엔지니어에 의하지 않고도 쉽 게 감사추적을 분석하여 데이터 변경 내역을 조회할 수 있다는 이점이 있다. In addition, the web-based user interface has the advantage that it is easy to analyze the audit trail and look up the data change history without having to be an experienced engineer.

Claims (6)

텐덤 시스템에서 트랜잭션 전후의 기록을 보관하는 감사추적을 분석하는 트랜잭션 분석 및 복구 시스템에 있어서,In the transaction analysis and recovery system that analyzes the audit trail that keeps records before and after the transaction in the tandem system, 클라이언트로부터 시작시간과 종료시간정보를 입력받아 감사추적 파일을 결정하여 입력된 시간정보에 따라 분석하고 제 1 포맷으로 상기 클라이언트에 분석결과를 제공하는 특정시간 데이터 변경내역 조회모듈;A specific time data change history inquiry module for receiving a start time and an end time information from a client, determining an audit trail file, analyzing the audit trail file, and providing an analysis result to the client in a first format; 클라이언트로부터 시작시간과 종료시간정보 및 데이터파일 정보를 입력받아 감사추적 파일을 결정하여 시간정보와 데이터파일 정보에 따라 분석하고 제 2 포맷으로 상기 클라이언트에 분석결과를 제공하는 특정파일 데이터 변경내역 조회모듈; 및The specific file data change inquiry module which receives the start time, the end time information and the data file information from the client, determines the audit trail file, analyzes it according to the time information and the data file information, and provides the analysis result to the client in the second format. ; And 클라이언트로부터 트랜잭션 ID를 입력받아 상기 감사추적 파일을 분석하여 상기 트랜잭션 ID에 대한 목록을 추출하여 데이터 파일의 목록을 작성하고 스크립트 파일을 만들어 상기 트랜잭션 ID로 실수나 오류에 의한 변경 데이터를 원래의 상태로 복구하는 복구모듈을 포함하는 것을 특징으로 하는 텐덤 시스템의 트랜잭션 분석 및 복구 시스템.Input the transaction ID from the client, analyze the audit trail file, extract the list for the transaction ID, create a list of data files, create a script file, and change the data by mistake or error to the original state with the transaction ID. Transaction analysis and recovery system of a tandem system comprising a recovery module for recovering. 제 1 항에 있어서, 상기 특정시간 데이터 변경내역 조회모듈이나 특정파일 데이터 변경내역 조회모듈에 의해 1차 조회된 결과로부터 특정 레코드를 선택하여 조회하고자 하는 트랜잭션 ID를 입력하고 자동적으로 최초 RBA와 최초 시퀀스번호를 읽어 들여 상기 트랜잭션 ID에 따라 상기 1차 조회결과로부터 입력된 트랜잭션 ID에 대한 목록을 추출하여 제 3 포맷으로 상기 클라이언트에 제공하는 상세조회모듈을 더 포함하는 것을 특징으로 하는 텐덤 시스템의 트랜잭션 분석 및 복구 시스템.According to claim 1, The specific time data change history inquiry module or the specific file data change history inquiry module selects a specific record from the result of the primary inquiry, and inputs the transaction ID to be queried and automatically inputs the first RBA and the first sequence. Transaction analysis of the tandem system further comprises a detailed query module for reading the number and extracts a list of the input transaction ID from the first inquiry result in accordance with the transaction ID to provide to the client in a third format And recovery system. 제 2 항에 있어서, 상기 제 1 포맷은 시퀀스번호, RBA(Relative Byte Address), 트랜잭션 시간, 트랜잭션 ID, 데이터 파일명 및 입출력 타입으로 구성되고, 제 2 포맷은 시퀀스번호, RBA(Relative Byte Address), 트랜잭션 시간, 트랜잭션 ID 및 입출력 타입으로 구성되며, 제 3 포맷은 트랜잭션 ID, 데이터 파일명, 입출력 타입별 건수 및 처리결과로 구성되는 것을 특징으로 하는 텐덤 시스템의 트랜잭션 분석 및 복구 시스템.3. The method of claim 2, wherein the first format includes a sequence number, a relative byte address (RBA), a transaction time, a transaction ID, a data file name, and an input / output type, and the second format includes a sequence number, a relative byte address (RBA), And a third format comprises a transaction ID, a data file name, the number of I / O types, and a processing result. The transaction analysis and recovery system of a tandem system. 제 1 항에 있어서, 상기 클라이언트로부터 시작시간과 종료시간정보, 파일명, 입출력 타입 및 출력파일명을 입력받고 서버의 환경파일로부터 설정되어 있는 환경변수를 읽어 들여 상기 입력된 조건에 따라 상기 감사추적 파일을 분석하여 상기 클라이언트에 제공할 포맷으로 변환하여 지정된 출력파일명의 결과파일을 생성하는 일괄조회모듈을 더 포함하는 것을 특징으로 하는 텐덤 시스템의 트랜잭션 분 석 및 복구 시스템.The method according to claim 1, wherein the audit trail file is read according to the input condition by receiving a start time and end time information, a file name, an input / output type, and an output file name from the client, and reading environment variables set from an environment file of a server. And a batch query module for analyzing and converting the file into a format to be provided to the client to generate a result file of a specified output file name. 제 1 항에 있어서, 시작시간과 종료시간정보 그리고 선택적으로 파일명을 입력받아 상기 감사추적 파일을 분석하여 발생한 모든 데이터 변경건수를 특정 파일의 시간대별 데이터 변경건수 또는 설정된 시간 사이에 파일별 데이터 변경건수로 표시하며, 상기 데이터 변경건수는 정상 처리건수와 롤백된 처리건수로 구분하고 각각을 다시 입출력 타입에 따라 구분하여 표시하는 통계처리모듈을 더 포함하는 것을 특징으로 하는 텐덤 시스템의 트랜잭션 분석 및 복구 시스템.According to claim 1, The start time and the end time information and optionally the file name received by analyzing the audit trail file all the data changes generated by the number of data changes per time zone of the specific file or the number of data changes per file between the set time The data change number is divided into normal processing number and rolled back processing number, and the transaction analysis and recovery system of the tandem system further comprises a statistical processing module for classifying and displaying each again according to the input / output type. . 제 1 항에 있어서, 파일명을 지정하고 기준 사용률을 입력하여, 상기 지정된 파일들로부터 볼륨정보를 순차적으로 읽어 볼륨정보로부터 파일명에 의해 식별되는 자세한 정보를 얻고, 이를 분석하여 분석된 결과를 적절한 포맷으로 가공하여 상기 클라이언트에게 제공하는 파일사용량 체크모듈을 더 포함하는 것을 특징으로 하는 텐덤 시스템의 트랜잭션 분석 및 복구 시스템.The method of claim 1, wherein the file name is specified and a reference usage rate is input to sequentially read volume information from the designated files to obtain detailed information identified by the file name from the volume information, and to analyze the result in an appropriate format. Transaction processing and recovery system of the tandem system, characterized in that it further comprises a file usage check module for processing and providing to the client.
KR1020040016936A 2004-03-12 2004-03-12 Transaction Analysing System for Tandem system KR100567813B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040016936A KR100567813B1 (en) 2004-03-12 2004-03-12 Transaction Analysing System for Tandem system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040016936A KR100567813B1 (en) 2004-03-12 2004-03-12 Transaction Analysing System for Tandem system

Publications (2)

Publication Number Publication Date
KR20050091470A KR20050091470A (en) 2005-09-15
KR100567813B1 true KR100567813B1 (en) 2006-04-05

Family

ID=37273151

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040016936A KR100567813B1 (en) 2004-03-12 2004-03-12 Transaction Analysing System for Tandem system

Country Status (1)

Country Link
KR (1) KR100567813B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100920414B1 (en) * 2008-05-30 2009-10-07 (주)제니퍼소프트 A system and method tracing the java stack at the designated point of java process transactions
KR102309667B1 (en) * 2019-11-27 2021-10-08 주식회사 티맥스 소프트 Method and device for end-to-end monitoring situation of massive transaction efficiently in order to input and output trace information at high speed
CN112162832B (en) * 2020-09-08 2024-02-09 北京人大金仓信息技术股份有限公司 Method and device for realizing audit data storage under multi-version concurrency control

Also Published As

Publication number Publication date
KR20050091470A (en) 2005-09-15

Similar Documents

Publication Publication Date Title
US8244792B2 (en) Apparatus and method for information recovery quality assessment in a computer system
KR101099199B1 (en) System and method for a snapshot query during database recovery
US7127475B2 (en) Managing data integrity
JP6048038B2 (en) Information processing apparatus, program, and information processing method
EP1513065A1 (en) File system and file transfer method between file sharing devices
US8001075B2 (en) Log file amnesia detection
EP2357562A1 (en) System for assisting with execution of actions in response to detected events, method for assisting with execution of actions in response to detected events, assisting device, and computer program
JP5452030B2 (en) Integrated log generation device, integrated log generation program, and recording medium
US20060004839A1 (en) Method and system for data processing with data replication for the same
JP2012509520A (en) Information recovery method and apparatus using snapshot database
US10459804B2 (en) Database rollback using WAL
JP3830389B2 (en) Internet-based remote data and file recovery system and method
JP2006302170A (en) Log management method and device
GB2489147A (en) System, method and program for checking consistency of pointers in hierarchical database
CN109753382B (en) Recovery method and system for database deleted records
JP4383484B2 (en) Message analysis apparatus, control method, and control program
US7653663B1 (en) Guaranteeing the authenticity of the data stored in the archive storage
JP5294002B2 (en) Document management system, document management program, and document management method
KR100567813B1 (en) Transaction Analysing System for Tandem system
JP6884930B2 (en) Document search device, document search program, document search method
JPH07239854A (en) Image filing system
JP2007200047A (en) Access log-displaying system and method
KR20050046373A (en) Method and system for managing log-file
CN106293897B (en) Automatic scheduling system of subassembly
JP2002351702A (en) Method and device for preparing terminal operation statistical data utilizing online

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: 20130328

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20140110

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20160325

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20190328

Year of fee payment: 14