Skip to content

Commit

Permalink
数据库教程
Browse files Browse the repository at this point in the history
  • Loading branch information
王奇文 committed Dec 16, 2023
1 parent ddbb6f5 commit 4440e3e
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions _posts/2013-07-31-dm-note.md
Original file line number Diff line number Diff line change
Expand Up @@ -888,15 +888,33 @@ print_session(last_info)

# 数据库

## 教程

【2023-12-16】数据库教程
- [db-tutorial](https://dunwu.github.io/db-tutorial/)

在线写sql的网页,不用本地安装;
- [廖雪峰](https://www.liaoxuefeng.com/wiki/1177760294764384/1179611432985088)
- [jsrun](http://mysql.jsrun.net)



## 数据库分类

数据库按照数据结构来组织、存储和管理数据,实际上,数据库一共有三种模型:层次模型,网状模型,关系模型
- 层次模型:以“上下级”的层次关系来组织数据的一种方式,层次模型的数据结构看起来就像一颗树:
- 网状模型:把每个数据节点和其他很多节点都连接起来,它的数据结构看起来就像很多城市之间的路网:
- 关系模型:把数据看作是一个二维表格,任何数据都可以通过行号+列号来唯一确定,它的数据模型看起来就是一个Excel表:

随着时间的推移和市场竞争,最终,基于关系模型的关系数据库获得了绝对市场份额。

- (1)根据数据库的类型划分。
- 关系型数据库: mysql,oracle,sqlserver,postgresql等。
- nosql数据库: mongodb,hbase,cassandra,redis,CouchDB,Riak,Membase等。
- **关系型**数据库: mysql,oracle,sqlserver,postgresql等。
- **nosql**数据库: mongodb,hbase,cassandra,redis,CouchDB,Riak,Membase等。
- (2)根据数据库的用途划分。
- 缓存数据库:redis,memcached,h2db等
- 日志数据库:kahadb等。
- k-v型数据库:leveldb,redis等。
- **缓存**数据库:redis,memcached,h2db等
- **日志**数据库:kahadb等。
- **k-v型**数据库:leveldb,redis等。
- (3)检索型存储中间件有:elasticsearch、solr、Lucene等。

### NoSQL
Expand Down

0 comments on commit 4440e3e

Please sign in to comment.