(1)数据库introduction

Drawbacks of Using File Systems to Store Data

  1. Data redundency(冗余) and inconsistency
  2. Difficulty in accessing dataneed :
    Need to write a new program to carry out each new task
  3. Data isolation:文件格式
  4. Intefrity problems:
    Hard to add new constraints or changeexisting ones
  5. Atomicity of updates:
    Failures may leave database in an inconsistent state with partial updates carried out
  6. Concurrent(同时) access by multiple users
  7. Security problems:
    Hard to provide user access to some, but to all, data

Levels of Abstraction
Physical level
Logical level
View level

Schema(模式)
Physical schema
Logical schema
Instance(实例)

Physical Independence

A collection of tools for describing
Data
Data relationships
Data sementics(语义)
Data constraints

Relational model
Entity-Relationship data model
Object-based data model
Semistructured data model(XML)

Two classes of languages:
Procsdural
Declarative

Data Definition Language(DDL)
DDL compiler generate a set of tables stored in a data dictionary
ER Model

Transaction Management

Database Architecture
Centrailized
Client-server
Browser-server
Parallel
Distributed

Database Administer(DBA)
在这里插入图片描述

发布了89 篇原创文章 · 获赞 0 · 访问量 1624

猜你喜欢

转载自blog.csdn.net/qq_43410618/article/details/104482458