Skip to content

Commit e0d17be

Browse files
Update dba-commands.md to match new image
1 parent 66358a0 commit e0d17be

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

articles/managed-instance-apache-cassandra/dba-commands.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,15 @@ The `cassandra-reset-auth-replication` command lets a user change their schema f
8585
```azurecli-interactive
8686
az managed-cassandra cluster invoke-command --resource-group <rg> --cluster-name <cluster> --host <ip of data node> --command-name cassandra-reset-auth-replication --arguments password="<datacenters>"
8787
```
88-
The `tree` command lets a user see their sstables.
88+
The `sstable-tree` command lets a user see their sstables.
8989
```azurecli-interactive
90-
az managed-cassandra cluster invoke-command --resource-group <rg> --cluster-name <cluster> --host <ip of data node> --command-name tree
90+
az managed-cassandra cluster invoke-command --resource-group <rg> --cluster-name <cluster> --host <ip of data node> --command-name sstable-tree
9191
```
9292
The `sstable-delete` command lets a user delete their sstables made before a certain time.
9393
```azurecli-interactive
9494
az managed-cassandra cluster invoke-command --resource-group <rg> --cluster-name <cluster> --host <ip of data node> --command-name sstable-delete --arguments datetime="<YYYY-MM-DD hh:mm:ss>"
9595
```
96+
Datetime argument must be formatted as shown above. You can also add --dry-run="" as an argument to see which files will be deleted.
9697
## List of supported `sstable` commands
9798

9899
For more information on each command, see https://cassandra.apache.org/doc/latest/cassandra/tools/sstable/index.html

0 commit comments

Comments
 (0)