Skip to content

Commit

Permalink
Update index-advisor.md
Browse files Browse the repository at this point in the history
Co-authored-by: Roger Song <[email protected]>
  • Loading branch information
qw4990 and songrijie authored Jan 8, 2025
1 parent c03b971 commit df94d4f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index-advisor.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,9 @@ FROM information_schema.cluster_tidb_index_usage
WHERE last_access_time IS NOT NULL AND percentage_access_0 + percentage_access_0_1 + percentage_access_1_10 + percentage_access_10_20 + percentage_access_20_50 = 0;
```

Users should be aware that the data in `tidb_index_usage` may be delayed by up to 5 minutes, and the usage data is reset whenever a TiDB node restarts. Additionally, index usage is only recorded if the table has valid statistics.
> **Note:**
>
> Users should be aware that the data in `tidb_index_usage` may be delayed by up to 5 minutes, and the usage data is reset whenever a TiDB node restarts. Additionally, index usage is only recorded if the table has valid statistics.


Expand Down

0 comments on commit df94d4f

Please sign in to comment.