As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [scylla]

Scylla is a Cassandra-compatible NoSQL data store

Filter by
Sorted by
Tagged with
0 votes
1 answer
16 views

seastar::repeat does not run for consistent number of times

I am learning seastar async framework. I am trying to understand the seastar::repeat method for looping. Consider the following snippet, int main(int argc, char **argv) { app_template app; return ...
krithikaGopalakrishnan's user avatar
2 votes
2 answers
49 views

Why "LIKE" , "Contain", "REGIX" Operators are not working in phentom-dsl library ( scylladb )?

I'm using scala language and scylladb database using phantom-dsl library. I want to get the data of students from scylladb on the bases of city by using method , override def getStudnetByCity(city: ...
Asif's user avatar
  • 144
1 vote
1 answer
23 views

How do node operations affect TWCS SSTables?

There are a couple of documents and articles online that suggest turning off read repair for tables using the time window compaction strategy (TWCS), as it mixes data that should belong to old buckets ...
SilentCanon's user avatar
0 votes
0 answers
26 views

Scylla cannot append clustering row

What is the cause of the following error? <IP address>:9042 replied with server error (mutation_partition::append_clustered_row(): cannot append clustering row with key {position: clustered,ckp{...
Rado Buransky's user avatar
0 votes
0 answers
29 views

How to connect scylladb into orm (typeOrm/knex or any other)

I wanna connect scylladb into any orm (seems there is no driver for scylla in typeorm) is there any ways to use orm
alexanne's user avatar
  • 121
1 vote
1 answer
85 views

DATABASECHANGELOG not generated by liquibase when I use it with scylladb

I'm new to liquibase and I want to use it on scylladb database, although it's a small project but instead of creating schema by hand I would like to use something more professional like liquibase. ...
Asif's user avatar
  • 144
0 votes
1 answer
40 views

Use SSL self-signed certificate to connect to ScyllaDB (cassandra) node on Windows?

I've generated a self-signed cert using this scylla tutorial. Started a scylladb node, everything's fine and dandy. Now it's time to connect clients. Here's the script: from cassandra.cluster import ...
winwin's user avatar
  • 785
1 vote
0 answers
23 views

Getting ClassNotFoundError while updating scylladb schema with liquibase using java-driver-core in scala

I'm trying to update scylladb schema with liquibase migration tool. I've done this using terminal, and its working fine. With terminal I used Cassandra JDBC Driver, liquibase.properties is here: ...
Zaryab Ali's user avatar
2 votes
1 answer
34 views

Error while updating scylladb schema using Liquibase Migration Tool in Intellij Idea

I'm new to Liquibase Migration Tool. I'm trying to update schema of Scylladb using Liquibase. For that I'm using Intellij Idea as IDE and Scala (version 2.13.1). First I add dependencies (Liquibase ...
Zaryab Ali's user avatar
2 votes
2 answers
126 views

How can I implement Liquibase with scyllaDB?

I tried to implement Liquibase with Apache Cassandra using the guide Liquibase with Apache Cassandra. The guide was well-explained, and I was able to successfully implement the example. However, since ...
Asif's user avatar
  • 144
0 votes
0 answers
23 views

Unable to find and download scylladb jdbc driver jar file

I'm trying to use Liquibase with Scylladb. For this I need scylladb jdbc driver jar file. I'm searching for it on different browsers but unable to find it. Kindly help me from where I can download ...
Zaryab Ali's user avatar
2 votes
0 answers
72 views

How can we use Liquibase for ScyllaDB? [closed]

I've read about Liquibase Migration Tool, and implemented it for Cassandra. For this, First I downloaded Liquibase (version 4.1.1) and add its directory path to PATH variable. $ echo $PATH **/home/...
Zaryab Ali's user avatar
0 votes
3 answers
51 views

Cassandra/Scylla DB. Filtering topics by multiple categories with end-to-end sorting by topics creation time

Suppose there is a table of topics: CREATE TABLE topic( group text, ctegory text, created_at timestamp ) Topics grouped into groups. Each topic belongs to one category. Topic has a creation ...
colesico's user avatar
  • 103
1 vote
1 answer
39 views

How can we use Liquibase Migration for ScyllaDB

I was reading about Liquibase, and found one related to how we can use Liquibase for Cassandra. I've searched for ScyllaDB but unable to find any help. How can we use Liquibase for our ScyllaDB ...
Zaryab Ali's user avatar
0 votes
0 answers
33 views

How to check whether 3 node scylladb cluster is up or not before running other container in docker compose

I want to run .sh file as entrypoint in docker compose, but before this I want 3 node scylladb cluster up. For that I've to wait until 3 node cluster is up. docker compose: version: "3" ...
Zaryab Ali's user avatar
1 vote
1 answer
34 views

Unable to make scyllaDB keyspace and table while creating scylladb container

I'm trying to make keyspace and table while creating scyllaDB container. For this I'm making a script file 'my_schema.sh': CREATE KEYSPACE IF NOT EXISTS books_keyspace WITH replication = {'class':'...
Zaryab Ali's user avatar
-2 votes
1 answer
31 views

How can I make script file for making scylladb keyspace and table on running docker container

I'm trying to make keyspace and table while making scyllaDB container, but I'm not able to understand how I can make .sh file and how I can use it in docker-compose while creating scyllaDB container. ...
Zaryab Ali's user avatar
0 votes
0 answers
19 views

Unable to define contact points with container names for scyllaDB (using phantom library in scala)

I'm trying to use scyllaDB container names instead of IP while setting contact points in scala (using phantom library). Contact Points with IP is working fine: new BooksDatabase(ContactPoints(List(&...
Zaryab Ali's user avatar
1 vote
1 answer
49 views

Insertion into scylladb table using phantom library in scala not working

I'm new to ScyllaDB, and trying to perform CRUD operations using phantom library in scala. First I've made 3-node cluster and its running fine. Datacenter: DC1 =============== Status=Up/Down |/ State=...
Zaryab Ali's user avatar
0 votes
0 answers
28 views

ScyllaDB installation fails on RHEL9

I am installing ScyllaDB (as described here: https://www.scylladb.com/download/?platform=rhel&version=scylla-5.2#open-source) on RHEL9 box (running on AWS EC2). Getting this error: Error: Problem ...
mike.tihonchik's user avatar
0 votes
1 answer
54 views

What are some good approaches for initializing a Scylladb database with docker compose?

I have a micronaut app that starts up with a Scylla database and I want initialize a keyspace and a columnfamily so that people can run the app locally and have it ready to use. For my initial ...
testing123's user avatar
  • 11.3k
2 votes
1 answer
46 views

Is the OR operator supported in ScyllaDB?

How does OR condition works in WHERE clause for SELECT statements in scylladb. I have created secondary index on email. Below query works fine and return result. cqlsh> select * from test.d_emp ...
Gopi's user avatar
  • 679
0 votes
1 answer
88 views

Node of ScyllaDB is giving Connection Refused, in Docker

I'm new to ScyllaDB. I have locally installed ScyllaDB and running container using: docker run --name Node_X -d scylladb/scylla --overprovisioned 1 --smp 1 Then I'm making more two Nodes of same ...
Zaryab Ali's user avatar
0 votes
1 answer
52 views

Scylla driver with Spark cassandra connector

In our use case, we used Scylla driver + ScyllaDB along with Spark Cassandra connector on Spark application. Currently, we're using Scylla driver 3.7.1-scylla-2, which is pretty old like end of year ...
Steven Wu's user avatar
1 vote
1 answer
30 views

How Scylla achieves consistency level for token/table range scan read query?

I understand how CL works for single partition read operation but I'd like to understand how is requested consistency level implemented for a table scan query or token range query. Example: SELECT * ...
Rado Buransky's user avatar
0 votes
1 answer
82 views

How to show raw queries(CQL) in Scylla/Cassandra

I am using Scylla(Cassandra's drop in replacement) db in docker container. I am using Python driver to connect with Scylla db for querying. I need to know the exact CQL query is applying on the ...
Mohammad Ashraful Islam's user avatar
0 votes
1 answer
60 views

Tokio cannot use method parameter to spawn future safely

In this function, I would like to add a query to a JoinSet. Inexplicably, the compiler complains that the lifetime of scylla does not last long enough. pub async fn foobar(scylla: Data<scylla::...
Josh's user avatar
  • 3,258
1 vote
1 answer
87 views

Scylla CQL DELETE ... USING TIMESTAMP older than GC grace period

Are tombstones created if I execute CQL statement DELETE ... USING TIMESTAMP T where T is in the past for more than GC grace period? Does that mean that potentially the related data might be deleted ...
Rado Buransky's user avatar
1 vote
1 answer
111 views

Consequences of USING TIMESTAMP in Scylla CQL

What are all consequences to consider when explicitly setting timestamp of a CQL statement INSERT INTO ... USING TIMESTAMP 123? Why not to use this just as another data column holding a time value ...
Rado Buransky's user avatar
1 vote
1 answer
115 views

Performance of LWT in scylla/cassandra

Wanted to understand the why do we say the throughput of whole Cassandra/scylla/cockroachDB setup is dependent on LWT/linearised TX. LWT will affect throughput of a hot key (index or row with a lot of ...
siddharthabhi30's user avatar
0 votes
0 answers
47 views

Scylla fails to flush memtable to disk

I run Scylla DB in docker on a Ubuntu 22 AWS instance. I use the latest image. The flags are --smp 1 --overprovisioned 1. Machine has 1GB free RAM, 4Gb of swap file and enough available storage. Here ...
Vadim's user avatar
  • 564
2 votes
1 answer
43 views

What will happen if I reduce RF from 5 to 3 then decommission 2 of 5 nodes?

I have a scylla cluster which has 5 nodes and my keyspace's replication factor is also 5. Now I want to remove 2 nodes from the cluster. I plan to change the replication factor from 5 to 3, and ...
buptzhoutian's user avatar
1 vote
1 answer
208 views

Unable to connect to Scylladb in Docker using C# driver

I have created a single node ScyllaDB in docker, which is up and running, and below is my docker-compose commands: version: "3" services: scylla-node1: container_name: scylla-node1 ...
Andy5's user avatar
  • 2,289
2 votes
2 answers
82 views

Is it possible to express inequality in the WHERE clause of a CQL statement?

I want to SELECT stuff WHERE value is not NAN. How to do it? I tried different options: WHERE value != NAN WHERE value is not NAN WHERE value == value None of these attempts succeeded. I see that it ...
Vadim's user avatar
  • 564
0 votes
0 answers
21 views

Global index field querying is not working as expected, When migrated scylla DB data from one cloud service provider to another using spark migrator

We have migrated scylla DB data from one cloud service provider (source) to another cloud service provider (target) using spark migrator. Details of the source and target clusters are mentioned below: ...
Lakshmikanth's user avatar
0 votes
1 answer
82 views

Datamodel for Scylla/Cassandra for table partition key is not known beforehand -> static field?

I am using ScyllaDb, but I think this also applies to Cassandra since ScyllaDb is compatible with Cassandra. I have the following table (I got ~5 of this kind of tables): create table ...
J. Doe's user avatar
  • 12.8k
1 vote
1 answer
182 views

TTL on table: what about updates?

I have a table in which rows must expire after a month or so. When a row is created, it can be updated. I was curious if the update would bypass the TTL and would exist forever, since the update does ...
J. Doe's user avatar
  • 12.8k
0 votes
2 answers
74 views

Is it a good idea to have a big set/list as column in `Scylla DB`?

Is it a good idea to have a table in Scylla DB with column type set with couple of thousands elements in it, e.g 5000 elements? In Scylla documentation it's stated that: Collections are meant for ...
TojaQl's user avatar
  • 3
1 vote
1 answer
46 views

Reverse query order in ScyllaDB in version 5

I am having trouble finding a good up to date resource if reverse query orders are as bad as they were when Scylla started. Previously all rows needs to be read in memory and sorted before returning ...
J. Doe's user avatar
  • 12.8k
0 votes
1 answer
78 views

Is it possible to use a hash type secondary index in scylladb?

Table for explanation: CREATE TABLE test ( id INT, uniuque_string VARCHAR, another_id INT, PRIMARY KEY ((id, uniuque_string)) ); Sometimes it is necessary to make such ...
Gregory Sysoev's user avatar
1 vote
1 answer
65 views

Order of column in composite partitioning key

I am using Scylla database and I have created a partitioning key composite of two columns. Does the order of keys matter in this case? Table definition create table X( user_id text, city text, name ...
Akshit Bansal's user avatar
2 votes
1 answer
70 views

How do I get the last value of a CQL list column?

I'm using scylladb lists ( https://docs.scylladb.com/stable/cql/types.html#lists ). I created a same table from documentation: CREATE TABLE plays ( id text PRIMARY KEY, game text, players ...
Gregory Sysoev's user avatar
0 votes
0 answers
129 views

ScyllaDB for geo database use case

We're creating a geo database, similar to Google Places, which contains a very large number "points of interest" around the world. It's for internal use for now, but then will be open to ...
BVtp's user avatar
  • 2,296
0 votes
0 answers
39 views

Tally unread (chat) messages in database

My goal is to create daily reports for users about chat messages they've missed/not read yet. Right now, all data is getting stored in a ScyllaDB, and that is working out well for the most part. But ...
NotX's user avatar
  • 1,311
3 votes
1 answer
354 views

Error accessing Scylladb cluster outside docker container

I'm running Scylladb locally in a docker container and I want to access the cluster outside the docker container. That's when I'm getting the following error: cassandra.cluster.NoHostAvailable: ('...
john meiners's user avatar
0 votes
1 answer
131 views

Key-value database with random value access

I'm looking for a database for storing binary data (16KB per document). Requirements: high availability random access of bytes, i.e. read bytes from 40 bytes to the end I read the docs of ScyllaDB, ...
PatrykG's user avatar
  • 13
2 votes
2 answers
134 views

Data analysis of prod Scylla DB without hitting prod?

Is there a way to extract data from a Scylla database for use in data analysis without directly querying from the production DB? I want to do large queries against the data but don't want to take down ...
user835943's user avatar
2 votes
2 answers
438 views

Best way to Fetch N rows in ScyllaDB

I have a use case in which I utilize ScyllaDB to limit users' actions in the past 24h. Let's say the user is only allowed to make an order 3 times in the last 24h. I am using ScyllaDB's ttl and making ...
Radhian Amri's user avatar
3 votes
1 answer
70 views

Is the scylladb build hardcoded to work only with gnu gcc?

The python configure.py contains a line gcc_linker_output = subprocess.check_output(['gcc', '-###', '/dev/null', '-o', 't'], stderr=subprocess.STDOUT).decode('utf-8') The comments before this line ...
Kenneth's user avatar
  • 41
1 vote
2 answers
242 views

Cannot create materialized view using SELECT query with PER PARTITION LIMIT

Table: CREATE TABLE IF NOT EXISTS table ( a TEXT, b TEXT, c BIGINT, PRIMARY KEY ((a, b), c) ) WITH CLUSTERING ORDER BY (c DESC); I need to get only one record from each (a, ...
uber42's user avatar
  • 125

1
2 3 4 5
7