Database review (i)--Introduction to the database

Source: Internet
Author: User
Tags data structures

I. Overview of the database system

The database system includes:

1. Data

2. Database

3. Database management System (DBMS): System software, main functions: Data definition function (DDL), data organization, storage and management, data manipulation function DML, database transaction management and operation management

, the establishment and maintenance of the database, and the communication function between its software.

The development of data management technology: Database System Management, file System management, human management

Two. Data model

The abstraction of the real world

Classification:

A: Conceptual model: involves concepts: Entities, attributes, codes (keys), domains, entities (entities with the same attributes put together, such as: Student (school number, name, gender ...) ), Entity sets (similar entities), contact

Conceptual model representation: E-r Diagram, Entity-Contact method

Categories: Relational data models, hierarchical data models, mesh data models

Two: Logical model:

Three: Physical model:

  

A data model is a set of tightly defined concepts: static characteristics of data, dynamic characteristics, and integrity constraints

Corresponding, the data model is usually composed of three parts, data structure, operation and integrity constraint.

Relational Data Model:

Data structures: Two-dimensional tables: relationships, tuples, attributes, codes, domains, components, relational patterns

Manipulation of the data model: collection operations, objects, and results are all relationships

Integrity constraints: Entity integrity, referential integrity, user-defined integrity

Mode of the Data system:

External mode

Internal mode

Mode

Data independence:

External mode/mode image

Mode/Internal mode image

Guaranteed Data Independence

  

Database review (i)--Introduction to the database

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.