KR101063577B1 - Schema and stored procedure real-time management system and method of large database - Google Patents

Schema and stored procedure real-time management system and method of large database Download PDF

Info

Publication number
KR101063577B1
KR101063577B1 KR1020040078425A KR20040078425A KR101063577B1 KR 101063577 B1 KR101063577 B1 KR 101063577B1 KR 1020040078425 A KR1020040078425 A KR 1020040078425A KR 20040078425 A KR20040078425 A KR 20040078425A KR 101063577 B1 KR101063577 B1 KR 101063577B1
Authority
KR
South Korea
Prior art keywords
information
stored
schema
management
large database
Prior art date
Application number
KR1020040078425A
Other languages
Korean (ko)
Other versions
KR20060029466A (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 KR1020040078425A priority Critical patent/KR101063577B1/en
Publication of KR20060029466A publication Critical patent/KR20060029466A/en
Application granted granted Critical
Publication of KR101063577B1 publication Critical patent/KR101063577B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/40Data acquisition and logging

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

본 발명은 대용량데이터베이스를 구성하는 스키마 및 저장프로시저의 변경사항을 실시간으로 관리하고 개발자에게 제공하는 대용량 데이터베이스의 스키마 및 저장프로시저 실시간 관리시스템 및 방법에 관한 것이다.The present invention relates to a schema and stored procedure real-time management system and method of a large database for managing changes in the schema and stored procedures constituting a large database in real time and providing the developer.

본 발명에 따른 대용량데이터베이스의 스키마 및 저장프로시저 실시간 관리시스템은, 대용량데이터베이스로부터 메타정보를 가져와 상기 대용량데이터베이스의 스키마 및 저장프로시저에 관한 정보를 관리하는 DB관리테이블과, 상기 대용량데이터베이스와 접속하여 상기 대용량데이터베이스로부터 메타정보를 가져와 상기 DB관리테이블에 저장되어 있는 메타정보를 비교하여 일치하지 않는 경우, 상기 대용량데이터베이스를 구성하는 스키마와 저장프로시저가 추가, 수정 또는 삭제 중 적어도 어느 하나가 수행되어 변경된 것으로 판단하고 상기 스키마와 저장프로시저의 변경사항을 상기 DB관리테이블에 갱신하는 데이터베이스접속모듈과, 상기 DB관리테이블에 저장된 상기 대용량데이터베이스의 스키마 및 저장프로시저에 관한 정보를 인터넷을 통해 웹화면으로 제공하는 웹서비스제공부를 구비한 것을 특징으로 한다.Schema and stored procedure real-time management system of a large database in accordance with the present invention, the DB management table for managing the information about the schema and stored procedures of the large database by taking meta information from the large database, and connected to the large database If the meta information is obtained from the large database and the meta information stored in the DB management table is not matched, the schema and stored procedure constituting the large database are added, modified, or deleted. A database connection module for determining that the change has been made and updating the schema and stored procedure changes to the DB management table, and information on the schema and stored procedure of the large database stored in the DB management table. It is characterized in that it includes parts of available web services provided by the web screen.

저장프로시저, 데이터베이스, 웹서비스, 현행화, 스키마, 테이블Stored procedures, databases, web services, modernization, schemas, tables

Description

대용량데이터베이스의 스키마 및 저장프로시저 실시간 관리시스템 및 방법{realtime management of database schema and stored procedure in large volume database} Real-time management of database schema and stored procedure in large volume database}             

도 1은 본 발명의 한 실시예에 따른 대용량데이터베이스의 스키마 및 프로시저 실시간 관리방법을 실행하는 시스템을 도시한 기능 블록도,1 is a functional block diagram showing a system for executing a schema and procedure real-time management method of a large database according to an embodiment of the present invention;

도 2는 DB관리테이블에 저장되는 정보를 도시한 도면,2 is a diagram showing information stored in a DB management table;

도 3은 본 발명에 따른 데이터베이스접속모듈에서의 대용량데이터베이스의 스키마 및 저장프로시저 실시간 관리방법을 도시한 동작 흐름도이다.3 is a flowchart illustrating a method of managing a schema and a stored procedure real time of a large database in the database access module according to the present invention.

< 도면의 주요 부분에 대한 부호의 간단한 설명 >     BRIEF DESCRIPTION OF THE DRAWINGS FIG.

11; 대용량데이터베이스 12; 데이터베이스접속모듈11; Large database 12; Database connection module

13; DB관리테이블 14; 웹서비스제공부13; DB management table 14; Web Service Provider

15; 인터넷 16; 클라이언트시스템15; Internet 16; Client system

17; 운영체제
17; operating system

본 발명은 대용량 데이터베이스 개발 방법에 관한 것으로서, 보다 상세하게는 데이터베이스 스키마 및 저장프로시저의 변경사항을 실시간으로 관리하고 개발자에게 제공하는 대용량 데이터베이스의 스키마 및 저장프로시저 실시간 관리시스템 및 방법에 관한 것이다.The present invention relates to a large-scale database development method, and more particularly, to a system and method for managing a schema and stored procedures real-time management of a large database that provides changes to the database schema and stored procedures in real time and provides the developer.

