Database and database management system

database

1.1 What is a database

Database: a repository for storing data

Database system (DataBase System)

2.1

operating system

2.2 Database System

A workflow system data

Is a database (the data), database management systems (software), database administrators (personnel), hardware platform (hardware) and software platforms (software) five-part run entity consisting of

Database management system (DataBase Management System)

3.1 database management system

A software used to manage databases

Is an important part of database systems, data management layer is located between the user and the operating software, the organization responsible for the data in the database, data manipulation, data maintenance and data services

Management Database 3.2

  1. Access to data
  2. Manipulate data (add, delete, change,)
  3. Data Definition
  4. Database operational management
  5. Database creation and maintenance functions (creation and maintenance)

Database and database management system

2.1 Concepts and database entities

entity

Object: something that exists objectively entity

For example: a computer, a car, 1 person

Entity data storage requirements

Must be stored in accordance with certain classification and rules

database

Specialized data set for storing information of these entities, the computer entity is stored in this manner

Features Database

  1. Mass data storage, data retrieval is very convenient
  2. Keeping data consistent information, integrity, sharing and data security
  3. By combining analysis, can produce new and useful information

The basic unit of storage entities 2.2

Data Sheet - similar to class

The basic unit of information storage entity is a data table stored in the same entity in the same table, also known as the entity table set
Here Insert Picture Description
Here Insert Picture Description

Other terms of the data table

  1. OK: Record a similar entity (object)
  2. Column (field): an entity similar properties (properties of the object)

2.3 different entity store

Storage method

Different entities in different data tables stored in different types of objects belonging to different classes of

Understanding of the database

  1. A large amount of data, relationships between tables, and various data operation target data set consisting of a set of
  2. He is not a simple combination of data places

2.4 database management system

DBMS

Is a database management software by the user, and its purpose is to allow the user to complete the processing of the data in the database through the operation of the database management system

DBMS functionality

  1. 创建数据库:能够提供数据定义语言(Data Defination Language,简称DDL),利用数据定义语言可以方便的创建数据库(数据库、数据表、表关系、各种对象)

  2. 操作数据库:能够提供数据操纵语言(Data Manipulation Language,简称DML),实现对数据的增、删除、修改、查询、统计等数据处理功能
    Here Insert Picture Description

2.5应用程序

应用程序是根据用户需求开发的一套具有业务逻辑的管理软件

  1. 专业人士,直接通过数据库管理系统进行管理数据库
  2. 普通人士,通过应用程序指挥数据库管理系统完成数据的处理

应用程序特点

  1. 作用:向数据库发送请求,并显示响应的结果
  2. 要求:美观、操作简单方便、能够按照业务逻辑完成数据处理

2.6如何学习数据库

学习标准的SQL

  1. SQL (Structed Query Language),结构化查询语言
  2. 使用SQL语言可以完成所有数据库操作
  3. 应用程序通过SQL语言数据库进行交互数据

针对特定的DBMS学习如何管理数据库

  1. 数据的导入导出
  2. 数据的备份、还原
  3. 数据库性能的更改…

将DML嵌入高级开发语言编写应用程序

  1. 基于C/S的桌面应用程序的开发
  2. 基于B/S的WEB应用程序的开发

2.7SQL与T-SQL

SQL与T-SQL

  1. T-SQL=Transact-SQL
  2. T-SQL是对于SQL的进一步加强
  3. 对SQL标准功能进行扩充:例如:声明变量、流程控制、自定义函数

2.8主流数据库

MySQL

Java,PHP+MySQL

Oracle

大数据、Python、Java

MS SQL Server

DB2

Access

ASP技术-微软VB语言

2.9总结要求

  1. 重点掌握:实体的概念、数据库的概念、DBMS的概念
  2. 理解内容:DBMS和应用程序之间的关系、SQL与T-SQL、学习数据库的三个方面
Published 98 original articles · won praise 150 · views 10000 +

Guess you like

Origin blog.csdn.net/chonbi/article/details/104369087