KR940015813A - File Management Method of Transaction Processing System - Google Patents

File Management Method of Transaction Processing System Download PDF

Info

Publication number
KR940015813A
KR940015813A KR1019920025014A KR920025014A KR940015813A KR 940015813 A KR940015813 A KR 940015813A KR 1019920025014 A KR1019920025014 A KR 1019920025014A KR 920025014 A KR920025014 A KR 920025014A KR 940015813 A KR940015813 A KR 940015813A
Authority
KR
South Korea
Prior art keywords
file
transaction
closing
transaction processing
tpipc
Prior art date
Application number
KR1019920025014A
Other languages
Korean (ko)
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 KR1019920025014A priority Critical patent/KR940015813A/en
Publication of KR940015813A publication Critical patent/KR940015813A/en

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

본 발명은 UNIX System V 3.1의 커널수준(kernel level)에서 트랜잭션 처리(Transaction Processing)기능이 수행될 수 있도록 하고, 다중처리 시스템에서 동작 가능한 트랜잭션 처리시스템에 관한 것으로, 트랜잭션 기능, 록백(Roll-back)기능, 사전 이미지 로깅기능, Intent locking기능, 레코드 수준의 잠금기능, 회복기능, TPIPC(Transaction Processing Inter-Process Communication)기능 등을 추가한 트랜잭션 처리시스템 중 화일관리 방법을 제공하는 것을 목적으로 한다.The present invention relates to a transaction processing system that enables a transaction processing function to be performed at the kernel level of UNIX System V 3.1 and that can be operated in a multi-processing system. It aims to provide a file management method among transaction processing systems that adds functions, pre-image logging, intent locking, record-level locking, recovery, and TPIPC (Transaction Processing Inter-Process Communication).

Description

트랜잭션 처리시스템의 화일관리방법File Management Method of Transaction Processing System

본 내용은 요부공개 건이므로 전문내용을 수록하지 않았음Since this is an open matter, no full text was included.

제1도는 본 발명이 적용된 트랜잭션 처리시스템의 전체 구성을 나타낸 블럭도.1 is a block diagram showing the overall configuration of a transaction processing system to which the present invention is applied.

Claims (5)

