You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sql-statements/sql-statement-refresh-stats.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,7 @@ ClusterOption ::=
89
89
90
90
## Privileges
91
91
92
-
To execute `REFRESH STATS`, you must have the `SELECT` privilege on every targeted table. If you do not have sufficient privileges, TiDB returns an error and aborts the statement.
92
+
To execute `REFRESH STATS`, you must either have the `RESTORE_ADMIN` privilege or hold `SELECT` on every targeted table. If you do not have sufficient privileges, TiDB returns an error and aborts the statement.
0 commit comments