372
questions
-1
votes
0
answers
25
views
Quartz job as cluster mode getting error Couldn't acquire next trigger
(QuarkusQuartzScheduler_QuartzSchedulerThread) An error occurred while scanning for the next triggers to fire.: org.quartz.JobPersistenceException: Couldn't acquire next trigger: ERROR: Restart read ...
0
votes
2
answers
13
views
Changing index default sharding scheme to range in YugabyteDB
I saw the default sharding scheme for Secondary Indexes is HASH for the first column. (https://docs.yugabyte.com/preview/explore/indexes-constraints/secondary-indexes-ysql/)
My DDL is generated mostly ...
0
votes
1
answer
7
views
DOUBLE type displayed incorrectly when aggregated in YugabyteDB YCQL
We are performing tests for an aggregator application, and are observing some differences on how data is being displayed for certain datatypes (double and decimal so far) between Cassandra and ...
0
votes
1
answer
44
views
Possible to shard on a key with duplicate values in YugabyteDB
Can you shard based on a key that has duplicate values, or does it need to be unique like a primary key? I have a table where data, including a Date, is added daily. The table's structure is:
id | ...
0
votes
1
answer
8
views
Issue compiling YugabyteDB
Issue: Compilation Failed
I have attached the CMakeError.log file.
Yugabyte Version: 2.14.11
System Info:
OS - Ubuntu22.04
Architecture: x86_64
Cmake error log:
Detecting CXX compiler ABI info failed ...
0
votes
1
answer
4
views
Failed to pre-allocate space when creating YugabyteDB cluster
I'm trying to create a fresh installation with one master and tserver. My first order of business was to modify the default password and I keep getting the following error:
W0811 22:10:53.429014 2692 ...
0
votes
1
answer
26
views
How to scale up & down a YugabyteDB cluster?
Lets assume I have a 3 nodes setup, and a replication factor of 3 and a database of around 150GB.
Then I up scale it to 6 nodes, I assume yugabyte will auto rebalance all the replicas and etc correct?...
0
votes
1
answer
11
views
Error binding socket when starting YugabyteDB
I have a problem when using yugabyte with persistence volume in docker.
On first run everything work fine, but when re-create container with existing volume, it fail to start:
master.err :
./../src/yb/...
0
votes
1
answer
38
views
Optimistic and pessimistic locks in YugabyteDB
Newbie user here, starting to use yugabyteDB with some transactional queries.
Regarding optimistic and pessimistic locks, could somebody please clarify what is supported by yugabyte?
Looking at https:/...
0
votes
1
answer
7
views
Auto-discover the current leader of yb-master in YugabyteDB?
Is there's a way to auto-discover the current leader of YB-master machine? Or can we proxy the ysql requests from follower to leader?
From my side, if I don't connect with the leader of yb-master, the ...
0
votes
1
answer
10
views
View does not exist in YugabyteDB concurrent DDL
I am running YugabyteDB 2.14.2.0 on a single node setup, using a database that had been created as COLOCATED. In that database there are tables defined WITH (COLOCATED = FALSE), and I have defined a ...
0
votes
1
answer
6
views
Architecture of key management in YugabyteDB
I'm looking for information on how key management is implemented in YB (meaning YugabyteDB itself). In general, and in particular when using block-level encryption at rest, how are the keys stored? ...
0
votes
1
answer
32
views
pg_dump Issue While Exporting Schema of Existing Postgres Database for YugaByte Migration
I have an existing postgres database which I want to migrate to YugaByte using yb-voyager. I used the below command to export the postgres database schema.
yb-voyager export schema --export-dir <...
-1
votes
1
answer
68
views
How to connect to YugaByte local cluster from PgAdmin
I have installed YugaByte and created a local cluster in one AWS EC2 (RHEL 8) machine by following this tutorial. The yugabyte is running as below:
The IP Address of the AWS EC2 machine is: 10.10.23....
0
votes
1
answer
28
views
How to remove dead node from the cluster dashboard in YugabyteDB?
How to remove a node from a cluster, so that cluster doesn't keep reporting it as “down” or red-icon in dashboard ? I suspect yb-admin is needed, but can only find blacklist and blacklist-leader.
0
votes
2
answers
31
views
Getting hostname of each yb-tserver in YugabyteDB cluster using YSQL
How can I easily set host on startup of a yb-container, such that select * from yb_servers() lists a hostname instead of an ip-address in the host column?
startup command for 6 docker nodes was:
...
0
votes
1
answer
7
views
Change YSQL in YugabyteDB to scroll horizontally?
Is it possible to change ysqlsh to scroll horizontally instead of wrap long tables and be able to use PgUp and PgDn similar to psql?
I can't find it in the docs.
0
votes
1
answer
12
views
How to use password with `@` in connection string in YugabyteDB?
How do you escape a password that contains “@“ in connection string?
When I ssh to the pod and echo the ENV it outputs the correct password, but the app can’t access the DB. It throws incorrect ...
0
votes
1
answer
9
views
`yb_is_database_colocated` is missing after upgrading YugabyteDB cluster to 2.18.1.0
We found today the issue, that the function yb_is_database_colocated() is missing after an upgrade to 2.18.1.0.
select yb_is_database_colocated();
[Code: 0, SQL State: 42883] ERROR: function ...
0
votes
2
answers
13
views
Performance of incrementing counters in YugabyteDB YSQL
I have 1,000 components each has a separate table row that it update every 10 seconds.
I currently use redis with HSET and HGET.
Is it reasonable to use ysql for this?
Will frequent updates create ...
1
vote
1
answer
14
views
Is it possible to check on which tablet a row belongs in YugabyteDB YSQL?
Is it possible to know for a specific row on which tablet it resides?
I have found the hash value of the primary key against a record using yb_hash_code(). Assuming the value is 44277.
I have also ...
0
votes
1
answer
31
views
How can I migrate a BLOB column into yugabyte?
We want to switch from MySQL to yugabytedb but have some columns with blob data stored in them (type LONGBLOB).
I see that yugabyte supports BLOB but during migration yugabyte voyager told me that it ...
0
votes
1
answer
18
views
How to list all servers in YugabyteDB cluster?
I was looking to get all ip's of my hosts for all masters and tservers, do we have any specific command through which I can list all of the host ip's?
0
votes
1
answer
17
views
Where to put extensions in YugabyteDB?
I'm just starting testing yugabyte using the yugabyted script. Trying to see if it can replace our current postgresql implementation. The server is running RHEL 8 Linux. I'm getting an error when ...
0
votes
1
answer
24
views
Check if database supports colocation in YugabyteDB?
Can I issue a sql-query to detect if a database supports colocation? I would like to have a check to see if a database or a table has the colocation property set ON or OFF, true/false… I currently ...
0
votes
1
answer
6
views
ERROR: unrecognized parameter "fillfactor" (SQLSTATE 22023) in YugabyteDB
I’m getting the following error when trying to create an index:
yugabyte=# CREATE TABLE DEMO(C1 INT PRIMARY KEY, C2 INT, C3 INT);
yugabyte=# CREATE UNIQUE INDEX ix_demo ON public.demo USING BTREE(c2 ...
0
votes
1
answer
8
views
Generated timestamp columns in YugabyteDB?
Are either of these supported in YugabyteDB? If not, is there a workaround?
confirmed_at timestamptz GENERATED ALWAYS AS (LEAST (email_confirmed_at, phone_confirmed_at)) STORED,
email text generated ...
0
votes
1
answer
21
views
YugabyteDB Table system.peers_v2 not found: OBJECT_NOT_FOUND using Java YCQL driver
My yb-tserver is throwing lots error similar to this:
72 client_master_rpc.cc:76] 0x000055bb709bca98 -> GetTableSchemaRpc(table_identifier: table_name: "peers_v2" namespace { name: "...
0
votes
1
answer
27
views
TABLET_DATA_TOMBSTONED in YugabyteDB
Some tablet is in TABLET_DATA_TOMBSTONED status, what does it mean?
Do we have ways to remove tablets in that state?
0
votes
1
answer
21
views
Difference in primary-key column order in YugabyteDB
We have one ycql table items where we have defined primary key on two columns.
Wanted to understand if there is any significance on the sequence of columns.
CREATE TABLE items (
item_value text,
...
0
votes
1
answer
14
views
YugabyteDB Can't assign requested address
I am trying to start yugabyteDB locally with the following command:
./bin/yb-ctl destroy && ./bin/yb-ctl —ref 3
But yb-master and yb-tserver is not up.
Checking logs, I see:
cat yb-master....
0
votes
1
answer
75
views
Is there a easy way to run yugabyte db in local (mac os) with python3?
I'm setting up Yugabyte (YB) locally on my work computer without admin rights or Docker installation. Python 3.x runs with the command 'python3,' and creating an alias to 'python' didn't work for YB. ...
0
votes
1
answer
53
views
Catalog Version Mismatch: A DDL occurred while processing this query error when refreshing multiple materialized views in YugabyteDB
Dreaded Catalog Version Mismatch: A DDL occurred while processing this query error when refreshing multiple materialized views.
I'm using a few materialized views to cache slow foreign data wrapper ...
1
vote
1
answer
88
views
Flyway migration using Yugabyte JDBC Smart Driver?
I googled a lot, but could not find the answer.
Does Flyway support Yugabyte JDBC Smart Driver (jdbc-yugabytedb)?
I am getting following error when start my Spring Boot app:
Caused by: org.flywaydb....
0
votes
1
answer
55
views
How YugabyteDB handles conflict between regions in multi-region replication
I was looking into how yugabyte handles conflict between regions and found this https://www.yugabyte.com/tech/database-geo-distribution/
However, I cannot find any more information regarding ...
0
votes
1
answer
54
views
YugabyteDB internals on range queries over hash-partitioned tables
Is there any good reading on how YB implements range queries over hash-partitioned data? I'm curious because this is a hard problem to solve (yes, even with a good solution, it's generally not ...
1
vote
1
answer
27
views
Bidirectional asynchronous replication with 3 clusters in YugabyteDB
I have 3 clusters with 3 nodes each. All 3 clusters are linked using bidirectional bootstrap replication. I am doing some stress test.
Scenario 1: An outage has occurred in one of the datacenters and ...
0
votes
1
answer
86
views
YugabyteDB CDC compared to PostgreSQL logical replication
I have some questions when using yugabyteDB CDC related features. I would like to know if yugabyteDB is the same as PostgreSQL, it keeps generating wal and keeps taking up storage space.
When I used ...
0
votes
1
answer
55
views
YugabyteDB 'NoneType' object has no attribute 'group'
I follow the YugabyteDB Quickstart. I am using WSL2 with Ubuntu 22.04.2.
After using the command ./bin/yugabyted start I get following exception:
yugabyted crashed. For troubleshooting, contact us on ...
0
votes
0
answers
58
views
problem yugabyte works on the command prompt but not for PGAdmin
Sure, I can help you with that. Here is a sample email that you can send to the Yugabyte team:
Dear Yugabyte Team,
I am writing to you today because I am having an issue with Yugabyte not working on ...
0
votes
1
answer
158
views
Yugabyte DB how to scale up disk storage size
I have deployed a Yugabyte cluster on Azure via helm chart. I'm wondering how to scale up disk storage size.
It was failed when I tried to update helm chart to scale up disk storage size from 10GB to ...
0
votes
1
answer
47
views
YugaByteDB tablet implementation
Reading this doc: https://docs.yugabyte.com/preview/architecture/core-functions/write-path/
Question 1: Can I think a node in yugabytedb is a machine with IP/port? Or a node can be multiple machines?
...
0
votes
1
answer
26
views
Connection dropping on data import into YugabyteDB Managed (YBM) Sandbox cluster
What is the recommended way to import a data dump into a Free Tier (Sandbox) cluster on YugabyteDB Managed ? I have a relative small DB dump using ysql_dump from my local YB docker, then I use ysqlsh ...
0
votes
1
answer
142
views
Unable to load CSV with COPY command in cqlsh, getting "Struct() argument 1 must be string, not unicode"
I want to import a csv file to table in cassandra in docker container. I have added the csv file to container using below command
docker cp file_location docker_file_location.
I have copied the CSV ...
0
votes
0
answers
45
views
YugabyteDB xCluster replication issues with WAL
Create two new Cluster (NYC and FRA) — fresh (1 node per region)
Create a new table in each NYC and FRA
Create a bi-directional replication for the table (xCluster)
All works
Delete replication (1 and ...
1
vote
1
answer
341
views
Delta Lake table update column-wise in parallel
I hope everyone is doing well. I have a long question therefore please bear with me.
Context:
So I have CDC payloads coming from the Debezium connector for Yugabyte in the following form:
r""...
1
vote
1
answer
197
views
Cannot assign requested address with YugabyteDB and Docker Volume
Problem when using yugabyte with persistence volume in docker.
On first run everything work fine, but when re-create container with existing volume, it fail to start:
master.err :
./../src/yb/master/...
2
votes
1
answer
58
views
Index Not use in basic query
Having the table block:
CREATE TABLE IF NOT EXISTS "block" (
"hash" char(66) CONSTRAINT block_pk PRIMARY KEY,
"size" text,
"miner" text ,
"...
1
vote
1
answer
173
views
YugabyteDB Voyager import data Error Resolving name
Following the YugabyteDB Voyager database migration steps (https://docs.yugabyte.com/preview/migrate/migrate-steps/) going from PostgreSQL to YugabyteDB on a local Kubernetes, on Docker Desktop, on ...
0
votes
1
answer
111
views
Joins with 8 tables in YugabyteDB
I have a dataset and a query with 8 joins on tables that have between 10 and 17,000 rows, the query returns 4,000 rows. My problem is it is very slow. There's no obvious way to rewrite the query in a ...