Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
TomShawn authored Jul 29, 2021
1 parent 724c4b7 commit e6d5152
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions dashboard/dashboard-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,11 @@ QPS 及 Latency 监控依赖于集群中已正常部署 Prometheus 监控实例

### 概况页面中 Top SQL 语句、最近慢查询显示 `invalid connection` 错误

<<<<<<< HEAD
可能的原因是你开启了 TiDB 的 `prepared-plan-cache` 功能。作为实验性功能,`prepared-plan-cache` 在某些版本的 TiDB 中存在一些缺陷,开启后可能会导致 TiDB Dashboard(及其他应用)出现该问题。请依据[文档](/tidb-configuration-file.md#prepared-plan-cache)关闭 `prepared-plan-cache` 功能。
=======
可能的原因是你开启了 TiDB 的 `prepared-plan-cache` 功能。`prepared-plan-cache` 是实验性功能,在某些版本的 TiDB 中可能无法正常运行,开启后可能会导致 TiDB Dashboard(及其他应用)出现该问题。可以通过修改 [TiDB 配置文件](/tidb-configuration-file.md#prepared-plan-cache)来关闭 `prepared-plan-cache` 功能。

### 慢查询页面显示 `unknown field` 错误

集群升级后,如果慢查询页面出现 `unknown field` 错误,是由于升级后新版本 TiDB Dashboard 字段与浏览器缓存内的用户偏好设置的字段不兼容导致的。该问题已修复。如果你的集群版本低于 v5.0.3 或 v4.0.14,可以根据以下步骤进行处理:
集群升级后,如果慢查询页面出现 `unknown field` 错误,是由于升级后新版本 TiDB Dashboard 字段与浏览器缓存内的用户偏好设置的字段不兼容导致的。该问题已修复。如果你的集群版本低于 v4.0.14,可以根据以下步骤进行处理:

1. 打开 TiDB Dashboard 页面。

Expand All @@ -76,4 +73,3 @@ QPS 及 Latency 监控依赖于集群中已正常部署 Prometheus 监控实例
3. 选中 **Application** 面板,展开 **Local Storage** 菜单并选中 **TiDB Dashboard 页面的域名**,点击 **Clear All**

![清理 Local Storage](/media/dashboard/dashboard-faq-devtools-application.png)
>>>>>>> 5c16aa1ec (Update dashboard FAQ (#6559))

0 comments on commit e6d5152

Please sign in to comment.