종래에는 데이터베이스를 구축하기 위하여, 중앙처리장치(CPU)의 처리속도의 한계, 하드디스크 용량의 한계, 중앙처리장치와 하드디스크간의 정보를 교환해 주는 통로 역할을 하는 버스 속도의 한계 등과 같은 컴퓨터 하드웨어의 많은 제약사항를 극복하여야 하였다. 종래에는 이와 같은 하드웨어의 제약사항으로 말미암아 대용량데이터베이스를 구축할 수 없기 때문에 동일한 기능을 수행하는 데이터베이스를 지역단위 즉, 분산시스템 형태로 구현하였다. 그러나, 최근 하드웨어가 발전함에 따라 이러한 제약사항이 극복되었으며, 이로 인해 단일의 대용량 데이터베이스를 구축하기 위한 프로젝트가 전세계적으로 진행되고 있다.Conventionally, in order to build a database, computer hardware such as a limitation of a processing speed of a central processing unit (CPU), a limitation of a hard disk capacity, a limitation of a bus speed serving as a path for exchanging information between a central processing unit and a hard disk, and the like. Many of the constraints of. In the related art, since a large database cannot be constructed due to such hardware limitations, a database that performs the same function is implemented in a local unit, that is, in a distributed system form. However, with the recent advances in hardware, these limitations have been overcome, resulting in projects worldwide to build a single large database.

이러한 대용량 데이터베이스의 개발은 여러 개발 모듈로 구성되어 특정 기능 및 분야를 각각의 모듈이 분담하는 형태로 진행되고 있다. 이러한 대용량 데이터베이스를 개발하기 위해서는 각 개발모듈이 형상관리 및 최신 스키마 정보의 확보가 우선적으로 수반되어야 한다. 만약 개발팀간에 서로 다른 스키마 정보를 가진다면, 개발모듈간의 의사소통을 어렵게 할 뿐만 아니라 통합시스템 개발의 지연 및 중복개발 또는 개발결과물의 신뢰도 저하 등의 여러가지 악영향을 초래하게 된다. 따라서, 이러한 문제점을 해결하기 위하여 데이터베이스의 레지스트리에 존재하는 메타정보를 활용하여 전체 개발모듈 구성원에게 실시간으로 동일한 스키마 정보를 제공할 필요가 있다.
The development of such a large database consists of several development modules, and each module shares a specific function and field. In order to develop such a large database, each development module should be accompanied by configuration management and securing the latest schema information. If different development teams have different schema information, it may not only make communication between development modules difficult, but also cause various adverse effects such as delay of integrated system development and redundant development or deterioration of reliability of development results. Therefore, in order to solve this problem, it is necessary to provide the same schema information to all development module members in real time by using meta information existing in the registry of the database.

상기한 종래의 필요성을 충족시키기 위하여 안출된 본 발명의 목적은, 데이터베이스의 메타정보를 이용하여 대용량데이터베이스를 개발할 때 발생하는 스키마 및 저장프로시저의 수시 변동분을 실시간으로 관리하고 개발자에게 제공하는 시스템 및 방법을 제공하기 위한 것이다.
An object of the present invention devised to meet the above-mentioned conventional needs is a system for managing the real-time variation of the schema and stored procedures generated when developing a large-capacity database using meta information of the database and providing the developer in real time; It is to provide a method.

상기한 목적을 달성하기 위한 본 발명에 따른 대용량데이터베이스의 스키마 및 저장프로시저 실시간 관리시스템은, 대용량데이터베이스로부터 메타정보를 가져와 상기 대용량데이터베이스의 스키마 및 저장프로시저에 관한 정보를 관리하는 DB관리테이블과, 상기 대용량데이터베이스와 접속하여 상기 대용량데이터베이스로부터 메타정보를 가져와 상기 DB관리테이블에 저장되어 있는 메타정보를 비교하여 일치하지 않는 경우, 상기 대용량데이터베이스를 구성하는 스키마와 저장프로시저가 추가, 수정 또는 삭제 중 적어도 어느 하나가 수행되어 변경된 것으로 판단하고 상기 스키마와 저장프로시저의 변경사항을 상기 DB관리테이블에 갱신하는 데이터베이스접속모듈과, 상기 DB관리테이블에 저장된 상기 대용량데이터베이스의 스키마 및 저장프로시저에 관한 정보를 인터넷을 통해 웹화면으로 제공하는 웹서비스제공부를 구비한 것을 특징으로 한다.Schema and stored procedure real-time management system of a large database according to the present invention for achieving the above object, DB management table for managing the information about the schema and stored procedures of the large database by taking meta information from the large database; If the meta information stored in the DB management table is not matched by comparing the meta information stored in the DB management table by accessing the large database, the schema and the stored procedure constituting the large database are added, modified or deleted. And a database connection module for determining that at least one of the above is changed and updating the schema and stored procedure changes in the DB management table, and the schema and stored program of the large database stored in the DB management table. Information relating to that service via the Internet Web service provided by the web screen is characterized in that it includes parts.

삭제delete

삭제delete

