DB

[DB] ERD (Lucidchart, MySQL-reverse engineering)

Lord DEVader 2023. 9. 27. 11:31

개요

 

ERD(Entity-Relationship Diagram, 개체-관계 다이어그램)

정의

    : DB 설계 및 모델링에서 사용되는 시각적 도구.

목적

    - 요구 사항을 기반으로 DB의 구조를 논리적으로 설계하고 개발하는데 도움

    - 설계 단계에서 중요

    - SQL 쿼리를 작성하는데도 중요하 참고자료가 된다.

요소

    - 개체

        : 시스템 내에서 독립적으로 존재

    - 관계

        : 개체들 사이의 연결관계

    - 속성

        : 개체가 가지는 특성, 테이터 또는 세부정보

 


Tool

 

Lucidchart의 툴을 추천합니다.

무료플랜이 있고, 굉장히 다양한 종류의 다이어그램을 지원합니다.

웹 브라우저에서 작동합니다.

 

Intelligent Diagramming | Lucidchart

 

Intelligent Diagramming | Lucidchart

Lucidchart is your solution for visual communication and cross-platform collaboration.

www.lucidchart.com

 


MySQL - Reverse Engineering

 

MySQL workbench 앱에는 Reverse Engineering이라는 기술이 있습니다.

 

1. 상단 Database->ReverseEngineering 클릭

2. 일련의 과정들을 next 및 continue

 

reverse engineering 결과

 

 

[공식 참조 문서]

MySQL :: MySQL Workbench Manual :: 9.4.2.2 Reverse Engineering a Live Database

 

MySQL :: MySQL Workbench Manual :: 9.4.2.2 Reverse Engineering a Live Database

9.4.2.2 Reverse Engineering a Live Database To reverse-engineer a live database, click and then from the menu. The figure that follows shows an example of the Reverse Engineer Database wizard. Figure 9.49 Reverse Engineer Database Wizard The first step

dev.mysql.com


 

[출처]

개체-관계 모델 - 위키백과, 우리 모두의 백과사전 (wikipedia.org)

 

개체-관계 모델 - 위키백과, 우리 모두의 백과사전

위키백과, 우리 모두의 백과사전. 데이터 모델링 분야에서 개체-관계 모델이란 구조화된 데이터에 대한 일련의 표현이다. 서로 관계된 두 개의 엔티티 "구조"화된 데이터를 저장하기 위해 데이

ko.wikipedia.org