KR102046567B1 - Real-time DDL generation method for standard dictionary-based metadata change management - Google Patents

Real-time DDL generation method for standard dictionary-based metadata change management Download PDF

Info

Publication number
KR102046567B1
KR102046567B1 KR1020180051176A KR20180051176A KR102046567B1 KR 102046567 B1 KR102046567 B1 KR 102046567B1 KR 1020180051176 A KR1020180051176 A KR 1020180051176A KR 20180051176 A KR20180051176 A KR 20180051176A KR 102046567 B1 KR102046567 B1 KR 102046567B1
Authority
KR
South Korea
Prior art keywords
standard dictionary
ddl
change
standard
real
Prior art date
Application number
KR1020180051176A
Other languages
Korean (ko)
Other versions
KR20190127066A (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 KR1020180051176A priority Critical patent/KR102046567B1/en
Publication of KR20190127066A publication Critical patent/KR20190127066A/en
Application granted granted Critical
Publication of KR102046567B1 publication Critical patent/KR102046567B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • G06F16/24573Query processing with adaptation to user needs using data annotations, e.g. user-defined metadata

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

표준 사전을 기반으로 다양한 모델링 툴에서 모델링된 테이블 데이터를 실시간으로 솔루션에 쌓인 이력과 비교하여 신규, 수정, 삭제에 대한 데이터를 만들고, 이를 기반으로 저장소(repository)에 맞는 DDL을 실시간으로 생성하도록 한 표준사전 기반 메타데이터 변경 관리를 위한 실시간 DDL 생성방법에 관한 것으로서, 표준 사전을 만들기 위한 기본 사전 정보를 등록하여 표준 사전을 구축하는 단계, 구축한 표준 사전 정보를 기초로 모델링 툴로 모델링을 하고, 사용중인 모델링 툴에 대한 정보를 입력하는 단계, 모델링한 테이블 데이터를 등록한 표준 사전을 기반으로 표준 여부를 확인하는 단계 및 신청한 테이블을 선택하고 결재가 완료되면 데이터베이스 관리자(DBA)에게 승인을 요청하여 승인이 이루어지면, 신청된 테이블에 대해 솔루션의 이력을 기반으로 데이터 정의어(DDL)를 자동으로 생성하는 단계를 포함하여, 표준사전 기반 메타데이터 변경 관리를 위한 실시간 DDL 생성방법을 구현한다.Based on the standard dictionary, table data modeled by various modeling tools is compared with the history accumulated in the solution in real time to create data about new, modified, and deleted, and based on this, to generate DDL for the repository in real time. A method for generating real-time DDL for standard dictionary-based metadata change management. Registering basic dictionary information to create a standard dictionary to build a standard dictionary, and modeling with a modeling tool based on the standard dictionary information. Entering information about the modeling tool in progress, checking the standard based on the registered standard dictionary of the modeled table data, selecting the applied table, and requesting approval from the database administrator (DBA) when the approval is completed. Once this is done, the history of the solution is By including the step of automatically generating a data definition language (DDL), implements a real-time DDL generation method for a standard dictionary-based metadata change management.

Description

표준사전 기반 메타데이터 변경 관리를 위한 실시간 DDL 생성방법{Real-time DDL generation method for standard dictionary-based metadata change management}Real-time DDL generation method for standard dictionary-based metadata change management

본 발명은 표준 사전 기반 메타데이터(Metadata) 변경 관리를 위한 실시간 DDL(Data Definition Language) 생성방법에 관한 것으로, 특히 표준 사전을 기반으로 다양한 모델링 툴에서 모델링된 데이터를 실시간으로 솔루션에 쌓인 이력과 비교하여 신규, 수정, 삭제에 대한 데이터를 만들고, 이를 기반으로 저장소(repository)에 맞는 DDL을 실시간으로 생성하도록 한 표준사전 기반 메타데이터 변경 관리를 위한 실시간 DDL 생성방법에 관한 것이다.The present invention relates to a method for generating real-time DDL (Data Definition Language) for standard dictionary-based metadata change management. In particular, the data modeled by various modeling tools based on the standard dictionary is compared with the history accumulated in the solution in real time. The present invention relates to a real-time DDL generation method for standard dictionary-based metadata change management that creates data for new, modified, deleted, and generates DDL in real time based on the repository.

데이터에 관한 구조화된 데이터로, 다른 데이터를 설명해주는 데이터로 메타데이터(Metadata)를 이용한다. 메타데이터를 속성정보라고도 한다. 대량의 정보 가운데에서 찾고 있는 정보를 효율적으로 찾아내서 이용하기 위해 일정한 규칙에 따라 콘텐츠에 대하여 부여되는 데이터이다.Structured data about data, using metadata as data that describes other data. Metadata is also called attribute information. It is data that is given to content according to a predetermined rule in order to efficiently find and use information that is being searched among a large amount of information.

메타데이터 변경 관리를 위해서는 데이터베이스 관리자(DBA; DataBase Administrator)가 메타데이터 변경 기술을 데이터베이스에 적용하기 위한 데이터 정의어(DDL)와 정합성 등을 육안으로 보고 판단한다.For metadata change management, a database administrator (DBA) visually determines data definition language (DDL) and consistency for applying metadata change technology to a database.

메타데이터 변경 관리를 위해 메타데이터를 관리하는 종래에 제안된 기술이 하기의 <비 특허문헌 1> 에 개시되어 있다.A conventionally proposed technique for managing metadata for metadata change management is disclosed in the following Non-Patent Document 1.

<비 특허문헌 1> 에 개시된 종래기술은 대용량 분산파일시스템을 위해 메타데이터 정보를 효과적으로 분산하여 관리하는 메타데이터 서버 클러스터를 위한 효과적인 관리 기술들을 제안한다. 파일시스템 네임스페이스의 지역성을 효과적으로 보호하고 사용하여 더욱 나은 메타데이터 검색을 제공하기 위해, 메타데이터 분할 관리를 위한 사전식 분할 기법(DicPS : dictionary partitioning scheme)을 제시한다. 동적으로 변화하는 작업 부하에 적응하기 위해 제안하는 메타데이터 분할 기법을 기본으로 하는 부하 분산 기법을 제시하며, 파일 시스템의 진화와 메타데이터 서버의 부하에 동적으로 적응하기 위해 메타데이터 복제와 메타데이터 분할 요약 정보의 변경을 사용하여, 확장성 및 부하 분산에서 성능 향상을 도모한다.The prior art disclosed in <Non-Patent Document 1> proposes effective management techniques for a metadata server cluster that effectively distributes and manages metadata information for a large-capacity distributed file system. To effectively protect and use the locality of file system namespaces to provide better metadata retrieval, we propose a dictionary partitioning scheme (DicPS) for managing metadata partitioning. This paper proposes a load balancing technique based on the metadata partitioning scheme proposed to adapt to dynamically changing workloads, and replicates metadata and partitions metadata to dynamically adapt to the evolution of the file system and the load on the metadata server. Changes in summary information are used to improve performance in scalability and load balancing.

(비 특허문헌 1) 충북대학교 대학원, 정보통신공학과 정보통신공학전공 2009. 2, 박사학위논문 "대용량 분산파일시스템을 위한 효과적인 메타데이터관리)(Non-Patent Document 1) Chungbuk National University, Information and Communication Engineering, Graduate School of Information and Communication Engineering 2009. 2, Ph.D. Dissertation "Effective Metadata Management for Massive Distributed File System)

