Abstract:
PURPOSE: A method for controlling a state and keeping consistency on a dual DBMS(DataBase Management System) is provided to make the state of the DBMS respectively operated in an active DBMS and a standby DBMS at one time point, and keep the consistency of the dual DBMS by improving the state control and an operation process. CONSTITUTION: An internal state of each DBMS is installed(301). At an initial operation, an initial state is fixed by receiving the state of a system including the DBMS, and the internal state of each DBMS and a matched DBMS. For a normal operation after initialization, the internal state of each DBMS is changed based on the state of the system and the state information transmitted/received between the matched DMBSs(307,308,315).
Abstract:
PURPOSE: A method for visualizing path expression in object-relational DBMS is provided to prepare various and sophisticated queries in a graphical query language. CONSTITUTION: If a client selects a corresponding database(S10) and selects a corresponding class(S20), a GQL(Graphical Query Language) system reads attribute information from a system catalogue of an ORDBMS(Object-Relational DBMS), and writes the read attribute information(S100). The GQL system displays the attribute information in a line of a class box(S30). If the client executes a double click of a query objected attribute(S200), a domain class of the attribute is decided, the GQL system reads the attribute information from an ORDB(Object-Relational DataBase), and creates new class box(S300). If the client clicks a wanted attribute in an attribute list of new class box, the GQL system reads information corresponded to a domain class of the attribute from the ORDB, and creates another class box(S400). If the client checks a path expression displayed as three class boxes, the client selects and inputs a wanted operator and condition value in an operator column and a condition value column out of three class boxes(S500). Thus, a query condition with respect to an attribute is prepared(S40). The GQL system converts a graphic query of a client into a text query, and transmits the query to the ORDBMS(S50).
Abstract:
PURPOSE: A method for analyzing and transforming a dataset of an overlapped structure on a navigation based data model is provided to effectively control a cursor used for providing the successive approach to the dataset satisfying a condition in a storing system securing the reference integrity of an object identifier while residing in a main memory. CONSTITUTION: A data application program(101) carries out a query to a client terminal and the query is transferred to a data server(103) through the Internet. The data server including a cursor(108) approaches to the dataset embedded in the main memory(104) of a system. Thus, the data server receives a query from the data application program and the query is parsed by a query processor(107). The parsed query is analyzed by the data server and the result is transferred to the data application program by extracting from the main memory. In case that the result includes many objects, the result is divisionally transferred through the cursor. The cursor includes a details list(111), a condition valuation part(112), a catalogue(115), a dataset approach part(110) and a dataset extractor(109).
Abstract:
PURPOSE: A device and a method for the backup/recovery without processing a log on an MMDB(Main-Memory DataBase system) are provided to improve the performance of the entire system by directly copying a page to be updated to a shadow area of a main memory, editing the updated page and finally carrying out the backup for the updated page from the stable storage to a backup disk. CONSTITUTION: A data processor(21) carries out a transaction by using a shadow paging technique and performs the first backup transferring the pages changed by the present transaction to a backup buffer of the stable storage(24) from the shadow area according to the transaction result. A recovery processor(22) performs the second backup transferring the first backup pages to the backup disk(25) and recovers the pages listed up to a backup list by loading to the MMDB area when a system error is occurred. A main storage(23) stores the information for the MMDB area storing an original data of the database and the shadow area storing the contents changed by the present transaction. The stable storage stores the transaction pages processed by the data processor and the backup data to be transferred to the backup disk.
Abstract:
PURPOSE: A technique for detecting an asynchronous deadlock in a transaction processing system is provided to detect a deadlock while minimizing the overhead of a general transaction using a synchronous control technique. CONSTITUTION: A deadlock processor obtains a list(WTL) of transactions in a wait state transaction(Tw)(701). Then the deadlock processor obtains a WFG(Wait-For Graph) for each wait-state transaction(Tw) of the list(WTL)(702). The deadlock processor checks whether a specific transaction is in the wait state(702a). In the case that the specific transaction is in the wait state, the deadlock processor takes the semaphore of the lock header of the waitingREQ of the transaction(702b) and checks whether the waitingREQ of the transaction exists in a lock header waitingList(702c). In the case that the waitingREQ of the transaction does not exist in the lock header waitingList, the deadlock processor releases the semaphore(702e) and processes the next transaction. If the waitingREQ of the transaction exists in the lock header waitingList, the deadlock processor analyzes the obtained WFG and detects a cycle(703). In the case that a cycle exists(704), the deadlock processor appoints one of the transactions related to the cycle as a sacrifice transaction and withdraws it(705).
Abstract:
PURPOSE: A method for managing a lock for an MDBMS(Main-memory DataBase Management System) is provided to support a concurrency control effectively by setting a unit of locking adapted to an MDBMS and supplying new lock managing method without hashing. CONSTITUTION: A partition which is an object to be locked by a transaction is accessed and a latch is set(S1). A lock header is checked(S2) and if a lock is set in a partition, it is checked whether a lock is obtained in the partition previously by a requested transaction(S3). If a lock is obtained in the partition previously, it is checked whether a strength of the obtained lock mode is more than a mode strength of a requested lock(S4). If a strength of the obtained lock mode is not more than a mode strength of a requested lock, it is checked whether the obtained lock is shared with other transaction(S6). If the obtained lock is shared with other transaction, the lock mode is set as a writing mode(S7). In addition, the latch is released and a waiting state is maintained until a time capable of converting the lock(S8). If the lock is converted(S9), the process is returned(S10).
Abstract:
1. 청구범위에 기재된 발명이 속한 기술분야 본 발명은 중복 데이터 일치성 제어 방법에 관한 것임. 2. 발명이 해결하려고 하는 기술적 과제 본 발명은 메모리 데이터베이스뿐만 아니라 분산되어 있는 프로세서들의 디스크 데이터베이스간에 실시간성을 지원하면서 중복 데이터에 대한 일치성을 제공할 수 있는 중복 데이터 일치성 제어 방법 및 그 기록매체를 제공하는데 그 목적이 있음. 3. 발명의 해결방법의 요지 본 발명은, 주 메모리 데이터베이스와 주 디스크 데이터베이스의 중복 데이터를 일치시키는 제 1 단계; 변경 정보를 서브시스템의 메모리 데이터베이스와 서브시스템을 위한 디스크 데이터베이스에 대한 일치성 제어를 수행하는 각 프로세스로 전송하는 제 2 단계; 중복 데이터에 대한 상기 서브시스템들의 메모리 데이터베이스의 일치성 제어를 수행하는 제 3 단계; 및 중복 데이터에 대한 상기 서브시스템들의 디스크 데이터베이스의 일치성 제어를 수행하는 제 4 단계를 포함한다. 4. 발명의 중요한 용도 본 발명은 분산 데이터베이스 관리시스템(DBMS) 등에 이용됨.
Abstract:
1. 청구범위에 기재된 발명이 속한 기술분야 본 발명은 데이터베이스 관리시스템에서 온라인상의 서브시스템 추가/삭제를 지원하기 위한 방법과 그를 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것임. 2. 발명이 해결하려고 하는 기술적 과제 본 발명은 교환기시스템 운용 중 서브시스템의 추가/삭제 요구가 발생할 경우 동작중인 교환기시스템에 대해 패키지 교체를 위한 프로세서의 절체과정없이 서비스를 지속적으로 수행하면서 새로 추가/삭제된 서브시스템의 변경된 형상 정보를 반영하여 중복되어있는 데이터가 존재할 경우 데이터변경에 대한 일치성 제어관리를 지원하는 데이터베이스 관리시스템에서 온라인상의 서브시스템 추가/삭제를 지원하기 위한 방법과 그를 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하는데 그 목적이 있음. 3. 발명의 해결방법의 요지 본 발명은, DBMS가 서브시스템 추가/삭제에대한 형상정보 변경요청을 수신하여 중복 릴레이션 변경금지모드로 하는 단계; DBMS의 형상관련 릴레이션과 시스템 카탈로그내 중복테이블에 서브시스템의 형상정보를 추가/삭제하여 저장수단으로 백업하는 단계; 서브시스템에 대한 로그파일을 생성/삭제한후 중복릴레이션 변경금지를 해제하고, 서브시스템 추가/삭제 요청에대한 처리결과를 전송하는 단계; 및 저장수단 내의 중복릴레이션에 대한 프로세서들의 정보를 포함하는 관련파일을 대체하고, 상기 서브시스템에 대한 데이터베이스를 추가/삭제하는 단계를 포함한다. 4. 발명의 중요한 용도 본 발명은 데이터베이스 관리시스템이 온라인상에서 서브시스템을 추가/삭제가 가능하도록 그 기능을 지원하는데 이용됨.
Abstract:
PURPOSE: A realtime software simulation method using a relative timer is provided to reflect a difference of program performing velocities between a target real time system and a general computer on a test by using a relative timer. CONSTITUTION: If an application program appended kind of a timer being classified in a real time property is inputted(S51), a value of the timer is changed by reflecting a weight value being included in a controller in accordance with the kind of the timer of the program(S52). The application program is performed on an executing time system of a general computer based on the changed timer value(S53). If the timer is performed while the program is performed, a changed timer value is applied by operating a relative timer(S54). The performing result of the application program is analyzed and certified by a developer of the program(S55, S56). It is detected whether the real time property is achieved(S57). If the real time property objected in the target system is achieved, the used weight value is fixed as a weight value of the relative timer controller(S58). If the real time property objected in the target system is not achieved, it is detected whether an adding of new time kind or a re-classification are necessary(S59). If an adding of new time kind or a re-classification are necessary, the corresponding weight value is embodied(S61). A timer kind parameter of the corresponding program is changed in accordance with a timer kind newly appended or adjusted(S62). If the re-classification of the timer kind is not necessary, a weight value of the relative timer controller is modified without modifying the application(S60).
Abstract:
PURPOSE: A method for controlling an extendable hashing directory dividing time of a hash index structure and a method for inserting, deleting and searching an entry using the method are provided to delay a directory separation by using an overflow node being connected to a leaf node. CONSTITUTION: It is decided whether a directory generated as an entry is inserted into an extendable hash at first is "NULL"(S301). If the entry is not "NULL"(S302), new directory is created and an index of a directory made by a bit as much as the directory size is calculated using a hashing function(S303). A bucket being connected to the calculated directory index becomes a home bucket(S304). It is judged whether an overflow bucket exists in the home bucket(S305). If the entry is "NULL"(S302), the above (S303) stage is repeated. If an overflow bucket exists in the home bucket, it is judged whether the last bucket of the overflow bucket being connected by a chain may insert an entry(S306). If the last bucket of the overflow bucket can not insert an entry, new bucket is allocated and connected to the last bucket of the overflow bucket(S307), and the entry is inserted into the last bucket and the process is complected(S308). If an overflow bucket does not exist in the home bucket, it is judged whether the home bucket being connected to the calculated directory index may insert an entry(S309). If the home bucket can insert an entry, an entry is inserted into the home bucket, and the process is completed(S310). If the home bucket can not insert an entry, it is detected whether a local depth is less than a global depth(S311). If a local depth is less than a global depth, two buckets are allocated and the entry in the home bucket is re-hashed(S312), it is decided whether the connected home entry may insert an entry(S313). If the home entry may insert an entry, an entry is inserted into the home bucket(S314), and the process is completed. If the home entry can not insert an entry, new bucket is allocated and an entry is inserted and connected to the home bucket(S315).