Collecting histogram diagnostics
DSE provides histogram tables for this data:
| Histogram | Details table | Summary table | Keyspace details | Keyspace summary | Global details | Global summary |
|---|---|---|---|---|---|---|
|
Y |
Y |
N |
N |
N |
N |
|
Y |
Y |
N |
N |
N |
N |
|
Y |
Y |
Y |
N |
Y |
N |
|
Y |
Y |
Y |
N |
Y |
N |
|
Y |
Y |
Y |
N |
N |
N |
|
Y |
Y |
Y |
N |
N |
N |
|
These tables show similar information to the data obtained by the |
The location of the dse.yaml file depends on the type of installation:
-
Package installations and Installer-Services installations:
/etc/dse/dse.yaml -
Tarball installations and Installer-No Services installations:
<installation_location>/resources/dse/conf/dse.yaml
Procedure
To enable the collection of table histogram data using the DataStax Enterprise Performance Service:
-
Edit the
dse.yamlfile. -
In the
dse.yamlfile, set the enabled option forhistogram_data_optionstotrue.# Column Family Histogram data tables options histogram_data_options: enabled: true refresh_rate_ms: 10000 retention_count: 3 -
Optional: To control how often the statistics are refreshed, increase or decrease the
refresh_rate_msparameter.The
refresh_rate_msspecifies the length of the sampling period, that is, the frequency with which this data is updated. -
Optional: To control the number of complete histograms kept in the tables at any one time, change the
retention_countparameter.