MySQL Learning (a) MySQL database

Source: Internet
Author: User

1. What is a database?

A database is organized by data structure. Warehouse where data is stored and managed

2. Relational database management system (relational DB Management system i.e. RDBMS)

The so-called relational database is a database based on the relational type. Processing data in a database with mathematical concepts and methods such as set algebra

Features of the RDBMS:

A. The data appears in tabular form.

B. Various record names for each behavior

C. data fields corresponding to record names for each column

D. A number of rows and columns form a single table

e. A number of single-table components databse

RBDMS terminology

database: The database is a collection of some associated tables

data table: a table is a matrix of data. A table in a database looks like a simple spreadsheet

columns: a column (a data element) that contains the same data, such as a postal code

row: a row (= tuple, or record) is a set of related data, such as a user's subscribed data

redundancy: stores twice times the data, redundancy reduces performance, but improves security

PRIMARY key: The primary key is unique. A table can contain only one primary key. You can use the primary key to query the data

foreign key: foreign key for associating two tables

Composite key: composite key (key combination) multiple columns as an index key, typically used for composite indexes

index: use an index to quickly access specific information in a database table. An index is a structure that sorts the values of one or more columns in a database table. A directory similar to a book

referential integrity: references to non-existent entities are not allowed in referential integrity requirements relationships. The integrity constraints that the relational model must meet in order to ensure the consistency of the data

3.Mysql Database

MySQL is a relational database management system.

MySQL Learning (a) MySQL 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.