MySQL 's most popular relational database management system
MySQL official website: http://www.mysql.com
MySQL is one of the best RDBMS applications in Web applications
RDBMS: relational database Management system relational databases management systems
Q: What is a database?
A: A database is a warehouse that organizes, stores, and manages data according to its structure, and each database has one or more different APIs for creating, accessing, managing, searching, and replicating the saved data.
Database mode is much faster than reading and writing data in a file.
Therefore, choose to use a relational database management system (RDBMS) to store and manage large amounts of data.
relational database is a database based on the relational model, which is used to deal with the data in the database by means of mathematical concepts and methods such as set algebra.
The RDBMS is the feature of the relational database management system (relational Management Systems):
① data appears in tabular form
② per row for various record names
③ Each column is the data field that corresponds to the record name
④ Many rows and columns form a single sheet
⑤ A number of forms form database
RDBMS terminology
① Database: The database is a collection of some associated tables.
② Data sheet: a table is a matrix of data. Tables in a database look like a simple spreadsheet.
③ column: a column (the data element) contains the same data, such as the postal code.
④ : 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 the security of the data.
⑥ PRIMARY key: The primary key is unique. Only one primary key can be included in a data table. You can use a primary key to query the data.
⑦ foreign Key: A foreign key is used to correlate 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: referential integrity requires that references to non-existent entities are not allowed in the relationship. and entity integrity are the integrity constraints that the relational model must satisfy in order to ensure the consistency of the data.
MySQL database was developed by the Swedish MySQL AB company and is currently owned by Oracle Corporation .
MySQL is an associated database management system that keeps data in separate tables rather than putting all of the data in a large warehouse, which increases speed and increases flexibility.
Advantage Features:
① Open Source, there is no need to pay an extra fee.
② supports large databases that can handle large databases with thousands records.
Support 50 million records of Data Warehouse, 32-bit system table file maximum support 4gb,64 bit system support the largest table file is 8TB.
③ uses the standard SQL data language form.
④ is allowed on multiple systems and supports multiple languages, and has good support for PHP (Web development language).
⑤ can be customized, using the GPL protocol, you can modify the source code to develop their own MySQL system.
Mysql_ Introduction Introduction