Questions tagged [yugabytedb]

Use for programming questions related to the YugabyteDB distributed SQL database.

Filter by
Sorted by
Tagged with
0 votes
0 answers
55 views

How to access database running on WSL2 from Windows

I use YugabyteDB running on WSL2. My ./yugabyted status shows: +----------------------------------------------------------------------------------------------------------+ | ...
Szyszka947's user avatar
0 votes
1 answer
22 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 ...
Szyszka947's user avatar
0 votes
0 answers
16 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 ...
Najmul haq Southun najjas's user avatar
0 votes
0 answers
32 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 ...
nick's user avatar
  • 39
0 votes
0 answers
11 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? ...
SuperBald's user avatar
  • 109
0 votes
1 answer
15 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 ...
MarkoR's user avatar
  • 115
0 votes
1 answer
90 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 ...
user19785518's user avatar
0 votes
0 answers
20 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 ...
wildneuro's user avatar
  • 203
1 vote
1 answer
201 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""...
Mohammad Mohtashim Khan's user avatar
1 vote
1 answer
87 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/...
FranckPachot's user avatar
2 votes
1 answer
48 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 , "...
Brahian's user avatar
  • 46
1 vote
1 answer
81 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 ...
hawky's user avatar
  • 116
0 votes
1 answer
49 views

Joins with 8 tables in YugabyteDB

[Question posted by a user on YugabyteDB Community Slack] 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 ...
dh YB's user avatar
  • 965
0 votes
1 answer
36 views

Errors persisting after recovering YugabyteDB cluster

[Question posted by a user on YugabyteDB Community Slack] We’re trying to do a postmortem on an issue we hit in our cluster. It looks like one of our 3 nodes went down and the other two were unable to ...
dh YB's user avatar
  • 965
0 votes
1 answer
53 views

Increasing disk size in YugabyteDB cluster

[Question posted by a user on YugabyteDB Community Slack] We have created a universe with 5 data nodes(airgap installed) and 3 as the replication factor. Now we are planning to increase the disk size ...
dh YB's user avatar
  • 965
0 votes
1 answer
165 views

Correct way to bring up the yb-master and yb-tserver processes in a YugabyteDB cluster

[Question posted by a user on YugabyteDB Community Slack] We are using YugabyteDB 2.14.0.0 on 3 node setup, where on each node 1 yb-master and 1 yb-tserver is running. We first bring up the yb-master ...
dh YB's user avatar
  • 965
0 votes
1 answer
46 views

Issue running yb-sample-apps benchmark in YugabyteDB

[Question posted by a user on YugabyteDB Community Slack] Can someone help me with below issue. java -jar yb-sample-apps.jar --workload SqlInserts --nodes 192.168.33.131:9042 1 [main] INFO com....
dh YB's user avatar
  • 965
0 votes
1 answer
33 views

Splitting tablets in YugabyteDB over multiple directories using fs_data_dirs

[Question posted by a user on YugabyteDB Community Slack] I did some reading in the docs and found fs_data_dirs. Does yugabyte-db automatically split the tablets evenly in the data dirs?
dh YB's user avatar
  • 965
0 votes
1 answer
21 views

YugabyteDB YSQL inter-node compression

[Question posted by a user on YugabyteDB Community Slack] Question about YB and compression. We want to use the ysql connector, does it support SSL compression like vanilla PostgreSQL? Postgres allows ...
dh YB's user avatar
  • 965
0 votes
1 answer
38 views

Renaming a table & keeping connections to existing partitions in YugabyteDB

[Question posted by a user on YugabyteDB Community Slack] Does renaming the table, existing partitions attached to that table remain as it is after renaming?
dh YB's user avatar
  • 965
0 votes
1 answer
24 views

Can you shard a partitioned table in YugabyteDB?

[Question posted by a user on YugabyteDB Community Slack] Can a partitioned table in YugabyteDB YSQL be sharded underneath?
dh YB's user avatar
  • 965
0 votes
1 answer
68 views

ctid is not supported yet in YugabyteDB

[Question posted by a user on YugabyteDB Community Slack] I am currently migrating all my data from PostgreSQL to YugabyteDB, and everything was going fine until I tried to migrate my views table but ...
dh YB's user avatar
  • 965
0 votes
1 answer
93 views

Forcing a leader change in YugabyteDB cluster