또한, 본 발명에 따른 대용량데이터베이스의 스키마 및 저장프로시저 실시간 관리방법은, 대용량데이터베이스를 구성하는 스키마와 저장프로시저의 추가, 수정 또는 삭제 중 적어도 어느 하나가 수행되어 변경된 사항을 실시간으로 입력받아 DB관리테이블에 관리하는 데이터베이스접속모듈과, 상기 DB관리테이블에 저장된 상기 대용량데이터베이스의 스키마 및 저장프로시저에 관한 정보를 인터넷을 통해 작업자에게 웹화면으로 제공하는 웹서비스제공부를 구비한 관리시스템에서의 대용량데이터베이스의 스키마 및 저장프로시저 실시간 관리방법에 있어서,
상기 데이터베이스접속모듈이 상기 대용량데이터베이스의 메타정보와 상기 DB관리테이블에 저장되어 있는 메타정보를 비교하는 제1단계와; 상기 비교결과, 상기 DB관리테이블에 저장되어 있는 메타정보와 상기 대용량데이터베이스로부터 수신한 메타정보가 일치하지 않으면 상기 DB관리테이블에 저장되어 있는 메타정보와 상기 대용량데이터베이스로부터 수신한 메타정보간의 차이점을 상기 DB관리테이블에 갱신하고, 상기 차이점이 없으면 바로 다음 단계로 진행하는 제2단계와; 상기 제2단계 수행 후 쓰레드(thread)를 동작 정지시키고, 동작주기가 완료될 때까지 대기하고 있다가 동작주기가 완료되면 상기 제1단계부터 다시 수행하는 제3단계와; 작업자로부터 인터넷을 통해 대용량데이터베이스의 스키마와 저장프로시저의 관리 정보 조회가 요청되면, 상기 웹서비스제공부가 상기 DB관리테이블로부터 작업자가 요청한 정보를 검색하여 해당 작업자 클라이언트시스템에게 제공하는 제4단계를 포함한 것을 특징으로 한다.
In addition, the schema and stored procedure real-time management method of a large database in accordance with the present invention, at least any one of the addition, modification or deletion of the schema and stored procedures constituting the large database is performed to receive the changes in real time DB A large capacity in a management system having a database access module for managing a management table and a web service providing unit that provides a web screen to a worker on the Internet through information on the schema and stored procedures of the large database stored in the DB management table. In the database schema and stored procedure real-time management method,
A first step of the database access module comparing the meta information of the mass database with the meta information stored in the DB management table; As a result of the comparison, if the meta information stored in the DB management table and the meta information received from the large database do not match, the difference between the meta information stored in the DB management table and the meta information received from the large database is determined. A second step of updating the DB management table and proceeding to the next step if there is no difference; A third step of stopping a thread after performing the second step, waiting for an operation period to be completed, and performing the operation again from the first step when the operation period is completed; If the worker is requested to query the management information of the schema and stored procedures of the large database through the Internet, the web service provider includes a fourth step of retrieving the information requested by the worker from the DB management table to the worker client system It is characterized by.

삭제delete

삭제delete

삭제delete

삭제delete

이하, 첨부된 도면을 참조하면 본 발명의 한 실시예에 따른 대용량데이터베 이스의 스키마 및 저장프로시저 실시간 관리시스템 및 방법을 상세하게 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail the schema and stored procedure real-time management system and method of a large database according to an embodiment of the present invention.

도 1은 본 발명의 한 실시예에 따른 대용량데이터베이스의 스키마 및 프로시저 실시간 관리방법을 실행하는 시스템을 도시한 기능 블록도이다.1 is a functional block diagram showing a system for executing a schema and procedure real-time management method of a large database according to an embodiment of the present invention.

본 발명에 따른 시스템은, 대용량데이터베이스(11)와 접속하여 대용량데이터베이스(11)를 구성하는 스키마와 저장프로시저의 변동사항을 실시간으로 입력받아 관리하는 데이터베이스접속모듈(12)과, 데이터베이스접속모듈(12)에 의해 관리되는 대용량데이터베이스(11)의 스키마 및 저장프로시저에 관한 정보를 저장하는 DB관리테이블(13)과, DB관리테이블(13)에 저장된 대용량데이터베이스(11)의 스키마 및 저장프로시저에 관한 정보를 인터넷(15)을 통해 작업자의 클라이언트시스템(16)에게 웹서비스하는 웹서비스제공부(14)를 구비한다. 작업자는 운영체제(17)를 통해 대용량데이터베이스(11)에 접근하여 스키마 및 저장프로시저를 추가, 수정, 삭제 등의 작업을 수행한다.The system according to the present invention is connected to a large database 11, the database connection module 12 for receiving and managing in real time the changes of the schema and stored procedures constituting the large database 11 and the database connection module ( DB management table 13 for storing information about the schema and stored procedures of the large-scale database 11 managed by 12), and the schema and stored procedures of the large-scale database 11 stored in the DB management table 13 Web service provider 14 for web service information to the client system 16 of the worker via the Internet (15). The worker accesses the large-scale database 11 through the operating system 17 and adds, modifies, and deletes schemas and stored procedures.

여기서, 저장프로시저는 대용량데이터베이스의 스키마와 개발 프로그램 사용자 화면간의 인터페이스 기능을 제공하는 프로그램의 일종이다. 개발자의 경우 쿼리(Query)문을 실행하여 직접적인 대용량데이터베이스의 접속을 배제하고, 스키마 변경시 인터페이스 기능을 하는 저장프로시저 프로그램을 변경하여 향후 불가피한 스키마 변경으로 인한 기개발기능에 대한 부정적인 영향을 최소화할 수 있도록 한다. 데이터베이스 내에 탑재된 저장프로시저는 자체 내에 스키마(테이블), 뷰, 사용자 정의함수 등을 직접 접속할 수 있는 기능을 수행한다. 따라서, 스키마(테이블), 뷰, 사용자 정의함수 등이 추가, 수정, 삭제될 경우에는 필수적으로 그 정보 를 담고 있는 저장프로시저의 추가, 수정, 삭제를 수반한다.Here, the stored procedure is a kind of program that provides an interface function between the schema of a large database and the user screen of a development program. Developers can execute query statements to exclude direct large database access, and change stored procedure programs that function as interfaces when schema changes are made to minimize the negative effects on previously developed functions due to inevitable schema changes in the future. To help. Stored procedures embedded in the database can directly access schemas (tables), views, and user-defined functions within themselves. Therefore, when schemas (tables), views, and user-defined functions are added, modified, or deleted, it necessarily involves adding, modifying, and deleting stored procedures that contain the information.

DB관리테이블(13)에 저장되는 정보는 도 2에 도시된 바와 같이 기준정보, 기준정보간 관계정보, 기타정보로 구분된다.Information stored in the DB management table 13 is divided into reference information, relationship information between the reference information, and other information as shown in FIG.

