0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【Cassandra】sstablemetadata

Last updated at Posted at 2019-10-23

sstablemetadata

SSTableごとの統計情報を確認するのに、sstablemetadataコマンドはとても有用(って思ってる、個人的に)

でも、Apache Cassandraドキュメントでは以下のように記載されてるので、Apache Cassandra稼働中の実行は遠慮したほうが良い...。

Cassandra must be stopped before this tool is executed, or unexpected results will occur. Note: the script does not verify that Cassandra is stopped.

出力レポートの出力例と説明は Apache Cassandraのドキュメントが詳しいけど、ちょっと補足...

Countっていうのがわかりにくいけど、以下の例だと、258バイトの行が20000行、5セル構成の行が20000行、っていうことで、Countのところがサイズだったりセル数だったりする。

Count               Row Size        Cell Count
1                          0                 0
2                          0                 0
3                          0                 0
4                          0                 0
5                          0             20000
6                          0                 0
7                          0                 0
8                          0                 0
10                         0                 0
12                         0                 0
14                         0                 0
17                         0                 0
20                         0                 0
24                         0                 0
29                         0                 0
35                         0                 0
42                         0                 0
50                         0                 0
60                         0                 0
72                         0                 0
86                         0                 0
103                        0                 0
124                        0                 0
149                        0                 0
179                        0                 0
215                        0                 0
258                    20000                 0
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?