그러나 상기와 같은 일반적인 DBA에 의한 DDL 생성기술은 메타데이터 변경 관리를 위해 DBA가 해당 테이블이 실제 있는지 없는지, 있다면 어떤 것이 변경되었는지 등의 일일이 비교 확인하는 수작업에 의해 DDL을 생성하기 때문에, DDL 생성에 실수나 오류가 발생할 우려가 많으며, DDL 생성시간이 많이 소요되고 복잡하다는 단점이 있다.However, the above-described DDL generation technology by the general DBA generates DDL by manually checking the DBA for metadata change management by checking whether the table is actually present or not, and if any changes have been made. There are a lot of mistakes and errors, and there is a disadvantage that the DDL generation time is complicated and complicated.

또한, <비 특허문헌 1> 에 개시된 종래기술은 대용량 분산파일시스템을 위해 메타데이터 정보를 효과적으로 분산하여 관리하는 것은 가능하나, 메타데이터 변경 관리를 위해 DDL을 생성하는 기술은 제공해주지 못하는 단점이 있다.In addition, the prior art disclosed in <Non-Patent Document 1> is capable of effectively distributing and managing metadata information for a large-capacity distributed file system, but has a disadvantage in that a technology for generating DDL for metadata change management cannot be provided. .

따라서 본 발명은 상기와 같은 종래기술에서 발생하는 제반 문제점을 해결하기 위해서 제안된 것으로서, 표준 사전을 기반으로 다양한 모델링 툴에서 모델링된 데이터를 실시간으로 솔루션에 쌓인 이력과 비교하여 신규, 수정, 삭제에 대한 데이터를 만들고, 이를 기반으로 저장소(repository)에 맞는 DDL을 실시간으로 생성하도록 한 표준사전 기반 메타데이터 변경 관리를 위한 실시간 DDL 생성방법을 제공하는 데 그 목적이 있다.Therefore, the present invention has been proposed to solve all the problems occurring in the prior art as described above. Its purpose is to provide a real-time DDL generation method for standard dictionary-based metadata change management that creates data in real time and generates DDL in real time based on it.