기준정보는 테이블/뷰목록관리정보, 저장프로시저목록관리정보, 응용(application)목록관리정보, 테이블을 구성하는 테이블칼럼정보관리, 테이블의 체계적인 관리를 위한 테이블분류코드정보로 구성된다. 관계정보는 테이블정보, 저장프로시저 및 응용(application) 객체 간의 연관관계를 관리하는 정보로 구성된다. 기타정보는 저장프로시저 내에 호출된 저장프로시저를 관리하기 위한 저장프로시저 계위정보(해당 저장 프로시저와 저장프로시저내에 호출되는 또 다른 저장 프로시저 또는 함수와의 관계)관리, 응용(application) 단의 테이블/뷰 사용정보(개별 응용프로그램(sub program 또는 class)과 개별 응용프로그램이 호출하는 저장프로시저의 정보를 기반으로 하여 추출한 테이블/뷰 등과의 연관관계)관리, 저장프로시저의 오류 및 수행성능을 평가하기 위한 테스트 정보관리, 저장프로시저 개발중에 변경된 각종 이력관리(저장프로시저의 생성,수정,삭제된 이력과 저장프로시저가 호출하여 사용하는 테이블의 생성,수정,삭제된 정보 및 개발자의 요구사항등의 생성,수정,삭제된 정보 관리를 의미), 저장프로시저 사용개발팀/사용자 및 사용목적관리(개발 응용프로그램에서 저장프로시저를 호출하여 사용하는 목적을 웹을 통해 개발자로부터 입력받음), 각 팀 개발자의 질문사항처리 및 테이블 스키마/저장프로시저 변경사항(추가, 수정, 삭제)을 공지하기 위한 게시판으로 구성된다.The standard information consists of table / view list management information, stored procedure list management information, application list management information, table column information management constituting the table, and table classification code information for systematic management of the table. The relationship information consists of information that manages the association between table information, stored procedures, and application objects. The other information is stored procedure hierarchy information (relationship between the stored procedure and another stored procedure or function called within the stored procedure) for managing the stored procedure called in the stored procedure. Management of table / view usage information (association between tables / views extracted based on the information of individual applications (sub programs or classes) and stored procedures called by individual applications), errors in stored procedures, and Test information management to evaluate performance performance, various history management changed during the development of stored procedures (created, modified, deleted history of stored procedures and creation, modification, deleted information of tables called by stored procedures, and It refers to the creation, modification, and deletion of information such as the requirements of the developer.), The development team / user and the purpose of use of the stored procedure management It is composed of bulletin boards for the purpose of calling and using stored procedures from the developer through the web), processing the questions of each team developer, and notifying table schema / stored procedure changes (addition, modification, and deletion). do.

기준정보 중 테이블목록관리정보와 저장프로시저목록관리정보는 대용량데이터베이스관리시스템의 시스템오브젝트 즉, 메타정보를 이용하여 주기적으로 갱신한다. 특정 시점에서 메타정보의 변경이 발생한 경우, 일정 주기가 경과한 후 대용량데이터베이스로부터 변경된 메타정보만을 조회하여 DB관리테이블의 기준정보에 반영시킨다. 또한, 기준정보 중 응용목록관리정보는 전체 개발프로젝트에서 사용하는 응용객체를 특정 디렉토리(directory)에 저장한 후 실행할 때 DB관리테이블의 기준정보에 반영되도록 한다. The table list management information and the stored procedure list management information among the standard information are periodically updated using the system object, that is, meta information, of the large-scale database management system. If the meta information changes at a specific point in time, only the changed meta information is retrieved from the large database after a certain period has elapsed and reflected in the reference information of the DB management table. In addition, the application list management information among the reference information is stored in a specific directory to be applied to the application object used in the entire development project to be reflected in the reference information of the DB management table.                     

관계정보는 기준정보에 저장된 정보(테이블정보, 저장프로시저정보, 응용정보)간의 상호정보를 저장한다. 예를들면, 저장프로시저, 테이블간의 관계를 관리하는 테이블은 저장프로시저의 본문을 조회하여 저장프로시저를 구성하는 테이블정보와의 관계정보를 저장한다. 저장프로시저는 일종의 프로그램으로 사용자들이 테이블, 뷰 등에 직접 접속하는 것을 피하고 개발자의 요구사항에 맞게 테이블이나 뷰의 변동상황과 관계없이 프로그램밍함으로써, 동일한 정보를 응용단에 전달하는 역할을 한다. 이러한 저장프로시저는 사용자의 요청에 따라 그때 그때 변경되기 쉽기 때문에, 저장프로시저를 구성하는 테이블정보를 실시간으로 보여줌으로써, 향후 테이블의 칼럼추가, 속성변경 등이 발생할 경우 관련된 저장프로시저를 용이하게 조회하여 수정할 수 있도록 한다. 수시로 변경되는 이러한 사항에 대해 저장프로시저의 내부 내용을 스캐닝하여 항상 저장프로시저와 관련된 실시간 테이블 정보 및 속성정보를 보여준다.The relationship information stores mutual information between information (table information, stored procedure information, application information) stored in the reference information. For example, a table managing a relationship between a stored procedure and a table inquires the body of the stored procedure and stores relationship information with the table information constituting the stored procedure. Stored procedures are a kind of program that prevents users from directly accessing tables, views, etc., and delivers the same information to the application by programming them regardless of table or view changes. Since these stored procedures are easy to change at the time of the user's request, they show the table information constituting the stored procedure in real time, so that related stored procedures can be easily made in the event of column addition or attribute change of the table in the future. Inquire and modify it. The internal contents of the stored procedure are scanned for these changes from time to time, and the real-time table information and attribute information related to the stored procedure are always displayed.

