Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion statistics.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,14 +237,18 @@ Currently, the `SHOW STATS_HISTOGRAMS` statement returns the following 8 columns

You can use the `SHOW STATS_BUCKETS` statement to view each bucket of the histogram.

Syntax as follows:
The syntax is as follows:

{{< copyable "sql" >}}

```sql
SHOW STATS_BUCKETS [ShowLikeOrWhere]
```

The diagram is as follows:

![SHOW STATS_BUCKETS](/media/sqlgram/SHOW_STATS_BUCKETS.png)

This statement returns information about all the buckets. You can use `ShowLikeOrWhere` to filter the information you need.

Currently, the `SHOW STATS_BUCKETS` statement returns the following 10 columns:
Expand Down