상기한 바와 같은 목적을 달성하기 위하여, 본 발명에 따른 표준사전 기반 메타데이터 변경 관리를 위한 실시간 DDL 생성방법은 (a) 표준 사전을 만들기 위한 기본 사전 정보를 등록하여 표준 사전을 구축하는 단계; (b) 모델링 툴에 대한 정보를 입력하고, 상기 구축한 표준 사전 정보를 기초로 모델링 툴로 모델링을 하는 단계; (c) 상기 (b)단계에서 모델링한 테이블 데이터를 상기 (a)단계에서 등록한 표준 사전을 기반으로 표준 여부를 확인하는 단계; (d) 신청한 테이블을 선택하고, 원하는 결재선을 선택하여 결재를 신청한 후, 결재선에 포함된 결재자들의 결재가 완료되면 최종적으로 데이터베이스 관리자(DBA)에게 승인을 요청하여 승인이 이루어지면, 신청된 테이블에 대해 솔루션의 이력을 기반으로 데이터 정의어(DDL)를 자동으로 생성하는 단계를 포함하는 것을 특징으로 한다.In order to achieve the above object, the real-time DDL generation method for standard dictionary-based metadata change management according to the present invention comprises the steps of: (a) registering the basic dictionary information for creating a standard dictionary to build a standard dictionary; (b) inputting information on the modeling tool, and modeling the modeling tool based on the constructed standard dictionary information; (c) checking whether the table data modeled in step (b) is standard based on the standard dictionary registered in step (a); (d) After selecting the table applied, selecting the desired payment line, and applying for payment, when the payment of the payers included in the payment line is completed, it is finally requested by the database administrator (DBA) for approval. And automatically generating a data definition word (DDL) for the requested table based on the history of the solution.

상기에서 (a)단계는 (a1) 표준 사전을 위한 단어를 생성하는 단계; (a2) 상기 생성한 단어를 기초로 도메인을 생성하는 단계; (a3) 상기 생성한 단어와 상기 생성한 도메인 정보를 기초로 테이블, 칼럼을 지정하여 용어를 생성하는 단계를 포함하는 것을 특징으로 한다.Wherein (a) step (a1) generating a word for the standard dictionary; (a2) generating a domain based on the generated word; (a3) generating a term by designating a table or a column based on the generated word and the generated domain information.

상기에서 (b)단계의 모델링 툴은 DA#5, Erwin7, 파워디자이너9, ER-Win9 Genesis, ER-Win9 Softverk 중 어느 하나를 이용하는 것을 특징으로 한다.The modeling tool of step (b) is characterized by using any one of DA # 5, Erwin 7, Power Designer 9, ER-Win9 Genesis, ER-Win9 Softverk.

상기에서 (c)단계는 모델링한 테이블 데이터를 등록한 표준 사전을 기반으로 표준 여부를 판단하고, 상기 테이블의 신청 가능 여부와 변경사항을 검사하는 것을 특징으로 한다.In the step (c), it is determined whether the standard is based on the registered standard dictionary in which the modeled table data is registered, and whether the table can be applied for and the changes are examined.

상기에서 변경사항은 테이블에 대해 신규, 삭제, 수정 여부를 검사하는 것을 특징으로 한다.The change in the above is characterized by checking whether the table is new, deleted, or modified.

상기에서 (d)단계는 (d1) 테이블을 신청하는 단계; (d2) 메타데이터 변경관리를 위한 목표 데이터베이스를 확인하는 단계; (d3) 데이터베이스 스크립트(script) 로직을 실행하는 단계; (d4) 상기 신청한 테이블의 변경 사항이 신규 테이블이면 새로운 테이블로 결정하는 단계; (d5) 상기 신청한 테이블이 신규 테이블이 아니면 변경사항이 삭제인지를 확인하여 삭제이면 테이블을 드롭(DROP) 시키는 단계; (d6) 상기 신청한 테이블의 변경 사항이 신규 테이블도 아니고 삭제도 아닐 경우, 변경(ALTER) 요청인지를 확인하여 변경 요청이면 테이블을 변경하는 단계; (d7) 상기 신청한 테이블이 변경 요청이 아닐 경우 테이블을 드롭시키고, 새로운 테이블을 생성하는 단계를 포함하는 것을 특징으로 한다.In step (d), (d1) applying for a table; (d2) identifying a target database for metadata change management; (d3) executing database script logic; (d4) if the change of the requested table is a new table, determining a new table; (d5) if the requested table is not a new table, checking whether the change is deleted and dropping the table (DROP) if it is deleted; (d6) if the change of the requested table is not a new table or a delete, checking whether the change is an ALTER request and changing the table if the change is requested; (d7) if the requested table is not a change request, dropping the table and creating a new table.

