docs: 更新文档

pull/22/head
dunwu 2022-07-16 10:44:19 +08:00
parent 7af39e0566
commit 258eee5769
84 changed files with 458 additions and 435 deletions

124
README.md
View File

@ -81,44 +81,44 @@
## 数据库综合
- [Nosql 技术选型](docs/01.计算机科学/02.数据库/01.数据库综合/01.Nosql技术选型.md)
- [数据结构与数据库索引](docs/01.计算机科学/02.数据库/01.数据库综合/02.数据结构与数据库索引.md)
- [Nosql 技术选型](docs/12.数据库/01.数据库综合/01.Nosql技术选型.md)
- [数据结构与数据库索引](docs/12.数据库/01.数据库综合/02.数据结构与数据库索引.md)
## 数据库中间件
- [ShardingSphere 简介](docs/01.计算机科学/02.数据库/02.数据库中间件/01.Shardingsphere/01.ShardingSphere简介.md)
- [ShardingSphere Jdbc](docs/01.计算机科学/02.数据库/02.数据库中间件/01.Shardingsphere/02.ShardingSphereJdbc.md)
- [版本管理中间件 Flyway](docs/01.计算机科学/02.数据库/02.数据库中间件/02.Flyway.md)
- [ShardingSphere 简介](docs/12.数据库/02.数据库中间件/01.Shardingsphere/01.ShardingSphere简介.md)
- [ShardingSphere Jdbc](docs/12.数据库/02.数据库中间件/01.Shardingsphere/02.ShardingSphereJdbc.md)
- [版本管理中间件 Flyway](docs/12.数据库/02.数据库中间件/02.Flyway.md)
## 关系型数据库
> [关系型数据库](docs/01.计算机科学/02.数据库/03.关系型数据库) 整理主流关系型数据库知识点。
> [关系型数据库](docs/12.数据库/03.关系型数据库) 整理主流关系型数据库知识点。
### 公共知识
- [关系型数据库面试总结](docs/01.计算机科学/02.数据库/03.关系型数据库/01.综合/01.关系型数据库面试.md) 💯
- [SQL Cheat Sheet](docs/01.计算机科学/02.数据库/03.关系型数据库/01.综合/02.SqlCheatSheet.md) 是一个 SQL 入门教程。
- [扩展 SQL](docs/01.计算机科学/02.数据库/03.关系型数据库/01.综合/03.扩展SQL.md) 是一个 SQL 入门教程。
- [关系型数据库面试总结](docs/12.数据库/03.关系型数据库/01.综合/01.关系型数据库面试.md) 💯
- [SQL Cheat Sheet](docs/12.数据库/03.关系型数据库/01.综合/02.SqlCheatSheet.md) 是一个 SQL 入门教程。
- [扩展 SQL](docs/12.数据库/03.关系型数据库/01.综合/03.扩展SQL.md) 是一个 SQL 入门教程。
### Mysql
![img](https://raw.githubusercontent.com/dunwu/images/dev/snap/20200716103611.png)
- [Mysql 应用指南](docs/01.计算机科学/02.数据库/03.关系型数据库/02.Mysql/01.Mysql应用指南.md) ⚡
- [Mysql 工作流](docs/01.计算机科学/02.数据库/03.关系型数据库/02.Mysql/02.MySQL工作流.md) - 关键词:`连接`、`缓存`、`语法分析`、`优化`、`执行引擎`、`redo log`、`bin log`、`两阶段提交`
- [Mysql 事务](docs/01.计算机科学/02.数据库/03.关系型数据库/02.Mysql/03.Mysql事务.md) - 关键词:`ACID`、`AUTOCOMMIT`、`事务隔离级别`、`死锁`、`分布式事务`
- [Mysql 锁](docs/01.计算机科学/02.数据库/03.关系型数据库/02.Mysql/04.Mysql锁.md) - 关键词:`乐观锁`、`表级锁`、`行级锁`、`意向锁`、`MVCC`、`Next-key 锁`
- [Mysql 索引](docs/01.计算机科学/02.数据库/03.关系型数据库/02.Mysql/05.Mysql索引.md) - 关键词:`Hash`、`B 树`、`聚簇索引`、`回表`
- [Mysql 性能优化](docs/01.计算机科学/02.数据库/03.关系型数据库/02.Mysql/06.Mysql性能优化.md)
- [Mysql 运维](docs/01.计算机科学/02.数据库/03.关系型数据库/02.Mysql/20.Mysql运维.md) 🔨
- [Mysql 配置](docs/01.计算机科学/02.数据库/03.关系型数据库/02.Mysql/21.Mysql配置.md) 🔨
- [Mysql 问题](docs/01.计算机科学/02.数据库/03.关系型数据库/02.Mysql/99.Mysql常见问题.md)
- [Mysql 应用指南](docs/12.数据库/03.关系型数据库/02.Mysql/01.Mysql应用指南.md) ⚡
- [Mysql 工作流](docs/12.数据库/03.关系型数据库/02.Mysql/02.MySQL工作流.md) - 关键词:`连接`、`缓存`、`语法分析`、`优化`、`执行引擎`、`redo log`、`bin log`、`两阶段提交`
- [Mysql 事务](docs/12.数据库/03.关系型数据库/02.Mysql/03.Mysql事务.md) - 关键词:`ACID`、`AUTOCOMMIT`、`事务隔离级别`、`死锁`、`分布式事务`
- [Mysql 锁](docs/12.数据库/03.关系型数据库/02.Mysql/04.Mysql锁.md) - 关键词:`乐观锁`、`表级锁`、`行级锁`、`意向锁`、`MVCC`、`Next-key 锁`
- [Mysql 索引](docs/12.数据库/03.关系型数据库/02.Mysql/05.Mysql索引.md) - 关键词:`Hash`、`B 树`、`聚簇索引`、`回表`
- [Mysql 性能优化](docs/12.数据库/03.关系型数据库/02.Mysql/06.Mysql性能优化.md)
- [Mysql 运维](docs/12.数据库/03.关系型数据库/02.Mysql/20.Mysql运维.md) 🔨
- [Mysql 配置](docs/12.数据库/03.关系型数据库/02.Mysql/21.Mysql配置.md) 🔨
- [Mysql 问题](docs/12.数据库/03.关系型数据库/02.Mysql/99.Mysql常见问题.md)
### 其他
- [PostgreSQL 应用指南](docs/01.计算机科学/02.数据库/03.关系型数据库/99.其他/01.PostgreSQL.md)
- [H2 应用指南](docs/01.计算机科学/02.数据库/03.关系型数据库/99.其他/02.H2.md)
- [SqLite 应用指南](docs/01.计算机科学/02.数据库/03.关系型数据库/99.其他/03.Sqlite.md)
- [PostgreSQL 应用指南](docs/12.数据库/03.关系型数据库/99.其他/01.PostgreSQL.md)
- [H2 应用指南](docs/12.数据库/03.关系型数据库/99.其他/02.H2.md)
- [SqLite 应用指南](docs/12.数据库/03.关系型数据库/99.其他/03.Sqlite.md)
## 文档数据库
@ -130,16 +130,16 @@
>
> MongoDB 最大的特点是它支持的查询语言非常强大,其语法有点类似于面向对象的查询语言,几乎可以实现类似关系数据库单表查询的绝大部分功能,而且还支持对数据建立索引。
- [MongoDB 应用指南](docs/01.计算机科学/02.数据库/04.文档数据库/01.MongoDB/01.MongoDB应用指南.md)
- [MongoDB 的 CRUD 操作](docs/01.计算机科学/02.数据库/04.文档数据库/01.MongoDB/02.MongoDB的CRUD操作.md)
- [MongoDB 聚合操作](docs/01.计算机科学/02.数据库/04.文档数据库/01.MongoDB/03.MongoDB的聚合操作.md)
- [MongoDB 事务](docs/01.计算机科学/02.数据库/04.文档数据库/01.MongoDB/04.MongoDB事务.md)
- [MongoDB 建模](docs/01.计算机科学/02.数据库/04.文档数据库/01.MongoDB/05.MongoDB建模.md)
- [MongoDB 建模示例](docs/01.计算机科学/02.数据库/04.文档数据库/01.MongoDB/06.MongoDB建模示例.md)
- [MongoDB 索引](docs/01.计算机科学/02.数据库/04.文档数据库/01.MongoDB/07.MongoDB索引.md)
- [MongoDB 复制](docs/01.计算机科学/02.数据库/04.文档数据库/01.MongoDB/08.MongoDB复制.md)
- [MongoDB 分片](docs/01.计算机科学/02.数据库/04.文档数据库/01.MongoDB/09.MongoDB分片.md)
- [MongoDB 运维](docs/01.计算机科学/02.数据库/04.文档数据库/01.MongoDB/20.MongoDB运维.md)
- [MongoDB 应用指南](docs/12.数据库/04.文档数据库/01.MongoDB/01.MongoDB应用指南.md)
- [MongoDB 的 CRUD 操作](docs/12.数据库/04.文档数据库/01.MongoDB/02.MongoDB的CRUD操作.md)
- [MongoDB 聚合操作](docs/12.数据库/04.文档数据库/01.MongoDB/03.MongoDB的聚合操作.md)
- [MongoDB 事务](docs/12.数据库/04.文档数据库/01.MongoDB/04.MongoDB事务.md)
- [MongoDB 建模](docs/12.数据库/04.文档数据库/01.MongoDB/05.MongoDB建模.md)
- [MongoDB 建模示例](docs/12.数据库/04.文档数据库/01.MongoDB/06.MongoDB建模示例.md)
- [MongoDB 索引](docs/12.数据库/04.文档数据库/01.MongoDB/07.MongoDB索引.md)
- [MongoDB 复制](docs/12.数据库/04.文档数据库/01.MongoDB/08.MongoDB复制.md)
- [MongoDB 分片](docs/12.数据库/04.文档数据库/01.MongoDB/09.MongoDB分片.md)
- [MongoDB 运维](docs/12.数据库/04.文档数据库/01.MongoDB/20.MongoDB运维.md)
## KV 数据库
@ -147,15 +147,15 @@
![img](https://raw.githubusercontent.com/dunwu/images/dev/snap/20200713105627.png)
- [Redis 面试总结](docs/01.计算机科学/02.数据库/05.KV数据库/01.Redis/01.Redis面试总结.md) 💯
- [Redis 应用指南](docs/01.计算机科学/02.数据库/05.KV数据库/01.Redis/02.Redis应用指南.md) ⚡ - 关键词:`内存淘汰`、`事件`、`事务`、`管道`、`发布与订阅`
- [Redis 数据类型和应用](docs/01.计算机科学/02.数据库/05.KV数据库/01.Redis/03.Redis数据类型和应用.md) - 关键词:`STRING`、`HASH`、`LIST`、`SET`、`ZSET`、`BitMap`、`HyperLogLog`、`Geo`
- [Redis 持久化](docs/01.计算机科学/02.数据库/05.KV数据库/01.Redis/04.Redis持久化.md) - 关键词:`RDB`、`AOF`、`SAVE`、`BGSAVE`、`appendfsync`
- [Redis 复制](docs/01.计算机科学/02.数据库/05.KV数据库/01.Redis/05.Redis复制.md) - 关键词:`SLAVEOF`、`SYNC`、`PSYNC`、`REPLCONF ACK`
- [Redis 哨兵](docs/01.计算机科学/02.数据库/05.KV数据库/01.Redis/06.Redis哨兵.md) - 关键词:`Sentinel`、`PING`、`INFO`、`Raft`
- [Redis 集群](docs/01.计算机科学/02.数据库/05.KV数据库/01.Redis/07.Redis集群.md) - 关键词:`CLUSTER MEET`、`Hash slot`、`MOVED`、`ASK`、`SLAVEOF no one`、`redis-trib`
- [Redis 实战](docs/01.计算机科学/02.数据库/05.KV数据库/01.Redis/08.Redis实战.md) - 关键词:`缓存`、`分布式锁`、`布隆过滤器`
- [Redis 运维](docs/01.计算机科学/02.数据库/05.KV数据库/01.Redis/20.Redis运维.md) 🔨 - 关键词:`安装`、`命令`、`集群`、`客户端`
- [Redis 面试总结](docs/12.数据库/05.KV数据库/01.Redis/01.Redis面试总结.md) 💯
- [Redis 应用指南](docs/12.数据库/05.KV数据库/01.Redis/02.Redis应用指南.md) ⚡ - 关键词:`内存淘汰`、`事件`、`事务`、`管道`、`发布与订阅`
- [Redis 数据类型和应用](docs/12.数据库/05.KV数据库/01.Redis/03.Redis数据类型和应用.md) - 关键词:`STRING`、`HASH`、`LIST`、`SET`、`ZSET`、`BitMap`、`HyperLogLog`、`Geo`
- [Redis 持久化](docs/12.数据库/05.KV数据库/01.Redis/04.Redis持久化.md) - 关键词:`RDB`、`AOF`、`SAVE`、`BGSAVE`、`appendfsync`
- [Redis 复制](docs/12.数据库/05.KV数据库/01.Redis/05.Redis复制.md) - 关键词:`SLAVEOF`、`SYNC`、`PSYNC`、`REPLCONF ACK`
- [Redis 哨兵](docs/12.数据库/05.KV数据库/01.Redis/06.Redis哨兵.md) - 关键词:`Sentinel`、`PING`、`INFO`、`Raft`
- [Redis 集群](docs/12.数据库/05.KV数据库/01.Redis/07.Redis集群.md) - 关键词:`CLUSTER MEET`、`Hash slot`、`MOVED`、`ASK`、`SLAVEOF no one`、`redis-trib`
- [Redis 实战](docs/12.数据库/05.KV数据库/01.Redis/08.Redis实战.md) - 关键词:`缓存`、`分布式锁`、`布隆过滤器`
- [Redis 运维](docs/12.数据库/05.KV数据库/01.Redis/20.Redis运维.md) 🔨 - 关键词:`安装`、`命令`、`集群`、`客户端`
## 列式数据库
@ -174,30 +174,30 @@
> Elasticsearch 是一个基于 Lucene 的搜索和数据分析工具它提供了一个分布式服务。Elasticsearch 是遵从 Apache 开源条款的一款开源产品,是当前主流的企业级搜索引擎。
- [Elasticsearch 面试总结](docs/01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/01.Elasticsearch面试总结.md) 💯
- [Elasticsearch 快速入门](docs/01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/02.Elasticsearch快速入门.md)
- [Elasticsearch 简介](docs/01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/03.Elasticsearch简介.md)
- [Elasticsearch 索引](docs/01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/04.Elasticsearch索引.md)
- [Elasticsearch 查询](docs/01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/05.Elasticsearch查询.md)
- [Elasticsearch 高亮](docs/01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/06.Elasticsearch高亮.md)
- [Elasticsearch 排序](docs/01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/07.Elasticsearch排序.md)
- [Elasticsearch 聚合](docs/01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/08.Elasticsearch聚合.md)
- [Elasticsearch 分析器](docs/01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/09.Elasticsearch分析器.md)
- [Elasticsearch 性能优化](docs/01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/10.Elasticsearch性能优化.md)
- [Elasticsearch Rest API](docs/01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/11.ElasticsearchRestApi.md)
- [ElasticSearch Java API 之 High Level REST Client](docs/01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/12.ElasticsearchHighLevelRestJavaApi.md)
- [Elasticsearch 集群和分片](docs/01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/13.Elasticsearch集群和分片.md)
- [Elasticsearch 运维](docs/01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/20.Elasticsearch运维.md)
- [Elasticsearch 面试总结](docs/12.数据库/07.搜索引擎数据库/01.Elasticsearch/01.Elasticsearch面试总结.md) 💯
- [Elasticsearch 快速入门](docs/12.数据库/07.搜索引擎数据库/01.Elasticsearch/02.Elasticsearch快速入门.md)
- [Elasticsearch 简介](docs/12.数据库/07.搜索引擎数据库/01.Elasticsearch/03.Elasticsearch简介.md)
- [Elasticsearch 索引](docs/12.数据库/07.搜索引擎数据库/01.Elasticsearch/04.Elasticsearch索引.md)
- [Elasticsearch 查询](docs/12.数据库/07.搜索引擎数据库/01.Elasticsearch/05.Elasticsearch查询.md)
- [Elasticsearch 高亮](docs/12.数据库/07.搜索引擎数据库/01.Elasticsearch/06.Elasticsearch高亮.md)
- [Elasticsearch 排序](docs/12.数据库/07.搜索引擎数据库/01.Elasticsearch/07.Elasticsearch排序.md)
- [Elasticsearch 聚合](docs/12.数据库/07.搜索引擎数据库/01.Elasticsearch/08.Elasticsearch聚合.md)
- [Elasticsearch 分析器](docs/12.数据库/07.搜索引擎数据库/01.Elasticsearch/09.Elasticsearch分析器.md)
- [Elasticsearch 性能优化](docs/12.数据库/07.搜索引擎数据库/01.Elasticsearch/10.Elasticsearch性能优化.md)
- [Elasticsearch Rest API](docs/12.数据库/07.搜索引擎数据库/01.Elasticsearch/11.ElasticsearchRestApi.md)
- [ElasticSearch Java API 之 High Level REST Client](docs/12.数据库/07.搜索引擎数据库/01.Elasticsearch/12.ElasticsearchHighLevelRestJavaApi.md)
- [Elasticsearch 集群和分片](docs/12.数据库/07.搜索引擎数据库/01.Elasticsearch/13.Elasticsearch集群和分片.md)
- [Elasticsearch 运维](docs/12.数据库/07.搜索引擎数据库/01.Elasticsearch/20.Elasticsearch运维.md)
### Elastic
- [Elastic 快速入门](docs/01.计算机科学/02.数据库/07.搜索引擎数据库/02.Elastic/01.Elastic快速入门.md)
- [Elastic 技术栈之 Filebeat](docs/01.计算机科学/02.数据库/07.搜索引擎数据库/02.Elastic/02.Elastic技术栈之Filebeat.md)
- [Filebeat 运维](docs/01.计算机科学/02.数据库/07.搜索引擎数据库/02.Elastic/03.Filebeat运维.md)
- [Elastic 技术栈之 Kibana](docs/01.计算机科学/02.数据库/07.搜索引擎数据库/02.Elastic/04.Elastic技术栈之Kibana.md)
- [Kibana 运维](docs/01.计算机科学/02.数据库/07.搜索引擎数据库/02.Elastic/05.Kibana运维.md)
- [Elastic 技术栈之 Logstash](docs/01.计算机科学/02.数据库/07.搜索引擎数据库/02.Elastic/06.Elastic技术栈之Logstash.md)
- [Logstash 运维](docs/01.计算机科学/02.数据库/07.搜索引擎数据库/02.Elastic/07.Logstash运维.md)
- [Elastic 快速入门](docs/12.数据库/07.搜索引擎数据库/02.Elastic/01.Elastic快速入门.md)
- [Elastic 技术栈之 Filebeat](docs/12.数据库/07.搜索引擎数据库/02.Elastic/02.Elastic技术栈之Filebeat.md)
- [Filebeat 运维](docs/12.数据库/07.搜索引擎数据库/02.Elastic/03.Filebeat运维.md)
- [Elastic 技术栈之 Kibana](docs/12.数据库/07.搜索引擎数据库/02.Elastic/04.Elastic技术栈之Kibana.md)
- [Kibana 运维](docs/12.数据库/07.搜索引擎数据库/02.Elastic/05.Kibana运维.md)
- [Elastic 技术栈之 Logstash](docs/12.数据库/07.搜索引擎数据库/02.Elastic/06.Elastic技术栈之Logstash.md)
- [Logstash 运维](docs/12.数据库/07.搜索引擎数据库/02.Elastic/07.Logstash运维.md)
## 资料 📚
@ -434,4 +434,4 @@
## 传送 🚪
🏠 [DB-TUTORIAL 首页](https://github.com/dunwu/db-tutorial) ◾ 🎯 [我的博客](https://github.com/dunwu/blog) ◾
💧 [钝悟的 IT 知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [钝悟的博客](https://dunwu.github.io/blog/) ◾

View File

@ -25,30 +25,30 @@ module.exports = {
// 主题配置
themeConfig: {
nav: [
{ text: '数据库综合', link: '/01.计算机科学/02.数据库/01.数据库综合/' },
{ text: '数据库中间件', link: '/01.计算机科学/02.数据库/02.数据库中间件/' },
{ text: '数据库综合', link: '/12.数据库/01.数据库综合/' },
{ text: '数据库中间件', link: '/12.数据库/02.数据库中间件/' },
{
text: '关系型数据库',
link: '/01.计算机科学/02.数据库/03.关系型数据库/',
link: '/12.数据库/03.关系型数据库/',
items: [
{ text: '综合', link: '/01.计算机科学/02.数据库/03.关系型数据库/01.综合/' },
{ text: 'Mysql', link: '/01.计算机科学/02.数据库/03.关系型数据库/02.Mysql/' },
{ text: '其他', link: '/01.计算机科学/02.数据库/03.关系型数据库/99.其他/' }
{ text: '综合', link: '/12.数据库/03.关系型数据库/01.综合/' },
{ text: 'Mysql', link: '/12.数据库/03.关系型数据库/02.Mysql/' },
{ text: '其他', link: '/12.数据库/03.关系型数据库/99.其他/' }
]
},
{
text: '文档数据库',
items: [{ text: 'MongoDB', link: '/01.计算机科学/02.数据库/04.文档数据库/01.MongoDB/' }]
items: [{ text: 'MongoDB', link: '/12.数据库/04.文档数据库/01.MongoDB/' }]
},
{
text: 'KV数据库',
items: [{ text: 'Redis', link: '/01.计算机科学/02.数据库/05.KV数据库/01.Redis/' }]
items: [{ text: 'Redis', link: '/12.数据库/05.KV数据库/01.Redis/' }]
},
{
text: '搜索引擎数据库',
items: [
{ text: 'Elasticsearch', link: '/01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/' },
{ text: 'Elastic技术栈', link: '/01.计算机科学/02.数据库/07.搜索引擎数据库/02.Elastic/' }
{ text: 'Elasticsearch', link: '/12.数据库/07.搜索引擎数据库/01.Elasticsearch/' },
{ text: 'Elastic技术栈', link: '/12.数据库/07.搜索引擎数据库/02.Elastic/' }
]
}
],

View File

@ -1 +1 @@
module.exports = '';
module.exports = ''

View File

@ -38,7 +38,7 @@ module.exports = {
display: none;
}
</style>
`,
`
}
// module.exports = {

View File

@ -7,6 +7,6 @@ const LoveMyPlugin = (options = {}) => ({
const EXCLUDECLASS = options.excludeClassName || ''
return { COLOR, EXCLUDECLASS }
},
enhanceAppFiles: [path.resolve(__dirname, 'love-me.js')],
enhanceAppFiles: [path.resolve(__dirname, 'love-me.js')]
})
module.exports = LoveMyPlugin

View File

@ -1,62 +1,89 @@
export default () => {
if (typeof window !== "undefined") {
(function(e, t, a) {
function r() {
for (var e = 0; e < s.length; e++) s[e].alpha <= 0 ? (t.body.removeChild(s[e].el), s.splice(e, 1)) : (s[e].y--, s[e].scale += .004, s[e].alpha -= .013, s[e].el.style.cssText = "left:" + s[e].x + "px;top:" + s[e].y + "px;opacity:" + s[e].alpha + ";transform:scale(" + s[e].scale + "," + s[e].scale + ") rotate(45deg);background:" + s[e].color + ";z-index:99999");
requestAnimationFrame(r)
}
function n() {
var t = "function" == typeof e.onclick && e.onclick;
e.onclick = function(e) {
// 过滤指定元素
let mark = true;
EXCLUDECLASS && e.path && e.path.forEach((item) =>{
if(item.nodeType === 1) {
typeof item.className === 'string' && item.className.indexOf(EXCLUDECLASS) > -1 ? mark = false : ''
}
})
if(mark) {
t && t(),
o(e)
if (typeof window !== 'undefined') {
;(function (e, t, a) {
function r() {
for (var e = 0; e < s.length; e++)
s[e].alpha <= 0
? (t.body.removeChild(s[e].el), s.splice(e, 1))
: (s[e].y--,
(s[e].scale += 0.004),
(s[e].alpha -= 0.013),
(s[e].el.style.cssText =
'left:' +
s[e].x +
'px;top:' +
s[e].y +
'px;opacity:' +
s[e].alpha +
';transform:scale(' +
s[e].scale +
',' +
s[e].scale +
') rotate(45deg);background:' +
s[e].color +
';z-index:99999'))
requestAnimationFrame(r)
}
function n() {
var t = 'function' == typeof e.onclick && e.onclick
e.onclick = function (e) {
// 过滤指定元素
let mark = true
EXCLUDECLASS &&
e.path &&
e.path.forEach((item) => {
if (item.nodeType === 1) {
typeof item.className === 'string' && item.className.indexOf(EXCLUDECLASS) > -1 ? (mark = false) : ''
}
}
})
if (mark) {
t && t(), o(e)
}
}
function o(e) {
var a = t.createElement("div");
a.className = "heart",
s.push({
el: a,
x: e.clientX - 5,
y: e.clientY - 5,
scale: 1,
alpha: 1,
color: COLOR
}),
t.body.appendChild(a)
}
function o(e) {
var a = t.createElement('div')
;(a.className = 'heart'),
s.push({
el: a,
x: e.clientX - 5,
y: e.clientY - 5,
scale: 1,
alpha: 1,
color: COLOR
}),
t.body.appendChild(a)
}
function i(e) {
var a = t.createElement('style')
a.type = 'text/css'
try {
a.appendChild(t.createTextNode(e))
} catch (t) {
a.styleSheet.cssText = e
}
function i(e) {
var a = t.createElement("style");
a.type = "text/css";
try {
a.appendChild(t.createTextNode(e))
} catch(t) {
a.styleSheet.cssText = e
}
t.getElementsByTagName("head")[0].appendChild(a)
}
// function c() {
// return "rgb(" + ~~ (255 * Math.random()) + "," + ~~ (255 * Math.random()) + "," + ~~ (255 * Math.random()) + ")"
// }
var s = [];
e.requestAnimationFrame = e.requestAnimationFrame || e.webkitRequestAnimationFrame || e.mozRequestAnimationFrame || e.oRequestAnimationFrame || e.msRequestAnimationFrame ||
function(e) {
setTimeout(e, 1e3 / 60)
},
i(".heart{width: 10px;height: 10px;position: fixed;background: #f00;transform: rotate(45deg);-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);}.heart:after,.heart:before{content: '';width: inherit;height: inherit;background: inherit;border-radius: 50%;-webkit-border-radius: 50%;-moz-border-radius: 50%;position: fixed;}.heart:after{top: -5px;}.heart:before{left: -5px;}"),
t.getElementsByTagName('head')[0].appendChild(a)
}
// function c() {
// return "rgb(" + ~~ (255 * Math.random()) + "," + ~~ (255 * Math.random()) + "," + ~~ (255 * Math.random()) + ")"
// }
var s = []
;(e.requestAnimationFrame =
e.requestAnimationFrame ||
e.webkitRequestAnimationFrame ||
e.mozRequestAnimationFrame ||
e.oRequestAnimationFrame ||
e.msRequestAnimationFrame ||
function (e) {
setTimeout(e, 1e3 / 60)
}),
i(
".heart{width: 10px;height: 10px;position: fixed;background: #f00;transform: rotate(45deg);-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);}.heart:after,.heart:before{content: '';width: inherit;height: inherit;background: inherit;border-radius: 50%;-webkit-border-radius: 50%;-moz-border-radius: 50%;position: fixed;}.heart:after{top: -5px;}.heart:before{left: -5px;}"
),
n(),
r()
})(window, document)
}
}
}

View File

@ -1,25 +1,113 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Markmap</title>
<style>
* {
margin: 0;
padding: 0;
}
#mindmap {
display: block;
width: 100vw;
height: 100vh;
}
</style>
</head>
<body>
<svg id="mindmap"></svg>
<script src="https://cdn.jsdelivr.net/npm/d3@5"></script><script src="https://cdn.jsdelivr.net/npm/markmap-lib@0.8.0/dist/browser/view.min.js"></script><script>((a,t,e,n)=>{const{Markmap:s,loadPlugins:o}=window.markmap;(t?t(o,e,n):Promise.resolve()).then(()=>{window.mm=s.create("svg#mindmap",null,a)})})({"t":"heading","d":1,"p":{},"v":"markmap-lib","c":[{"t":"heading","d":2,"p":{},"v":"Links","c":[{"t":"list_item","d":3,"p":{},"v":"<a href=\"https://markmap.js.org/\" target=\"_blank\" rel=\"noopener noreferrer\">https://markmap.js.org/</a>"},{"t":"list_item","d":3,"p":{},"v":"<a href=\"https://github.com/gera2ld/markmap-lib\" title=\"\" target=\"_blank\" rel=\"noopener noreferrer\">GitHub</a>"}]},{"t":"heading","d":2,"p":{},"v":"Related","c":[{"t":"list_item","d":3,"p":{},"v":"<a href=\"https://github.com/gera2ld/coc-markmap\" title=\"\" target=\"_blank\" rel=\"noopener noreferrer\">coc-markmap</a>"},{"t":"list_item","d":3,"p":{},"v":"<a href=\"https://github.com/gera2ld/gatsby-remark-markmap\" title=\"\" target=\"_blank\" rel=\"noopener noreferrer\">gatsby-remark-markmap</a>"}]},{"t":"heading","d":2,"p":{},"v":"Features","c":[{"t":"list_item","d":3,"p":{},"v":"links"},{"t":"list_item","d":3,"p":{},"v":"<strong>inline</strong> <del>text</del> <em>styles</em>"},{"t":"list_item","d":3,"p":{},"v":"multiline<br/>text"},{"t":"list_item","d":3,"p":{},"v":"<code>inline code</code>"},{"t":"list_item","d":3,"p":{},"v":"<pre><code class=\"language-js\">console.log('code block');\n</code></pre>"},{"t":"list_item","d":3,"p":{},"v":"MathJax - <code>\\(x = {-b \\pm \\sqrt{b^2-4ac} \\over 2a}\\)</code>"}]}]},(a,t,e)=>a(t,e),["mathJax","prism"],{"mathJax":true,"prism":true})</script>
</body>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Markmap</title>
<style>
* {
margin: 0;
padding: 0;
}
#mindmap {
display: block;
width: 100vw;
height: 100vh;
}
</style>
</head>
<body>
<svg id="mindmap"></svg>
<script src="https://cdn.jsdelivr.net/npm/d3@5"></script>
<script src="https://cdn.jsdelivr.net/npm/markmap-lib@0.8.0/dist/browser/view.min.js"></script>
<script>
;((a, t, e, n) => {
const { Markmap: s, loadPlugins: o } = window.markmap
;(t ? t(o, e, n) : Promise.resolve()).then(() => {
window.mm = s.create('svg#mindmap', null, a)
})
})(
{
t: 'heading',
d: 1,
p: {},
v: 'markmap-lib',
c: [
{
t: 'heading',
d: 2,
p: {},
v: 'Links',
c: [
{
t: 'list_item',
d: 3,
p: {},
v:
'<a href="https://markmap.js.org/" target="_blank" rel="noopener noreferrer">https://markmap.js.org/</a>'
},
{
t: 'list_item',
d: 3,
p: {},
v:
'<a href="https://github.com/gera2ld/markmap-lib" title="" target="_blank" rel="noopener noreferrer">GitHub</a>'
}
]
},
{
t: 'heading',
d: 2,
p: {},
v: 'Related',
c: [
{
t: 'list_item',
d: 3,
p: {},
v:
'<a href="https://github.com/gera2ld/coc-markmap" title="" target="_blank" rel="noopener noreferrer">coc-markmap</a>'
},
{
t: 'list_item',
d: 3,
p: {},
v:
'<a href="https://github.com/gera2ld/gatsby-remark-markmap" title="" target="_blank" rel="noopener noreferrer">gatsby-remark-markmap</a>'
}
]
},
{
t: 'heading',
d: 2,
p: {},
v: 'Features',
c: [
{ t: 'list_item', d: 3, p: {}, v: 'links' },
{ t: 'list_item', d: 3, p: {}, v: '<strong>inline</strong> <del>text</del> <em>styles</em>' },
{ t: 'list_item', d: 3, p: {}, v: 'multiline<br/>text' },
{ t: 'list_item', d: 3, p: {}, v: '<code>inline code</code>' },
{
t: 'list_item',
d: 3,
p: {},
v: '<pre><code class="language-js">console.log(\'code block\');\n</code></pre>'
},
{
t: 'list_item',
d: 3,
p: {},
v: 'MathJax - <code>\\(x = {-b \\pm \\sqrt{b^2-4ac} \\over 2a}\\)</code>'
}
]
}
]
},
(a, t, e) => a(t, e),
['mathJax', 'prism'],
{ mathJax: true, prism: true }
)
</script>
</body>
</html>

View File

@ -1,44 +0,0 @@
---
title: 数据库综合
date: 2022-04-11 16:52:35
categories:
- 计算机科学
- 数据库
- 数据库综合
tags:
- 数据库
- 综合
permalink: /pages/3c3c45/
hidden: true
---
# 数据库综合
## 📖 内容
### 分布式存储原理
- [分布式简介](https://dunwu.github.io/design/distributed/分布式简介.html)
- [分布式基础理论](https://dunwu.github.io/design/distributed/分布式理论.html) - 关键词:`拜占庭将军`、`CAP`、`BASE`
- [分布式算法 Paxos](https://dunwu.github.io/design/distributed/分布式算法Paxos.html) - 关键词:`共识性算法`
- [分布式算法 Raft](https://dunwu.github.io/design/distributed/分布式算法Raft.html) - 关键词:`共识性算法`
- [负载均衡](https://dunwu.github.io/design/distributed/负载均衡.html) - 关键词:`轮询`、`随机`、`最少连接`、`源地址哈希`、`一致性哈希`、`虚拟 hash 槽`
- [消息队列](https://dunwu.github.io/design/distributed/消息队列.html) - 关键词:`重复消费`、`消息丢失`、`消息顺序性`、`消息积压`
- [分布式存储](https://dunwu.github.io/design/distributed/分布式存储.html) - 关键词:`读写分离`、`分库分表`、`迁移`、`扩容`
- [分布式缓存](https://dunwu.github.io/design/distributed/分布式缓存.html) - 关键词:`进程内缓存`、`分布式缓存`、`缓存雪崩`、`缓存穿透`、`缓存击穿`、`缓存更新`、`缓存预热`、`缓存降级`
- [分布式锁](https://dunwu.github.io/design/distributed/分布式锁.html) - 关键词:`数据库`、`Redis`、`ZooKeeper`、`互斥`、`可重入`、`死锁`、`容错`、`自旋尝试`
- [分布式 ID](https://dunwu.github.io/design/distributed/分布式ID.html) - 关键词:`UUID`、`自增序列`、`雪花算法`、`Leaf`
- [分布式事务](https://dunwu.github.io/design/distributed/分布式事务.html) - 关键词:`2PC`、`3PC`、`TCC`、`本地消息表`、`MQ 消息`、`SAGA`
- [分布式会话](https://dunwu.github.io/design/distributed/分布式会话.html) - 关键词:`粘性 Session`、`Session 复制共享`、`基于缓存的 session 共享`
- [流量控制](https://dunwu.github.io/design/distributed/流量控制.html) - 关键词:`计数器法`、`时间窗口法`、`令牌桶法`、`漏桶法`
### 其他
- [Nosql 技术选型](01.Nosql技术选型.md)
- [数据结构与数据库索引](02.数据结构与数据库索引.md)
## 📚 资料
## 🚪 传送
◾ 💧 [我的IT知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [我的博客](https://dunwu.github.io/blog/) ◾

View File

@ -2,7 +2,6 @@
title: Nosql技术选型
date: 2020-02-09 02:18:58
categories:
- 计算机科学
- 数据库
- 数据库综合
tags:

View File

@ -2,7 +2,6 @@
title: 数据结构与数据库索引
date: 2022-03-27 23:39:10
categories:
- 计算机科学
- 数据库
- 数据库综合
tags:
@ -83,7 +82,7 @@ permalink: /pages/d7cd88/
## B-Tree 索引
通常我们所说的 B 树索引是指 `B-Tree` 索引,它是目前关系型数据库中查找数据最为常用和有效的索引,大多数存储引擎都支持这种索引。使用 `B-Tree` 这个术语,是因为 MySQL 在 `CREATE TABLE` 或其它语句中使用了这个关键字,但实际上不同的存储引擎可能使用不同的数据结构,比如 InnoDB 使用的是 `B+Tree `索引;而 MyISAM 使用的是 `B-Tree `索引。
通常我们所说的 B 树索引是指 `B-Tree` 索引,它是目前关系型数据库中查找数据最为常用和有效的索引,大多数存储引擎都支持这种索引。使用 `B-Tree` 这个术语,是因为 MySQL 在 `CREATE TABLE` 或其它语句中使用了这个关键字,但实际上不同的存储引擎可能使用不同的数据结构,比如 InnoDB 使用的是 `B+Tree`索引;而 MyISAM 使用的是 `B-Tree`索引。
`B-Tree` 索引中的 B 是指 `balance`,意为平衡。需要注意的是,`B-Tree` 索引并不能找到一个给定键值的具体行,它找到的只是被查找数据行所在的页,接着数据库会把页读入到内存,再在内存中进行查找,最后得到要查找的数据。

View File

@ -0,0 +1,25 @@
---
title: 数据库综合
date: 2022-04-11 16:52:35
categories:
- 数据库
- 数据库综合
tags:
- 数据库
- 综合
permalink: /pages/3c3c45/
hidden: true
---
# 数据库综合
## 📖 内容
- [Nosql 技术选型](01.Nosql技术选型.md)
- [数据结构与数据库索引](02.数据结构与数据库索引.md)
## 📚 资料
## 🚪 传送
◾ 💧 [钝悟的 IT 知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [钝悟的博客](https://dunwu.github.io/blog/) ◾

View File

@ -2,7 +2,6 @@
title: ShardingSphere 简介
date: 2020-10-08 20:30:30
categories:
- 计算机科学
- 数据库
- 数据库中间件
- Shardingsphere

View File

@ -2,7 +2,6 @@
title: ShardingSphere Jdbc
date: 2020-12-28 00:01:28
categories:
- 计算机科学
- 数据库
- 数据库中间件
- Shardingsphere

View File

@ -2,7 +2,6 @@
title: 版本管理中间件 Flyway
date: 2019-08-22 09:02:39
categories:
- 计算机科学
- 数据库
- 数据库中间件
tags:
@ -502,4 +501,4 @@ Flyway 的功能主要围绕着 7 个基本命令:[Migrate](https://flywaydb.o
## :door: 传送门
| [我的 Github 博客](https://github.com/dunwu/blog) | [db-tutorial 首页](https://github.com/dunwu/db-tutorial) |
| [钝悟的博客](https://dunwu.github.io/blog/) | [db-tutorial 首页](https://github.com/dunwu/db-tutorial) |

View File

@ -2,7 +2,6 @@
title: 数据库中间件和代理
date: 2022-04-11 16:52:35
categories:
- 计算机科学
- 数据库
- 数据库中间件
tags:
@ -31,4 +30,4 @@ hidden: true
## 🚪 传送
◾ 💧 [我的IT知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [的博客](https://dunwu.github.io/blog/) ◾
◾ 💧 [钝悟的 IT 知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [钝悟的博客](https://dunwu.github.io/blog/) ◾

View File

@ -2,7 +2,6 @@
title: 关系型数据库面试
date: 2020-01-15 23:21:02
categories:
- 计算机科学
- 数据库
- 关系型数据库
- 综合

View File

@ -2,7 +2,6 @@
title: sql-cheat-sheet
date: 2018-06-15 16:07:17
categories:
- 计算机科学
- 数据库
- 关系型数据库
- 综合

View File

@ -2,7 +2,6 @@
title: 扩展 SQL
date: 2020-10-10 19:03:05
categories:
- 计算机科学
- 数据库
- 关系型数据库
- 综合

View File

@ -2,7 +2,6 @@
title: 关系型数据库综合知识
date: 2020-07-16 11:14:07
categories:
- 计算机科学
- 数据库
- 关系型数据库
- 综合
@ -46,4 +45,4 @@ hidden: true
## 🚪 传送
◾ 💧 [我的IT知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [的博客](https://dunwu.github.io/blog/) ◾
◾ 💧 [钝悟的 IT 知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [钝悟的博客](https://dunwu.github.io/blog/) ◾

View File

@ -2,7 +2,6 @@
title: Mysql 应用指南
date: 2020-07-13 10:08:37
categories:
- 计算机科学
- 数据库
- 关系型数据库
- Mysql
@ -234,4 +233,4 @@ MySQL 读写分离能提高性能的原因在于:
## 12. 传送门
◾ 💧 [我的IT知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [的博客](https://dunwu.github.io/blog/) ◾
◾ 💧 [钝悟的 IT 知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [钝悟的博客](https://dunwu.github.io/blog/) ◾

View File

@ -2,7 +2,6 @@
title: MySQL 工作流
date: 2020-07-16 11:14:07
categories:
- 计算机科学
- 数据库
- 关系型数据库
- Mysql

View File

@ -2,7 +2,6 @@
title: Mysql 事务
date: 2020-06-03 19:32:09
categories:
- 计算机科学
- 数据库
- 关系型数据库
- Mysql

View File

@ -2,7 +2,6 @@
title: Mysql 锁
date: 2020-09-07 07:54:19
categories:
- 计算机科学
- 数据库
- 关系型数据库
- Mysql

View File

@ -2,7 +2,6 @@
title: Mysql 索引
date: 2020-07-16 11:14:07
categories:
- 计算机科学
- 数据库
- 关系型数据库
- Mysql

View File

@ -2,7 +2,6 @@
title: Mysql 性能优化
date: 2020-06-03 20:16:48
categories:
- 计算机科学
- 数据库
- 关系型数据库
- Mysql

View File

@ -2,7 +2,6 @@
title: Mysql 运维
date: 2019-11-26 21:37:17
categories:
- 计算机科学
- 数据库
- 关系型数据库
- Mysql

View File

@ -2,7 +2,6 @@
title: Mysql 配置
date: 2020-02-29 22:32:57
categories:
- 计算机科学
- 数据库
- 关系型数据库
- Mysql

View File

@ -2,7 +2,6 @@
title: Mysql 常见问题
date: 2020-09-12 10:43:53
categories:
- 计算机科学
- 数据库
- 关系型数据库
- Mysql

View File

@ -2,7 +2,6 @@
title: Mysql 教程
date: 2020-02-10 14:27:39
categories:
- 计算机科学
- 数据库
- 关系型数据库
- Mysql
@ -76,4 +75,4 @@ hidden: true
## 🚪 传送
◾ 💧 [我的IT知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [的博客](https://dunwu.github.io/blog/) ◾
◾ 💧 [钝悟的 IT 知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [钝悟的博客](https://dunwu.github.io/blog/) ◾

View File

@ -2,7 +2,6 @@
title: PostgreSQL 应用指南
date: 2019-08-22 09:02:39
categories:
- 计算机科学
- 数据库
- 关系型数据库
- 其他
@ -197,4 +196,4 @@ psql -h 127.0.0.1 -U user_name db_name < dump.sql
## :door: 传送门
| [我的 Github 博客](https://github.com/dunwu/blog) | [db-tutorial 首页](https://github.com/dunwu/db-tutorial) |
| [钝悟的博客](https://dunwu.github.io/blog/) | [db-tutorial 首页](https://github.com/dunwu/db-tutorial) |

View File

@ -2,7 +2,6 @@
title: H2 应用指南
date: 2019-08-22 09:02:39
categories:
- 计算机科学
- 数据库
- 关系型数据库
- 其他
@ -472,4 +471,4 @@ H2 可以通过 CreateCluster 工具创建集群,示例步骤如下(在在
## :door: 传送门
| [我的 Github 博客](https://github.com/dunwu/blog) | [db-tutorial 首页](https://github.com/dunwu/db-tutorial) |
| [钝悟的博客](https://dunwu.github.io/blog/) | [db-tutorial 首页](https://github.com/dunwu/db-tutorial) |

View File

@ -2,7 +2,6 @@
title: sqlite
date: 2019-08-22 09:02:39
categories:
- 计算机科学
- 数据库
- 关系型数据库
- 其他
@ -386,4 +385,4 @@ Connection connection = DriverManager.getConnection("jdbc:sqlite::memory:");
## :door: 传送门
| [我的 Github 博客](https://github.com/dunwu/blog) | [db-tutorial 首页](https://github.com/dunwu/db-tutorial) |
| [钝悟的博客](https://dunwu.github.io/blog/) | [db-tutorial 首页](https://github.com/dunwu/db-tutorial) |

View File

@ -2,7 +2,6 @@
title: 关系型数据库其他知识
date: 2022-04-11 16:52:35
categories:
- 计算机科学
- 数据库
- 关系型数据库
- 其他
@ -25,4 +24,4 @@ hidden: true
## 🚪 传送
◾ 💧 [我的IT知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [的博客](https://dunwu.github.io/blog/) ◾
◾ 💧 [钝悟的 IT 知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [钝悟的博客](https://dunwu.github.io/blog/) ◾

View File

@ -2,7 +2,6 @@
title: 关系型数据库
date: 2022-04-11 16:52:35
categories:
- 计算机科学
- 数据库
- 关系型数据库
tags:
@ -71,4 +70,4 @@ hidden: true
## 🚪 传送
◾ 💧 [我的IT知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [的博客](https://dunwu.github.io/blog/) ◾
◾ 💧 [钝悟的 IT 知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [钝悟的博客](https://dunwu.github.io/blog/) ◾

View File

@ -2,7 +2,6 @@
title: MongoDB 应用指南
date: 2020-09-07 07:54:19
categories:
- 计算机科学
- 数据库
- 文档数据库
- MongoDB

View File

@ -2,7 +2,6 @@
title: MongoDB 的 CRUD 操作
date: 2020-09-25 21:23:41
categories:
- 计算机科学
- 数据库
- 文档数据库
- MongoDB
@ -44,7 +43,7 @@ db.inventory.insertOne({
item: 'canvas',
qty: 100,
tags: ['cotton'],
size: { h: 28, w: 35.5, uom: 'cm' },
size: { h: 28, w: 35.5, uom: 'cm' }
})
```
@ -56,20 +55,20 @@ db.inventory.insertMany([
item: 'journal',
qty: 25,
tags: ['blank', 'red'],
size: { h: 14, w: 21, uom: 'cm' },
size: { h: 14, w: 21, uom: 'cm' }
},
{
item: 'mat',
qty: 85,
tags: ['gray'],
size: { h: 27.9, w: 35.5, uom: 'cm' },
size: { h: 27.9, w: 35.5, uom: 'cm' }
},
{
item: 'mousepad',
qty: 25,
tags: ['gel', 'blue'],
size: { h: 19, w: 22.85, uom: 'cm' },
},
size: { h: 19, w: 22.85, uom: 'cm' }
}
])
```
@ -103,7 +102,7 @@ db.inventory.insertMany([
item: 'canvas',
qty: 100,
size: { h: 28, w: 35.5, uom: 'cm' },
status: 'A',
status: 'A'
},
{ item: 'journal', qty: 25, size: { h: 14, w: 21, uom: 'cm' }, status: 'A' },
{ item: 'mat', qty: 85, size: { h: 27.9, w: 35.5, uom: 'cm' }, status: 'A' },
@ -111,39 +110,39 @@ db.inventory.insertMany([
item: 'mousepad',
qty: 25,
size: { h: 19, w: 22.85, uom: 'cm' },
status: 'P',
status: 'P'
},
{
item: 'notebook',
qty: 50,
size: { h: 8.5, w: 11, uom: 'in' },
status: 'P',
status: 'P'
},
{ item: 'paper', qty: 100, size: { h: 8.5, w: 11, uom: 'in' }, status: 'D' },
{
item: 'planner',
qty: 75,
size: { h: 22.85, w: 30, uom: 'cm' },
status: 'D',
status: 'D'
},
{
item: 'postcard',
qty: 45,
size: { h: 10, w: 15.25, uom: 'cm' },
status: 'A',
status: 'A'
},
{
item: 'sketchbook',
qty: 80,
size: { h: 14, w: 21, uom: 'cm' },
status: 'A',
status: 'A'
},
{
item: 'sketch pad',
qty: 95,
size: { h: 22.85, w: 30.5, uom: 'cm' },
status: 'A',
},
status: 'A'
}
])
```
@ -154,7 +153,7 @@ db.inventory.updateOne(
{ item: 'paper' },
{
$set: { 'size.uom': 'cm', status: 'P' },
$currentDate: { lastModified: true },
$currentDate: { lastModified: true }
}
)
```
@ -166,7 +165,7 @@ db.inventory.updateMany(
{ qty: { $lt: 50 } },
{
$set: { 'size.uom': 'in', status: 'P' },
$currentDate: { lastModified: true },
$currentDate: { lastModified: true }
}
)
```
@ -180,8 +179,8 @@ db.inventory.replaceOne(
item: 'paper',
instock: [
{ warehouse: 'A', qty: 60 },
{ warehouse: 'B', qty: 40 },
],
{ warehouse: 'B', qty: 40 }
]
}
)
```
@ -247,9 +246,9 @@ try {
_id: 4,
char: 'Dithras',
class: 'barbarian',
lvl: 4,
},
},
lvl: 4
}
}
},
{
insertOne: {
@ -257,23 +256,23 @@ try {
_id: 5,
char: 'Taeln',
class: 'fighter',
lvl: 3,
},
},
lvl: 3
}
}
},
{
updateOne: {
filter: { char: 'Eldon' },
update: { $set: { status: 'Critical Injury' } },
},
update: { $set: { status: 'Critical Injury' } }
}
},
{ deleteOne: { filter: { char: 'Brisbane' } } },
{
replaceOne: {
filter: { char: 'Meldane' },
replacement: { char: 'Tanys', class: 'oracle', lvl: 4 },
},
},
replacement: { char: 'Tanys', class: 'oracle', lvl: 4 }
}
}
])
} catch (e) {
print(e)

View File

@ -2,7 +2,6 @@
title: MongoDB 的聚合操作
date: 2020-09-21 21:22:57
categories:
- 计算机科学
- 数据库
- 文档数据库
- MongoDB
@ -290,9 +289,9 @@ db.orders.insertMany([
price: 25,
items: [
{ sku: 'oranges', qty: 5, price: 2.5 },
{ sku: 'apples', qty: 5, price: 2.5 },
{ sku: 'apples', qty: 5, price: 2.5 }
],
status: 'A',
status: 'A'
},
{
_id: 2,
@ -301,9 +300,9 @@ db.orders.insertMany([
price: 70,
items: [
{ sku: 'oranges', qty: 8, price: 2.5 },
{ sku: 'chocolates', qty: 5, price: 10 },
{ sku: 'chocolates', qty: 5, price: 10 }
],
status: 'A',
status: 'A'
},
{
_id: 3,
@ -312,9 +311,9 @@ db.orders.insertMany([
price: 50,
items: [
{ sku: 'oranges', qty: 10, price: 2.5 },
{ sku: 'pears', qty: 10, price: 2.5 },
{ sku: 'pears', qty: 10, price: 2.5 }
],
status: 'A',
status: 'A'
},
{
_id: 4,
@ -322,7 +321,7 @@ db.orders.insertMany([
ord_date: new Date('2020-03-18'),
price: 25,
items: [{ sku: 'oranges', qty: 10, price: 2.5 }],
status: 'A',
status: 'A'
},
{
_id: 5,
@ -330,7 +329,7 @@ db.orders.insertMany([
ord_date: new Date('2020-03-19'),
price: 50,
items: [{ sku: 'chocolates', qty: 5, price: 10 }],
status: 'A',
status: 'A'
},
{
_id: 6,
@ -339,9 +338,9 @@ db.orders.insertMany([
price: 35,
items: [
{ sku: 'carrots', qty: 10, price: 1.0 },
{ sku: 'apples', qty: 10, price: 2.5 },
{ sku: 'apples', qty: 10, price: 2.5 }
],
status: 'A',
status: 'A'
},
{
_id: 7,
@ -349,7 +348,7 @@ db.orders.insertMany([
ord_date: new Date('2020-03-20'),
price: 25,
items: [{ sku: 'oranges', qty: 10, price: 2.5 }],
status: 'A',
status: 'A'
},
{
_id: 8,
@ -358,9 +357,9 @@ db.orders.insertMany([
price: 75,
items: [
{ sku: 'chocolates', qty: 5, price: 10 },
{ sku: 'apples', qty: 10, price: 2.5 },
{ sku: 'apples', qty: 10, price: 2.5 }
],
status: 'A',
status: 'A'
},
{
_id: 9,
@ -370,9 +369,9 @@ db.orders.insertMany([
items: [
{ sku: 'carrots', qty: 5, price: 1.0 },
{ sku: 'apples', qty: 10, price: 2.5 },
{ sku: 'oranges', qty: 10, price: 2.5 },
{ sku: 'oranges', qty: 10, price: 2.5 }
],
status: 'A',
status: 'A'
},
{
_id: 10,
@ -380,8 +379,8 @@ db.orders.insertMany([
ord_date: new Date('2020-03-23'),
price: 25,
items: [{ sku: 'oranges', qty: 10, price: 2.5 }],
status: 'A',
},
status: 'A'
}
])
```

View File

@ -2,7 +2,6 @@
title: MongoDB 事务
date: 2020-09-20 23:12:17
categories:
- 计算机科学
- 数据库
- 文档数据库
- MongoDB

View File

@ -2,7 +2,6 @@
title: MongoDB 建模
date: 2020-09-09 20:47:14
categories:
- 计算机科学
- 数据库
- 文档数据库
- MongoDB
@ -200,21 +199,21 @@ db.createCollection('students', {
properties: {
name: {
bsonType: 'string',
description: 'must be a string and is required',
description: 'must be a string and is required'
},
year: {
bsonType: 'int',
minimum: 2017,
maximum: 3017,
description: 'must be an integer in [ 2017, 3017 ] and is required',
description: 'must be an integer in [ 2017, 3017 ] and is required'
},
major: {
enum: ['Math', 'English', 'Computer Science', 'History', null],
description: 'can only be one of the enum values and is required',
description: 'can only be one of the enum values and is required'
},
gpa: {
bsonType: ['double'],
description: 'must be a double if the field exists',
description: 'must be a double if the field exists'
},
address: {
bsonType: 'object',
@ -222,17 +221,17 @@ db.createCollection('students', {
properties: {
street: {
bsonType: 'string',
description: 'must be a string if the field exists',
description: 'must be a string if the field exists'
},
city: {
bsonType: 'string',
description: 'must be a string and is required',
},
},
},
},
},
},
description: 'must be a string and is required'
}
}
}
}
}
}
})
```
@ -254,9 +253,9 @@ db.createCollection('contacts', {
$or: [
{ phone: { $type: 'string' } },
{ email: { $regex: /@mongodb\.com$/ } },
{ status: { $in: ['Unknown', 'Incomplete'] } },
],
},
{ status: { $in: ['Unknown', 'Incomplete'] } }
]
}
})
```
@ -282,9 +281,9 @@ db.contacts.insert([
name: 'Anne',
phone: '+1 555 123 456',
city: 'London',
status: 'Complete',
status: 'Complete'
},
{ _id: 2, name: 'Ivan', city: 'Vancouver' },
{ _id: 2, name: 'Ivan', city: 'Vancouver' }
])
```
@ -300,16 +299,16 @@ db.runCommand({
properties: {
phone: {
bsonType: 'string',
description: 'must be a string and is required',
description: 'must be a string and is required'
},
name: {
bsonType: 'string',
description: 'must be a string and is required',
},
},
},
description: 'must be a string and is required'
}
}
}
},
validationLevel: 'moderate',
validationLevel: 'moderate'
})
```
@ -339,22 +338,22 @@ db.createCollection('contacts2', {
properties: {
phone: {
bsonType: 'string',
description: 'must be a string and is required',
description: 'must be a string and is required'
},
email: {
bsonType: 'string',
pattern: '@mongodb.com$',
description:
'must be a string and match the regular expression pattern',
'must be a string and match the regular expression pattern'
},
status: {
enum: ['Unknown', 'Incomplete'],
description: 'can only be one of the enum values',
},
},
},
description: 'can only be one of the enum values'
}
}
}
},
validationAction: 'warn',
validationAction: 'warn'
})
```

View File

@ -2,7 +2,6 @@
title: MongoDB 建模示例
date: 2020-09-12 10:43:53
categories:
- 计算机科学
- 数据库
- 文档数据库
- MongoDB
@ -534,7 +533,7 @@ db.categories.insertMany([
{ _id: 'Languages', parent: 'Programming', left: 3, right: 4 },
{ _id: 'Databases', parent: 'Programming', left: 5, right: 10 },
{ _id: 'MongoDB', parent: 'Databases', left: 6, right: 7 },
{ _id: 'dbm', parent: 'Databases', left: 8, right: 9 },
{ _id: 'dbm', parent: 'Databases', left: 8, right: 9 }
])
```
@ -544,7 +543,7 @@ db.categories.insertMany([
var databaseCategory = db.categories.findOne({ _id: 'Databases' })
db.categories.find({
left: { $gt: databaseCategory.left },
right: { $lt: databaseCategory.right },
right: { $lt: databaseCategory.right }
})
```

View File

@ -2,7 +2,6 @@
title: MongoDB 索引
date: 2020-09-21 21:22:57
categories:
- 计算机科学
- 数据库
- 文档数据库
- MongoDB

View File

@ -2,7 +2,6 @@
title: MongoDB 复制
date: 2020-09-20 23:12:17
categories:
- 计算机科学
- 数据库
- 文档数据库
- MongoDB

View File

@ -2,7 +2,6 @@
title: MongoDB 分片
date: 2020-09-20 23:12:17
categories:
- 计算机科学
- 数据库
- 文档数据库
- MongoDB

View File

@ -2,7 +2,6 @@
title: MongoDB 运维
date: 2020-09-09 20:47:14
categories:
- 计算机科学
- 数据库
- 文档数据库
- MongoDB

View File

@ -2,7 +2,6 @@
title: MongoDB 教程
date: 2020-09-09 20:47:14
categories:
- 计算机科学
- 数据库
- 文档数据库
- MongoDB
@ -60,4 +59,4 @@ hidden: true
## 🚪 传送
◾ 💧 [我的IT知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [的博客](https://dunwu.github.io/blog/) ◾
◾ 💧 [钝悟的 IT 知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [钝悟的博客](https://dunwu.github.io/blog/) ◾

View File

@ -2,7 +2,6 @@
title: Redis 面试总结
date: 2020-07-13 17:03:42
categories:
- 计算机科学
- 数据库
- KV数据库
- Redis

View File

@ -2,7 +2,6 @@
title: Redis 应用指南
date: 2020-01-30 21:48:57
categories:
- 计算机科学
- 数据库
- KV数据库
- Redis

View File

@ -2,7 +2,6 @@
title: Redis 数据类型和应用
date: 2020-06-24 10:45:38
categories:
- 计算机科学
- 数据库
- KV数据库
- Redis
@ -255,8 +254,8 @@ OK
Redis 的 `SORT` 命令可以对 `LIST`、`SET`、`ZSET` 进行排序。
| 命令 | 描述 |
| ------ | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| 命令 | 描述 |
| ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `SORT` | `SORT source-key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC | DESC] [ALPHA] [STORE dest-key]`—根据给定选项,对输入 `LIST`、`SET`、`ZSET` 进行排序,然后返回或存储排序的结果。 |
示例:

View File

@ -2,7 +2,6 @@
title: Redis 持久化
date: 2020-06-24 10:45:38
categories:
- 计算机科学
- 数据库
- KV数据库
- Redis

View File

@ -2,7 +2,6 @@
title: Redis 复制
date: 2020-06-24 10:45:38
categories:
- 计算机科学
- 数据库
- KV数据库
- Redis

View File

@ -2,7 +2,6 @@
title: Redis 哨兵
date: 2020-06-24 10:45:38
categories:
- 计算机科学
- 数据库
- KV数据库
- Redis

View File

@ -2,7 +2,6 @@
title: Redis 集群
date: 2020-06-24 10:45:38
categories:
- 计算机科学
- 数据库
- KV数据库
- Redis

View File

@ -2,7 +2,6 @@
title: Redis 实战
date: 2020-06-24 10:45:38
categories:
- 计算机科学
- 数据库
- KV数据库
- Redis

View File

@ -2,7 +2,6 @@
title: Redis 运维
date: 2020-06-24 10:45:38
categories:
- 计算机科学
- 数据库
- KV数据库
- Redis

View File

@ -2,7 +2,6 @@
title: Redis 教程
date: 2020-02-10 14:27:39
categories:
- 计算机科学
- 数据库
- KV数据库
- Redis
@ -101,4 +100,4 @@ hidden: true
## 🚪 传送
◾ 💧 [我的IT知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [的博客](https://dunwu.github.io/blog/) ◾
◾ 💧 [钝悟的 IT 知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [钝悟的博客](https://dunwu.github.io/blog/) ◾

View File

@ -2,7 +2,6 @@
title: Hbase
date: 2020-02-10 14:27:39
categories:
- 计算机科学
- 数据库
- 列式数据库
tags:

View File

@ -2,7 +2,6 @@
title: Cassandra
date: 2019-08-22 09:02:39
categories:
- 计算机科学
- 数据库
- 列式数据库
tags:
@ -57,4 +56,4 @@ Cassandra 的主要特点就是它不是一个数据库,而是由一堆数据
## :door: 传送门
| [我的 Github 博客](https://github.com/dunwu/blog) | [db-tutorial 首页](https://github.com/dunwu/db-tutorial) |
| [钝悟的博客](https://dunwu.github.io/blog/) | [db-tutorial 首页](https://github.com/dunwu/db-tutorial) |

View File

@ -2,7 +2,6 @@
title: Elasticsearch 面试总结
date: 2020-06-16 07:10:44
categories:
- 计算机科学
- 数据库
- 搜索引擎数据库
- Elasticsearch

View File

@ -2,7 +2,6 @@
title: Elasticsearch 快速入门
date: 2020-06-16 07:10:44
categories:
- 计算机科学
- 数据库
- 搜索引擎数据库
- Elasticsearch

View File

@ -2,7 +2,6 @@
title: Elasticsearch 简介
date: 2022-02-22 21:01:01
categories:
- 计算机科学
- 数据库
- 搜索引擎数据库
- Elasticsearch

View File

@ -2,7 +2,6 @@
title: Elasticsearch 索引
date: 2022-02-22 21:01:01
categories:
- 计算机科学
- 数据库
- 搜索引擎数据库
- Elasticsearch

View File

@ -2,7 +2,6 @@
title: Elasticsearch 映射
date: 2022-05-16 19:54:24
categories:
- 计算机科学
- 数据库
- 搜索引擎数据库
- Elasticsearch
@ -316,7 +315,7 @@ Elasticsearch 提供了以下映射参数:
- [`copy_to`](https://www.elastic.co/guide/en/elasticsearch/reference/current/copy-to.html):允许将多个字段的值复制到一个组字段中,然后可以将其作为单个字段进行查询。
- [`doc_values`](https://www.elastic.co/guide/en/elasticsearch/reference/current/doc-values.html):默认情况下,所有字段都是被
- [`dynamic`](https://www.elastic.co/guide/en/elasticsearch/reference/current/dynamic.html):是否开启动态映射。
- [`eager_global_ordinals`](https://www.elastic.co/guide/en/elasticsearch/reference/current/eager-global-ordinals.html)当在global ordinals的时候refresh以后下一次查询字典就需要重新构建在追求查询的场景下很影响查询性能。可以使用eager_global_ordinals即在每次refresh以后即可更新字典字典常驻内存减少了查询的时候构建字典的耗时。
- [`eager_global_ordinals`](https://www.elastic.co/guide/en/elasticsearch/reference/current/eager-global-ordinals.html):当在 global ordinals 的时候refresh 以后下一次查询字典就需要重新构建,在追求查询的场景下很影响查询性能。可以使用 eager_global_ordinals即在每次 refresh 以后即可更新字典,字典常驻内存,减少了查询的时候构建字典的耗时。
- [`enabled`](https://www.elastic.co/guide/en/elasticsearch/reference/current/enabled.html):只能应用于顶级 mapping 定义和 `object` 字段。设置为 `false`Elasticsearch 解析时,会完全跳过该字段。
- [`fielddata`](https://www.elastic.co/guide/en/elasticsearch/reference/current/fielddata.html):默认情况下, `text` 字段是可搜索的,但不可用于聚合、排序或脚本。如果为字段设置 `fielddata=true`,就会通过反转倒排索引将 fielddata 加载到内存中。请注意,这可能会占用大量内存。如果想对 `text` 字段进行聚合、排序或脚本操作fielddata 是唯一方法。
- [`fields`](https://www.elastic.co/guide/en/elasticsearch/reference/current/multi-fields.html):有时候,同一个字段需要以不同目的进行索引,此时可以通过 `fields` 进行配置。

View File

@ -2,7 +2,6 @@
title: Elasticsearch 查询
date: 2022-01-18 08:01:08
categories:
- 计算机科学
- 数据库
- 搜索引擎数据库
- Elasticsearch

View File

@ -2,7 +2,6 @@
title: Elasticsearch 高亮搜索及显示
date: 2022-02-22 21:01:01
categories:
- 计算机科学
- 数据库
- 搜索引擎数据库
- Elasticsearch

View File

@ -2,7 +2,6 @@
title: Elasticsearch 排序
date: 2022-01-19 22:49:16
categories:
- 计算机科学
- 数据库
- 搜索引擎数据库
- Elasticsearch

View File

@ -2,7 +2,6 @@
title: Elasticsearch 聚合
date: 2022-01-19 22:49:16
categories:
- 计算机科学
- 数据库
- 搜索引擎数据库
- Elasticsearch

View File

@ -2,7 +2,6 @@
title: Elasticsearch 分析器
date: 2022-02-22 21:01:01
categories:
- 计算机科学
- 数据库
- 搜索引擎数据库
- Elasticsearch

View File

@ -2,7 +2,6 @@
title: Elasticsearch 性能优化
date: 2022-01-21 19:54:43
categories:
- 计算机科学
- 数据库
- 搜索引擎数据库
- Elasticsearch

View File

@ -2,7 +2,6 @@
title: Elasticsearch Rest API
date: 2020-06-16 07:10:44
categories:
- 计算机科学
- 数据库
- 搜索引擎数据库
- Elasticsearch

View File

@ -2,7 +2,6 @@
title: ElasticSearch Java API 之 High Level REST Client
date: 2022-03-01 18:55:46
categories:
- 计算机科学
- 数据库
- 搜索引擎数据库
- Elasticsearch

View File

@ -2,7 +2,6 @@
title: Elasticsearch 集群和分片
date: 2022-03-01 20:52:25
categories:
- 计算机科学
- 数据库
- 搜索引擎数据库
- Elasticsearch

View File

@ -2,7 +2,6 @@
title: Elasticsearch 运维
date: 2020-06-16 07:10:44
categories:
- 计算机科学
- 数据库
- 搜索引擎数据库
- Elasticsearch

View File

@ -2,7 +2,6 @@
title: Elasticsearch 教程
date: 2022-04-11 16:52:35
categories:
- 计算机科学
- 数据库
- 搜索引擎数据库
- Elasticsearch
@ -75,4 +74,4 @@ hidden: true
## 🚪 传送
◾ 💧 [我的 IT 知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [的博客](https://dunwu.github.io/blog/) ◾
◾ 💧 [钝悟的 IT 知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [钝悟的博客](https://dunwu.github.io/blog/) ◾

View File

@ -2,7 +2,6 @@
title: Elastic 快速入门
date: 2020-06-16 07:10:44
categories:
- 计算机科学
- 数据库
- 搜索引擎数据库
- Elastic

View File

@ -2,7 +2,6 @@
title: Elastic 技术栈之 Filebeat
date: 2020-06-16 07:10:44
categories:
- 计算机科学
- 数据库
- 搜索引擎数据库
- Elastic

View File

@ -2,7 +2,6 @@
title: Filebeat 运维
date: 2020-06-16 07:10:44
categories:
- 计算机科学
- 数据库
- 搜索引擎数据库
- Elastic

View File

@ -2,7 +2,6 @@
title: Elastic 技术栈之 Kibana
date: 2020-06-16 07:10:44
categories:
- 计算机科学
- 数据库
- 搜索引擎数据库
- Elastic

View File

@ -2,7 +2,6 @@
title: Kibana 运维
date: 2020-06-16 07:10:44
categories:
- 计算机科学
- 数据库
- 搜索引擎数据库
- Elastic

View File

@ -2,7 +2,6 @@
title: Elastic 技术栈之 Logstash
date: 2020-06-16 07:10:44
categories:
- 计算机科学
- 数据库
- 搜索引擎数据库
- Elastic
@ -162,14 +161,14 @@ input {
- Lists
```javascript
;(path) => ['/var/log/messages', '/var/log/*.log']
;(uris) => ['http://elastic.co', 'http://example.net']
path => ['/var/log/messages', '/var/log/*.log']
uris => ['http://elastic.co', 'http://example.net']
```
- Boolean
```javascript
;(ssl_enable) => true
ssl_enable => true
```
- Bytes
@ -184,7 +183,7 @@ input {
- Codec
```javascript
;(codec) => 'json'
codec => 'json'
```
- Hash
@ -200,25 +199,25 @@ match => {
- Number
```javascript
;(port) => 33
port => 33
```
- Password
```javascript
;(my_password) => 'password'
my_password => 'password'
```
- URI
```javascript
;(my_uri) => 'http://foo:bar@example.net'
my_uri => 'http://foo:bar@example.net'
```
- Path
```javascript
;(my_path) => '/tmp/logstash'
my_path => '/tmp/logstash'
```
- String

View File

@ -2,7 +2,6 @@
title: Logstash 运维
date: 2020-06-16 07:10:44
categories:
- 计算机科学
- 数据库
- 搜索引擎数据库
- Elastic

View File

@ -2,7 +2,6 @@
title: Elastic 技术栈
date: 2022-04-11 16:52:35
categories:
- 计算机科学
- 数据库
- 搜索引擎数据库
- Elastic
@ -56,4 +55,4 @@ hidden: true
## 🚪 传送
◾ 💧 [我的IT知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [的博客](https://dunwu.github.io/blog/) ◾
◾ 💧 [钝悟的 IT 知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [钝悟的博客](https://dunwu.github.io/blog/) ◾

View File

@ -2,7 +2,6 @@
title: 数据库
date: 2022-02-22 21:01:01
categories:
- 计算机科学
- 数据库
tags:
- 数据库
@ -427,4 +426,4 @@ hidden: true
## 传送 🚪
◾ 💧 [我的IT知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [的博客](https://dunwu.github.io/blog/) ◾
◾ 💧 [钝悟的 IT 知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [钝悟的博客](https://dunwu.github.io/blog/) ◾

View File

@ -83,44 +83,44 @@ footer: CC-BY-SA-4.0 Licensed | Copyright © 2018-Now Dunwu
## 数据库综合
- [Nosql 技术选型](01.计算机科学/02.数据库/01.数据库综合/01.Nosql技术选型.md)
- [数据结构与数据库索引](01.计算机科学/02.数据库/01.数据库综合/02.数据结构与数据库索引.md)
- [Nosql 技术选型](12.数据库/01.数据库综合/01.Nosql技术选型.md)
- [数据结构与数据库索引](12.数据库/01.数据库综合/02.数据结构与数据库索引.md)
## 数据库中间件
- [ShardingSphere 简介](01.计算机科学/02.数据库/02.数据库中间件/01.Shardingsphere/01.ShardingSphere简介.md)
- [ShardingSphere Jdbc](01.计算机科学/02.数据库/02.数据库中间件/01.Shardingsphere/02.ShardingSphereJdbc.md)
- [版本管理中间件 Flyway](01.计算机科学/02.数据库/02.数据库中间件/02.Flyway.md)
- [ShardingSphere 简介](12.数据库/02.数据库中间件/01.Shardingsphere/01.ShardingSphere简介.md)
- [ShardingSphere Jdbc](12.数据库/02.数据库中间件/01.Shardingsphere/02.ShardingSphereJdbc.md)
- [版本管理中间件 Flyway](12.数据库/02.数据库中间件/02.Flyway.md)
## 关系型数据库
> [关系型数据库](01.计算机科学/02.数据库/03.关系型数据库) 整理主流关系型数据库知识点。
> [关系型数据库](12.数据库/03.关系型数据库) 整理主流关系型数据库知识点。
### 公共知识
- [关系型数据库面试总结](01.计算机科学/02.数据库/03.关系型数据库/01.综合/01.关系型数据库面试.md) 💯
- [SQL Cheat Sheet](01.计算机科学/02.数据库/03.关系型数据库/01.综合/02.SqlCheatSheet.md) 是一个 SQL 入门教程。
- [扩展 SQL](01.计算机科学/02.数据库/03.关系型数据库/01.综合/03.扩展SQL.md) 是一个 SQL 入门教程。
- [关系型数据库面试总结](12.数据库/03.关系型数据库/01.综合/01.关系型数据库面试.md) 💯
- [SQL Cheat Sheet](12.数据库/03.关系型数据库/01.综合/02.SqlCheatSheet.md) 是一个 SQL 入门教程。
- [扩展 SQL](12.数据库/03.关系型数据库/01.综合/03.扩展SQL.md) 是一个 SQL 入门教程。
### Mysql
![img](https://raw.githubusercontent.com/dunwu/images/dev/snap/20200716103611.png)
- [Mysql 应用指南](01.计算机科学/02.数据库/03.关系型数据库/02.Mysql/01.Mysql应用指南.md) ⚡
- [Mysql 工作流](01.计算机科学/02.数据库/03.关系型数据库/02.Mysql/02.MySQL工作流.md) - 关键词:`连接`、`缓存`、`语法分析`、`优化`、`执行引擎`、`redo log`、`bin log`、`两阶段提交`
- [Mysql 事务](01.计算机科学/02.数据库/03.关系型数据库/02.Mysql/03.Mysql事务.md) - 关键词:`ACID`、`AUTOCOMMIT`、`事务隔离级别`、`死锁`、`分布式事务`
- [Mysql 锁](01.计算机科学/02.数据库/03.关系型数据库/02.Mysql/04.Mysql锁.md) - 关键词:`乐观锁`、`表级锁`、`行级锁`、`意向锁`、`MVCC`、`Next-key 锁`
- [Mysql 索引](01.计算机科学/02.数据库/03.关系型数据库/02.Mysql/05.Mysql索引.md) - 关键词:`Hash`、`B 树`、`聚簇索引`、`回表`
- [Mysql 性能优化](01.计算机科学/02.数据库/03.关系型数据库/02.Mysql/06.Mysql性能优化.md)
- [Mysql 运维](01.计算机科学/02.数据库/03.关系型数据库/02.Mysql/20.Mysql运维.md) 🔨
- [Mysql 配置](01.计算机科学/02.数据库/03.关系型数据库/02.Mysql/21.Mysql配置.md) 🔨
- [Mysql 问题](01.计算机科学/02.数据库/03.关系型数据库/02.Mysql/99.Mysql常见问题.md)
- [Mysql 应用指南](12.数据库/03.关系型数据库/02.Mysql/01.Mysql应用指南.md) ⚡
- [Mysql 工作流](12.数据库/03.关系型数据库/02.Mysql/02.MySQL工作流.md) - 关键词:`连接`、`缓存`、`语法分析`、`优化`、`执行引擎`、`redo log`、`bin log`、`两阶段提交`
- [Mysql 事务](12.数据库/03.关系型数据库/02.Mysql/03.Mysql事务.md) - 关键词:`ACID`、`AUTOCOMMIT`、`事务隔离级别`、`死锁`、`分布式事务`
- [Mysql 锁](12.数据库/03.关系型数据库/02.Mysql/04.Mysql锁.md) - 关键词:`乐观锁`、`表级锁`、`行级锁`、`意向锁`、`MVCC`、`Next-key 锁`
- [Mysql 索引](12.数据库/03.关系型数据库/02.Mysql/05.Mysql索引.md) - 关键词:`Hash`、`B 树`、`聚簇索引`、`回表`
- [Mysql 性能优化](12.数据库/03.关系型数据库/02.Mysql/06.Mysql性能优化.md)
- [Mysql 运维](12.数据库/03.关系型数据库/02.Mysql/20.Mysql运维.md) 🔨
- [Mysql 配置](12.数据库/03.关系型数据库/02.Mysql/21.Mysql配置.md) 🔨
- [Mysql 问题](12.数据库/03.关系型数据库/02.Mysql/99.Mysql常见问题.md)
### 其他
- [PostgreSQL 应用指南](01.计算机科学/02.数据库/03.关系型数据库/99.其他/01.PostgreSQL.md)
- [H2 应用指南](01.计算机科学/02.数据库/03.关系型数据库/99.其他/02.H2.md)
- [SqLite 应用指南](01.计算机科学/02.数据库/03.关系型数据库/99.其他/03.Sqlite.md)
- [PostgreSQL 应用指南](12.数据库/03.关系型数据库/99.其他/01.PostgreSQL.md)
- [H2 应用指南](12.数据库/03.关系型数据库/99.其他/02.H2.md)
- [SqLite 应用指南](12.数据库/03.关系型数据库/99.其他/03.Sqlite.md)
## 文档数据库
@ -132,16 +132,16 @@ footer: CC-BY-SA-4.0 Licensed | Copyright © 2018-Now Dunwu
>
> MongoDB 最大的特点是它支持的查询语言非常强大,其语法有点类似于面向对象的查询语言,几乎可以实现类似关系数据库单表查询的绝大部分功能,而且还支持对数据建立索引。
- [MongoDB 应用指南](01.计算机科学/02.数据库/04.文档数据库/01.MongoDB/01.MongoDB应用指南.md)
- [MongoDB 的 CRUD 操作](01.计算机科学/02.数据库/04.文档数据库/01.MongoDB/02.MongoDB的CRUD操作.md)
- [MongoDB 聚合操作](01.计算机科学/02.数据库/04.文档数据库/01.MongoDB/03.MongoDB的聚合操作.md)
- [MongoDB 事务](01.计算机科学/02.数据库/04.文档数据库/01.MongoDB/04.MongoDB事务.md)
- [MongoDB 建模](01.计算机科学/02.数据库/04.文档数据库/01.MongoDB/05.MongoDB建模.md)
- [MongoDB 建模示例](01.计算机科学/02.数据库/04.文档数据库/01.MongoDB/06.MongoDB建模示例.md)
- [MongoDB 索引](01.计算机科学/02.数据库/04.文档数据库/01.MongoDB/07.MongoDB索引.md)
- [MongoDB 复制](01.计算机科学/02.数据库/04.文档数据库/01.MongoDB/08.MongoDB复制.md)
- [MongoDB 分片](01.计算机科学/02.数据库/04.文档数据库/01.MongoDB/09.MongoDB分片.md)
- [MongoDB 运维](01.计算机科学/02.数据库/04.文档数据库/01.MongoDB/20.MongoDB运维.md)
- [MongoDB 应用指南](12.数据库/04.文档数据库/01.MongoDB/01.MongoDB应用指南.md)
- [MongoDB 的 CRUD 操作](12.数据库/04.文档数据库/01.MongoDB/02.MongoDB的CRUD操作.md)
- [MongoDB 聚合操作](12.数据库/04.文档数据库/01.MongoDB/03.MongoDB的聚合操作.md)
- [MongoDB 事务](12.数据库/04.文档数据库/01.MongoDB/04.MongoDB事务.md)
- [MongoDB 建模](12.数据库/04.文档数据库/01.MongoDB/05.MongoDB建模.md)
- [MongoDB 建模示例](12.数据库/04.文档数据库/01.MongoDB/06.MongoDB建模示例.md)
- [MongoDB 索引](12.数据库/04.文档数据库/01.MongoDB/07.MongoDB索引.md)
- [MongoDB 复制](12.数据库/04.文档数据库/01.MongoDB/08.MongoDB复制.md)
- [MongoDB 分片](12.数据库/04.文档数据库/01.MongoDB/09.MongoDB分片.md)
- [MongoDB 运维](12.数据库/04.文档数据库/01.MongoDB/20.MongoDB运维.md)
## KV 数据库
@ -149,15 +149,15 @@ footer: CC-BY-SA-4.0 Licensed | Copyright © 2018-Now Dunwu
![img](https://raw.githubusercontent.com/dunwu/images/dev/snap/20200713105627.png)
- [Redis 面试总结](01.计算机科学/02.数据库/05.KV数据库/01.Redis/01.Redis面试总结.md) 💯
- [Redis 应用指南](01.计算机科学/02.数据库/05.KV数据库/01.Redis/02.Redis应用指南.md) ⚡ - 关键词:`内存淘汰`、`事件`、`事务`、`管道`、`发布与订阅`
- [Redis 数据类型和应用](01.计算机科学/02.数据库/05.KV数据库/01.Redis/03.Redis数据类型和应用.md) - 关键词:`STRING`、`HASH`、`LIST`、`SET`、`ZSET`、`BitMap`、`HyperLogLog`、`Geo`
- [Redis 持久化](01.计算机科学/02.数据库/05.KV数据库/01.Redis/04.Redis持久化.md) - 关键词:`RDB`、`AOF`、`SAVE`、`BGSAVE`、`appendfsync`
- [Redis 复制](01.计算机科学/02.数据库/05.KV数据库/01.Redis/05.Redis复制.md) - 关键词:`SLAVEOF`、`SYNC`、`PSYNC`、`REPLCONF ACK`
- [Redis 哨兵](01.计算机科学/02.数据库/05.KV数据库/01.Redis/06.Redis哨兵.md) - 关键词:`Sentinel`、`PING`、`INFO`、`Raft`
- [Redis 集群](01.计算机科学/02.数据库/05.KV数据库/01.Redis/07.Redis集群.md) - 关键词:`CLUSTER MEET`、`Hash slot`、`MOVED`、`ASK`、`SLAVEOF no one`、`redis-trib`
- [Redis 实战](01.计算机科学/02.数据库/05.KV数据库/01.Redis/08.Redis实战.md) - 关键词:`缓存`、`分布式锁`、`布隆过滤器`
- [Redis 运维](01.计算机科学/02.数据库/05.KV数据库/01.Redis/20.Redis运维.md) 🔨 - 关键词:`安装`、`命令`、`集群`、`客户端`
- [Redis 面试总结](12.数据库/05.KV数据库/01.Redis/01.Redis面试总结.md) 💯
- [Redis 应用指南](12.数据库/05.KV数据库/01.Redis/02.Redis应用指南.md) ⚡ - 关键词:`内存淘汰`、`事件`、`事务`、`管道`、`发布与订阅`
- [Redis 数据类型和应用](12.数据库/05.KV数据库/01.Redis/03.Redis数据类型和应用.md) - 关键词:`STRING`、`HASH`、`LIST`、`SET`、`ZSET`、`BitMap`、`HyperLogLog`、`Geo`
- [Redis 持久化](12.数据库/05.KV数据库/01.Redis/04.Redis持久化.md) - 关键词:`RDB`、`AOF`、`SAVE`、`BGSAVE`、`appendfsync`
- [Redis 复制](12.数据库/05.KV数据库/01.Redis/05.Redis复制.md) - 关键词:`SLAVEOF`、`SYNC`、`PSYNC`、`REPLCONF ACK`
- [Redis 哨兵](12.数据库/05.KV数据库/01.Redis/06.Redis哨兵.md) - 关键词:`Sentinel`、`PING`、`INFO`、`Raft`
- [Redis 集群](12.数据库/05.KV数据库/01.Redis/07.Redis集群.md) - 关键词:`CLUSTER MEET`、`Hash slot`、`MOVED`、`ASK`、`SLAVEOF no one`、`redis-trib`
- [Redis 实战](12.数据库/05.KV数据库/01.Redis/08.Redis实战.md) - 关键词:`缓存`、`分布式锁`、`布隆过滤器`
- [Redis 运维](12.数据库/05.KV数据库/01.Redis/20.Redis运维.md) 🔨 - 关键词:`安装`、`命令`、`集群`、`客户端`
## 列式数据库
@ -176,30 +176,30 @@ footer: CC-BY-SA-4.0 Licensed | Copyright © 2018-Now Dunwu
> Elasticsearch 是一个基于 Lucene 的搜索和数据分析工具它提供了一个分布式服务。Elasticsearch 是遵从 Apache 开源条款的一款开源产品,是当前主流的企业级搜索引擎。
- [Elasticsearch 面试总结](01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/01.Elasticsearch面试总结.md) 💯
- [Elasticsearch 快速入门](01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/02.Elasticsearch快速入门.md)
- [Elasticsearch 简介](01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/03.Elasticsearch简介.md)
- [Elasticsearch 索引](01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/04.Elasticsearch索引.md)
- [Elasticsearch 查询](01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/05.Elasticsearch查询.md)
- [Elasticsearch 高亮](01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/06.Elasticsearch高亮.md)
- [Elasticsearch 排序](01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/07.Elasticsearch排序.md)
- [Elasticsearch 聚合](01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/08.Elasticsearch聚合.md)
- [Elasticsearch 分析器](01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/09.Elasticsearch分析器.md)
- [Elasticsearch 性能优化](01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/10.Elasticsearch性能优化.md)
- [Elasticsearch Rest API](01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/11.ElasticsearchRestApi.md)
- [ElasticSearch Java API 之 High Level REST Client](01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/12.ElasticsearchHighLevelRestJavaApi.md)
- [Elasticsearch 集群和分片](01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/13.Elasticsearch集群和分片.md)
- [Elasticsearch 运维](01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/20.Elasticsearch运维.md)
- [Elasticsearch 面试总结](12.数据库/07.搜索引擎数据库/01.Elasticsearch/01.Elasticsearch面试总结.md) 💯
- [Elasticsearch 快速入门](12.数据库/07.搜索引擎数据库/01.Elasticsearch/02.Elasticsearch快速入门.md)
- [Elasticsearch 简介](12.数据库/07.搜索引擎数据库/01.Elasticsearch/03.Elasticsearch简介.md)
- [Elasticsearch 索引](12.数据库/07.搜索引擎数据库/01.Elasticsearch/04.Elasticsearch索引.md)
- [Elasticsearch 查询](12.数据库/07.搜索引擎数据库/01.Elasticsearch/05.Elasticsearch查询.md)
- [Elasticsearch 高亮](12.数据库/07.搜索引擎数据库/01.Elasticsearch/06.Elasticsearch高亮.md)
- [Elasticsearch 排序](12.数据库/07.搜索引擎数据库/01.Elasticsearch/07.Elasticsearch排序.md)
- [Elasticsearch 聚合](12.数据库/07.搜索引擎数据库/01.Elasticsearch/08.Elasticsearch聚合.md)
- [Elasticsearch 分析器](12.数据库/07.搜索引擎数据库/01.Elasticsearch/09.Elasticsearch分析器.md)
- [Elasticsearch 性能优化](12.数据库/07.搜索引擎数据库/01.Elasticsearch/10.Elasticsearch性能优化.md)
- [Elasticsearch Rest API](12.数据库/07.搜索引擎数据库/01.Elasticsearch/11.ElasticsearchRestApi.md)
- [ElasticSearch Java API 之 High Level REST Client](12.数据库/07.搜索引擎数据库/01.Elasticsearch/12.ElasticsearchHighLevelRestJavaApi.md)
- [Elasticsearch 集群和分片](12.数据库/07.搜索引擎数据库/01.Elasticsearch/13.Elasticsearch集群和分片.md)
- [Elasticsearch 运维](12.数据库/07.搜索引擎数据库/01.Elasticsearch/20.Elasticsearch运维.md)
### Elastic
- [Elastic 快速入门](01.计算机科学/02.数据库/07.搜索引擎数据库/02.Elastic/01.Elastic快速入门.md)
- [Elastic 技术栈之 Filebeat](01.计算机科学/02.数据库/07.搜索引擎数据库/02.Elastic/02.Elastic技术栈之Filebeat.md)
- [Filebeat 运维](01.计算机科学/02.数据库/07.搜索引擎数据库/02.Elastic/03.Filebeat运维.md)
- [Elastic 技术栈之 Kibana](01.计算机科学/02.数据库/07.搜索引擎数据库/02.Elastic/04.Elastic技术栈之Kibana.md)
- [Kibana 运维](01.计算机科学/02.数据库/07.搜索引擎数据库/02.Elastic/05.Kibana运维.md)
- [Elastic 技术栈之 Logstash](01.计算机科学/02.数据库/07.搜索引擎数据库/02.Elastic/06.Elastic技术栈之Logstash.md)
- [Logstash 运维](01.计算机科学/02.数据库/07.搜索引擎数据库/02.Elastic/07.Logstash运维.md)
- [Elastic 快速入门](12.数据库/07.搜索引擎数据库/02.Elastic/01.Elastic快速入门.md)
- [Elastic 技术栈之 Filebeat](12.数据库/07.搜索引擎数据库/02.Elastic/02.Elastic技术栈之Filebeat.md)
- [Filebeat 运维](12.数据库/07.搜索引擎数据库/02.Elastic/03.Filebeat运维.md)
- [Elastic 技术栈之 Kibana](12.数据库/07.搜索引擎数据库/02.Elastic/04.Elastic技术栈之Kibana.md)
- [Kibana 运维](12.数据库/07.搜索引擎数据库/02.Elastic/05.Kibana运维.md)
- [Elastic 技术栈之 Logstash](12.数据库/07.搜索引擎数据库/02.Elastic/06.Elastic技术栈之Logstash.md)
- [Logstash 运维](12.数据库/07.搜索引擎数据库/02.Elastic/07.Logstash运维.md)
## 资料 📚
@ -436,4 +436,4 @@ footer: CC-BY-SA-4.0 Licensed | Copyright © 2018-Now Dunwu
## 传送 🚪
🏠 [DB-TUTORIAL 首页](https://github.com/dunwu/db-tutorial) ◾ 🎯 [我的博客](https://github.com/dunwu/blog) ◾
💧 [钝悟的 IT 知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [钝悟的博客](https://dunwu.github.io/blog/) ◾