기타정보는 저장프로시저의 계위정보관리, 응용 프로그램 본문을 조회하여 관련된 테이블/뷰 정보의 체계적 관리, 저장프로시저의 테스트 문장 정보 및 시험결과 정보, 웹을 통한 저장프로시저의 요청/수정/결과통보로 구성된 변경이력관리 등으로 구성된다. 계위정보관리는 하나의 저장프로시저 내에서 또 다른 저장프로시저 또는 사용자 정의함수를 호출하기 때문에 계위정보관리를 수행한다.For other information, hierarchy information management of stored procedure, systematic management of related table / view information by querying application body, test sentence information and test result information of stored procedure, request / modification / result of stored procedure via web It consists of change history management composed of notifications. Hierarchical information management performs hierarchical information management because it calls another stored procedure or user-defined function within one stored procedure.

테이블/뷰목록관리정보는 테이블/뷰식별자(ID) 필드와 명칭 필드와 구분자(테이블 또는 뷰) 필드와 테이블 분류코드 필드와 한글명 필드와 테이블 설명 필드와 테이블 계위정보 필드와 테이블 삭제여부 구분 필드를 포함한다. 여기서, 테이 블 분류코드는 테이블 명세서에서 관리하는 번호 부여값을 입력한 값이다.The table / view list management information includes the table / view identifier (ID) field, the name field, the delimiter (table or view) field, the table classification code field, the Korean name field, the table description field, the table hierarchy information field, and the table deletion field. Include. Here, the table classification code is a value of inputting the numbering value managed in the table specification.

테이블 칼럼정보관리정보는 칼럼고유번호(CID) 필드와 메타오브젝트ID(OID) 필드와 테이블명 필드와 칼럼영문명 필드와 칼럼한글명 필드와 칼럼유형(속성) 필드와 길이 필드와 설명 필드를 포함한다. 여기서, 칼럼고유번호는 일련번호로 증가하는 값이며, 메타오브젝트ID(OID)는 대용량데이터베이스에서 관리하는 일련번호이다. 칼럼한글명과 칼럼속성과 길이와 설명 등은 데이터베이스접속모듈이 대용량데이터베이스의 메타 데이터를 직접 조회하여 구성한다.The table column information management information includes a column unique number (CID) field, a meta object ID (OID) field, a table name field, a column English name field, a column Korean name field, a column type (attribute) field, a length field, and a description field. Here, the column unique number is a value that increases with the serial number, and the meta object ID (OID) is a serial number managed by a large database. The column Korean name, column attribute, length, and description are configured by the database access module by directly searching the metadata of the large database.

저장프로시저목록관리정보는 저장프로시저 고유번호(ID) 필드와 저장프로시저 명칭 필드와 저장프로시저 유형 필드와 저장프로시저 생성일 필드와 저장프로시저 요청팀 필드와 저장프로시저 설명 필드와 응용접속 클래스명 필드와 저장프로시저 별칭 필드와 테이블/뷰 명칭 필드와 튜닝여부 구분자 필드와 튜닝 관련 비교 필드를 포함한다. 저장프로시저 명칭은 개발자들이 데이터베이스 내의 테이블에 입력, 출력, 조회 등의 작업을 할 경우 호출할 저장프로시저를 찾을 수 있도록 한다. 저장프로시저 요청팀은 해당 저장프로시저를 최초로 요청한 개발팀을 지칭하며, 저장프로시저 설명은 저장프로시저의 한글명을 기술하여 개발자의 이해를 돕는다. 응용접속 클래스와 저장프로시저 별칭은 응용 구성화일에서 사용하는 정보이고, 튜닝여부 구분자는 저장프로시저의 개발이 미흡하면 대용량데이터베이스의 성능을 저하시킬 수 있기 때문에, 튜닝작업 후 충분한 성능시험을 하였는 지 여부를 기록한다.The stored procedure list management information includes the stored procedure identification number (ID) field, stored procedure name field, stored procedure type field, stored procedure creation date field, stored procedure request team field, stored procedure description field, and application. It contains the connection class name field, stored procedure alias field, table / view name field, tuning status separator field, and tuning related comparison field. Stored procedure names allow developers to find stored procedures to call when inputting, outputting, or querying tables in a database. The stored procedure request team refers to the development team that requested the stored procedure for the first time, and the stored procedure description describes the Hangul name of the stored procedure to help the developer understand. Application connection class and stored procedure alias are the information used in the application configuration file, and whether the tuning or not delimiter can degrade the performance of large database if the development of stored procedure is insufficient. Record whether or not.

저장프로시저 테이블/뷰 관계정보는 해당 관계정보 고유번호(ID) 필드와 저 장프로시저 명칭 필드과 테이블/뷰 명칭 필드을 포함한다. 대용량데이터베이스 내의 저장프로시저 프로그램을 읽어서 해당 저장프로시저에 연관된 모든 테이블을 기록한다. 이 정보를 바탕으로 특정 저장프로시저 내의 모든 테이블과, 특정 테이블과 관련된 저장프로시저를 전부 조회할 수 있다.The stored procedure table / view relationship information includes a corresponding relationship information unique number (ID) field, a stored procedure name field, and a table / view name field. Reads a stored procedure program in a large database and records all tables associated with that stored procedure. Based on this information, you can query all tables in a specific stored procedure and all stored procedures related to a specific table.