상기에서 (d)단계의 데이터베이스 관리자는 DDL 생성 화면에서 승인을 하며, 개발계, 테스트계, 운영계에 따른 적용 버튼으로 DDL을 적용하고 로그(Log)를 확인하는 것을 특징으로 한다.The database administrator of step (d) is approved in the DDL generation screen, characterized in that to apply the DDL by applying buttons according to the development system, test system, operating system and check the log (Log).

본 발명에 따르면 메타데이터 변경 관리에 따른 DDL을 실시간으로 자동 생성하므로, 기존과 같이 DBA가 해당 테이블이 실제 있는지 없는지, 있으면 어떤 것이 변경되었는지를 등을 일일이 수작업으로 비교 확인하는 번거로움을 해소할 수 있으며, 수작업에 따른 실수나 오류도 방지할 수 있고, DDL 생성 시간도 단축할 수 있는 장점이 있다.According to the present invention, since DDL is automatically generated in real time according to the metadata change management, the DBA can eliminate the trouble of manually checking whether the table exists or not, and if any changes have been made by hand. In addition, there is an advantage that can prevent mistakes or errors due to manual work, and also shorten the DDL generation time.

또한, 본 발명에 따르면 DBA가 생성된 DDL을 바로 확인한 후 데이터베이스에 적용할 수 있기 때문에, 실수 오류가 발생할 위험, 동기가 맞지 않을 확률을 줄일 수 있는 장점이 있다.Further, according to the present invention, since the DBA can immediately check the generated DDL and apply it to the database, there is an advantage of reducing the risk of a mistake error and the probability of inconsistency.

도 1은 본 발명에 따른 표준사전 기반 메타데이터 변경 관리를 위한 실시간 DDL 생성방법을 보인 흐름도,
도 2는 도 1의 표준사전 기반 메타데이터 변경 관리를 위한 실시간 DDL 생성방법의 구체적인 실시 예 흐름도,
도 3은 도 2의 DDL 생성 과정의 실시 예 흐름도,
도 4는 본 발명에서 사용할 모델링 툴 등록을 위한 화면 예시도,
도 5는 본 발명에서 모델링 툴의 적용 예시도,
도 6은 본 발명에서 모델링 툴을 이용하여 모델링한 테이블 데이터의 예시도,
도 7은 본 발명에서 테이블 신청 예시도,
도 8은 본 발명에서 결재선 선택 예시도,
도 9a 및 도 9b는 본 발명에서 생성된 DDL 화면 예시도.
1 is a flowchart showing a real-time DDL generation method for standard dictionary-based metadata change management according to the present invention;
FIG. 2 is a flowchart illustrating a specific embodiment of a method for generating a real-time DDL for managing change of standard dictionary-based metadata of FIG. 1;
3 is a flowchart illustrating an embodiment of a DDL generation process of FIG. 2;
4 is a screen example for registering a modeling tool to be used in the present invention;
5 is an application example of a modeling tool in the present invention,
6 is an exemplary diagram of table data modeled using a modeling tool in the present invention;
7 is a table application example in the present invention,
8 is an exemplary view illustrating a selection line in the present invention;
9A and 9B are exemplary diagrams of a DDL screen generated in the present invention.

이하 본 발명의 바람직한 실시 예에 따른 표준사전 기반 메타데이터 변경 관리를 위한 실시간 DDL 생성방법을 첨부된 도면을 참조하여 상세하게 설명한다.Hereinafter, a method for generating real-time DDL for standard dictionary-based metadata change management according to an exemplary embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 바람직한 실시 예에 따른 표준사전 기반 메타데이터 변경 관리를 위한 실시간 DDL 생성방법을 보인 흐름도로서, S는 단계(Step)를 나타낸다.1 is a flowchart illustrating a real-time DDL generation method for standard dictionary-based metadata change management according to an exemplary embodiment of the present invention, where S represents a step.

