数据库管理系统(DBMS)

Overview
Database Basics
Data Storage
Hard Disk Basics
Indexing
Entity-Relationship(ER) Data Modelling
The Relational Data Model
Designing a Good Relational Model
Practical
Structured Query Language (SQL)
View

What is a Database
A database is a collection of related data.
Database Management System(DBMS)
A database management system is a set of programs that allow a user to user to create and manipulate a database.
It provides an abstract view of the data in the database and describes, logically, how the data is stored, accessed and modified.
The schema of a database defines the structure of the database in a formal language that is supported the DBMS.
A DBMS catalog contains a complete description of the structure of each database in the DBMS and the constraints on the data in each database.
A DB view is a subset of the DB and data derived from the DB.

program-data independence
we can change data without changing operations.
Information System & DBMS
How DBMS fit into Information System?
Interactive query or host query
Facilitates unambiguous statement
Facilitates precise query
Retrieved data is specifically stored or aggregated
Query if Boolean combination of predicates
Exact matching of condition
Provides a formal schema
A DBMS also provides:
Security
Data independence
Persistence( data can be stored on termination)
Concurrency
recovery and backup

DBMS USERS
Database Administrators (DBA) are the systems managers of the database

DBMS Data Example: Entities and Relationship
some Definitions
view
A user’s perspective of the database that may be a subset of the database or contain virtual data derived from the database but not stored in it.
Entity
Attribute
Relationship

Three level of DBMS
External Level
Users use a language incorporating:
Data Definition Language(DDL)
Data Manipulation Language(DML)
Each view describes the part of the individual user is interested in, hiding the rest of the data.
Conceptual Level
The conceptual level describes the whole database.
It hides the details of the data storage, describes the data stored and the relationships between the data.
Internal Level
It describes the physical storage of the database.
It managed by the Operating System under the direction of the DBMS.
It define the type of the stored records.
It define the using an internal DDL.

Database Administrator
The DBA has an essential role in any DBMS and has overall control of the DBMS.

Data Models
Hierarchical
Network
Relational

finished

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值