저장프로시저간 관계정보는 해당 관계정보 고유번호(ID) 필드와 저장프로시저 명칭 필드와 하위 저장프로시저 명칭 필드를 포함한다. 저장프로시저 내에 포함된 다른 저장프로시저 또는 사용자정의함수정보를 기록한다. 이는 저장프로시저 본문의 내용을 조회하여 특정이름(UP_ 또는 UF_)으로 시작하는 명칭을 탐색하여 조회된 정보를 DB관리테이블에 저장한다. 이 저장프로시저간 관계정보를 바탕으로 복잡한 저장프로시저의 경우에는 그 저장프로시저간의 계위구조 정보와 저장프로시저와 테이블간의 계위구조 정보를 구축할 수 있다.The relationship information between the stored procedures includes a corresponding relationship information unique number (ID) field, a stored procedure name field, and a lower stored procedure name field. Record any other stored procedure or user-defined function information contained within the stored procedure. It searches the contents of the stored procedure body, searches for names starting with a specific name (UP_ or UF_), and stores the retrieved information in the DB management table. In the case of a complex stored procedure, the hierarchical structure information between the stored procedures and the hierarchical structure information between the stored procedure and the table can be constructed based on the relationship information between the stored procedures.

도 3은 본 발명에 따른 데이터베이스접속모듈에서의 대용량데이터베이스의 스키마 및 저장프로시저 실시간 관리방법을 도시한 동작 흐름도이다.3 is a flowchart illustrating a method of managing a schema and a stored procedure real time of a large database in the database access module according to the present invention.

데이터베이스접속모듈은 일정한 동작주기마다 동작하는데, 동작주기가 되면 대용량데이터베이스의 메타정보를 가져와 DB관리테이블에 저장되어 있는 대용량데이터베이스에 대한 메타정보를 비교한다(S31, S32). 이때, DB 관리테이블에 저장되어 있는 메타정보는 기준정보, 관계정보, 기타정보에 대한 메타정보를 의미한다. DB관리테이블에 저장된 메타정보가 대용량데이터베이스의 메타정보와 다르면 즉 차이점이 있으면(S33), 해당 차이점을 DB관리테이블에 반영하여 갱신한다(S34). 차이점 갱신 정보에는 테이블/뷰와 저장프로시저의 관계정보와 테이블 변경이력정보 등이 포함된다. DB관리테이블과 대용량데이터베이스에 차이점이 존재하지 않으면(S33), DB관리테이블에 저장된 정보는 그대로 유지된다.The database access module operates at a predetermined operation cycle. When the operation cycle is reached, meta information of the large database is taken and the meta information of the large database stored in the DB management table is compared (S31 and S32). In this case, the meta information stored in the DB management table means meta information about reference information, relationship information, and other information. If the meta information stored in the DB management table is different from the meta information of the large database, that is, there is a difference (S33), the difference is reflected in the DB management table and updated (S34). The difference update information includes the relationship information between the table / view and the stored procedure, and the table change history information. If there is no difference between the DB management table and the large database (S33), the information stored in the DB management table is maintained.

DB관리테이블에 저장된 정보가 현행화되면 프로세스를 수행하는 쓰레드(thread)를 동작 정지시키고(S35), 동작주기가 완료될 때까지 대기하고 있다가 동작주기가 완료되면(S36) 단계 S31부터 다시 수행한다.When the information stored in the DB management table is current, the thread that executes the process is stopped (S35), and waiting until the operation cycle is completed, and when the operation cycle is completed (S36), it is executed again from step S31. .

웹서비스제공부(14)는 작업자 클라이언트시스템(16)으로부터 인터넷(15)을 통해 대용량데이터베이스의 스키마와 저장프로시저의 관리 정보 조회가 요청되면, DB관리테이블(13)로부터 작업자가 요청한 정보를 검색하여 해당 작업자 클라이언트시스템(16)에게 제공한다.The web service provider 14 retrieves the information requested by the worker from the DB management table 13 when a query for management information of the schema and stored procedure of a large database is requested from the worker client system 16 through the Internet 15. To the worker client system 16.

이상에서 본 발명에 대한 기술 사상을 첨부 도면과 함께 서술하였지만, 이는 본 발명의 가장 양호한 일 실시예를 예시적으로 설명한 것이지 본 발명을 한정하는 것은 아니다. 또한, 이 기술 분야의 통상의 지식을 가진 자이면 누구나 본 발명의 기술 사상의 범주를 이탈하지 않는 범위 내에서 다양한 변형 및 모방이 가능함은 명백한 사실이다.
Although the technical spirit of the present invention has been described above with reference to the accompanying drawings, it is intended to exemplarily describe the best embodiment of the present invention, but not to limit the present invention. In addition, it is obvious that any person skilled in the art may make various modifications and imitations without departing from the scope of the technical idea of the present invention.

이상과 같이 본 발명에 따르면 대용량데이터베이스의 스키마와 저장프로시저 및 응용에 관한 정보를 실시간으로 자동으로 현행화하고, 작업자가 웹을 통해 언제든지 검색할 수 있도록 하는 효과가 있다.
As described above, according to the present invention, there is an effect of automatically presenting information on a schema, stored procedures, and applications of a large database in real time, and allowing a worker to search at any time through the web.

Claims (5)

