Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sstable-tools for Cassandra 5.0.x #587

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

burmanm
Copy link
Contributor

@burmanm burmanm commented Jan 13, 2025

Tested to work and that the tools are in the path (5.0.2):

[cassandra@cluster2-dc2-r1-sts-0 /]$ ic-sstable-tools pstats system local
WARN  16:15:47,906 Only 50.144GiB free across all data volumes. Consider adding more capacity to your cluster or removing obsolete snapshots
Analyzing SSTables... ██████████████████████████████ (100%)

Summary:
+----------+-------+---------+
|          | Size  | SSTable |
+----------+-------+---------+
| Count    |     1 |         |
| Total    | 678 B |       1 |
| Minimum  | 678 B |       1 |
| Average  | 678 B |     1.0 |
| std dev. |   0 B |     0.0 |
| 50%      | 678 B |     1.0 |
| 75%      | 678 B |     1.0 |
| 90%      | 678 B |     1.0 |
| 95%      | 678 B |     1.0 |
| 99%      | 678 B |     1.0 |
| 99.9%    | 678 B |     1.0 |
| Maximum  | 678 B |       1 |
+----------+-------+---------+

Largest partitions:
+-------+-------+---------------+
| Key   | Size  | SSTable Count |
+-------+-------+---------------+
| local | 678 B |             1 |
+-------+-------+---------------+

SSTable Leaders:
+-------+---------------+-------+
| Key   | SSTable Count | Size  |
+-------+---------------+-------+
| local |             1 | 678 B |
+-------+---------------+-------+

SSTables:
+---------------------------------------------------+-------+-------------------------+-------------------------+-------+------------+--------------------+--------------------+
| SSTable                                           | Size  | Min Timestamp           | Max Timestamp           | Level | Partitions | Avg Partition Size | Max Partition Size |
+---------------------------------------------------+-------+-------------------------+-------------------------+-------+------------+--------------------+--------------------+
| da-3gmw_182h_5097428k014jetlc84-bti-Partitions.db | 678 B | 2025-01-13 15:50:58.077 | 2025-01-13 15:51:45.731 |     0 |          1 |              678 B |              678 B |
+---------------------------------------------------+-------+-------------------------+-------------------------+-------+------------+--------------------+--------------------+

[cassandra@cluster2-dc2-r1-sts-0 /]$ 

Copy link

No linked issues found. Please add the corresponding issues in the pull request description.
Use GitHub automation to close the issue when a PR is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant