Functioning as the cloud database for cloud services, CockroachDB is designed to have consistent key values and horizontal scalability. In tandem, it also has automated repair features to survive failures during replication and repairs. It’s more suitable when used in large-scale data and database deployments, cloud migrations, cloud-native infrastructure, and replicated and distributed OLTP rather than for heavy analytics.