본 발명에 따른 표준사전 기반 메타데이터 변경 관리를 위한 실시간 DDL 생성방법은 (a) 표준 사전을 만들기 위한 기본 사전 정보를 등록하여 표준 사전을 구축하는 단계(S10), (b) 사용중인 모델링 툴에 대한 정보를 입력하고, 상기 구축한 표준 사전 정보를 기초로 모델링 툴(tool)로 모델링을 하는 단계(S20), (c) 상기 (b)단계에서 모델링한 테이블 데이터를 상기 (a)단계에서 등록한 표준 사전을 기반으로 표준 여부를 확인하는 단계(S30), (d) 신청한 테이블을 선택하고 결재가 완료되면 데이터베이스 관리자(DBA)에게 승인을 요청하여 승인이 이루어지면, 신청된 테이블에 대해 솔루션의 이력을 기반으로 데이터 정의어(DDL)를 자동으로 생성하는 단계(S40, S40)를 포함한다.The real-time DDL generation method for standard dictionary-based metadata change management according to the present invention comprises the steps of: (a) registering basic dictionary information to create a standard dictionary to build a standard dictionary (S10), (b) a modeling tool in use Inputting information about the model, and modeling with the modeling tool based on the constructed standard dictionary information (S20), (c) registering the table data modeled in step (b) in step (a) Step (S30) of checking the standard based on the standard dictionary, (d) selecting the applied table and requesting approval from the database administrator (DBA) when the approval is completed, and if the approval is made, the solution of the applied table is Automatically generating data definition words (DDL) based on the history (S40, S40).

이와 같이 구성된 본 발명에 따른 표준사전 기반 메타데이터 변경 관리를 위한 실시간 DDL 생성방법을 구체적으로 설명하면 다음과 같다.The real-time DDL generation method for standard dictionary-based metadata change management according to the present invention configured as described above will be described in detail.

먼저, 단계 S10에서 메타데이터 변경 기술을 데이터베이스에 적용하기 위한 사용자는 표준 사전을 만들기 위한 기본 사전 정보를 등록하여 표준 사전을 구축한다. 표준 사전을 구축하기 위해서는 도 2에 도시한 바와 같이, 표준 사전을 위한 단어를 생성하고(S11), 상기 생성한 단어를 기초로 도메인을 생성한다(S12). 이어, 상기 생성한 단어와 상기 생성한 도메인 정보를 기초로 테이블, 칼럼을 지정하여 용어를 생성한다. 이렇게 생성한 용어가 표준 사전에 정의된 용어가 된다.First, in step S10, a user for applying a metadata change technique to a database registers basic dictionary information for creating a standard dictionary to build a standard dictionary. To construct a standard dictionary, as shown in FIG. 2, a word for the standard dictionary is generated (S11), and a domain is generated based on the generated word (S12). Subsequently, a term is generated by designating a table and a column based on the generated word and the generated domain information. The term you create becomes the term defined in the standard dictionary.

표준 사전이 등록된 후, 단계 S20에서 사용자는 알려진 모델링 툴인 DA#5, Erwin7, 파워디자이너9, ER-Win9 Genesis, ER-Win9 Softverk 중 어느 하나를 이용하여 모델링한다(도 2의 S21). 여기서 모델링한 테이블 데이터는 사용중인 모델링 툴에 대한 정보를 입력하고, 각 모델링 툴에 맞게 테이블 데이터를 가져오는 것이 바람직하다. 도 4는 사용할 모델링 툴 등록을 위한 화면 예시도이며, 도 5는 모델링 툴의 적용 예시도이고, 도 6은 모델링 툴을 이용하여 모델링한 테이블 데이터의 예시도이다.After the standard dictionary is registered, the user models in step S20 using any one of known modeling tools DA # 5, Erwin7, Power Designer 9, ER-Win9 Genesis, and ER-Win9 Softverk (S21 in FIG. 2). For the table data modeled here, it is preferable to input information about the modeling tool in use and to import the table data for each modeling tool. 4 is a diagram illustrating a screen for registering a modeling tool to be used, FIG. 5 is a diagram illustrating an application of a modeling tool, and FIG. 6 is a diagram illustrating table data modeled using a modeling tool.

다음으로, 단계 S30에서 상기 모델링 툴을 이용하여 모델링한 테이블 데이터를 단계 S10에서 등록한 표준 사전을 기반으로 표준 여부를 판단한다. 아울러 상기 테이블의 신청 가능 여부와 변경사항 등도 검사한다. 여기서 변경사항은 테이블에 대해 신규, 삭제, 수정 여부를 검사한다. 도 5는 모델링 툴을 이용하여 테이블 데이터를 모델링하는 상황 예시도이다. Next, it is determined whether the table data modeled using the modeling tool in step S30 based on the standard dictionary registered in step S10. It also checks the availability of the table and the changes. Here, the change checks whether the table is new, deleted, or modified. 5 illustrates an example of modeling table data using a modeling tool.

다음으로, 상기 단계 S30의 확인 결과, 테이블의 신청이 가능한 것으로 판단이 되면, 단계 S40으로 이동하여 신청한 테이블을 선택하고 결재선을 선택한 후, 결재가 완료되면 최종 데이터베이스 관리자(DBA)에게 승인을 요청한다(S41, S51).Next, if it is determined that the application of the table is possible as a result of the checking in step S30, go to step S40, select the applied table, select the settlement line, and when the settlement is completed, grant the approval to the final database administrator (DBA). Request (S41, S51).

