KR960018969A - How to change data fast in database management system (DBMS) in analysis system - Google Patents

How to change data fast in database management system (DBMS) in analysis system Download PDF

Info

Publication number
KR960018969A
KR960018969A KR1019940031216A KR19940031216A KR960018969A KR 960018969 A KR960018969 A KR 960018969A KR 1019940031216 A KR1019940031216 A KR 1019940031216A KR 19940031216 A KR19940031216 A KR 19940031216A KR 960018969 A KR960018969 A KR 960018969A
Authority
KR
South Korea
Prior art keywords
tuple
data
relation
dbms
change
Prior art date
Application number
KR1019940031216A
Other languages
Korean (ko)
Other versions
KR0123248B1 (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 KR1019940031216A priority Critical patent/KR0123248B1/en
Publication of KR960018969A publication Critical patent/KR960018969A/en
Application granted granted Critical
Publication of KR0123248B1 publication Critical patent/KR0123248B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2203/00Aspects of automatic or semi-automatic exchanges
    • H04M2203/55Aspects of automatic or semi-automatic exchanges related to network data storage and management
    • H04M2203/558Databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

본 발명은 분산 시스템에서 DBMS를 통하는 데이타의 고속 변경 방법에 관한 것으로, 주기억장치에 바탕을 둔 환경에서 사용자에게는 DBMS를 통하는 것과 같은 효과를 제공하고 실제로는 DBMS를 최소로 거쳐 데이타 변경이 가능하게 하기 위하여, 데이타 조작어 처리기(EDMLP)에서 데이타의 고속 변경에 필요한 정보를 생성하는 제1단계(21) ; 변경하고자 하는 튜플의 주기억장치내 주소를 구한 후에 릴레이션의 범위 이내이면 변경하고자 하는 튜플의 존재여부를 조사하는 제2단계(22 내지 28) ; 및 컴파일 시간때 생성한 애트리뷰트의 변경정보를 이용하여 DBMS를 호출하여 변경을 수행한 후에 고속 변경 결과를 출력하고 종료하는 제3단계(29, 30)를 구비하여 검색시간이 아주 짧고 애트리뷰트 변경도 매우 빠르고 원하는 튜플에 접근하는 과정이 릴레이션내에서 튜플의 위치에 관계없이 걸리는 시간이 동일하고 응용 프로그램의 실시간 처리가 가능하고 범용 주기억장치 DBMS에서도 사용할 수 있어 그 응용 분야가 크고 사용자의 오류를 초기에 발견할 수 있어 응용 프로그램 개발시간을 단축할 수 있는 효과가 있다.The present invention relates to a fast change method of data through a DBMS in a distributed system, to provide a user with an effect such as through a DBMS in an environment based on main memory, and to actually change the data through a DBMS. A first step 21 for generating information necessary for fast change of data in the data manipulation word processor EDMLP; A second step (22 to 28) of checking the existence of the tuple to be changed if it is within the relation range after obtaining the address in the main memory of the tuple to be changed; And a third step (29, 30) of calling the DBMS using the change information of the attribute created at compile time to perform the change, and outputting the result of the fast change and terminating it. The process of accessing a fast and desired tuple regardless of the location of the tuple in the relation is the same, real-time processing of the application, and it can be used in a general-purpose main memory DBMS. This can shorten the application development time.

Description

분석 시스템에서 데이타베이스 관리시스템 (DBMS)의 데이타 고속 변경 방법How to change data fast in database management system (DBMS) in analysis system

본 내용은 요부공개 건이므로 전문내용을 수록하지 않았음As this is a public information case, the full text was not included.

제1도는 본 발명이 적용되는 전전자 교환기에서 주메모리 DBMS의 분산 구조도,1 is a distributed structure diagram of a main memory DBMS in an electronic switch according to the present invention;

제2도는 전전자 교환기의 DBMS에서 데이타 고속 변경 방법을 구현하기 위한 블록간의 구성과 메시지의 흐름을 나타내는 구조도,2 is a structural diagram showing the structure and message flow between blocks for implementing a fast data change method in a DBMS of an electronic switchgear;

제3도는 본 발명에 따라 변경하려는 튜플의 주기억장치내 주소를 구하는 예시도.3 is an exemplary diagram for obtaining an address in a main memory of a tuple to be changed according to the present invention.

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.
KR1019940031216A 1994-11-25 1994-11-25 Translation method of dbms KR0123248B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019940031216A KR0123248B1 (en) 1994-11-25 1994-11-25 Translation method of dbms

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019940031216A KR0123248B1 (en) 1994-11-25 1994-11-25 Translation method of dbms

Publications (2)

Publication Number Publication Date
KR960018969A true KR960018969A (en) 1996-06-17
KR0123248B1 KR0123248B1 (en) 1997-11-21

Family

ID=19398997

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940031216A KR0123248B1 (en) 1994-11-25 1994-11-25 Translation method of dbms

Country Status (1)

Country Link
KR (1) KR0123248B1 (en)

Also Published As

Publication number Publication date
KR0123248B1 (en) 1997-11-21

Similar Documents

Publication Publication Date Title
US20020083054A1 (en) Scoping queries in a search engine
KR880005522A (en) Database address determination method and apparatus
CN108710662B (en) Language conversion method and device, storage medium, data query system and method
CN105373541A (en) Processing method and system for data operation request of database
CN102591855A (en) Data identification method and data identification system
US5347652A (en) Method and apparatus for saving and retrieving functional results
Willett Document retrieval experiments using indexing vocabularies of varying size. II. Hashing, truncation, digram and trigram encoding of index terms
CN112860730A (en) SQL statement processing method and device, electronic equipment and readable storage medium
US20030023584A1 (en) Universal information base system
CN108108379B (en) Keyword word expansion method and device
US20200218748A1 (en) Multigram index for database query
KR960018969A (en) How to change data fast in database management system (DBMS) in analysis system
US20060101045A1 (en) Methods and apparatus for interval query indexing
CN110569243B (en) Data query method, data query plug-in and data query server
CN111159205A (en) Data processing method and system
JPH1185787A (en) Method for retrieving and registering information having link structure
CN114722041A (en) Data duplicate checking method, device and medium
KR101921123B1 (en) Field-Indexing Method for Message
KR920014055A (en) Direct Approach in DBMS of Electronic Switching System
JP3328995B2 (en) Information retrieval system
KR910005150A (en) Calculator and the calculation method used in this calculator
CN114385664A (en) Splitting method, system, device and storage medium for single project micro-service
CN116126795A (en) Log retrieval method and device, electronic equipment and storage medium
KR0123400B1 (en) Pld structure of cdma system
KR970059963A (en) How to create a table in a database management system

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

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee