cockroachdb Questions

2

The Rows.Scan method takes as many parameters 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 ca...
Aishaaisle asked 6/10, 2018 at 13:55

6

Solved

When calling the saveAll method of my JpaRepository with a long List<Entity> from the service layer, trace logging of Hibernate shows single SQL statements being issued per entity. Can I for...

2

Solved

I was trying to migrate from Another RDBMS to cockroachDB but I think there is no such functionality like stored procedures in Cockroach. So what is the best alternative to make a stored procedure ...

4

Solved

Is there any way to do local development with cloud spanner? I've taken a look through the docs and the CLI tool and there doesn't seem to be anything there. Alternatively, can someone suggest a SQ...

3

Solved

How can I select random rows from a SQL table using CockroachDB? For example, if I have a number of questions and I want to generate a different sequence each time a student loads them.
Kokaras asked 11/4, 2017 at 20:24

1

Solved

I have a table with 2 columns; ID (int) and EntityData (JSON). I have created a filter object in form of a Dictionary in C#. I want to fetch all rows which satisfy the key-value pair data in my fil...
Backlog asked 30/4, 2018 at 6:51

1

Solved

I would like to accomplish 2 things: 1) Start a CockroachDB cluster with docker compose (works) 2) Execute SQL commands on the cluster (I want to create a Database) My Docker File Looks like thi...
Fransiscafransisco asked 25/8, 2017 at 14:55

1

Solved

I've set up and deployed a Kubernetes stateful set containing three CockroachDB pods, as per docs. My ultimate objective is to query the database without requiring use of kubectl. My intermediate o...
Herisau asked 7/6, 2017 at 5:5

1

Solved

Is there a way to optimize the insertion of a lot of data into an empty CockroachDB table?
Everest asked 11/4, 2017 at 19:52

1

I’m building an app on CockroachDB and need to do full-text search. Does CockroachDB provide that built-in?
Shemeka asked 11/4, 2017 at 17:22

1

Solved

When I connect to CockroachDB using cockroach sql, I have to prefix all table names with the name of the database: SELECT * FROM db.table1; If I forget to specify the database, like SELECT * FR...
Shibboleth asked 10/4, 2017 at 19:35

1

Solved

In MySQL, I can use AUTO INCREMENT to generate unique IDs for my application’s customers. How do I get similar functionality when using CockroachDB?
Vasomotor asked 10/4, 2017 at 18:9

1

Solved

I tried using Oracle's DESCRIBE TABLE... statement in CockroachDB and got a syntax error. What’s the equivalent command?
Tokay asked 10/4, 2017 at 18:3

1

Solved

When should I use batches and when should I use transactions? Can I embed a transaction in a batch? A batch in a transaction?
Elledge asked 3/6, 2015 at 20:51
1

© 2022 - 2024 — McMap. All rights reserved.