mirror of https://github.com/dunwu/db-tutorial.git
docs: 文档加上标签
parent
360fb89b77
commit
b424e92583
11
README.md
11
README.md
|
@ -156,8 +156,19 @@
|
||||||
- [Elasticsearch 性能优化](docs/07.搜索引擎数据库/01.Elasticsearch/10.Elasticsearch性能优化.md)
|
- [Elasticsearch 性能优化](docs/07.搜索引擎数据库/01.Elasticsearch/10.Elasticsearch性能优化.md)
|
||||||
- [Elasticsearch Rest API](docs/07.搜索引擎数据库/01.Elasticsearch/11.ElasticsearchRestApi.md)
|
- [Elasticsearch Rest API](docs/07.搜索引擎数据库/01.Elasticsearch/11.ElasticsearchRestApi.md)
|
||||||
- [ElasticSearch Java API 之 High Level REST Client](docs/07.搜索引擎数据库/01.Elasticsearch/12.ElasticsearchHighLevelRestJavaApi.md)
|
- [ElasticSearch Java API 之 High Level REST Client](docs/07.搜索引擎数据库/01.Elasticsearch/12.ElasticsearchHighLevelRestJavaApi.md)
|
||||||
|
- [Elasticsearch 集群和分片](docs/07.搜索引擎数据库/01.Elasticsearch/13.Elasticsearch集群和分片.md)
|
||||||
- [Elasticsearch 运维](docs/07.搜索引擎数据库/01.Elasticsearch/20.Elasticsearch运维.md)
|
- [Elasticsearch 运维](docs/07.搜索引擎数据库/01.Elasticsearch/20.Elasticsearch运维.md)
|
||||||
|
|
||||||
|
### Elastic
|
||||||
|
|
||||||
|
- [Elastic 快速入门](docs/07.搜索引擎数据库/02.Elastic/01.Elastic快速入门.md)
|
||||||
|
- [Elastic 技术栈之 Filebeat](docs/07.搜索引擎数据库/02.Elastic/02.Elastic技术栈之Filebeat.md)
|
||||||
|
- [Filebeat 运维](docs/07.搜索引擎数据库/02.Elastic/03.Filebeat运维.md)
|
||||||
|
- [Elastic 技术栈之 Kibana](docs/07.搜索引擎数据库/02.Elastic/04.Elastic技术栈之Kibana.md)
|
||||||
|
- [Kibana 运维](docs/07.搜索引擎数据库/02.Elastic/05.Kibana运维.md)
|
||||||
|
- [Elastic 技术栈之 Logstash](docs/07.搜索引擎数据库/02.Elastic/06.Elastic技术栈之Logstash.md)
|
||||||
|
- [Logstash 运维](docs/07.搜索引擎数据库/02.Elastic/07.Logstash运维.md)
|
||||||
|
|
||||||
## 资料 📚
|
## 资料 📚
|
||||||
|
|
||||||
### 数据库综合资料
|
### 数据库综合资料
|
||||||
|
|
|
@ -87,7 +87,7 @@ module.exports = {
|
||||||
// contentBgStyle: 1,
|
// contentBgStyle: 1,
|
||||||
|
|
||||||
category: false, // 是否打开分类功能,默认true。 如打开,会做的事情有:1. 自动生成的frontmatter包含分类字段 2.页面中显示与分类相关的信息和模块 3.自动生成分类页面(在@pages文件夹)。如关闭,则反之。
|
category: false, // 是否打开分类功能,默认true。 如打开,会做的事情有:1. 自动生成的frontmatter包含分类字段 2.页面中显示与分类相关的信息和模块 3.自动生成分类页面(在@pages文件夹)。如关闭,则反之。
|
||||||
tag: false, // 是否打开标签功能,默认true。 如打开,会做的事情有:1. 自动生成的frontmatter包含标签字段 2.页面中显示与标签相关的信息和模块 3.自动生成标签页面(在@pages文件夹)。如关闭,则反之。
|
tag: true, // 是否打开标签功能,默认true。 如打开,会做的事情有:1. 自动生成的frontmatter包含标签字段 2.页面中显示与标签相关的信息和模块 3.自动生成标签页面(在@pages文件夹)。如关闭,则反之。
|
||||||
archive: true, // 是否打开归档功能,默认true。 如打开,会做的事情有:1.自动生成归档页面(在@pages文件夹)。如关闭,则反之。
|
archive: true, // 是否打开归档功能,默认true。 如打开,会做的事情有:1.自动生成归档页面(在@pages文件夹)。如关闭,则反之。
|
||||||
|
|
||||||
author: {
|
author: {
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Nosql技术选型
|
title: Nosql技术选型
|
||||||
date: 2020-02-09 02:18:58
|
date: 2020-02-09 02:18:58
|
||||||
|
categories: ['数据库', '数据库综合']
|
||||||
|
tags: ['数据库', '综合', 'Nosql']
|
||||||
permalink: /pages/75af9b/
|
permalink: /pages/75af9b/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: 数据结构与数据库索引
|
title: 数据结构与数据库索引
|
||||||
date: 2022-03-27 23:39:10
|
date: 2022-03-27 23:39:10
|
||||||
|
categories: ['数据库', '数据库综合']
|
||||||
|
tags: ['数据库', '综合', '数据结构', '索引']
|
||||||
permalink: /pages/875f28/
|
permalink: /pages/875f28/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: 数据库综合
|
title: 数据库综合
|
||||||
date: 2022-04-11 16:52:35
|
date: 2022-04-11 16:52:35
|
||||||
|
categories: ['数据库', '数据库综合']
|
||||||
|
tags: ['数据库', '综合']
|
||||||
permalink: /pages/84f411/
|
permalink: /pages/84f411/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: ShardingSphere 简介
|
title: ShardingSphere 简介
|
||||||
date: 2020-10-08 20:30:30
|
date: 2020-10-08 20:30:30
|
||||||
|
categories: ['数据库', '数据库中间件']
|
||||||
|
tags: ['数据库', '中间件', '分库分表']
|
||||||
permalink: /pages/283bf8/
|
permalink: /pages/283bf8/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: ShardingSphere Jdbc
|
title: ShardingSphere Jdbc
|
||||||
date: 2020-12-28 00:01:28
|
date: 2020-12-28 00:01:28
|
||||||
|
categories: ['数据库', '数据库中间件']
|
||||||
|
tags: ['数据库', '中间件', '分库分表']
|
||||||
permalink: /pages/77e49a/
|
permalink: /pages/77e49a/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: 版本管理中间件 Flyway
|
title: 版本管理中间件 Flyway
|
||||||
date: 2019-08-22 09:02:39
|
date: 2019-08-22 09:02:39
|
||||||
|
categories: ['数据库', '数据库中间件']
|
||||||
|
tags: ['数据库', '中间件', '版本管理']
|
||||||
permalink: /pages/6adeea/
|
permalink: /pages/6adeea/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: 数据库中间件
|
title: 数据库中间件
|
||||||
date: 2022-04-11 16:52:35
|
date: 2022-04-11 16:52:35
|
||||||
|
categories: ['数据库', '数据库中间件']
|
||||||
|
tags: ['数据库', '中间件']
|
||||||
permalink: /pages/057a1d/
|
permalink: /pages/057a1d/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: 关系型数据库面试
|
title: 关系型数据库面试
|
||||||
date: 2020-01-15 23:21:02
|
date: 2020-01-15 23:21:02
|
||||||
|
categories: ['数据库', '关系型数据库']
|
||||||
|
tags: ['数据库', '关系型数据库']
|
||||||
permalink: /pages/2696ef/
|
permalink: /pages/2696ef/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
---
|
---
|
||||||
title: sql-cheat-sheet
|
title: sql-cheat-sheet
|
||||||
date: 2018-06-15 16:07:17
|
date: 2018-06-15 16:07:17
|
||||||
|
categories: ['数据库', '关系型数据库']
|
||||||
|
tags: ['数据库', '关系型数据库', 'SQL']
|
||||||
permalink: /pages/91ff1a/
|
permalink: /pages/91ff1a/
|
||||||
---
|
---
|
||||||
|
|
||||||
# SQL Cheat Sheet
|
# SQL Cheat Sheet
|
||||||
|
|
||||||
> 本文针对关系型数据库的基本语法。限于篇幅,本文侧重说明用法,不会展开讲解特性、原理。
|
> 本文针对关系型数据库的基本语法。限于篇幅,本文侧重说明用法,不会展开讲解特性、原理。
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: 扩展 SQL
|
title: 扩展 SQL
|
||||||
date: 2020-10-10 19:03:05
|
date: 2020-10-10 19:03:05
|
||||||
|
categories: ['数据库', '关系型数据库']
|
||||||
|
tags: ['数据库', '关系型数据库', 'SQL']
|
||||||
permalink: /pages/34648b/
|
permalink: /pages/34648b/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: 关系型数据库综合知识
|
title: 关系型数据库综合知识
|
||||||
date: 2020-07-16 11:14:07
|
date: 2020-07-16 11:14:07
|
||||||
|
categories: ['数据库', '关系型数据库']
|
||||||
|
tags: ['数据库', '关系型数据库']
|
||||||
permalink: /pages/35fa72/
|
permalink: /pages/35fa72/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Mysql 应用指南
|
title: Mysql 应用指南
|
||||||
date: 2020-07-13 10:08:37
|
date: 2020-07-13 10:08:37
|
||||||
|
categories: ['数据库', '关系型数据库', 'Mysql']
|
||||||
|
tags: ['数据库', '关系型数据库', 'Mysql']
|
||||||
permalink: /pages/08cbb1/
|
permalink: /pages/08cbb1/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: MySQL 工作流
|
title: MySQL 工作流
|
||||||
date: 2020-07-16 11:14:07
|
date: 2020-07-16 11:14:07
|
||||||
|
categories: ['数据库', '关系型数据库', 'Mysql']
|
||||||
|
tags: ['数据库', '关系型数据库', 'Mysql']
|
||||||
permalink: /pages/58c61a/
|
permalink: /pages/58c61a/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Mysql 事务
|
title: Mysql 事务
|
||||||
date: 2020-06-03 19:32:09
|
date: 2020-06-03 19:32:09
|
||||||
|
categories: ['数据库', '关系型数据库', 'Mysql']
|
||||||
|
tags: ['数据库', '关系型数据库', 'Mysql', '事务']
|
||||||
permalink: /pages/d0add6/
|
permalink: /pages/d0add6/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Mysql 锁
|
title: Mysql 锁
|
||||||
date: 2020-09-07 07:54:19
|
date: 2020-09-07 07:54:19
|
||||||
|
categories: ['数据库', '关系型数据库', 'Mysql']
|
||||||
|
tags: ['数据库', '关系型数据库', 'Mysql', '锁']
|
||||||
permalink: /pages/dcd4a7/
|
permalink: /pages/dcd4a7/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Mysql 索引
|
title: Mysql 索引
|
||||||
date: 2020-07-16 11:14:07
|
date: 2020-07-16 11:14:07
|
||||||
|
categories: ['数据库', '关系型数据库', 'Mysql']
|
||||||
|
tags: ['数据库', '关系型数据库', 'Mysql', '索引']
|
||||||
permalink: /pages/aa6a1a/
|
permalink: /pages/aa6a1a/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Mysql 性能优化
|
title: Mysql 性能优化
|
||||||
date: 2020-06-03 20:16:48
|
date: 2020-06-03 20:16:48
|
||||||
|
categories: ['数据库', '关系型数据库', 'Mysql']
|
||||||
|
tags: ['数据库', '关系型数据库', 'Mysql', '性能']
|
||||||
permalink: /pages/387d10/
|
permalink: /pages/387d10/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Mysql 运维
|
title: Mysql 运维
|
||||||
date: 2019-11-26 21:37:17
|
date: 2019-11-26 21:37:17
|
||||||
|
categories: ['数据库', '关系型数据库', 'Mysql']
|
||||||
|
tags: ['数据库', '关系型数据库', 'Mysql', '运维']
|
||||||
permalink: /pages/4e960f/
|
permalink: /pages/4e960f/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Mysql 配置
|
title: Mysql 配置
|
||||||
date: 2020-02-29 22:32:57
|
date: 2020-02-29 22:32:57
|
||||||
|
categories: ['数据库', '关系型数据库', 'Mysql']
|
||||||
|
tags: ['数据库', '关系型数据库', 'Mysql', '配置']
|
||||||
permalink: /pages/423d2d/
|
permalink: /pages/423d2d/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Mysql 常见问题
|
title: Mysql 常见问题
|
||||||
date: 2020-09-12 10:43:53
|
date: 2020-09-12 10:43:53
|
||||||
|
categories: ['数据库', '关系型数据库', 'Mysql']
|
||||||
|
tags: ['数据库', '关系型数据库', 'Mysql', 'FAQ']
|
||||||
permalink: /pages/ea9962/
|
permalink: /pages/ea9962/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Mysql 教程
|
title: Mysql 教程
|
||||||
date: 2020-02-10 14:27:39
|
date: 2020-02-10 14:27:39
|
||||||
|
categories: ['数据库', '关系型数据库', 'Mysql']
|
||||||
|
tags: ['数据库', '关系型数据库', 'Mysql']
|
||||||
permalink: /pages/f29f7c/
|
permalink: /pages/f29f7c/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: PostgreSQL 应用指南
|
title: PostgreSQL 应用指南
|
||||||
date: 2019-08-22 09:02:39
|
date: 2019-08-22 09:02:39
|
||||||
|
categories: ['数据库', '关系型数据库']
|
||||||
|
tags: ['数据库', '关系型数据库', 'PostgreSQL']
|
||||||
permalink: /pages/bb2260/
|
permalink: /pages/bb2260/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: H2 应用指南
|
title: H2 应用指南
|
||||||
date: 2019-08-22 09:02:39
|
date: 2019-08-22 09:02:39
|
||||||
|
categories: ['数据库', '关系型数据库']
|
||||||
|
tags: ['数据库', '关系型数据库', 'H2']
|
||||||
permalink: /pages/d15410/
|
permalink: /pages/d15410/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: sqlite
|
title: sqlite
|
||||||
date: 2019-08-22 09:02:39
|
date: 2019-08-22 09:02:39
|
||||||
|
categories: ['数据库', '关系型数据库']
|
||||||
|
tags: ['数据库', '关系型数据库', 'SQLite']
|
||||||
permalink: /pages/ec4fc2/
|
permalink: /pages/ec4fc2/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: 关系型数据库其他知识
|
title: 关系型数据库其他知识
|
||||||
date: 2022-04-11 16:52:35
|
date: 2022-04-11 16:52:35
|
||||||
|
categories: ['数据库', '关系型数据库']
|
||||||
|
tags: ['数据库', '关系型数据库']
|
||||||
permalink: /pages/d64774/
|
permalink: /pages/d64774/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: 关系型数据库
|
title: 关系型数据库
|
||||||
date: 2022-04-11 16:52:35
|
date: 2022-04-11 16:52:35
|
||||||
|
categories: ['数据库', '关系型数据库']
|
||||||
|
tags: ['数据库', '关系型数据库']
|
||||||
permalink: /pages/ba3eb1/
|
permalink: /pages/ba3eb1/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: MongoDB 应用指南
|
title: MongoDB 应用指南
|
||||||
date: 2020-09-07 07:54:19
|
date: 2020-09-07 07:54:19
|
||||||
|
categories: ['数据库', '文档数据库', 'MongoDB']
|
||||||
|
tags: ['数据库', '文档数据库', 'MongoDB']
|
||||||
permalink: /pages/b4209b/
|
permalink: /pages/b4209b/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: MongoDB 的 CRUD 操作
|
title: MongoDB 的 CRUD 操作
|
||||||
date: 2020-09-25 21:23:41
|
date: 2020-09-25 21:23:41
|
||||||
|
categories: ['数据库', '文档数据库', 'MongoDB']
|
||||||
|
tags: ['数据库', '文档数据库', 'MongoDB']
|
||||||
permalink: /pages/d930e5/
|
permalink: /pages/d930e5/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: MongoDB 的聚合操作
|
title: MongoDB 的聚合操作
|
||||||
date: 2020-09-21 21:22:57
|
date: 2020-09-21 21:22:57
|
||||||
|
categories: ['数据库', '文档数据库', 'MongoDB']
|
||||||
|
tags: ['数据库', '文档数据库', 'MongoDB', '聚合']
|
||||||
permalink: /pages/4abdcc/
|
permalink: /pages/4abdcc/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: MongoDB 事务
|
title: MongoDB 事务
|
||||||
date: 2020-09-20 23:12:17
|
date: 2020-09-20 23:12:17
|
||||||
|
categories: ['数据库', '文档数据库', 'MongoDB']
|
||||||
|
tags: ['数据库', '文档数据库', 'MongoDB', '事务']
|
||||||
permalink: /pages/368234/
|
permalink: /pages/368234/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: MongoDB 建模
|
title: MongoDB 建模
|
||||||
date: 2020-09-09 20:47:14
|
date: 2020-09-09 20:47:14
|
||||||
|
categories: ['数据库', '文档数据库', 'MongoDB']
|
||||||
|
tags: ['数据库', '文档数据库', 'MongoDB', '建模']
|
||||||
permalink: /pages/e81890/
|
permalink: /pages/e81890/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: MongoDB 建模示例
|
title: MongoDB 建模示例
|
||||||
date: 2020-09-12 10:43:53
|
date: 2020-09-12 10:43:53
|
||||||
|
categories: ['数据库', '文档数据库', 'MongoDB']
|
||||||
|
tags: ['数据库', '文档数据库', 'MongoDB', '建模']
|
||||||
permalink: /pages/bfc4a1/
|
permalink: /pages/bfc4a1/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: MongoDB 索引
|
title: MongoDB 索引
|
||||||
date: 2020-09-21 21:22:57
|
date: 2020-09-21 21:22:57
|
||||||
|
categories: ['数据库', '文档数据库', 'MongoDB']
|
||||||
|
tags: ['数据库', '文档数据库', 'MongoDB', '索引']
|
||||||
permalink: /pages/580732/
|
permalink: /pages/580732/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: MongoDB 复制
|
title: MongoDB 复制
|
||||||
date: 2020-09-20 23:12:17
|
date: 2020-09-20 23:12:17
|
||||||
|
categories: ['数据库', '文档数据库', 'MongoDB']
|
||||||
|
tags: ['数据库', '文档数据库', 'MongoDB', '复制']
|
||||||
permalink: /pages/b2f73d/
|
permalink: /pages/b2f73d/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: MongoDB 分片
|
title: MongoDB 分片
|
||||||
date: 2020-09-20 23:12:17
|
date: 2020-09-20 23:12:17
|
||||||
|
categories: ['数据库', '文档数据库', 'MongoDB']
|
||||||
|
tags: ['数据库', '文档数据库', 'MongoDB', '分片']
|
||||||
permalink: /pages/ba092a/
|
permalink: /pages/ba092a/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: MongoDB 运维
|
title: MongoDB 运维
|
||||||
date: 2020-09-09 20:47:14
|
date: 2020-09-09 20:47:14
|
||||||
|
categories: ['数据库', '文档数据库', 'MongoDB']
|
||||||
|
tags: ['数据库', '文档数据库', 'MongoDB', '运维']
|
||||||
permalink: /pages/7d487e/
|
permalink: /pages/7d487e/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: MongoDB 教程
|
title: MongoDB 教程
|
||||||
date: 2020-09-09 20:47:14
|
date: 2020-09-09 20:47:14
|
||||||
|
categories: ['数据库', '文档数据库', 'MongoDB']
|
||||||
|
tags: ['数据库', '文档数据库', 'MongoDB']
|
||||||
permalink: /pages/102927/
|
permalink: /pages/102927/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Redis 面试总结
|
title: Redis 面试总结
|
||||||
date: 2020-07-13 17:03:42
|
date: 2020-07-13 17:03:42
|
||||||
|
categories: ['数据库', 'KV数据库', 'Redis']
|
||||||
|
tags: ['数据库', 'KV数据库', 'Redis', '面试']
|
||||||
permalink: /pages/b30618/
|
permalink: /pages/b30618/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Redis 应用指南
|
title: Redis 应用指南
|
||||||
date: 2020-01-30 21:48:57
|
date: 2020-01-30 21:48:57
|
||||||
|
categories: ['数据库', 'KV数据库', 'Redis']
|
||||||
|
tags: ['数据库', 'KV数据库', 'Redis']
|
||||||
permalink: /pages/2694e2/
|
permalink: /pages/2694e2/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Redis 数据类型和应用
|
title: Redis 数据类型和应用
|
||||||
date: 2020-06-24 10:45:38
|
date: 2020-06-24 10:45:38
|
||||||
|
categories: ['数据库', 'KV数据库', 'Redis']
|
||||||
|
tags: ['数据库', 'KV数据库', 'Redis', '数据类型']
|
||||||
permalink: /pages/ee52c4/
|
permalink: /pages/ee52c4/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Redis 持久化
|
title: Redis 持久化
|
||||||
date: 2020-06-24 10:45:38
|
date: 2020-06-24 10:45:38
|
||||||
|
categories: ['数据库', 'KV数据库', 'Redis']
|
||||||
|
tags: ['数据库', 'KV数据库', 'Redis', '持久化']
|
||||||
permalink: /pages/2d1fde/
|
permalink: /pages/2d1fde/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Redis 复制
|
title: Redis 复制
|
||||||
date: 2020-06-24 10:45:38
|
date: 2020-06-24 10:45:38
|
||||||
|
categories: ['数据库', 'KV数据库', 'Redis']
|
||||||
|
tags: ['数据库', 'KV数据库', 'Redis', '复制']
|
||||||
permalink: /pages/36a040/
|
permalink: /pages/36a040/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Redis 哨兵
|
title: Redis 哨兵
|
||||||
date: 2020-06-24 10:45:38
|
date: 2020-06-24 10:45:38
|
||||||
|
categories: ['数据库', 'KV数据库', 'Redis']
|
||||||
|
tags: ['数据库', 'KV数据库', 'Redis', '哨兵']
|
||||||
permalink: /pages/06cb53/
|
permalink: /pages/06cb53/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Redis 集群
|
title: Redis 集群
|
||||||
date: 2020-06-24 10:45:38
|
date: 2020-06-24 10:45:38
|
||||||
|
categories: ['数据库', 'KV数据库', 'Redis']
|
||||||
|
tags: ['数据库', 'KV数据库', 'Redis', '集群']
|
||||||
permalink: /pages/6772f8/
|
permalink: /pages/6772f8/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Redis 实战
|
title: Redis 实战
|
||||||
date: 2020-06-24 10:45:38
|
date: 2020-06-24 10:45:38
|
||||||
|
categories: ['数据库', 'KV数据库', 'Redis']
|
||||||
|
tags: ['数据库', 'KV数据库', 'Redis']
|
||||||
permalink: /pages/31fcbd/
|
permalink: /pages/31fcbd/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Redis 运维
|
title: Redis 运维
|
||||||
date: 2020-06-24 10:45:38
|
date: 2020-06-24 10:45:38
|
||||||
|
categories: ['数据库', 'KV数据库', 'Redis']
|
||||||
|
tags: ['数据库', 'KV数据库', 'Redis', '运维']
|
||||||
permalink: /pages/89a414/
|
permalink: /pages/89a414/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: README
|
title: Redis 教程
|
||||||
date: 2020-02-10 14:27:39
|
date: 2020-02-10 14:27:39
|
||||||
|
categories: ['数据库', 'KV数据库', 'Redis']
|
||||||
|
tags: ['数据库', 'KV数据库', 'Redis']
|
||||||
permalink: /pages/9fdea9/
|
permalink: /pages/9fdea9/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,27 +1,13 @@
|
||||||
---
|
---
|
||||||
title: Hbase
|
title: Hbase
|
||||||
date: 2020-02-10 14:27:39
|
date: 2020-02-10 14:27:39
|
||||||
|
categories: ['数据库', '列式数据库']
|
||||||
|
tags: ['数据库', '列式数据库', 'Hbase']
|
||||||
permalink: /pages/e848d6/
|
permalink: /pages/e848d6/
|
||||||
---
|
---
|
||||||
|
|
||||||
# HBase
|
# HBase
|
||||||
|
|
||||||
<!-- TOC depthFrom:2 depthTo:3 -->
|
|
||||||
|
|
||||||
- [简介](#简介)
|
|
||||||
- [基础](#基础)
|
|
||||||
- [原理](#原理)
|
|
||||||
- [数据模型](#数据模型)
|
|
||||||
- [HBase 架构](#hbase-架构)
|
|
||||||
- [HBase 和 RDBMS](#hbase-和-rdbms)
|
|
||||||
- [API](#api)
|
|
||||||
- [附录](#附录)
|
|
||||||
- [命令行](#命令行)
|
|
||||||
- [更多内容](#更多内容)
|
|
||||||
- [扩展阅读](#扩展阅读)
|
|
||||||
- [参考资料](#参考资料)
|
|
||||||
|
|
||||||
<!-- /TOC -->
|
|
||||||
|
|
||||||
## 简介
|
## 简介
|
||||||
|
|
||||||
HBase 是建立在 HDFS 基础上的面向列的分布式数据库。
|
HBase 是建立在 HDFS 基础上的面向列的分布式数据库。
|
||||||
|
|
|
@ -1,22 +1,17 @@
|
||||||
---
|
---
|
||||||
title: Cassandra
|
title: Cassandra
|
||||||
date: 2019-08-22 09:02:39
|
date: 2019-08-22 09:02:39
|
||||||
|
categories: ['数据库', '列式数据库']
|
||||||
|
tags: ['数据库', '列式数据库', 'Cassandra']
|
||||||
permalink: /pages/18031b/
|
permalink: /pages/18031b/
|
||||||
---
|
---
|
||||||
|
|
||||||
# Cassandra
|
# Cassandra
|
||||||
|
|
||||||
> Apache Cassandra 是一个高度可扩展的分区行存储。行被组织成具有所需主键的表。
|
> Apache Cassandra 是一个高度可扩展的分区行存储。行被组织成具有所需主键的表。
|
||||||
>
|
>
|
||||||
> 最新版本:v4.0
|
> 最新版本:v4.0
|
||||||
|
|
||||||
<!-- TOC depthFrom:2 depthTo:2 -->
|
|
||||||
|
|
||||||
- [Quick Start](#quick-start)
|
|
||||||
- [简介](#简介)
|
|
||||||
- [更多内容](#更多内容)
|
|
||||||
|
|
||||||
<!-- /TOC -->
|
|
||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
|
|
||||||
### 安装
|
### 安装
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Elasticsearch 面试总结
|
title: Elasticsearch 面试总结
|
||||||
date: 2020-06-16 07:10:44
|
date: 2020-06-16 07:10:44
|
||||||
|
categories: ['数据库', '搜索引擎数据库', 'Elasticsearch']
|
||||||
|
tags: ['数据库', '搜索引擎数据库', 'Elasticsearch', '面试']
|
||||||
permalink: /pages/aa9e4a/
|
permalink: /pages/aa9e4a/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Elasticsearch 快速入门
|
title: Elasticsearch 快速入门
|
||||||
date: 2020-06-16 07:10:44
|
date: 2020-06-16 07:10:44
|
||||||
|
categories: ['数据库', '搜索引擎数据库', 'Elasticsearch']
|
||||||
|
tags: ['数据库', '搜索引擎数据库', 'Elasticsearch']
|
||||||
permalink: /pages/868e6c/
|
permalink: /pages/868e6c/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
---
|
---
|
||||||
title: Elasticsearch简介
|
title: Elasticsearch 简介
|
||||||
date: 2022-02-22 21:01:01
|
date: 2022-02-22 21:01:01
|
||||||
|
categories: ['数据库', '搜索引擎数据库', 'Elasticsearch']
|
||||||
|
tags: ['数据库', '搜索引擎数据库', 'Elasticsearch']
|
||||||
permalink: /pages/ac661a/
|
permalink: /pages/ac661a/
|
||||||
---
|
---
|
||||||
|
|
||||||
# Elasticsearch 简介
|
# Elasticsearch 简介
|
||||||
|
|
||||||
Elasticsearch 是一个基于 Lucene 的搜索和数据分析工具,它提供了一个分布式服务。Elasticsearch 是遵从 Apache 开源条款的一款开源产品,是当前主流的企业级搜索引擎。
|
Elasticsearch 是一个基于 Lucene 的搜索和数据分析工具,它提供了一个分布式服务。Elasticsearch 是遵从 Apache 开源条款的一款开源产品,是当前主流的企业级搜索引擎。
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Elasticsearch 索引
|
title: Elasticsearch 索引
|
||||||
date: 2022-02-22 21:01:01
|
date: 2022-02-22 21:01:01
|
||||||
|
categories: ['数据库', '搜索引擎数据库', 'Elasticsearch']
|
||||||
|
tags: ['数据库', '搜索引擎数据库', 'Elasticsearch', '索引']
|
||||||
permalink: /pages/db5f76/
|
permalink: /pages/db5f76/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Elasticsearch 查询
|
title: Elasticsearch 查询
|
||||||
date: 2022-01-18 08:01:08
|
date: 2022-01-18 08:01:08
|
||||||
|
categories: ['数据库', '搜索引擎数据库', 'Elasticsearch']
|
||||||
|
tags: ['数据库', '搜索引擎数据库', 'Elasticsearch', '查询']
|
||||||
permalink: /pages/a88250/
|
permalink: /pages/a88250/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Elasticsearch 高亮搜索及显示
|
title: Elasticsearch 高亮搜索及显示
|
||||||
date: 2022-02-22 21:01:01
|
date: 2022-02-22 21:01:01
|
||||||
|
categories: ['数据库', '搜索引擎数据库', 'Elasticsearch']
|
||||||
|
tags: ['数据库', '搜索引擎数据库', 'Elasticsearch', '高亮']
|
||||||
permalink: /pages/588753/
|
permalink: /pages/588753/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Elasticsearch 排序
|
title: Elasticsearch 排序
|
||||||
date: 2022-01-19 22:49:16
|
date: 2022-01-19 22:49:16
|
||||||
|
categories: ['数据库', '搜索引擎数据库', 'Elasticsearch']
|
||||||
|
tags: ['数据库', '搜索引擎数据库', 'Elasticsearch', '排序']
|
||||||
permalink: /pages/91b465/
|
permalink: /pages/91b465/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
---
|
---
|
||||||
title: Elasticsearch聚合
|
title: Elasticsearch 聚合
|
||||||
date: 2022-01-19 22:49:16
|
date: 2022-01-19 22:49:16
|
||||||
|
categories: ['数据库', '搜索引擎数据库', 'Elasticsearch']
|
||||||
|
tags: ['数据库', '搜索引擎数据库', 'Elasticsearch', '聚合']
|
||||||
permalink: /pages/601224/
|
permalink: /pages/601224/
|
||||||
---
|
---
|
||||||
|
|
||||||
# Elasticsearch 聚合
|
# Elasticsearch 聚合
|
||||||
|
|
||||||
Elasticsearch 是一个分布式的全文搜索引擎,索引和搜索是 Elasticsearch 的基本功能。事实上,Elasticsearch 的聚合(Aggregations)功能也十分强大,允许在数据上做复杂的分析统计。Elasticsearch 提供的聚合分析功能主要有**指标聚合(metrics aggregations)**、**桶聚合(bucket aggregations)**、**管道聚合(pipeline aggregations)** 和 **矩阵聚合(matrix aggregations)** 四大类,管道聚合和矩阵聚合官方说明是在试验阶段,后期会完全更改或者移除,这里不再对管道聚合和矩阵聚合进行讲解。
|
Elasticsearch 是一个分布式的全文搜索引擎,索引和搜索是 Elasticsearch 的基本功能。事实上,Elasticsearch 的聚合(Aggregations)功能也十分强大,允许在数据上做复杂的分析统计。Elasticsearch 提供的聚合分析功能主要有**指标聚合(metrics aggregations)**、**桶聚合(bucket aggregations)**、**管道聚合(pipeline aggregations)** 和 **矩阵聚合(matrix aggregations)** 四大类,管道聚合和矩阵聚合官方说明是在试验阶段,后期会完全更改或者移除,这里不再对管道聚合和矩阵聚合进行讲解。
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
---
|
---
|
||||||
title: Elasticsearch分析器
|
title: Elasticsearch 分析器
|
||||||
date: 2022-02-22 21:01:01
|
date: 2022-02-22 21:01:01
|
||||||
|
categories: ['数据库', '搜索引擎数据库', 'Elasticsearch']
|
||||||
|
tags: ['数据库', '搜索引擎数据库', 'Elasticsearch', '分析器']
|
||||||
permalink: /pages/baef46/
|
permalink: /pages/baef46/
|
||||||
---
|
---
|
||||||
|
|
||||||
# Elasticsearch 分析器
|
# Elasticsearch 分析器
|
||||||
|
|
||||||
在 ES 中,不管是索引任务还是搜索工作,都需要使用 analyzer(分析器)。分析器,分为**内置分析器**和**自定义的分析器**。
|
在 ES 中,不管是索引任务还是搜索工作,都需要使用 analyzer(分析器)。分析器,分为**内置分析器**和**自定义的分析器**。
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Elasticsearch 性能优化
|
title: Elasticsearch 性能优化
|
||||||
date: 2022-01-21 19:54:43
|
date: 2022-01-21 19:54:43
|
||||||
|
categories: ['数据库', '搜索引擎数据库', 'Elasticsearch']
|
||||||
|
tags: ['数据库', '搜索引擎数据库', 'Elasticsearch', '性能']
|
||||||
permalink: /pages/cf8acd/
|
permalink: /pages/cf8acd/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Elasticsearch Rest API
|
title: Elasticsearch Rest API
|
||||||
date: 2020-06-16 07:10:44
|
date: 2020-06-16 07:10:44
|
||||||
|
categories: ['数据库', '搜索引擎数据库', 'Elasticsearch']
|
||||||
|
tags: ['数据库', '搜索引擎数据库', 'Elasticsearch', 'API']
|
||||||
permalink: /pages/18103a/
|
permalink: /pages/18103a/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: ElasticSearch Java API 之 High Level REST Client
|
title: ElasticSearch Java API 之 High Level REST Client
|
||||||
date: 2022-03-01 18:55:46
|
date: 2022-03-01 18:55:46
|
||||||
|
categories: ['数据库', '搜索引擎数据库', 'Elasticsearch']
|
||||||
|
tags: ['数据库', '搜索引擎数据库', 'Elasticsearch', 'API']
|
||||||
permalink: /pages/90e1b8/
|
permalink: /pages/90e1b8/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
---
|
---
|
||||||
title: Elasticsearch集群和分片
|
title: Elasticsearch 集群和分片
|
||||||
date: 2022-03-01 20:52:25
|
date: 2022-03-01 20:52:25
|
||||||
|
categories: ['数据库', '搜索引擎数据库', 'Elasticsearch']
|
||||||
|
tags: ['数据库', '搜索引擎数据库', 'Elasticsearch', '集群', '分片']
|
||||||
permalink: /pages/58cab4/
|
permalink: /pages/58cab4/
|
||||||
---
|
---
|
||||||
|
|
||||||
# Elasticsearch 集群和分片
|
# Elasticsearch 集群和分片
|
||||||
|
|
||||||
<!-- TOC depthFrom:2 depthTo:3 -->
|
<!-- TOC depthFrom:2 depthTo:3 -->
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Elasticsearch 运维
|
title: Elasticsearch 运维
|
||||||
date: 2020-06-16 07:10:44
|
date: 2020-06-16 07:10:44
|
||||||
|
categories: ['数据库', '搜索引擎数据库', 'Elasticsearch']
|
||||||
|
tags: ['数据库', '搜索引擎数据库', 'Elasticsearch', '运维']
|
||||||
permalink: /pages/bd9759/
|
permalink: /pages/bd9759/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Elasticsearch 教程
|
title: Elasticsearch 教程
|
||||||
date: 2022-04-11 16:52:35
|
date: 2022-04-11 16:52:35
|
||||||
|
categories: ['数据库', '搜索引擎数据库', 'Elasticsearch']
|
||||||
|
tags: ['数据库', '搜索引擎数据库', 'Elasticsearch']
|
||||||
permalink: /pages/d0a98e/
|
permalink: /pages/d0a98e/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -32,7 +34,7 @@ permalink: /pages/d0a98e/
|
||||||
|
|
||||||
### [Elasticsearch 分析器](09.Elasticsearch分析器.md)
|
### [Elasticsearch 分析器](09.Elasticsearch分析器.md)
|
||||||
|
|
||||||
### [Elasticsearch 集群和分片](Elasticsearch集群和分片.md)
|
### [Elasticsearch 集群和分片](13.Elasticsearch集群和分片.md)
|
||||||
|
|
||||||
### [Elasticsearch 运维](20.Elasticsearch运维.md)
|
### [Elasticsearch 运维](20.Elasticsearch运维.md)
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
---
|
---
|
||||||
title: elastic-quickstart
|
title: Elastic 快速入门
|
||||||
date: 2020-06-16 07:10:44
|
date: 2020-06-16 07:10:44
|
||||||
permalink: /pages/528196/
|
categories: ['数据库', '搜索引擎数据库', 'Elastic']
|
||||||
|
tags: ['数据库', '搜索引擎数据库', 'Elastic']
|
||||||
|
permalink: /pages/e83871/
|
||||||
---
|
---
|
||||||
|
|
||||||
# Elastic 快速入门
|
# Elastic 快速入门
|
||||||
|
|
||||||
> 开源协议:[Apache 2.0](https://github.com/elastic/elasticsearch/tree/7.4/licenses/APACHE-LICENSE-2.0.txt)
|
> 开源协议:[Apache 2.0](https://github.com/elastic/elasticsearch/tree/7.4/licenses/APACHE-LICENSE-2.0.txt)
|
|
@ -1,14 +1,9 @@
|
||||||
---
|
---
|
||||||
title: Elastic 技术栈之 Filebeat
|
title: Elastic 技术栈之 Filebeat
|
||||||
date: 2020-06-16 07:10:44
|
date: 2020-06-16 07:10:44
|
||||||
categories:
|
categories: ['数据库', '搜索引擎数据库', 'Elastic']
|
||||||
- javatool
|
tags: ['数据库', '搜索引擎数据库', 'Elastic', 'Filebeat']
|
||||||
tags:
|
permalink: /pages/6aed4b/
|
||||||
- java
|
|
||||||
- javatool
|
|
||||||
- log
|
|
||||||
- elastic
|
|
||||||
permalink: /pages/ae851d/
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# Elastic 技术栈之 Filebeat
|
# Elastic 技术栈之 Filebeat
|
||||||
|
@ -28,7 +23,7 @@ Beats 有多种类型,可以根据实际应用需要选择合适的类型。
|
||||||
- **Packetbeat:**网络数据包分析器,提供有关您的应用程序服务器之间交换的事务的信息。
|
- **Packetbeat:**网络数据包分析器,提供有关您的应用程序服务器之间交换的事务的信息。
|
||||||
- **Filebeat:**从您的服务器发送日志文件。
|
- **Filebeat:**从您的服务器发送日志文件。
|
||||||
- **Metricbeat:**是一个服务器监视代理程序,它定期从服务器上运行的操作系统和服务收集指标。
|
- **Metricbeat:**是一个服务器监视代理程序,它定期从服务器上运行的操作系统和服务收集指标。
|
||||||
- **Winlogbeat:**提供Windows事件日志。
|
- **Winlogbeat:**提供 Windows 事件日志。
|
||||||
|
|
||||||
> **参考**
|
> **参考**
|
||||||
>
|
>
|
||||||
|
@ -44,7 +39,7 @@ Beats 有多种类型,可以根据实际应用需要选择合适的类型。
|
||||||
|
|
||||||
在任何环境下,应用程序都有停机的可能性。 Filebeat 读取并转发日志行,如果中断,则会记住所有事件恢复联机状态时所在位置。
|
在任何环境下,应用程序都有停机的可能性。 Filebeat 读取并转发日志行,如果中断,则会记住所有事件恢复联机状态时所在位置。
|
||||||
|
|
||||||
Filebeat带有内部模块(auditd,Apache,Nginx,System和MySQL),可通过一个指定命令来简化通用日志格式的收集,解析和可视化。
|
Filebeat 带有内部模块(auditd,Apache,Nginx,System 和 MySQL),可通过一个指定命令来简化通用日志格式的收集,解析和可视化。
|
||||||
|
|
||||||
FileBeat 不会让你的管道超负荷。FileBeat 如果是向 Logstash 传输数据,当 Logstash 忙于处理数据,会通知 FileBeat 放慢读取速度。一旦拥塞得到解决,FileBeat 将恢复到原来的速度并继续传播。
|
FileBeat 不会让你的管道超负荷。FileBeat 如果是向 Logstash 传输数据,当 Logstash 忙于处理数据,会通知 FileBeat 放慢读取速度。一旦拥塞得到解决,FileBeat 将恢复到原来的速度并继续传播。
|
||||||
|
|
||||||
|
@ -100,7 +95,7 @@ filebeat:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
filebeat.prospectors:
|
filebeat.prospectors:
|
||||||
- type: log
|
- type: log
|
||||||
enabled: true
|
enabled: true
|
||||||
paths:
|
paths:
|
||||||
- /var/log/*.log
|
- /var/log/*.log
|
||||||
|
@ -114,12 +109,12 @@ filebeat.prospectors:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
output.elasticsearch:
|
output.elasticsearch:
|
||||||
hosts: ["192.168.1.42:9200"]
|
hosts: ['192.168.1.42:9200']
|
||||||
```
|
```
|
||||||
|
|
||||||
#### output.logstash
|
#### output.logstash
|
||||||
|
|
||||||
如果你希望使用 filebeat 向 logstash输出数据,然后由 logstash 再向elasticsearch 输出数据,需要配置 output.logstash。
|
如果你希望使用 filebeat 向 logstash 输出数据,然后由 logstash 再向 elasticsearch 输出数据,需要配置 output.logstash。
|
||||||
|
|
||||||
> **注意**
|
> **注意**
|
||||||
>
|
>
|
||||||
|
@ -131,7 +126,7 @@ output.elasticsearch:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
output.logstash:
|
output.logstash:
|
||||||
hosts: ["127.0.0.1:5044"]
|
hosts: ['127.0.0.1:5044']
|
||||||
```
|
```
|
||||||
|
|
||||||
此外,还需要在 logstash 的配置文件(如 logstash.conf)中指定 beats input 插件:
|
此外,还需要在 logstash 的配置文件(如 logstash.conf)中指定 beats input 插件:
|
||||||
|
@ -167,7 +162,7 @@ output {
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
setup.kibana:
|
setup.kibana:
|
||||||
host: "localhost:5601"
|
host: 'localhost:5601'
|
||||||
```
|
```
|
||||||
|
|
||||||
#### setup.template.settings
|
#### setup.template.settings
|
||||||
|
@ -176,7 +171,7 @@ setup.kibana:
|
||||||
|
|
||||||
在 Filebeat 中,setup.template.settings 用于配置索引模板。
|
在 Filebeat 中,setup.template.settings 用于配置索引模板。
|
||||||
|
|
||||||
Filebeat 推荐的索引模板文件由 Filebeat 软件包安装。如果您接受 filebeat.yml 配置文件中的默认配置,Filebeat在成功连接到 Elasticsearch 后自动加载模板。
|
Filebeat 推荐的索引模板文件由 Filebeat 软件包安装。如果您接受 filebeat.yml 配置文件中的默认配置,Filebeat 在成功连接到 Elasticsearch 后自动加载模板。
|
||||||
|
|
||||||
您可以通过在 Filebeat 配置文件中配置模板加载选项来禁用自动模板加载,或加载自己的模板。您还可以设置选项来更改索引和索引模板的名称。
|
您可以通过在 Filebeat 配置文件中配置模板加载选项来禁用自动模板加载,或加载自己的模板。您还可以设置选项来更改索引和索引模板的名称。
|
||||||
|
|
||||||
|
@ -190,7 +185,7 @@ Filebeat 推荐的索引模板文件由 Filebeat 软件包安装。如果您接
|
||||||
|
|
||||||
#### setup.dashboards
|
#### setup.dashboards
|
||||||
|
|
||||||
Filebeat 附带了示例 Kibana 仪表板。在使用仪表板之前,您需要创建索引模式 `filebeat- *`,并将仪表板加载到Kibana 中。为此,您可以运行 `setup` 命令或在 `filebeat.yml` 配置文件中配置仪表板加载。
|
Filebeat 附带了示例 Kibana 仪表板。在使用仪表板之前,您需要创建索引模式 `filebeat- *`,并将仪表板加载到 Kibana 中。为此,您可以运行 `setup` 命令或在 `filebeat.yml` 配置文件中配置仪表板加载。
|
||||||
|
|
||||||
为了在 Kibana 中加载 Filebeat 的仪表盘,需要在 `filebeat.yml` 配置中启动开关:
|
为了在 Kibana 中加载 Filebeat 的仪表盘,需要在 `filebeat.yml` 配置中启动开关:
|
||||||
|
|
||||||
|
@ -201,7 +196,6 @@ setup.dashboards.enabled: true
|
||||||
> **参考**
|
> **参考**
|
||||||
>
|
>
|
||||||
> 更多内容可以参考:[configuration-dashboards](https://www.elastic.co/guide/en/beats/filebeat/current/configuration-dashboards.html)
|
> 更多内容可以参考:[configuration-dashboards](https://www.elastic.co/guide/en/beats/filebeat/current/configuration-dashboards.html)
|
||||||
>
|
|
||||||
|
|
||||||
## 命令
|
## 命令
|
||||||
|
|
||||||
|
@ -232,7 +226,7 @@ filebeat 提供了一系列命令来完成各种功能。
|
||||||
|
|
||||||
## 模块
|
## 模块
|
||||||
|
|
||||||
Filebeat 提供了一套预构建的模块,让您可以快速实施和部署日志监视解决方案,并附带示例仪表板和数据可视化。这些模块支持常见的日志格式,例如Nginx,Apache2和MySQL 等。
|
Filebeat 提供了一套预构建的模块,让您可以快速实施和部署日志监视解决方案,并附带示例仪表板和数据可视化。这些模块支持常见的日志格式,例如 Nginx,Apache2 和 MySQL 等。
|
||||||
|
|
||||||
### 运行模块的步骤
|
### 运行模块的步骤
|
||||||
|
|
||||||
|
@ -281,13 +275,13 @@ prospector:负责管理 harvester 并找到所有需要读取的文件源。
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
filebeat.prospectors:
|
filebeat.prospectors:
|
||||||
- type: log
|
- type: log
|
||||||
paths:
|
paths:
|
||||||
- /var/log/*.log
|
- /var/log/*.log
|
||||||
- /var/path2/*.log
|
- /var/path2/*.log
|
||||||
```
|
```
|
||||||
|
|
||||||
Filebeat保持每个文件的状态,并经常刷新注册表文件中的磁盘状态。状态用于记住 harvester 正在读取的最后偏移量,并确保发送所有日志行。
|
Filebeat 保持每个文件的状态,并经常刷新注册表文件中的磁盘状态。状态用于记住 harvester 正在读取的最后偏移量,并确保发送所有日志行。
|
||||||
|
|
||||||
Filebeat 将每个事件的传递状态存储在注册表文件中。所以它能保证事件至少传递一次到配置的输出,没有数据丢失。
|
Filebeat 将每个事件的传递状态存储在注册表文件中。所以它能保证事件至少传递一次到配置的输出,没有数据丢失。
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
---
|
---
|
||||||
title: elastic-beats-ops
|
title: Filebeat 运维
|
||||||
date: 2020-06-16 07:10:44
|
date: 2020-06-16 07:10:44
|
||||||
permalink: /pages/ef03c1/
|
categories: ['数据库', '搜索引擎数据库', 'Elastic']
|
||||||
|
tags: ['数据库', '搜索引擎数据库', 'Elastic', 'Filebeat']
|
||||||
|
permalink: /pages/6b4129/
|
||||||
---
|
---
|
||||||
|
|
||||||
# Filebeat 运维
|
# Filebeat 运维
|
||||||
|
|
||||||
> Beats 平台集合了多种单一用途数据采集器。它们从成百上千或成千上万台机器和系统向 Logstash 或 Elasticsearch 发送数据。
|
> Beats 平台集合了多种单一用途数据采集器。它们从成百上千或成千上万台机器和系统向 Logstash 或 Elasticsearch 发送数据。
|
|
@ -1,8 +1,11 @@
|
||||||
---
|
---
|
||||||
title: elastic-kibana
|
title: Elastic 技术栈之 Kibana
|
||||||
date: 2020-06-16 07:10:44
|
date: 2020-06-16 07:10:44
|
||||||
permalink: /pages/0ee32c/
|
categories: ['数据库', '搜索引擎数据库', 'Elastic']
|
||||||
|
tags: ['数据库', '搜索引擎数据库', 'Elastic', 'Kibana']
|
||||||
|
permalink: /pages/3ba500/
|
||||||
---
|
---
|
||||||
|
|
||||||
# Elastic 技术栈之 Kibana
|
# Elastic 技术栈之 Kibana
|
||||||
|
|
||||||
## Discover
|
## Discover
|
||||||
|
@ -278,7 +281,7 @@ Visualize 工具使您能够以多种方式(如饼图、柱状图、曲线图
|
||||||
为每个范围定义一个存储桶:
|
为每个范围定义一个存储桶:
|
||||||
|
|
||||||
1. 单击 `Split Slices`。
|
1. 单击 `Split Slices`。
|
||||||
2. 在 `Aggregation` 列表中选择 `Terms`。*注意:这里的 Terms 是 Elk 采集数据时定义好的字段或标签*。
|
2. 在 `Aggregation` 列表中选择 `Terms`。_注意:这里的 Terms 是 Elk 采集数据时定义好的字段或标签_。
|
||||||
3. 在 `Field` 列表中选择 `level.keyword`。
|
3. 在 `Field` 列表中选择 `level.keyword`。
|
||||||
4. 点击 ![images/apply-changes-button.png](https://www.elastic.co/guide/en/kibana/6.1/images/apply-changes-button.png) 按钮来更新图表。
|
4. 点击 ![images/apply-changes-button.png](https://www.elastic.co/guide/en/kibana/6.1/images/apply-changes-button.png) 按钮来更新图表。
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
---
|
---
|
||||||
title: elastic-kibana-ops
|
title: Kibana 运维
|
||||||
date: 2020-06-16 07:10:44
|
date: 2020-06-16 07:10:44
|
||||||
permalink: /pages/286fd3/
|
categories: ['数据库', '搜索引擎数据库', 'Elastic']
|
||||||
|
tags: ['数据库', '搜索引擎数据库', 'Elastic', 'Kibana']
|
||||||
|
permalink: /pages/42be7f/
|
||||||
---
|
---
|
||||||
|
|
||||||
# Kibana 运维
|
# Kibana 运维
|
||||||
|
|
||||||
> 通过 Kibana,您可以对自己的 Elasticsearch 进行可视化,还可以在 Elastic Stack 中进行导航,这样您便可以进行各种操作了,从跟踪查询负载,到理解请求如何流经您的整个应用,都能轻松完成。
|
> 通过 Kibana,您可以对自己的 Elasticsearch 进行可视化,还可以在 Elastic Stack 中进行导航,这样您便可以进行各种操作了,从跟踪查询负载,到理解请求如何流经您的整个应用,都能轻松完成。
|
||||||
|
@ -295,7 +298,7 @@ Visualize 工具使您能够以多种方式(如饼图、柱状图、曲线图
|
||||||
为每个范围定义一个存储桶:
|
为每个范围定义一个存储桶:
|
||||||
|
|
||||||
1. 单击 `Split Slices`。
|
1. 单击 `Split Slices`。
|
||||||
2. 在 `Aggregation` 列表中选择 `Terms`。*注意:这里的 Terms 是 Elk 采集数据时定义好的字段或标签*。
|
2. 在 `Aggregation` 列表中选择 `Terms`。_注意:这里的 Terms 是 Elk 采集数据时定义好的字段或标签_。
|
||||||
3. 在 `Field` 列表中选择 `level.keyword`。
|
3. 在 `Field` 列表中选择 `level.keyword`。
|
||||||
4. 点击 ![images/apply-changes-button.png](https://www.elastic.co/guide/en/kibana/6.1/images/apply-changes-button.png) 按钮来更新图表。
|
4. 点击 ![images/apply-changes-button.png](https://www.elastic.co/guide/en/kibana/6.1/images/apply-changes-button.png) 按钮来更新图表。
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
---
|
---
|
||||||
title: elastic-logstash
|
title: Elastic 技术栈之 Logstash
|
||||||
date: 2020-06-16 07:10:44
|
date: 2020-06-16 07:10:44
|
||||||
permalink: /pages/ccea12/
|
categories: ['数据库', '搜索引擎数据库', 'Elastic']
|
||||||
|
tags: ['数据库', '搜索引擎数据库', 'Elastic', 'Logstash']
|
||||||
|
permalink: /pages/f07355/
|
||||||
---
|
---
|
||||||
# Elastic 技术栈之 Logstash 基础
|
|
||||||
|
# Elastic 技术栈之 Logstash
|
||||||
|
|
||||||
> 本文是 Elastic 技术栈(ELK)的 Logstash 应用。
|
> 本文是 Elastic 技术栈(ELK)的 Logstash 应用。
|
||||||
>
|
>
|
||||||
|
@ -151,14 +154,14 @@ input {
|
||||||
- Lists
|
- Lists
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
path => [ "/var/log/messages", "/var/log/*.log" ]
|
;(path) => ['/var/log/messages', '/var/log/*.log']
|
||||||
uris => [ "http://elastic.co", "http://example.net" ]
|
;(uris) => ['http://elastic.co', 'http://example.net']
|
||||||
```
|
```
|
||||||
|
|
||||||
- Boolean
|
- Boolean
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
ssl_enable => true
|
;(ssl_enable) => true
|
||||||
```
|
```
|
||||||
|
|
||||||
- Bytes
|
- Bytes
|
||||||
|
@ -173,7 +176,7 @@ input {
|
||||||
- Codec
|
- Codec
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
codec => "json"
|
;(codec) => 'json'
|
||||||
```
|
```
|
||||||
|
|
||||||
- Hash
|
- Hash
|
||||||
|
@ -189,25 +192,25 @@ match => {
|
||||||
- Number
|
- Number
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
port => 33
|
;(port) => 33
|
||||||
```
|
```
|
||||||
|
|
||||||
- Password
|
- Password
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
my_password => "password"
|
;(my_password) => 'password'
|
||||||
```
|
```
|
||||||
|
|
||||||
- URI
|
- URI
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
my_uri => "http://foo:bar@example.net"
|
;(my_uri) => 'http://foo:bar@example.net'
|
||||||
```
|
```
|
||||||
|
|
||||||
- Path
|
- Path
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
my_path => "/tmp/logstash"
|
;(my_path) => '/tmp/logstash'
|
||||||
```
|
```
|
||||||
|
|
||||||
- String
|
- String
|
||||||
|
@ -329,7 +332,7 @@ output {
|
||||||
|
|
||||||
java 应用配置
|
java 应用配置
|
||||||
|
|
||||||
(1)在 Java 应用的 pom.xml 中引入 jar 包:
|
(1)在 Java 应用的 pom.xml 中引入 jar 包:
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -403,11 +406,11 @@ output {
|
||||||
|
|
||||||
java 应用配置
|
java 应用配置
|
||||||
|
|
||||||
(1)在 Java 应用的 pom.xml 中引入 jar 包:
|
(1)在 Java 应用的 pom.xml 中引入 jar 包:
|
||||||
|
|
||||||
与 **TCP 应用** 一节中的引入依赖包完全相同。
|
与 **TCP 应用** 一节中的引入依赖包完全相同。
|
||||||
|
|
||||||
(2)接着,在 logback.xml 中添加 appender
|
(2)接着,在 logback.xml 中添加 appender
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<appender name="ELK-UDP" class="net.logstash.logback.appender.LogstashSocketAppender">
|
<appender name="ELK-UDP" class="net.logstash.logback.appender.LogstashSocketAppender">
|
|
@ -1,8 +1,11 @@
|
||||||
---
|
---
|
||||||
title: elastic-logstash-ops
|
title: Logstash 运维
|
||||||
date: 2020-06-16 07:10:44
|
date: 2020-06-16 07:10:44
|
||||||
permalink: /pages/da0a57/
|
categories: ['数据库', '搜索引擎数据库', 'Elastic']
|
||||||
|
tags: ['数据库', '搜索引擎数据库', 'Elastic', 'Logstash']
|
||||||
|
permalink: /pages/c5c564/
|
||||||
---
|
---
|
||||||
|
|
||||||
# Logstash 运维
|
# Logstash 运维
|
||||||
|
|
||||||
> [Logstash](https://github.com/elastic/logstash) 是开源的服务器端数据处理管道,能够同时从多个来源采集数据,转换数据,然后将数据发送到您最喜欢的“存储库”中。
|
> [Logstash](https://github.com/elastic/logstash) 是开源的服务器端数据处理管道,能够同时从多个来源采集数据,转换数据,然后将数据发送到您最喜欢的“存储库”中。
|
|
@ -1,12 +1,14 @@
|
||||||
---
|
---
|
||||||
title: Elastic 技术栈
|
title: Elastic 技术栈
|
||||||
date: 2022-04-11 16:52:35
|
date: 2022-04-11 16:52:35
|
||||||
permalink: /pages/e6513d/
|
categories: ['数据库', '搜索引擎数据库', 'Elastic']
|
||||||
|
tags: ['数据库', '搜索引擎数据库', 'Elastic']
|
||||||
|
permalink: /pages/0effac/
|
||||||
---
|
---
|
||||||
|
|
||||||
# Elastic 技术栈
|
# Elastic 技术栈
|
||||||
|
|
||||||
> **Elastic 技术栈通常被用来作为日志采集、检索、可视化解决方案。**
|
> **Elastic 技术栈通常被用来作为日志采集、检索、可视化的解决方案。**
|
||||||
>
|
>
|
||||||
> ELK 是 elastic 公司旗下三款产品 [Elasticsearch](https://www.elastic.co/products/elasticsearch) 、[Logstash](https://www.elastic.co/products/logstash) 、[Kibana](https://www.elastic.co/products/kibana) 的首字母组合。
|
> ELK 是 elastic 公司旗下三款产品 [Elasticsearch](https://www.elastic.co/products/elasticsearch) 、[Logstash](https://www.elastic.co/products/logstash) 、[Kibana](https://www.elastic.co/products/kibana) 的首字母组合。
|
||||||
>
|
>
|
||||||
|
@ -18,13 +20,13 @@ permalink: /pages/e6513d/
|
||||||
|
|
||||||
## 📖 内容
|
## 📖 内容
|
||||||
|
|
||||||
- [Elastic 技术栈快速入门](elastic-quickstart.md)
|
- [Elastic 快速入门](01.Elastic快速入门.md)
|
||||||
- [Beats 应用指南](elastic-beats.md)
|
- [Elastic 技术栈之 Filebeat](02.Elastic技术栈之Filebeat.md)
|
||||||
- [Beats 运维](elastic-beats-ops.md)
|
- [Filebeat 运维](03.Filebeat运维.md)
|
||||||
- [Kibana 应用指南](elastic-kibana.md)
|
- [Elastic 技术栈之 Kibana](04.Elastic技术栈之Kibana.md)
|
||||||
- [Kibana 运维](elastic-kibana-ops.md)
|
- [Kibana 运维](05.Kibana运维.md)
|
||||||
- [Logstash 应用指南](elastic-logstash.md)
|
- [Elastic 技术栈之 Logstash](06.Elastic技术栈之Logstash.md)
|
||||||
- [Logstash 运维](elastic-logstash-ops.md)
|
- [Logstash 运维](07.Logstash运维.md)
|
||||||
|
|
||||||
## 📚 资料
|
## 📚 资料
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
tagsPage: true
|
||||||
|
title: 标签
|
||||||
|
permalink: /tags/
|
||||||
|
article: false
|
||||||
|
---
|
|
@ -158,8 +158,19 @@ footer: CC-BY-SA-4.0 Licensed | Copyright © 2018-Now Dunwu
|
||||||
- [Elasticsearch 性能优化](07.搜索引擎数据库/01.Elasticsearch/10.Elasticsearch性能优化.md)
|
- [Elasticsearch 性能优化](07.搜索引擎数据库/01.Elasticsearch/10.Elasticsearch性能优化.md)
|
||||||
- [Elasticsearch Rest API](07.搜索引擎数据库/01.Elasticsearch/11.ElasticsearchRestApi.md)
|
- [Elasticsearch Rest API](07.搜索引擎数据库/01.Elasticsearch/11.ElasticsearchRestApi.md)
|
||||||
- [ElasticSearch Java API 之 High Level REST Client](07.搜索引擎数据库/01.Elasticsearch/12.ElasticsearchHighLevelRestJavaApi.md)
|
- [ElasticSearch Java API 之 High Level REST Client](07.搜索引擎数据库/01.Elasticsearch/12.ElasticsearchHighLevelRestJavaApi.md)
|
||||||
|
- [Elasticsearch 集群和分片](07.搜索引擎数据库/01.Elasticsearch/13.Elasticsearch集群和分片.md)
|
||||||
- [Elasticsearch 运维](07.搜索引擎数据库/01.Elasticsearch/20.Elasticsearch运维.md)
|
- [Elasticsearch 运维](07.搜索引擎数据库/01.Elasticsearch/20.Elasticsearch运维.md)
|
||||||
|
|
||||||
|
### Elastic
|
||||||
|
|
||||||
|
- [Elastic 快速入门](07.搜索引擎数据库/02.Elastic/01.Elastic快速入门.md)
|
||||||
|
- [Elastic 技术栈之 Filebeat](07.搜索引擎数据库/02.Elastic/02.Elastic技术栈之Filebeat.md)
|
||||||
|
- [Filebeat 运维](07.搜索引擎数据库/02.Elastic/03.Filebeat运维.md)
|
||||||
|
- [Elastic 技术栈之 Kibana](07.搜索引擎数据库/02.Elastic/04.Elastic技术栈之Kibana.md)
|
||||||
|
- [Kibana 运维](07.搜索引擎数据库/02.Elastic/05.Kibana运维.md)
|
||||||
|
- [Elastic 技术栈之 Logstash](07.搜索引擎数据库/02.Elastic/06.Elastic技术栈之Logstash.md)
|
||||||
|
- [Logstash 运维](07.搜索引擎数据库/02.Elastic/07.Logstash运维.md)
|
||||||
|
|
||||||
## 资料 📚
|
## 资料 📚
|
||||||
|
|
||||||
### 数据库综合资料
|
### 数据库综合资料
|
||||||
|
|
Loading…
Reference in New Issue