도 7은 본 발명에서 테이블 신청 예시도이고, 도 8은 결재선 선택 예시도이다.7 is an exemplary view of applying for a table in the present invention, Figure 8 is an illustration of the selection line selection.

이어, 최종 데이터베이스 관리자에 의해 승인이 이루어지면, 신청된 테이블에 대해 솔루션의 이력을 기반으로 데이터 정의어(DDL)를 자동으로 생성한다(S52).Subsequently, when approval is made by the final database manager, a data definition word (DDL) is automatically generated based on the history of the solution for the applied table (S52).

도 3은 상기 도 2의 DDL 생성 과정은 구체적으로 보인 흐름도이다.FIG. 3 is a detailed flowchart illustrating the DDL generation process of FIG. 2.

단계 S71에서 테이블을 신청하면, 단계 S72에서 메타데이터 변경관리를 위한 목표 데이터베이스를 확인한다. 이어, 단계 S73에서 데이터베이스 스크립트(script) 로직을 실행한다. 다음으로, 단계 S74에서 상기 신청한 테이블이 신규 테이블이면 단계 S75로 이동하여 새로운 테이블로 결정한다. 이와는 달리, 상기 신청한 테이블이 신규 테이블이 아니면 단계 S76으로 이동하여 변경 사항이 삭제인지를 확인하여, 변경 사항이 삭제이면 단계 S77로 이동하여 테이블을 드롭(DROP) 시킨다. 또한, 상기 신청한 테이블이 신규 테이블이 아니고 삭제도 아닐 경우, 단계 S78로 이동하여 변경(ALTER) 요청인지를 확인하여 변경 요청이면 단계 S79로 이동하여 테이블을 변경한다. 또한, 상기 신청한 테이블이 변경 요청이 아닐 경우 단계 S80으로 이동하여 신청 테이블을 드롭시키고, 단계 S81로 이동하여 새로운 테이블을 생성한다.When the table is requested in step S71, the target database for metadata change management is checked in step S72. Then, the database script logic is executed in step S73. Next, if the requested table is a new table in step S74, the process moves to step S75 to determine a new table. In contrast, if the requested table is not a new table, the process moves to step S76 to check whether the change is deleted, and if the change is deleted, the process moves to step S77 to drop the table. If the requested table is not a new table or is not deleted, the process moves to step S78 to check whether the request is a change (ALTER). In addition, if the requested table is not a change request, the process proceeds to step S80 to drop the application table, and to step S81 to create a new table.

이러한 과정으로 신청된 테이블은 자동으로 솔루션의 이력을 기반으로 DDL이 자동 생성된다. 도 9a 및 도 9b는 실제 생성된 DDL 화면 예시도로서, 은행 데이터베이스를 메타데이터 변경 관리를 위한 DDL의 예시이다.In this process, the requested table is automatically generated based on the solution history. 9A and 9B are diagrams illustrating actually generated DDL screens and examples of DDL for managing metadata change in a bank database.

상기 DDL을 자동으로 생성한 후, 단계 S63에서 최종 데이터베이스 관리자는 승인 및 생성된 DDL을 데이터베이스에 적용한다. 즉, 최종 데이터베이스 관리자는 DDL 생성 화면에서 승인을 하며, 개발계, 테스트계, 운영계에 따른 적용 버튼으로 DDL을 적용하고, 로그(Log)를 확인한다.After automatically generating the DDL, in step S63, the final database manager applies the approved and generated DDL to the database. That is, the final database manager approves in the DDL creation screen, applies the DDL with the apply button according to the development system, test system, and operation system, and checks the log.

이러한 본 발명은 메타데이터 변경 관리에 따른 DDL을 실시간으로 자동 생성하므로, 기존과 같이 DBA가 해당 테이블이 실제 있는지 없는지, 있으면 어떤 것이 변경되었는지를 등을 일일이 수작업으로 비교 확인하는 번거로움을 해소할 수 있으며, 수작업에 따른 실수나 오류도 방지할 수 있고, DDL 생성 시간도 단축할 수 있게 되는 것이다.Since the present invention automatically generates the DDL according to the metadata change management in real time, the DBA can eliminate the hassle of manually checking whether the table is actually present or not, and if any changes have been made by hand. In addition, it can prevent mistakes or errors caused by manual operations and shorten the time for generating DDL.

또한, DBA가 생성된 DDL을 바로 확인한 후 데이터베이스에 적용할 수 있기 때문에, 실수 오류가 발생할 위험, 동기가 맞지 않을 확률도 줄일 수 있게 되는 것이다.In addition, since the DBA can immediately check the generated DDL and apply it to the database, it is possible to reduce the risk of mistake error and the probability of inconsistency.

