Questions tagged [cockroachdb]

A scalable, geo-replicated, transactional SQL datastore developed in Go.

0
votes
1answer
15 views

run TPCC on local cockroachdb cluster?

folks I am trying to play with cockroachdb I have a local cockroachdb up and running by following instruction here https://www.cockroachlabs.com/docs/stable/start-a-local-cluster.html. and then ...
0
votes
1answer
37 views

Can Go's Rows.Scan ignore fields from SQL query

The Rows.Scan method takes as many paramaters as there are columns in the SQL query. As the query being executed is SHOW COLUMNS FROM my_table I cannot omit any column which I don't require (or can I?...
0
votes
1answer
54 views

Kafka Connect with CockroachDB

I am trying to use CockroachDB (v2.0.6) as a sink for one of my Kafka topics. I wasn't able to find any Kafka connector specifically for CockroachDB so I decided to use the jdbc sink connector from ...
0
votes
1answer
42 views

pq: cluster version does not support JSONB (>= 2.0 required)

We are using CockroachDB. We are trying to "import" a .sql dump file using command cockroach sql --database=database name < file-name.sql --insecure After pressing the enter the tables without ...
0
votes
1answer
40 views

select bottleneck and insert into select doesn't work on cockroach db

I have to union 2 tables like below query. and 'table2' has 15GB data. But it show errors. I set max-sql-memory=.80 and I don't know how to solve this. When I execute this query with limit 50000 ...
0
votes
1answer
31 views

How to ensure uniqueness with NULL values in cockroach DB

I have a table of accounts which generates unique keys with a sequence. It is used to generate unique identities for accounts and account/user pairs. I tried the following from pgsql: CREATE INDEX ...
0
votes
1answer
55 views

Buiding CockroachDB for RPi yields 'segmentation violation error'

I am trying to build CockroachDB from sources on a RPi 3, following a couple of posts (this and this). My RaspberryPi setup: OS: 2018-06-27-raspbian-stretch CPU: ARMv7 rev 4(v71) Mem: ...
0
votes
1answer
27 views

Prevent test migrations from being run on a specific database

I have a Django application connectinig to 2 database. Both of them as seen by Django as PostgreSQL database but one of them is not a PostgreSQL (but uses the PostgreSQL binary protocol so it uses the ...
1
vote
2answers
66 views

helm cockroachdb GKE - volume full and un-resizable

I have deployed cockroachdb with a stable helm chart. Unfortunately, I didn't realize the default conf gives me a very small 1Gi, unresizable persistent volume. I also didn't realize that the ...
0
votes
1answer
57 views

Final step in creating cockroachdb user certificates on Kubernetes (GKE)

I'm having trouble with the final step in creating user certificates for use with NodeJS pg client to access a secure CockroachDB running on GKE. (it all works fine using the root user client key and ...
0
votes
1answer
65 views

How to create a Kubernetes client certificate signing request for Cockroachdb

The environment I'm working with is a secure cluster running cockroach/gke. I have an approved default.client.root certificate which allows me to access the DB using root, but I can't understand how ...
0
votes
1answer
26 views

Trying to get Traefik to recognise the CockroachDB dashboard

UsingMiniKube on Windows 10 I have Traefik installed using a Daemonset as per the instructions here I installed CockroachDB (CD) using: helm install --name my-release-cockroachdb stable/cockroachdb ...
0
votes
1answer
85 views

Migrating Cockroach DB from local machine to GCP Kubernetes Engine

Followed instructions here to create a local 3 node secure cluster Got the go example app running with the following DB connection string to connect to the secure cluster sql.Open("postgres", "...
0
votes
1answer
44 views

Changing run parameter for cockroachDB in kubernetes GKE

I have a running GKE cluster with cockroachDB active. It's been running for quite a while and I don't want to reinitialize it from scratch - it uses the (almost) standard cockroachDB supplied yaml ...
1
vote
2answers
60 views

cockroachdb/kubernetes logging lots of errors on stackdriver

I've just noticed from a very nasty gcp bill that cockroachDB has logged 1.5tb of errors on stackdriver, costing me several hundred dollars in just a few days. Sadly I had left it on 100% logging. The ...

15 30 50 per page