Basic database concepts (study notes) - python

1. Database concepts:

It is a popular place to hoard data, local storage, and is not limited to a disk, hard disk, floppy disk power-down and other local non-volatile, power-down volatile memory and other data can also be used to hoard.

The official definition: according to the data structure to organize, store, warehouse management data.

Early storage: first use of a hole punched cards, lamp blinking to indicate the data input-output

              后来数据保存在了磁带上,但是磁带只能顺序读取,写入,不能够随机访问

              1956年IBM发明了磁盘驱动器,支持随机访问。

             随着信息化的时代到来,有大量的数据需要存储和管理,数据库管理系统DBMS就诞生了

2. The classification database;

By database model classification: hierarchical databases, network databases, relational databases.

2.1 hierarchical databases:

In a tree structure represents the link between the entity and its. Only supports one to many relationship, the database on behalf of IBM IMS.

There is also a representative of IBM DB2 database product, fee-based products. It is a relational database.

2.2 network database:

Founded by the Edison General Electric Company developed a database, you can only run on GE's own host.

Data storage nodes, nodes with relationship to describe the relationship between data. It can support many to many relationship.

2.3 relational database :( mainstream database)

Using rows, columns two-dimensional table to organize data and relationships can be described row data entities, relationships between the entities may also be described.

Relational database and network, database hierarchical structure is simpler compared to relational databases have a strict mathematical theory foundation support. (EFCodd researcher)

Relationship data model structure based system called RDBMS

Major relational databases: Oracle of Oracle and Mysql Microsoft Ms SQL previous infomix, Sybase, etc.

Mysql:

MySQL 4.0 beginning supported MyISAM, InnoDB Mysql 5.0 version began to be called milestone

MySQL is the engine of the plug-ins that can support a variety of engine:

MyISASM, does not support transactions, insert, query speed.

InnoDB, supports transactions, row-level locking, mysql5.5 since become the default engine

  1. Removed by IOE:

It is the concept of Alibaba create. Its intention is, in Ali Baba's IT infrastructure, remove the IBM minicomputer, Oracle database, EMC storage devices, instead of developing their own systems based on open source software

4.NoSQL: is the generic term for a non-traditional non-SQL relational database. Born in 1998, was presented in 2009 refers to non-relational, distributed once again, it does not provide ACID transactional database design patterns. (Example: Sina blog, handle a large number of comments and the like)

The popular database tables and some heat profile:

A site popular heat intercepted data database ranking a site popular heat intercepted data database ranking
Basic database concepts (study notes) - python

1.SQLite: relational database management system, is a lightweight database used in the design of embedded products.

Guess you like

Origin blog.51cto.com/14477933/2425327