Claims (5)
주메모리에 바탕을 둔 DBMS(Data Base Management System)가 분산 구조를 갖는 분산 시스템에 적용되는 방법에 있어서, 데이타 조작어 처리기(EDMLP)에서 데이타의 고속 변경에 필요한 정보를 생성하는 제1단계(21) ; 상기 제1단계(21) 수행 후, 변경하고자 하는 튜플의 주기억장치내 주소를 구한 후에 릴레이션의 범위이내이면 변경하고자 하는 튜플의 존재여부를 조사하는 제2단계(22 내지 28) ; 및 상기 제2단계(22 내지 26)수행 후, 컴파일 시간때 생성한 애트리뷰트의 변경정보를 이용하여 DBMS를 호출하여 변경을 수행한 후에 고속 변경 결과를 출력하고 종료하는 제3단계(29, 30)를 구비하는 것을 특징으로 하는 분산 시스템에서 DBMS의 데이타 고속 변경 방법.In a method in which a data base management system (DBMS) based on main memory is applied to a distributed system having a distributed structure, a first step (21) of generating information necessary for fast change of data in an data manipulation processor (EDMLP) ); A second step (22 to 28) of checking whether a tuple to be changed exists within the relation after obtaining the address in the main memory of the tuple to be changed after performing the first step 21; And after performing the second steps (22 to 26), after the change is performed by calling the DBMS using the change information of the attribute generated at compile time, the third steps (29 and 30) are outputted and finished. Fast data change method of the DBMS in a distributed system comprising a.
제1항에 있어서, 상기 제1단계(21)의 데이타의 고속 변경에 필요한 정보는, 데이타의 고속 변경으로 제시된 릴레이션중 가장 큰 릴레이션을 수용하는 데이타 구조, 튜플의 주기억장치내 주소를 저장할 변수, 고속으로 변경할 애트리뷰트 변경정보를 저장하는 데이타 구조 및 릴레이션의 사용자 영역 주소를 구비하는 것을 특징으로 하는 분산 시스템에서 DBMS의 데이타 고속 변경 방법.2. The information of claim 1, wherein the information required for fast change of data in the first step 21 includes: a data structure accommodating the largest relation among the relations presented by the fast change of data, a variable to store the address in the main memory of the tuple; And a data structure for storing attribute change information to be changed at a high speed, and a user area address of a relation.
제1항에 있어서, 상기 제2단계(22 내지 28)는, 릴레이션의 주기억장치내 시작주소를 사용자가 사용한 데이타 조작어 처리기(EDML) 명령어 수행 결과로부터 구하고, 데이타 고속 변경 명령어의 검증절에 존재하는 키 애트리뷰트에 주어진 검증 값을 미리 생성되어 있는 튜플의 크기와 곱하여 릴레이션내의 원하는 튜플까지의 상대적인 거리를 구하는 제4단계(22, 23) ; 상기 제4단계(22, 23) 수행 후, 상기 릴레이션의 주기억장치내 시작주소와 릴레이션내 원하는 튜플까지의 상대적인 거리를 더하여 변경하려는 튜플의 주기억장치내 절대적인 주소를 구한 후에 데이타 고속 변경 명령어의 검중절에 사용한 값을 이용한 튜플의 상대적인 순서값이 해당 릴레이션의 튜플수 이내에 있는지 조사하는 제5단계(24, 25) ; 상기 제5단계(24, 25) 수행 후, 해당 릴레이션의 튜플수의 범위를 넘는 경우에는 음수값 또는 범위 초과의 에러를 보고하고 종료하는 제6단계(26) ; 및 상기 제5단계(24, 25) 수행 후, 해당 릴레이션의 튜플수의 범위를 넘지않는 경우에는 튜플의 존재 여부를 조사하여 튜플이 이미 삭제되었으면 튜플 없음 에러를 보고하고 종료하는 제7단계(27, 28)를 구비하는 것을 특징으로하는 분산 시스템에서 DBMS의 데이타 고속 변경 방법.2. The method of claim 1, wherein the second steps (22 to 28) are obtained from a result of executing a data manipulation word processor (EDML) instruction used by a user from the start address of the relation main memory, and is present in a verification clause of a data fast change instruction. A fourth step (22, 23) of obtaining a relative distance to a desired tuple in a relation by multiplying a verification value given to a key attribute by a size of a previously generated tuple; After performing the fourth steps 22 and 23, the absolute address in the main memory of the tuple to be changed is obtained by adding the relative distance between the start address in the main memory of the relation and the desired tuple in the relation, and then checking the data fast change instruction. A fifth step (24, 25) of examining whether or not the relative order value of the tuple using the value used in the relation is within the number of tuples of the relation; A sixth step (26) of reporting a negative value or an error exceeding a range when the number of tuples of the relation is exceeded after performing the fifth step (24, 25); And after performing the fifth step (24, 25), if it does not exceed the range of the number of tuples of the relation, the seventh step (27) if the tuple is not present and if the tuple has already been deleted, the tuple no error is reported and terminated. And 28) a method of changing data fast in a DBMS in a distributed system.
제3항에 있어서, 상기 제5단계(24, 25)의 릴레이션의 범위 조사는, 검증절에 사용된 값이 1과 미리 정의되어 있는 최대 튜플수 사이의 값을 벗어나는지 조사하는 것을 특징으로 하는 분산 시스템에서 DBMS의 데이타 고속 변경 방법.4. The range checking of the relation of the fifth step (24, 25) is characterized by checking whether the value used in the verification clause deviates between a value between 1 and a predefined maximum number of tuples. A fast data change method of DBMS in distributed system.
제3항에 있어서, 상기 제7단계(27, 28)의 변경하고자 하는 튜플의 존재여부조사는, 튜플의 주기억장치내 시작주소의 처음 1바이트를 조사하는 것을 특징으로 하는 분산 시스템에서 DBMS의 데이타 고속 변경 방법.4. The DBMS data of the distributed system according to claim 3, wherein the existence of the tuple to be changed in the seventh step (27, 28) is examined by examining the first 1 byte of the start address in the main memory of the tuple. Fast change way.
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.