대용량데이터베이스로부터 메타정보를 가져와 상기 대용량데이터베이스의 스키마 및 저장프로시저에 관한 정보를 관리하는 DB관리테이블;A DB management table that takes meta information from a large database and manages information about a schema and stored procedures of the large database; 상기 대용량데이터베이스와 접속하여 상기 대용량데이터베이스로부터 메타정보를 가져와 상기 DB관리테이블에 저장되어 있는 메타정보를 비교하여 일치하지 않는 경우, 상기 대용량데이터베이스를 구성하는 스키마와 저장프로시저가 추가, 수정 또는 삭제 중 적어도 어느 하나가 수행되어 변경된 것으로 판단하고 상기 스키마와 저장프로시저의 변경사항을 상기 DB관리테이블에 갱신하는 데이터베이스접속모듈; 및When meta data is obtained from the large database by accessing the large database and comparing the meta information stored in the DB management table does not match, the schema and the stored procedure configuring the large database are being added, modified or deleted. A database connection module for determining that at least one is performed and changing the schema and stored procedures to the DB management table; And 상기 DB관리테이블에 저장된 상기 대용량데이터베이스의 스키마 및 저장프로시저에 관한 정보를 인터넷을 통해 웹화면으로 제공하는 웹서비스제공부 Web service providing unit for providing information on the schema and stored procedures of the large database stored in the DB management table on the web screen over the Internet 를 구비한 것을 특징으로 하는 대용량데이터베이스의 스키마 및 저장프로시저 실시간 관리시스템.Schema and stored procedure real-time management system of a large database comprising a. 제 1 항에 있어서, 상기 DB관리테이블에는 기준정보와, 기준정보간 관계정보와, 기타정보가 저장되며, The method according to claim 1, wherein the DB management table stores reference information, relationship information between the reference information, and other information. 상기 기준정보는 스키마와 뷰에 관한 정보를 저장하는 테이블/뷰목록관리정보, 저장프로시저에 관한 정보를 저장하는 저장프로시저목록관리정보, 응용 객체에 관한 정보를 저장하는 응용(application)목록관리정보, 스키마를 구성하는 칼럼에 관한 정보를 저장하는 테이블칼럼정보관리, 스키마의 관리를 위한 테이블분류코드정보로 구성되고,The reference information includes table / view list management information for storing schema and view information, stored procedure list management information for storing stored procedure information, and application list management for storing application object information. Table column information management for storing information about the columns constituting the schema, table classification code information for managing the schema, 상기 관계정보는 상기 기준정보에 저장된 테이블정보, 저장프로시저정보, 응용정보간의 상호관계정보로 구성되고,The relationship information is composed of interrelation information between table information, stored procedure information, and application information stored in the reference information. 상기 기타정보는 저장프로시저 내에 호출된 저장프로시저를 관리하기 위한 정보, 저장프로시저의 오류 및 수행성능을 평가하기 위한 테스트 정보관리, 저장프로시저 사용개발팀/사용자정보, 각 팀 개발자의 질문사항처리 및 테이블 스키마/저장프로시저 변경사항을 공지하기 위한 게시판으로 구성된 것을 특징으로 하는 대용량데이터베이스의 스키마 및 저장프로시저 실시간 관리시스템.The other information includes information for managing stored procedures called in stored procedures, test information management for evaluating errors and performance of stored procedures, stored procedure use development team / user information, and questions of each team developer. Schema and stored procedure real-time management system of a large database, characterized by consisting of bulletin board for notification of processing and table schema / stored procedure changes. 제 2 항에 있어서, 상기 테이블/뷰목록관리정보와 저장프로시저목록관리정보는 상기 대용량데이터베이스의 메타정보를 이용하여 주기적으로 갱신하는 것을 특징으로 하는 대용량데이터베이스의 스키마 및 저장프로시저 실시간 관리시스템. The system of claim 2, wherein the table / view list management information and the stored procedure list management information are periodically updated using meta information of the large database. 대용량데이터베이스를 구성하는 스키마와 저장프로시저의 추가, 수정 또는 삭제 중 적어도 어느 하나가 수행되어 변경된 사항을 실시간으로 입력받아 DB관리테이블에 관리하는 데이터베이스접속모듈과, 상기 DB관리테이블에 저장된 상기 대용량데이터베이스의 스키마 및 저장프로시저에 관한 정보를 인터넷을 통해 작업자에게 웹화면으로 제공하는 웹서비스제공부를 구비한 관리시스템에서의 대용량데이터베이스의 스키마 및 저장프로시저 실시간 관리방법에 있어서,At least one of adding, modifying, or deleting a schema and a stored procedure configuring a large database is performed, and a database access module that receives the changed information in real time and manages the DB management table, and the large database stored in the DB management table. In the real-time management method of the schema and stored procedures of a large database in a management system having a web service provider that provides information on the schema and stored procedures of the user to the web screen through the Internet, 상기 데이터베이스접속모듈이 상기 대용량데이터베이스의 메타정보와 상기 DB관리테이블에 저장되어 있는 메타정보를 비교하는 제1단계와;A first step of the database access module comparing the meta information of the mass database with the meta information stored in the DB management table; 상기 비교결과, 상기 DB관리테이블에 저장되어 있는 메타정보와 상기 대용량데이터베이스로부터 수신한 메타정보가 일치하지 않으면 상기 DB관리테이블에 저장되어 있는 메타정보와 상기 대용량데이터베이스로부터 수신한 메타정보간의 차이점을 상기 DB관리테이블에 갱신하고, 상기 차이점이 없으면 바로 다음 단계로 진행하는 제2단계와;As a result of the comparison, if the meta information stored in the DB management table and the meta information received from the large database do not match, the difference between the meta information stored in the DB management table and the meta information received from the large database is determined. A second step of updating the DB management table and proceeding to the next step if there is no difference; 상기 제2단계 수행 후 쓰레드(thread)를 동작 정지시키고, 동작주기가 완료될 때까지 대기하고 있다가 동작주기가 완료되면 상기 제1단계부터 다시 수행하는 제3단계와;A third step of stopping a thread after performing the second step, waiting for an operation period to be completed, and performing the operation again from the first step when the operation period is completed; 작업자로부터 인터넷을 통해 대용량데이터베이스의 스키마와 저장프로시저의 관리 정보 조회가 요청되면, 상기 웹서비스제공부가 상기 DB관리테이블로부터 작업자가 요청한 정보를 검색하여 해당 작업자 클라이언트시스템에게 제공하는 제4단계를 포함한 것을 특징으로 하는 대용량데이터베이스의 스키마 및 저장프로시저 실시간 관리방법.If the worker is requested to query the management information of the schema and stored procedures of the large database through the Internet, the web service provider includes a fourth step of retrieving the information requested by the worker from the DB management table to the worker client system Schema and stored procedure real-time management method of a large database characterized in that. 제 4 항에 있어서, 상기 DB관리테이블에는 기준정보와, 기준정보간 관계정보와, 기타정보가 저장되며,The method of claim 4, wherein the DB management table stores reference information, relationship information between the reference information, and other information, 상기 기준정보는 스키마와 뷰에 관한 정보를 저장하는 테이블/뷰목록관리정보, 저장프로시저에 관한 정보를 저장하는 저장프로시저목록관리정보, 응용 객체에 관한 정보를 저장하는 응용(application)목록관리정보, 스키마를 구성하는 칼럼에 관한 정보를 저장하는 테이블칼럼정보관리, 스키마의 관리를 위한 테이블분류코드정보로 구성되고,The reference information includes table / view list management information for storing schema and view information, stored procedure list management information for storing stored procedure information, and application list management for storing application object information. Table column information management for storing information about the columns constituting the schema, table classification code information for managing the schema, 상기 관계정보는 상기 기준정보에 저장된 테이블정보, 저장프로시저정보, 응용정보간의 상호관계정보로 구성되고,The relationship information is composed of interrelation information between table information, stored procedure information, and application information stored in the reference information. 상기 기타정보는 저장프로시저 내에 호출된 저장프로시저를 관리하기 위한 정보, 저장프로시저의 오류 및 수행성능을 평가하기 위한 테스트 정보관리, 저장프로시저 사용개발팀/사용자정보, 각 팀 개발자의 질문사항처리 및 테이블 스키마/저장프로시저 변경사항을 공지하기 위한 게시판으로 구성된 것을 특징으로 하는 대용량데이터베이스의 스키마 및 저장프로시저 실시간 관리방법.The other information includes information for managing stored procedures called in stored procedures, test information management for evaluating errors and performance of stored procedures, stored procedure use development team / user information, and questions of each team developer. Schema and stored procedure real-time management method of a large database, characterized by consisting of bulletin board for processing and notification of table schema / stored procedure changes.
KR1020040078425A 2004-10-01 2004-10-01 Schema and stored procedure real-time management system and method of large database KR101063577B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040078425A KR101063577B1 (en) 2004-10-01 2004-10-01 Schema and stored procedure real-time management system and method of large database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040078425A KR101063577B1 (en) 2004-10-01 2004-10-01 Schema and stored procedure real-time management system and method of large database