이상 본 발명자에 의해서 이루어진 발명을 상기 실시 예에 따라 구체적으로 설명하였지만, 본 발명은 상기 실시 예에 한정되는 것은 아니고 그 요지를 이탈하지 않는 범위에서 여러 가지로 변경 가능한 것은 이 기술분야에서 통상의 지식을 가진 자에게 자명하다.Although the invention made by the present inventors has been described in detail according to the above embodiments, the present invention is not limited to the above embodiments, and various modifications can be made without departing from the spirit and scope of the present invention. Self-evident to those who have

Claims (7)

표준사전 기반으로 메타데이터 변경 관리를 위해 실시간으로 데이터정의어(DDL)를 생성하는 방법으로서,
(a) 표준 사전을 만들기 위한 기본 사전 정보를 등록하여 표준 사전을 구축하는 단계;
(b) 상기 구축한 표준 사전 정보를 기초로 모델링 툴로 모델링을 하고, 사용중인 모델링 툴에 대한 정보를 입력하는 단계;
(c) 상기 (b)단계에서 모델링한 테이블 데이터를 상기 (a)단계에서 등록한 표준 사전을 기반으로 표준 여부를 확인하는 단계; 및
(d) 신청한 테이블을 선택하고 결재가 완료되면 데이터베이스 관리자(DBA)에게 승인을 요청하여 승인이 이루어지면, 신청된 테이블에 대해 솔루션의 이력을 기반으로 데이터 정의어(DDL)를 자동으로 생성하는 단계를 포함하고,
상기 (c)단계는 모델링한 테이블 데이터를 등록한 표준 사전을 기반으로 표준 여부를 판단하고, 상기 테이블의 신청 가능 여부와 변경사항을 검사하는 것을 특징으로 하는 표준사전 기반 메타데이터 변경 관리를 위한 실시간 DDL 생성방법.
As a method of generating data definition words (DDL) in real time for metadata change management based on a standard dictionary,
(a) registering a basic dictionary information for creating a standard dictionary to build a standard dictionary;
(b) modeling with a modeling tool based on the constructed standard dictionary information, and inputting information on the modeling tool in use;
(c) checking whether the table data modeled in step (b) is standard based on the standard dictionary registered in step (a); And
(d) Selecting the requested table and requesting approval from the database administrator (DBA) when the payment is completed, and automatically generating data definition words (DDL) for the requested table based on the solution history. Including steps
In the step (c), it is determined whether the standard is based on the registered standard dictionary of modeled table data, and the real-time DDL for the standard dictionary-based metadata change management, characterized in that the application of the table and the change is examined. How to create.
청구항 1에서, 상기 (a)단계는 (a1) 표준 사전을 위한 단어를 생성하는 단계; (a2) 상기 생성한 단어를 기초로 도메인을 생성하는 단계; (a3) 상기 생성한 단어와 상기 생성한 도메인 정보를 기초로 테이블, 칼럼을 지정하여 용어를 생성하는 단계를 포함하는 것을 특징으로 하는 표준사전 기반 메타데이터 변경 관리를 위한 실시간 DDL 생성방법.
The method of claim 1, wherein step (a) comprises: (a1) generating a word for a standard dictionary; (a2) generating a domain based on the generated word; (a3) real-time DDL generation method for standard dictionary-based metadata change management, comprising generating a term by specifying a table and a column based on the generated word and the generated domain information.
청구항 1에서, 상기 (b)단계의 모델링 툴은 DA#5, Erwin7, 파워디자이너9, ER-Win9 Genesis, ER-Win9 Softverk 중 어느 하나를 이용하는 것을 특징으로 하는 표준사전 기반 메타데이터 변경 관리를 위한 실시간 DDL 생성방법.
The method of claim 1, wherein the modeling tool of step (b) uses any one of DA # 5, Erwin7, Power Designer 9, ER-Win9 Genesis, ER-Win9 Softverk. Real time DDL generation method.
삭제delete 청구항 1에서, 상기 변경사항은 테이블에 대해 신규, 삭제, 수정 여부를 검사하는 것을 특징으로 하는 표준사전 기반 메타데이터 변경 관리를 위한 실시간 DDL 생성방법.
2. The method of claim 1, wherein the change checks whether a table is new, deleted, or modified. 3.
청구항 1에서, 상기 (d)단계는 (d1) 테이블을 신청하는 단계; (d2) 메타데이터 변경관리를 위한 목표 데이터베이스를 확인하는 단계; (d3) 데이터베이스 스크립트(script) 로직을 실행하는 단계; (d4) 상기 신청한 테이블의 변경 사항이 신규 테이블이면 새로운 테이블로 결정하는 단계; (d5) 상기 신청한 테이블이 신규 테이블이 아니면 변경사항이 삭제인지를 확인하여 삭제이면 테이블을 드롭(DROP) 시키는 단계; (d6) 상기 신청한 테이블의 변경 사항이 신규 테이블도 아니고 삭제도 아닐 경우, 변경(ALTER) 요청인지를 확인하여 변경 요청이면 테이블을 변경하는 단계; (d7) 상기 신청한 테이블이 변경 요청이 아닐 경우 테이블을 드롭시키고, 새로운 테이블을 생성하는 단계를 포함하는 것을 특징으로 하는 표준사전 기반 메타데이터 변경 관리를 위한 실시간 DDL 생성방법.
The method of claim 1, wherein step (d) comprises: (d1) requesting a table; (d2) identifying a target database for metadata change management; (d3) executing database script logic; (d4) if the change of the requested table is a new table, determining a new table; (d5) if the requested table is not a new table, checking whether the change is deleted and dropping the table (DROP) if it is deleted; (d6) if the change of the requested table is not a new table or a delete, checking whether the change is an ALTER request and changing the table if the change is requested; (d7) if the requested table is not a change request, dropping the table, and generating a new table.
청구항 1에서, 상기 (d)단계의 데이터베이스 관리자는 DDL 생성 화면에서 승인을 하며, 개발계, 테스트계, 운영계에 따른 적용 버튼으로 DDL을 적용하고 로그(Log)를 확인하는 것을 특징으로 하는 표준사전 기반 메타데이터 변경 관리를 위한 실시간 DDL 생성방법.



