Giter Site home page Giter Site logo

biz-2023-04-505-dbms's Introduction

데이터 모델링

데이터와 정보

  • 일상에서 생성되는 수없이 많은 데이터가 있다
  • 이러한 데이터를 수집하여 컴퓨터 SW를 통하여 정보로 재 생산해 내는 일을 정보 처리라고 한다
  • 일상의 데이터를 정보처리를 통하여 가공하여 생산한 것을 정보라고 한다
  • 정보는 데이터에 가치를 부여한 것이다
  • 정보는 필요한 사용자에게 의사결정을 하는 도구로 사용된다

데이터 모델링

  • 데이터를 수집하여 정보처리를 하려고 할때, 먼저 사용자에게 어떤 정보를 보여줄 것인가를 먼저 생각해야 한다
  • 일상의 흩어진 데이터를 수집할때 정보처리에 적합한 형태로 수집을 해야 하는데, 이때 어떻게 데이터를 수집할 것인가 고민하는 것을 데이터 모델링이라고 한다.

데이터 모델링 도구

  • https://draw.io 또는 https://app.diagrams.net/

개념적 데이터 모델링

  • 현실세계의 데이터를 정보처리를 하기위해 추상화 단계를 거치는데, 꼭 필요한 항목만 추출하여 정리하는 단계
  • 현실세계의 중요 데이터 항목을 추출하여 데이터베이스의 개념적 세계로 옮기는 작업
  • 개념적 세계 : 정보처리를 하기위한 준비 단계
  • 이때 모델링된 정보를 diagram으로 옮기는데 이 diagram을 ER(Entity RelationShip) Diagram 이라고 한다

Entity(객체, 개체)

  • ERD에서 사각형으로 표현 된다
  • 사각형 틀안에 개체의 이름을 표기한다

Attribute(속성, type)

  • 개체(Entity)가 가지고 있는 고유한 단위 특성
  • 의미있는 가장 작은 논리적 단위
  • (엑셀데이터)표의 각 항목을 의미한다
  • 타원을 그리고 타원 안에 속성의 이름을 표기한다

Entity, Attribute 연결선

  • 화살표를 사용하여 Entity에서 Attribute 방향으로 직선으로 연결한다

Relationship(관계)

  • Entity 와 Entity 가 서로 연관되어 다른 정보를 만들어내는 것
  • RDBMS에서는 여러개의 Entity가 존재하고, Entity와 Entity가 연결된 여러개의 Relation이 존재한다
  • Relation에는 연관된 Entity의 Key 항목이 자동으로 포함된 것으로 본다

biz-2023-04-505-dbms's People

Contributors

hoteldusk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.