[Question posted by a user on YugabyteDB Community Slack] Is there a way to force a leader change in YugabyteDB? I see there is a yb-admin command 'master_leader_stepdown' but the documentation ...
dh YB's user avatar
  • 965
0 votes
1 answer
44 views

SSL errors when connecting skyvia to YugabyteDB YSQL

[Question posted by a user on YugabyteDB Community Slack] I'm trying to connect my yugabytedb database with skyvia (as a PostgreSQL connection), but I'm getting the following error: no pg_hba.conf ...
dh YB's user avatar
  • 965
0 votes
1 answer
23 views

Generated columns in YugabyteDB

[Question posted by a user on YugabyteDB Community Slack] I'm studying YB for a while and I faced a problem. I try to create Generated Columns but this feature is available in PostgreSQL 12 so I would ...
dh YB's user avatar
  • 965
-1 votes
1 answer
15 views

Displaying indexes with metadata in YugabyteDB YCQL

[Question posted by a user on YugabyteDB Community Slack] How can I get metadata info about indexes from the driver? https://github.com/yugabyte/cassandra-java-driver/blob/3.10.0-yb-x/driver-core/src/...
dh YB's user avatar
  • 965
0 votes
1 answer
14 views

Unique indexes in YugabyteDB YCQL

[Question posted by a user on YugabyteDB Community Slack] Question about UNIQUE keyword. I can create an index with unique keyword inside, like: CREATE unique INDEX warehouse_idx ON orders (...
dh YB's user avatar
  • 965
0 votes
1 answer
22 views

Can’t create YCQL index with WHERE clause in YugabyteDB

[Question posted by a user on YugabyteDB Community Slack] Can somebody explain to me how to work with indexes metadata in YCQL? I found this article: https://docs.yugabyte.com/preview/api/ycql/...
dh YB's user avatar
  • 965
0 votes
1 answer
8 views

Different versions of read-replica and primary-cluster in YugabyteDB

[Question posted by a user on YugabyteDB Community Slack] Is it possible to have the primary data cluster and read replica be at different versions? primary data @ 2.1 and replicate cluster @ 2.8
dh YB's user avatar
  • 965
0 votes
1 answer
10 views

Using read-replicas in YugabyteDB for DR

[Question posted by a user on YugabyteDB Community Slack] I’m trying to understand the tolerance failure in YugabyteDB. My scenario is as follows: Universe is setup with primary data cluster and 1 ...
dh YB's user avatar
  • 965
0 votes
1 answer
7 views

Using PostgreSQL Spark-connector in YugabyteDB

[Question posted by a user on YugabyteDB Community Slack] Is it possible to work with the Postgres tables using Spark-connector? Write and read to a Yugabyte Postgres?
dh YB's user avatar
  • 965
0 votes
1 answer
60 views

Max YCQL connections in YugabyteDB

[Question posted by a user on YugabyteDB Community Slack] What is the parameter that controls the maximum number of connections per tserver for ycql? I am looking at the equivalent of --...
dh YB's user avatar
  • 965
0 votes
1 answer
120 views

Migrating from DB2, SQL Server to YugabyteDB

[Question posted by a user on YugabyteDB Community Slack] This is regarding migration from a different source DB to YugabyteDB. I can see that 'YugabyteDB Voyager' supports Postgres, Aurora, MySQL and ...
dh YB's user avatar
  • 965
0 votes
1 answer
28 views

Reading recently executed sql statements from WAL in YugabyteDB

[Question posted by a user on YugabyteDB Community Slack] How can I read the most recently executed sql statement? I think it's useful to analyze executed process. May I read it from wal?
dh YB's user avatar
  • 965
1 vote
1 answer
12 views

Getting read-ops/sec in YugabyteDB node through the CLI

[Question posted by a user on YugabyteDB Community Slack] I log in my VM using ssh. I can't connect to VM's IP:7000 directly using the browser. How can I get read ops/sec and write ops/sec etc by bash?...
dh YB's user avatar
  • 965
2 votes
0 answers
50 views

yugabytebd springboot integration

I am trying to integrate yugabytedb with springboot application, but when trying to run the application I am getting the attached exception [Description: An attempt was made to call a method that ...
Shubhankar Ghosh's user avatar
1 vote
1 answer
43 views

Changing replication factor of an already running cluster in YugabyteDB

[Question posted by a user on YugabyteDB Community Slack] I've been googling a bit and it seems that, although it is not recommended to change the RF of an already running cluster, is it possible?
dh YB's user avatar
  • 965
0 votes
1 answer
83 views

Connecting Debezium to YugabyteDB with snapshot mode

[Question posted by a user on YugabyteDB Community Slack] I have the YB Debezium running and I see that it has access to the table. here is the log: 2022-07-27 21:25:56,894 INFO AbstractConfig values: ...
dh YB's user avatar
  • 965
0 votes
1 answer
26 views

Recommended ratio of storage for yb-tserver yb-master in YugabyteDB cluster

[Question posted by a user on YugabyteDB Community Slack] What's the recommended ratio of storage of yb-master to yb-tserver?
dh YB's user avatar
  • 965
0 votes
1 answer
73 views

Error installing postgis for YugabyteDB in Ubuntu 22.04

[Question posted by a user on YugabyteDB Community Slack] I tried to install postgis plugin by following the directions in the docs [Yb Version 2.14.0.0 , Ubuntu 22.04] . What am I missing? yugabyte=#...
dh YB's user avatar
  • 965
0 votes
1 answer
77 views

Best way to shard multi-tenant app in YugabyteDB

[Question posted by a user on YugabyteDB Community Slack] I want to someone remove my confusion, please correct me If I am wrong: I have 3 nodes (3 tables) Table structure: ID (Hash of Account/Site/TS)...
dh YB's user avatar
  • 965
0 votes
1 answer
22 views

Automatic refresh for materialized views in YugabyteDB

[Question posted by a user on YugabyteDB Community Slack] I was reading the recent article "YugabyteDB 2.15: Enable Developers to Build Quicker and Ship Faster" and saw this: Materialized ...
dh YB's user avatar
  • 965
0 votes
1 answer
23 views

Best config for balanced YugabyteDB cluster on 6TB dataset

[Question posted by a user on YugabyteDB Community Slack] I just setup a Yugabyte cluster. Before I migrate my database (6TB) over to yugabytedb cluster, I wanted to get my configs right. What is the ...
dh YB's user avatar
  • 965
0 votes
1 answer
43 views

Multi master replication in YugabyteDB

[Question posted by a user on YugabyteDB Community Slack] Wanted to analyze the Migration path from CockroachDB to YugaByteDB. Does Yugabyte support multiregion cluster out of the box with master-...
dh YB's user avatar
  • 965
0 votes
1 answer
32 views

Checking cluster status in YugabyteDB

[Question posted by a user on YugabyteDB Community Slack] I have setup 3 nodes cluster in my LAB. Is there any command to check cluster status for all 3 servers except admin UI?
dh YB's user avatar
  • 965
0 votes
1 answer
25 views

Confusion on setting flags for yb-tserver in YugabyteDB

[Question posted by a user on YugabyteDB Community Slack] I am trying to set flag at yt-tserver startup: --yb_enable_read_committed_isolation=true But when checking in the console I see --...
dh YB's user avatar
  • 965
0 votes
1 answer
126 views

Connecting YugabyteDB to nakama in docker-compose

[Question posted by a user on YugabyteDB Community Slack] I have setup YugabyteDB and nakama (server for realtime social and web & mobile game apps) docker containers. Both work and I can query ...
dh YB's user avatar
  • 965
0 votes
1 answer
12 views

Confusion regarding number of tablets in YugabyteDB cluster

[Question posted by a user on YugabyteDB Community Slack] I have one question regarding the number of tablets for a table. I am using YSQL API, my cluster is having 3 nodes with an RF of 3 and each ...
dh YB's user avatar
  • 965
0 votes
1 answer
102 views

Error dropping primary key constraint in YugabyteDB

[Question posted by a user on YugabyteDB Community Slack] I started using YugabyteDB for micro services development. Part of the migration, I started using YugaByteDB to a Keycloak installation. ...
dh YB's user avatar
  • 965
0 votes
1 answer
44 views

Finding all tablets of a database in YugabyteDB snapshots

[Question posted by a user on YugabyteDB Community Slack] Looking at the docs in https://docs.yugabyte.com/preview/manage/backup-restore/snapshot-ysql/, for a database , how would I easily query all ...
dh YB's user avatar
  • 965

1
2 3 4 5
7