Although CockroachDB lands firmly in the OLTP space its perfectly acceptable to run more analytic type workloads against your cluster
CockroachDB is primarily designed as an OLTP (Online Transaction Processing) database, which means it is optimised for handling high transaction volumes and low-latency queries. Its distributed architecture and support for