rocksdb
rocksdb copied to clipboard
Is there a plan to launch the wide column functionality of the java api
The latest version of rocksdb's java api does not yet have a wide column api. Does the community have plans to add this feature to the java api? If so, which version will be released
The initial version of the Wide Column Families feature was only added to RocksDB 14 hours ago! - https://github.com/facebook/rocksdb/pull/11982#issuecomment-1834646316
We can certainly schedule adding this to RocksJava, but usually I would like to see the code settle in a little bit first perhaps. @test-wangxiaoyu are you desperate for this feature to be supported in the Java API?
#11982 is actually the initial patch for supporting wide columns in WriteBatchWithIndex
. Wide columns themselves have been around since RocksDB 7.9 (https://github.com/facebook/rocksdb/blob/main/HISTORY.md#new-features-10) and the existing APIs are stable; we will be adding more features though.
Thanks for the correction @ltamasi , that makes it clearer.
Thanks to both of your answers and the benefit to the community, I am currently working on a data storage tool and researching a suitable core storage engine, and it would be great if rocksdb's java api could support wide columns in the next few months
@test-wangxiaoyu Okay cool. Let's leave this open as a Feature Request for the Java API. I have had @cmccrorie add it to our backlog here
@test-wangxiaoyu (CC @cmccrorie) our plan is to work on this in February 2024.
Hello RocksDB community,
We are working on this issue and during API design we came with an important question:
How wide are the rows usually?
I know that wide column databases(Cassandra, ScyllaDB, HBase, ...) can have quite a lot of name-value pairs(1M) in one row. Checking C++ API I can see that WideColumns
is defined as std::vector<WideColumn>
so I assume that in RocksDB, everything should fit to memory and probably can't be so large.
Maye @pdillinger or @ajkr have some ideas.
cc: @adamretter
@test-wangxiaoyu(抄送@cmccrorie)我们的计划是在 2024 年 2 月开展此工作。
Many thanks
你好 RocksDB 社区,
我们正在研究这个问题,在 API 设计过程中我们提出了一个重要问题:
行通常有多宽?
我知道宽列数据库(Cassandra、ScyllaDB、HBase,...)在一行中可以有相当多的名称-值对(1M)。检查 C++ API,我可以看到它的
WideColumns
定义是这样的std::vector<WideColumn>
,所以我假设在 RocksDB 中,所有内容都应该适合内存,并且可能不会太大。玛耶@pdillinger 或者@ajkr有一些想法。
抄送:@adamretter
In fact, we can consider this, let the user to decide the number of fields contained in the wide column, the user can choose to set an appropriate number of fields in the wide column according to the specific business scenario needs
RocksDB社区你好,
我们正在研究这个问题,在API设计过程中我们提出了一个重要问题:
行通常多宽?
我知道宽列数据库(Cassandra、ScyllaDB、HBase,...)在一行中可以有相当多的名称值对(1M)。检查C++ API,我看到它的
WideColumns
定义可以是这样的std::vector<WideColumn>
,所以我假设在 RocksDB 中,所有内容都应该适合内存,并且可能不太麻烦。玛耶@pdillinger 或者@ajkr有一些想法。
抄送:@adamretter