https://github.com/codingcat/cockroachdb_playground
some programs to play around cockroachdb
https://github.com/codingcat/cockroachdb_playground
Last synced: 12 months ago
JSON representation
some programs to play around cockroachdb
- Host: GitHub
- URL: https://github.com/codingcat/cockroachdb_playground
- Owner: CodingCat
- License: apache-2.0
- Created: 2021-01-02T06:58:04.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-03T06:10:07.000Z (about 5 years ago)
- Last Synced: 2025-01-26T03:26:38.369Z (about 1 year ago)
- Language: Python
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cockroachdb_playground
some programs to play around cockroachdb
## start a local cluster
```bash
python cluster_scripts/cluster_cmd.py launch cluster_size
```
## shutdown a local cluster
```bash
python cluster_scripts/cluster_cmd.py shutdown
```
## pick a random node from the cluster to run
```bash
python cluster_scripts/clsuter_cmd.py repl
```