다중처리시스템에서 데이타 화일을 관리하는 방법에 있어서, 사용자 입력오류가 없으면 사용자 화일 정의자와 해당화일의 아이노드를 얻어 화일을 여는 단계와, 열려진 화일의 포인터를 얻어 현프로세서가 트랜잭션상태인지 비트랜잭션 상태인지를 구별하고 상기 현프로세서의 상태에 따라서 화일을 읽거나 원하는 화일에 쓰기를 수행하능 단계와, 트랜잭션 종료 또는 취소를 위한 화일단기 요구에 응하여 화일닫기 처리를 수행하는 단계를 포함하는 것을 특징으로 하는 트랜잭션 처리시스템의 화일관리방법.A method of managing data files in a multiprocessing system, wherein if there is no user input error, obtaining the user file definer and the inode of the file to open the file, and obtaining the pointer of the open file to determine whether the current processor is in a transactional state. Distinguishing whether the file is in a state and reading a file or writing to a desired file according to the state of the current processor, and performing a file closing process in response to a file short-term request for terminating or canceling a transaction. File management method of a transaction processing system. 제1항에 있어서, 상기 화일을 여는 단계는 트랜잭션 처리가 수행될 화일을 통제모드로 열되 화일지연 구조를 형성하여 트랜잭션 테이블의 지연화일리스트에 연결시키는 단계와, 사용자의 요구가 있는 경우 화일의 잠금형태를 잠금관리 유니트로 제공하는 단계와, 화일열기 처리에 오류가 없으면 열려진 아이노드를 해당 화일의 슈퍼블록에 연결하는 단계를 포함하는 것을 특징으로 하는 트랜잭션 처리시스템의 화일관리방법.The method of claim 1, wherein the opening of the file comprises: opening a file in which a transaction processing is to be performed in a controlled mode, forming a file delay structure, and linking the file to a delayed file list of a transaction table; And providing a form to the lock management unit, and connecting the open inode to the superblock of the corresponding file if there is no error in the file opening process. 제1항에 있어서, 상기 화일 읽기 단계는 화일의 모드가 TPIPC모드이면 화일의 원하는 부분을 확인하여 처리하고 해당 TPIPC를 읽는 단계와, 트랜잭션인 경우 읽기를 원하는 화일에 대해 다른 프로세스와의 잠금충돌을 확인한 뒤 화일에 레코드 수준 공유잠금을 얻어서 읽는 단계를 포함하는 것을 특징으로 하는 트랜잭션 처리시스템의 화일관리방법.The method of claim 1, wherein the reading of the file comprises: checking and processing a desired portion of the file when the file is in TPIPC mode, and reading a corresponding TPIPC; The file management method of a transaction processing system comprising the step of obtaining and reading a record-level shared lock on a file after checking. 제1항에 있어서, 상기 화일쓰기 단계는 화일의 모드가 TPIPC모드이면 오프셋을 확인하여 처리하고 해당 TPIPC에 자료를 쓰는 단계와, 쓰려고 하는 화일의 크기가 해당 아이노드 보다 클경우 다른 프로세서가 상기 화일을 쓰지 못하도록 하고 현재의 위치에서 화일의 최대 크기까지 변경된 화일의 크기가 갱신전 이미지를 로그에 기록하고 화일에 변경내용을 기록하는 단계와, 오류발생시 화일모드가 트랜잭션 모드이면 트랜잭션 수행을 중지시키고 정상이면 회복처리를 위한 인텐트 로깅을 수행하는 단계를 포함하는 것을 특징으로 하는 트랜잭션 처리시 스템의 화일관리방법.The method of claim 1, wherein the writing of the file comprises: checking and processing an offset when the file is in TPIPC mode, and writing data to the TPIPC; Log file before the update and record the changes in the file, if the file size changed from the current location to the maximum size of the file is changed, and if the file mode is in transaction mode when an error occurs, stops the transaction and resumes normal operation. And performing intent logging for recovery processing. 제1항에 있어서, 상기 화일닫기 단계는 트랜잭션 처리중의 화일닫기 요구가 있으면 트랜잭션 종료시까지 지연시키는 단계와, 트랜잭션 종료 또는 취소시 지연된 화일닫기 요구를 수용하여 화일닫기를 수행한 후 트랜잭션 모드인 경우 수퍼블록에서 아이노드를 제거하고 화일 테이블을 반납하는 단계를 포함하는 것을 특징으로 하는 트랜잭션 처리시스템의 화일관리방법.The method of claim 1, wherein the closing of the file comprises delaying the closing of the file if there is a closing request during transaction processing, and performing a closing of the file by accepting the delayed closing of the file. Removing the inode from the superblock and returning the file table. ※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.
KR1019920025014A 1992-12-22 1992-12-22 File Management Method of Transaction Processing System KR940015813A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019920025014A KR940015813A (en) 1992-12-22 1992-12-22 File Management Method of Transaction Processing System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019920025014A KR940015813A (en) 1992-12-22 1992-12-22 File Management Method of Transaction Processing System

Publications (1)

Publication Number Publication Date
KR940015813A true KR940015813A (en) 1994-07-21

Family

ID=67214980

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019920025014A KR940015813A (en) 1992-12-22 1992-12-22 File Management Method of Transaction Processing System

Country Status (1)

Country Link
KR (1) KR940015813A (en)

Similar Documents

Publication Publication Date Title
KR101099199B1 (en) System and method for a snapshot query during database recovery
US7058667B2 (en) Method and system for creating and maintaining version-specific properties in a file
US6598060B2 (en) Method and system for creating and maintaining version-specific properties in a distributed environment
US7051053B2 (en) Method of lazily replicating files and monitoring log in backup file system
US9367579B1 (en) System and method for maintaining a file change log within a distributed file system
KR20040088397A (en) Transactionally consistent change tracking for databases
KR20090080079A (en) Virtual deletion in merged file system directories
CA2495469A1 (en) Asynchronous information sharing system
EP0550372A2 (en) A data dictionary manager for maintaining an active data dictionary
US20020065834A1 (en) Maintenance of data integrity during transfer among computer networks
Nightingale et al. Speculative execution in a distributed file system
JPH0642215B2 (en) Distributed monitoring subsystem
US7827135B2 (en) Method and apparatus for relaxed transactional isolation in a client-server caching architecture
Kistler Increasing file system availability through second-class replication
JP3476973B2 (en) Distributed computing system
KR940015813A (en) File Management Method of Transaction Processing System
CN112612647B (en) Log parallel replay method, device, equipment and storage medium
Donnelley Distributed Capability Computing System (DCCS)
JP3196925B2 (en) Relational database delay constraint check method
Ousterhout The role of distributed state
KR950011056B1 (en) Method of log/recovery management in transaction processing system
KR920014051A (en) Database Backup and Recovery Method in DBMS of Electronic Switching System
US7209919B2 (en) Library server locks DB2 resources in short time for CM implicit transaction
US10657054B2 (en) Handling renames in an overlay optimizer
KR950011057B1 (en) Mehtod of space and buffer management of transaction processing system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application