Ask Your Question
4

What is the method to compute the dimensions of data types like blob, map<text,text> in Cassandra?

asked 2021-11-28 11:00:00 +0000

lalupa gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2023-03-19 16:00:00 +0000

bukephalos gravatar image

It is not possible to compute the exact dimensions of data types like blob or map<text,text> in Cassandra as they are variable length data types. The size of blob data type depends on the size of bytes stored in it, whereas the size of map<text,text> is determined by the number of key-value pairs and the length of the text values. However, you can estimate the size of these data types based on the size of the data they store or by checking the size of the data stored in it using Cassandra's system tables.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-11-28 11:00:00 +0000

Seen: 11 times

Last updated: Mar 19 '23