东南大学数据库课程01-数据库原理及应用引言

数据库原理及应用 引言

Introduction

  • What’s a database?

    • A very large, integrated collection of data
    • Models real-world enterprise.
      • Entities (e.g., students, courses)
      • Relationships (e.g., electives)
  • What’s a DBMS?

    Database Management System: a software package designed to store and manage databases

  • Why use DB instead of File?

    • Special code for different queries(File just a char flow)
    • data inconsistency due to multiple concurrent users
    • Security and access control
    • Crash recovery

Data,DataModel and Data Schema

  • data 数据:真实世界的描述,信息的存在实体
  • datamodel 数据模型:用来描述数据的一组概念和定义集(c语言语法)
  • schema 数据模式:对于一组数据,数据模型的一个具体实现(c语言程序)

Levels of Abstraction(三级抽象)

25646aa5-bee2-4fda-a7f0-448126fe40d7

ea3093b1-3eb5-4a11-a0e5-b4cc023a5738

  • Physical Schema:数据库数据在计算机的底层存储(文件,二进制数…)
  • Conceptual Schema:数据库用户在数据库中定义的数据的逻辑结构(关系模型中的表)
  • View:用户看到的数据(为了数据的访问安全,我们并不希望用户看到所有数据,所以可以做一张视图,里面列出用户能看的数据,给用户看)

Data Indepence(数据独立性)

数据库的三层抽象带来了两级隔离

  • 应用无需关心数据如何组织和存储
  • logical data Independence:Protection from changes in logical structure of data.
  • Physical data independence: Protection from changes in physical structure of data.

The History of Database Technology and its Classification

    1. According to the development of data model
    • No management: just used for scientific computing
    • File System: Simple data management
    • Demand of data management growing constinuously, DBMS emerged
  • According to the development of DBMS architectures

    • Centralized database systems
    • Parallel database systems
    • Distributed database systems (and Federated database systems)
    • Mobile database systems
  • According to the development of architectures of application systems based on databases

    • Centralized structure : Host+Terminal

    • Distributed structure

    • Client/Server structure(CS模式)

      ccc8ab18-bba7-4d3a-b2ae-13c429e3dbe3

    • Three tier/multi-tier structure(前后端分离)

      6a30444d-acab-4c92-961d-44bdb577614c

      用户机器只需要能运行一个浏览器即可,且无需安装客户端

    • Mobile computing

    • Grid computing / Cloud computing

  • According to the expanding of application fields

    • OLTP(联机事物处理,相对于OLAP联机分析处理而言)
    • Engineering Database
    • Deductive Database
    • Multimedia Database
    • Temporal Database
    • Spatial Database
    • Data Warehouse, OLAP, Data Mining
    • Knowledge Management
    • … …

DataBase System and its Life Cycle

0fc5b916-3018-49ae-a6a4-fedc35861e46

ec051e2b-7f47-4dd5-aeb0-1aa1ed505a68

posted @ 2025-09-15 15:11  Miaops  阅读(14)  评论(0)    收藏  举报