The method according to claim 1, wherein the database manager of the step (d) is approved in the DDL generation screen, based on the standard dictionary, characterized in that applying the DDL with the apply button according to the development system, test system, operating system and check the log (Log) Real-time DDL generation method for metadata change management.



KR1020180051176A 2018-05-03 2018-05-03 Real-time DDL generation method for standard dictionary-based metadata change management KR102046567B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180051176A KR102046567B1 (en) 2018-05-03 2018-05-03 Real-time DDL generation method for standard dictionary-based metadata change management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180051176A KR102046567B1 (en) 2018-05-03 2018-05-03 Real-time DDL generation method for standard dictionary-based metadata change management

Publications (2)

Publication Number Publication Date
KR20190127066A KR20190127066A (en) 2019-11-13
KR102046567B1 true KR102046567B1 (en) 2019-11-21

Family

ID=68534840

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180051176A KR102046567B1 (en) 2018-05-03 2018-05-03 Real-time DDL generation method for standard dictionary-based metadata change management

Country Status (1)

Country Link
KR (1) KR102046567B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114238263A (en) * 2021-10-20 2022-03-25 北银金融科技有限责任公司 Database modeling system based on data dictionary

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060102188A (en) * 2005-03-23 2006-09-27 주식회사 경원정보기술 Standard data management system
KR20070014365A (en) * 2005-07-28 2007-02-01 (주)인우기술 Control method of data for standard

Also Published As

Publication number Publication date
KR20190127066A (en) 2019-11-13

Similar Documents

Publication Publication Date Title
CN107402992B (en) Distributed NewSQL database system and full-text retrieval establishing method
AU2018272840B2 (en) Automated dependency analyzer for heterogeneously programmed data processing system
US11327935B2 (en) Intelligent data quality
US7814459B2 (en) System and method for automated on demand replication setup
CN110023923A (en) It generates data and converts workflow
US11347492B2 (en) Software deployment control using blockchain
US20120324432A1 (en) Systems and methods to automatically generate classes from api source code
US20190339950A1 (en) Task ui layout representing semantical relations
Yangui et al. ETL based framework for NoSQL warehousing
US11314489B1 (en) Automated authoring of software solutions by first analyzing and resolving anomalies in a data model
JP2007133624A (en) Information management method and device using connection relation information
KR102046567B1 (en) Real-time DDL generation method for standard dictionary-based metadata change management
US10460044B2 (en) Methods and systems for translating natural language requirements to a semantic modeling language statement
US9280361B2 (en) Methods and systems for a real time transformation of declarative model and layout into interactive, digital, multi device forms
CN110209699B (en) Data interface dynamic generation and execution method based on openEHR Composition template
CN112667598A (en) Data model rapid construction system based on business demand change
US10838947B2 (en) Consistency check for foreign key definition
JP2019133534A (en) Merging method, merging device, and merging program
JP7279524B2 (en) Data management program, data management method and data management system
CN114116773A (en) Structured Query Language (SQL) text auditing method and device
JP5641901B2 (en) SQL verification system, method and program thereof
US20150370855A1 (en) Framework for Re-Writing Database Queries
CN110334098A (en) A kind of database combining method and system based on script
CN117573199B (en) Model difference comparison analysis method, device, equipment and medium
US20240004846A1 (en) Automation of master data processes with user-centric management of derivation rules

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