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

Collect performance diagnostic information #3547

Closed
robert-s-lee opened this issue Aug 15, 2018 · 2 comments
Closed

Collect performance diagnostic information #3547

robert-s-lee opened this issue Aug 15, 2018 · 2 comments
Labels
O-sales-eng Internal source: Sales Engineering T-missing-info

Comments

@robert-s-lee
Copy link
Contributor

robert-s-lee commented Aug 15, 2018

Exalate commented:

Collect crdb_internal.node_statement_statistics from all nodes.

cockroach node status --format tsv --insecure | tail -n +2 | while read id host other; do cockroach sql --format tsv --url postgres://root@$host?sslmode=disable -e "select crdb_internal.cluster_id(), now(),* from crdb_internal.node_statement_statistics;"; done > node_statement_statistics.tsv

Collect Range Usage Info

Download 4 scripts. Additional context on the scripts is available.

curl http://localhost:8080/_status/raft > ranges
python hottest_nodes.py ranges > hottest_nodes.txt
python hottest_ranges.py ranges > hottest_ranges.txt
python tables_per_node.py ranges > tables_per_node.txt

Jira Issue: DOC-184

@robert-s-lee robert-s-lee self-assigned this Aug 15, 2018
@jseldess jseldess added T-missing-info A-ops&tools O-sales-eng Internal source: Sales Engineering labels Nov 9, 2018
@robert-s-lee
Copy link
Contributor Author

node status

cockroach sql --format tsv --url postgres://[email protected]?sslmode=disable -e "select * from crdb_internal.kv_node_status;" > node_status

@jseldess
Copy link
Contributor

We have closed this issue because it is more than 3 years
old. If this issue is still relevant, please add a comment and re-open
the issue. Thank you for your contribution to CockroachDB docs!

@exalate-issue-sync exalate-issue-sync bot changed the title Collect performance diagnostic information Collect performance diagnostic information Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-sales-eng Internal source: Sales Engineering T-missing-info
Projects
None yet
Development

No branches or pull requests

3 participants