北京科技大学 数据库系统概念 概念题整理

本文整理了北京科技大学数据库系统课程中的关键概念,涵盖了数据库的基础理论和重要知识点,适合复习和学习。
摘要由CSDN通过智能技术生成

Database concepts

Database-management system (DBMS)

A collection of interrelated data and a set of programs to access those data

Database-system applications

   

File-process systems

The typical file-processing system is supported by a conventional operating system

The system stores permanent records in various files, and it needs different application programs to extract records from, and add records to, the appropriate files

    Data inconsistency

    (*drawback of file system)

The various copies of the same data may no longer agree

~比如一个学生选了双学位,那么在两个学位下面都要存储他的信息,造成冗余

~而且,如果学生的地址改变了,那么可能一处进行了修改,一处没有,造成不一致

    Consistency constraints

    (*drawback of file system)

When new constraints are added, it is difficult to change the program to enforce them

 

Data abstraction

The need for efficiency has led designers to use complex data structures to represent data in the database

Since users are stupid, developers hide the complexity from users through several levels of abstraction:c

Physical level: how the data are actually stored

Logical level: what data are stored in the database

View level: users only need part of the database, so we need to simplify their interaction with the system

Instance

The collection of information stored in the database at a particular moment

实例,类比于某个时刻某个变量的值

Schema

The overall design of the database

模式,类比于变量的声明

    physical schema

The database design at the physical level

    logical schema

The database design at the logical level

Physical data independence

Although implementation of the simple structure at logical level may involve complex physical-level structures, the user of the logical level does not need to be aware of that

Data models

Underlying the structure of a database is the data model: a collection of conceptual tools for describing data, data relatio

  • 0
    点赞
  • 12
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值