Publications (2)

Publication Number Publication Date
KR20060029466A KR20060029466A (en) 2006-04-06
KR101063577B1 true KR101063577B1 (en) 2011-09-07

Family

ID=37139800

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040078425A KR101063577B1 (en) 2004-10-01 2004-10-01 Schema and stored procedure real-time management system and method of large database

Country Status (1)

Country Link
KR (1) KR101063577B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902562A (en) * 2012-12-26 2014-07-02 腾讯科技(深圳)有限公司 Method and device for upgrading terminal databases

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100792322B1 (en) * 2006-06-29 2008-01-07 (재)한국데이터베이스진흥센터 Framework for Quality Control of DataBase
KR100871784B1 (en) * 2006-11-30 2008-12-05 주식회사 케이티프리텔 Apparatus and method for updating data valid value in table column
KR102053709B1 (en) * 2014-11-10 2019-12-09 한국전자통신연구원 method and apparatus for representation of editable visual object

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902562A (en) * 2012-12-26 2014-07-02 腾讯科技(深圳)有限公司 Method and device for upgrading terminal databases

Also Published As

Publication number Publication date
KR20060029466A (en) 2006-04-06

Similar Documents

Publication Publication Date Title
US8296311B2 (en) Solution search for software support
US7730097B2 (en) Smart database
RU2421803C2 (en) Notices of data modification
US7672966B2 (en) Adding extrinsic data columns to an existing database schema using a temporary column pool
US7310653B2 (en) Method, system, and product for maintaining software objects during database upgrade
US7373351B2 (en) Generic search engine framework
US8429126B2 (en) Object graph editing context and methods of use
US6003039A (en) Data repository with user accessible and modifiable reuse criteria
US20100001834A1 (en) System and method for a message registry and message handling in a service -oriented business framework
US20100122239A1 (en) Method and apparatus for monitoring runtime of persistence applications
US7617250B2 (en) Semantic file system
US6560631B1 (en) Data analysis in distributed data processing system
US8606799B2 (en) Software and method for utilizing a generic database query
US8185562B2 (en) Business object browser for business query language
JPH07244605A (en) Data base system and its update method
US20030069696A1 (en) Rule based compatibility module
US7707211B2 (en) Information management system and method
JP2006524376A (en) Generic database schema
CN105550342B (en) A kind of data processing method of the distributed data base of all-transparent
KR101063577B1 (en) Schema and stored procedure real-time management system and method of large database
CN117453980A (en) Metadata management, configuration page generation method, server and storage medium
US8015210B2 (en) Method and system for generating string-based addresses
US11580128B2 (en) Preventing DBMS deadlock by eliminating shared locking
US11204908B2 (en) Augmentation playback
JP3769775B2 (en) Distributed link information maintenance method

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee