Questions tagged [datastax]

DataStax Enterprise is big data platform consisting of open source tools such as Apache, Cassandra, Solr and Hadoop (and several others).

DataStax Astra simplifies cloud-native application development, and reduces time to deploy Apache Cassandra and scale from days to minutes. DataStax Astra eliminates the operational overhead of using Apache Cassandra, the open-source NoSQL database behind the largest applications in the world. Learn more on datastax.com/dev about new APIs for REST, schemaless document-style JSON, and GraphQL APIs for Cassandra - available with the Astra cloud service and stargate.io for standalone Cassandra.

For those who prefer self-managed technology, DataStax Enterprise (DSE) is a big data platform that provides a version of Cassandra enhanced with enterprise security features and that adds support for more workload types such as graph, search, and analytics. DataStax Enterprise enables companies to build transformational data architectures for applications, microservices and experiences that require data sovereignty, availability, scale, agility, and accessibility by any user.

2409 questions
8
votes
2 answers

Map Cassandra Materialized View with DSE's Java API

I have a cassandra table with an associated materialized view. The primary key is a single id of type uuid, and I have no sort key. Let's call it my_table_id. This table contains a related_id that I want to use to search. Then I have a materialized…
redwulf
  • 1,317
  • 3
  • 13
  • 35
8
votes
1 answer

Delete whole partition from Cassandra without tombstones and ttl?

Is it possible to delete a whole partition from Cassandra table, without writing tombstones and waiting from gc_grace_period and running compaction?
rajat
  • 3,415
  • 15
  • 56
  • 90
8
votes
1 answer

Unit Test with spring-boot-starter-test and cassandra

My spring boot web application uses Cassandra DB via the Datastax client and the connection occurs as follow: public CassandraManager(@Autowired CassandraConfig cassandraConfig) { config = cassandraConfig; cluster = Cluster.builder() …
louis amoros
  • 2,418
  • 3
  • 19
  • 40
8
votes
2 answers

DataStax DDC Service will not start

I have just installed DataStax Community Edition but when trying to run the following command; C:\> net start DataStax_DDC_Server I get the following response: Thanks
psycho
  • 1,539
  • 4
  • 20
  • 36
8
votes
1 answer

How to keep 2 Cassandra tables within same partition

I tried reading up on datastax blogs and documentation but could not find any specific on this Is there a way to keep 2 tables in Cassandra to belong to same partition? For example: CREATE TYPE addr ( street_address1 text, city text, state…
8
votes
3 answers

Schema changes are getting timed out in Cassandra

I tried setting up a 2 node Cassandra setup and it's quite done. Nodes are seems connected as shown below : Datacenter: datacenter1 ======================= Status=Up/Down |/ State=Normal/Leaving/Joining/Moving -- Address Load Tokens …
Harsh Pandit
  • 101
  • 1
  • 5
8
votes
3 answers

Cassandra table synchronization

I just read the DataStax post "Basic Rules of Cassandra Data Modeling" and, to sum up, we should modeling our database schema by our queries and not by our relations/objects. So, many tables can have the same duplicated data, for example…
Divi
  • 800
  • 1
  • 7
  • 16
8
votes
1 answer

What does rows_merged mean in compactionhistory?

When I issue $ nodetool compactionhistory I get . . . compacted_at bytes_in bytes_out rows_merged . . . 1404936947592 8096 7211 {1:3, 3:1} What does {1:3, 3:1} mean? The only documentation I can find is…
Ztyx
  • 14,100
  • 15
  • 78
  • 114
8
votes
1 answer

Correct way to connect to Cassandra in a web/api app

I'm looking for the correct way to use the official Cassandra C# driver (2.0) in a ASP.NET Web API project - used by a high traffic site. I've made a very simple sample app that connects to a cassandra db using the following classes: public class…
Martin
  • 1,634
  • 1
  • 11
  • 24
7
votes
1 answer

LeveledCompactionStrategy : what is the impact of tuning the sstable_size_in_mb?

To enhance read performance, I try to have fewer underlying SSTables with LCS, so I set sstable_size_in_mb to 1280MB as suggested by some articles, which pointed out that the 160MB default value was picked out by Cassandra core team a long time ago,…
Klun
  • 78
  • 2
  • 25
7
votes
2 answers

DataStax cassandra core drive dependents on vulnerable Guava-19

DataStax cassandra core java drive is having a transitive dependencies on guava-19 (including latest DataStax) which is having a security vulnerable (CVE-2018-10237). To fix this when I tried excluding guava-19.0 dependencies from DataStax drive…
7
votes
1 answer

"no viable alternative at input" error when querying cassndra table

I have a table in Cassandra like this: CREATE TABLE vroc.sensor_data ( dpnode text, year int, month int, day int, data_timestamp bigint, data_sensor text, dsnode text, data_quality double, data_value blob, …
Luckylukee
  • 575
  • 2
  • 9
  • 27
7
votes
1 answer

Migrating from Neo4J to DataStax Graph DB (DSE)

We have developed custom and proprietary Software for Route Optimization, using Neo4J as our Graph DB. We also developed few plugins and unmanaged Extensions in Java, that implement specific Business Logic whenever search is done on the Graph.…
Auro
  • 81
  • 2
7
votes
1 answer

How to trace back a large partition of a column family in cassandra

Through ops-center and nodetool cfstats i was able to find that one of the partitions of a keyspace table is 560 Mb, but couldn't find out which partition is that. How can we trace which partition of the table is that big ??
user6288321
  • 365
  • 4
  • 14
7
votes
1 answer

Dealing with Cassandra Timestamp

Recently I have started working on cassandra and I have some issues dealing with cassandra timestamp using cql and Java. Below is my sample cassandra table schema. CREATE TABLE emp ( empid int, create_date timestamp, deptid int, …
Shabarinath Volam
  • 789
  • 5
  • 19
  • 48