-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 慢日志扫描更新 * 更新库表扫描 * 更新慢日志图片 * 会话SQL更新 * 库表扫描更新 * 更新百度云使用 * 更新华为云 * 更新会话SQL * 新增topSQL * 更新应用程序SQL抓取 * 更新SQL管控 * 更新功能说明 * 更新配置文件 * 更新topsql对于PG数据源的限制 * 更新功能对比 * 新增全局数据源管理页面 * 页面预览问题调整
- Loading branch information
Showing
22 changed files
with
258 additions
and
252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
title: 全局数据源管理 | ||
--- | ||
# 全局数据源管理 | ||
|
||
* 当需要对多个项目中的数据源进行统一修改或查看时,此功能可以帮助迅速定位并进行操作。 | ||
* 当需要进行跨项目管理工作时,可以使用该功能,确保对数据源的分布和配置情况一目了然,实现更高效的数据源管理和项目协调。 | ||
|
||
|
||
## 使用步骤 | ||
|
||
* 导航至全局设置,选择数据源管理页面,以访问平台管理的所有数据源列表。 | ||
* 利用提供的筛选工具,根据项目需求或特定条件,精确筛选出您关注的数据源。 | ||
|
||
![instancelist](img/instancelist.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,40 @@ | ||
--- | ||
title: 百度云RDS慢日志扫描 | ||
--- | ||
本节介绍如何在SQLE平台监管百度云RDS实例上产生的慢SQL。 | ||
当使用百度云RDS实例,并且想要监管实例上产生的慢SQL,可以通过创建一个百度云RDS慢日志扫描任务来实现。该任务将会定期扫描百度云RDS实例上的慢日志,并将扫描结果发送到SQLE中进行分析。 | ||
|
||
|
||
### 支持的数据源类型 | ||
* MySQL | ||
|
||
### 使用场景 | ||
如果用户使用百度云RDS实例,并且想要监管实例上产生的慢SQL,可以通过创建一个百度云RDS慢日志扫描任务来实现。该任务将会定期扫描百度云RDS实例上的慢日志,并将扫描结果发送到SQLE中进行分析。 | ||
|
||
### 前置操作 | ||
* 用户需创建双机高可用版本的百度云RDS实例; | ||
* 对该实例开通慢日志; | ||
* 已在平台添加对应数据源。 | ||
|
||
![baiduyunrds](img/baiduyunrds.png) | ||
|
||
### 操作步骤 | ||
新建智能扫描任务 | ||
|
||
* 任务名称:输入审核任务名称,必须以字母开头; | ||
* 数据源名称:指定扫描任务实施的数据源; | ||
* 数据库:填写需要审核的目标库,若不填则仅进行静态分析不会连库; | ||
* 数据库类型:根据选取的数据源呈现; | ||
* 任务类型:选择需要执行的审核任务类型,选择`百度云RDS MySQL慢日志`; | ||
### 步骤一 开启百度云慢日志扫描类型 | ||
|
||
在SQL管控配置中为数据源开启智能扫描,扫描类型选择“百度云慢日志扫描”,并填写以下字段信息: | ||
|
||
* 实例ID:填写百度云RDS实例的ID。 | ||
* Access Key:为账号安全认证中的Access Key,用于登录百度云RDS,需要与Secret Key一同使用。 | ||
* Access Secret Key:账号安全认证中Access Key对应的Secret Key。 | ||
* 启动任务时拉取慢日志时间范围(单位:小时,最大7天):扫描任务读取慢日志的时间范围,单位为小时,最大范围为7天。 | ||
* 审核过去时间段内抓取的SQL(分钟): 审核该时间段内抓取到的慢SQL。 | ||
* RDS Open API地址:RDS的地址前缀,用以调用RDS服务,需根据实例所在区域进行填写。如当前实例在华东-上海范围,则应填写rds.fsh.baidubce.com | ||
* 审核规则模板:选择对应的审核规则模板; | ||
|
||
|
||
以下为百度云RDS Open API地址参考: | ||
![baiduyunrdsurl](img/baiduyunrdsurl.png) | ||
|
||
点击`提交`,完成扫描任务创建。 | ||
点击`提交`,完成数据源上的百度云慢日志SQL扫描任务配置。 | ||
|
||
|
||
### 步骤二 获取采集结果及审核结果 | ||
在扫描详情中查看采集的百度云慢日志SQL信息及审核结果。 | ||
|
||
|
||
### 执行结果 | ||
* 用户进入扫描任务详情,可以查看扫描任务抓取到的慢SQL。 | ||
* 点击`立即审核`,可查看对慢SQL的审核结果。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified
BIN
-116 KB
(48%)
docs/user-manual/project/audit_task/img/processlist-audit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.