Mysql base notes - Introduction

Mysql base notes

Excerpt from rookie tutorial, part of the knowledge point record according to my own situation. In order to consolidate a knowledge learned, and secondly for future review.

Database is in accordance with the data structure to organize, store and manage data warehouses.
Relational databases are relational model database established on the basis by means of a set of mathematical concepts and methods to process algebra data in the database.
Relational Database Management System RDMS (Relational Database Management System) features:

  1. Data is presented in tabular form;
  2. Each recording the behavior of various names;
  3. Each column name corresponding to the recorded data field;
  4. Many of rows and columns of a form;
  5. Database composed of several forms;

Database of commonly used terms:

  1. Database: The database is a collection of related tables
  2. Data Table: Table is a matrix of data
  3. Column: one contains the same type of data
  4. Rows: one is a group of related data
  5. Redundancy: store twice as much data redundancy reduces the performance, but to improve the security of data
  6. Primary key: Primary key is unique. A data table can contain only one primary key.
  7. Foreign Key: foreign key for associating the two tables
  8. Composite key: a composite key (key combination) to a plurality of columns as the key index, the index is generally used in compliance
  9. Index: using the index can quickly access specific information in the data table. Index-value data structure is a table of one or more columns for sorting.
    10. referential integrity: reference relation allowed integrity requirements referenced entity does not exist. Integrity is the entity relationship model integrity constraints that must be met, the purpose is to ensure data consistency.
Released four original articles · won praise 0 · Views 26

Guess you like

Origin blog.csdn.net/qq_41614773/article/details/105241863