Questions tagged [column-family]

A column family is a NoSQL object that contains columns of related data. It is a tuple (pair) that consists of a key-value pair, where the key is mapped to a value that is a set of columns. In analogy with relational databases, a column family is as a "table".

71 questions
1
vote
2 answers

CQL3 Show Column Families

Can anybody tell how to get a list of column families under the current key space in Cassandra 2.0.4? Kindly note that am using cqlsh to query the server.
Babu James
  • 2,740
  • 4
  • 33
  • 50
1
vote
2 answers

delete row key from cassandra cli

i set my column family gcgraceseconds to 0; but stills rowkey is not deleted it remains in my column family create column family workInfo123 with column_type = 'Standard' and comparator = 'UTF8Type' and default_validation_class = 'UTF8Type' …
Govind Singh
  • 15,282
  • 14
  • 72
  • 106
1
vote
1 answer

what should I do if depth of my data increases in Cassandra?

How should I model my data for which the depth is more and it might increase in cassandra. Even if I add super column family, it would increase just one more level. (May be I am wrong, I am newbie to Cassandra). Assuming my data : { Key1 :…
Ayan
  • 515
  • 4
  • 9
  • 20
1
vote
2 answers

How to print configured columnfamilies in cassandra

I'm having some trouble getting a configuration script to match up with the columnfamily names I'm using. I feel like it would be a helpful debugging tool to be able to log all of the currently configured column families. Is this possible? I've been…
Slater Victoroff
  • 21,376
  • 21
  • 85
  • 144
1
vote
1 answer

Not enough bytes to read value of component using Composite Columns with Astyanax client

I am tyring to insert into Composite Column in Cassandra column family using Astyanax client. Below is my column family in Cassandra. create column family USER_DATA with key_validation_class = 'UTF8Type' and comparator =…
arsenal
  • 23,366
  • 85
  • 225
  • 331
1
vote
1 answer

Static Column Family in Cassandra vs Dynamic Column Family?

I have started working with Cassandra and I was going through Static column family and Dynamic column family and I am wondering when do we use static column family as compared to dynamic column family? In my use case, I will be having huge JSON…
AKIWEB
  • 19,008
  • 67
  • 180
  • 294
1
vote
1 answer

Cassandra. How to create column family using FluentCassandra API?

I'm trying to create column family with this code public void CreateAColumnFamily() { using (var db = new CassandraContext(keyspace:"Earth", server: Server)) { CassandraColumnFamily cf =…
user2686299
  • 427
  • 8
  • 25
0
votes
1 answer

How to implement ColumnFamilies in RocksDB in Java?

I am trying to use column families in RocksDB through java binding. RocksDB.loadLibrary(); String threat = "threat_data"; String ipRange = "ip_range"; options = new DBOptions(); options.setCreateIfMissing(true); …
Awdsa
  • 3
  • 2
0
votes
1 answer

Is there a way to retrieve `ColumnFamilyHandle` from `ColumnFamilyName` in RocksDb?

Alternatively, is there a way to get all the currently open ColumnFamilyHandles from a db? I am aware of the static function RocksDB.listColumnFamilies. But this returns a List List containing the column family names. Not sure if there is a…
0
votes
1 answer

How to use cockroachdb column families with liquidbase

In order to manage column updates more effectively cockroach db has a family feature: https://www.cockroachlabs.com/docs/stable/column-families.html CREATE TABLE test ( id INT PRIMARY KEY, last_accessed TIMESTAMP, data BYTES, FAMILY…
dmitryvim
  • 1,983
  • 4
  • 15
  • 27
0
votes
2 answers

Querying the size of a column family in RocksDB

Is there a way to know the size of all KVs that are stored in a column family?
Eshkod
  • 59
  • 3
0
votes
1 answer

Cassandra | Inserting data into two column families with the same row key

If I have 2 column families one for customer info and another for customer address info, how can I insert customer info and their address info to the two separate column families with the same row key(customer id) ?
JayaniH
  • 293
  • 1
  • 2
  • 9
0
votes
1 answer

Does Hbase create a HFile for each column-family or columnFamily:Column?

I am trying to understand the Hbase architecture with respect to Logical data model vs Physical data storage. I am little confused about the HFile creation. If we have a column family with 2 columns, does Hbase create 2 HFiles or just one? Below is…
AnswerSeeker
  • 203
  • 4
  • 16
0
votes
1 answer

Cassandra data model - column-family

I checked some questions here like Understanding Cassandra Data Model and Column-family concept and data model, and some articles about Cassandra, but I'm still not clear what is it's data model. Cassandra follows a column-family data model, which…
croraf
  • 4,332
  • 2
  • 31
  • 50
0
votes
1 answer

Is Apache Cassandra not a good choice for aggregations?

I read that cassandra would not provide sufficient possibilities for aggregations like SUM or AVG. Actually I thought the column oriented model would be the most appropriate for these kind of operations. I read many articles, but I am just not…