새소식

Lecture Note/[DB] Database Theory

Handshaking with an R-DBMS

  • -

Introduction to MySQL

  • MySQK is an SQL-based relational database management system(DBMS)
    • Free and open-source
      • Owned by Oracle
      • Commercial version of MySQL
    • Compatible with standard SQL
    • Frequently used for commercial web services
  • Why Mysql?
    • Popular
      • active discussion all over the Internet
    • Versatile
      • runs on Linux, Windows, MacOS, Solaris, FreeBSD
    • Cost starts from zero
    • High performance(fast and reliable)
    MySQL
    • Massive
      • can handle terabytes of data
    • convenient
      • supports high-level query language
    • Multiuser
      • supports concurrent data access
    • Safe
      • supports transaction
        • unit of tasks R-DBMS: ACID → DDMS가 제공
    • Efficient
      • can handle thousands of queries/seconds
    • Reliable
      • 99.99% up-time in many real-world products
    SQL preview
    • structured query language
      • principal language used to describe and manipulate relational databases
      • very high-level; 자바, c보다 higher
        • what to do >> how to do
        • data-manipulation details
        • DBMSs figure out the best way to execute queries
          • called query optimization
    • Two aspect of SQL
      • Data definition: for declaring database schemas (DDL)
      • Data manipulation: for querying (asking questions about) databases and for modifying the database (DML)

SQL Parts

  • DML
    • provides the ability to query information from database
    • to insert tuples into,
    • delete tuples from,
    • modify tuples in the database
  • Integrity
    • DDL includes commands for specifying integrity constraints
  • View definition
    • DDL includes commands for defining views
  • Transaction control
    • specifying the beginning and ending of transaction
  • Authorization
    • commands for access rights to relations and views
      • set password, grant permission

'Lecture Note > [DB] Database Theory' 카테고리의 다른 글

E-R model  (2) 2023.10.27
Structured Query Language  (0) 2023.10.27
MySQL과 명령어  (0) 2023.10.27
Relational Algebra  (0) 2023.10.26
Database Systems  (0) 2023.10.26
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.