问题标签 [rocksdb]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c++ - Using rocksdb::Iterator and Column Family is not working
I have the following piece of code:
The printf
is never hit.
However, if I change the Put
line to:
Meaning, removing the column family handle
, I'm getting the line printed fine.
I'm guessing the iterator API should take the column family into account, but I couldn't find any documentation.
monitoring - 使用 RocksDB 作为后端从 ARDB 获取定期统计信息
ardbstats
中是否有类似 memcached 中的命令,它分别给出了累积的数量get
、set
操作数以及其他统计信息,例如misses
?
例如,在 memcached 中,我可以执行stats
命令,它给出:
使用它,我可以找出最后一秒的 get 操作数(通过使用 python 中的任何客户端库减去)。我也想获得每秒获取和设置操作的数量ardb
。
我发现的唯一命令是info commandstats
它给出:
虽然这可以给我get
统计数据,但 和 没有任何set
东西misses
。在 ardb 或一些 hack 中是否有类似的东西可以让我获得这些信息?我正在使用rocksdb作为后端,并且最好需要一些用于从python进行监控的东西。
PS因为低代表我无法创建ardb
标签,也许其他人可以创建它?
rocksdb - 在哪里可以找到 RocksDB 的 ldb 管理工具?
我在https://github.com/facebook/rocksdb/wiki/Administration-and-Data-Access-Tool上阅读了有关 RocksDB 管理工具“ldb”的信息
但我只能找到 leveldb 的 ldb 存储库: https ://github.com/0x00A/ldb
编译 ldb 后,我无法从提供的链接运行任一命令。
或者
我在哪里可以获得 RocksDB 的正确 ldb 管理工具,所以至少我可以浏览我现有的 RocksDB?
谢谢,
leveldb - 如何删除 RocksDB 或 leveldb 中超过几天的数据?
我想创建一个工具来删除rocksdb或leveldb中早于几天的所有数据,但我不知道如何启动它。
c++ - 多线程环境中的rocksdb
我在多线程环境中使用rocksdb。
我所有的线程都在执行get()
和操作put()
,merge()
可能使用相同的键。
岩石是否为我提供了任何内置同步功能?是否可配置?我已经浏览了文档和源代码,但无法确定。
java-native-interface - 为什么 Apache Kafka Streams 使用 RocksDB 以及如何改变它?
在研究 Apache Kafka 0.9 和 0.10 的新功能时,我们使用了 KStreams 和 KTables。有一个有趣的事实是 Kafka 在内部使用 RocksDB。请参阅Kafka Streams 简介:流处理变得简单。RocksDB 不是用 JVM 兼容语言编写的,因此需要仔细处理部署,因为它需要额外的共享库(依赖于操作系统)。
这里有一些简单的问题:
- 为什么 Apache Kafka Streams 使用 RocksDB?
- 怎么可能改变它?
我曾试图寻找答案,但我只看到隐含的原因,即 RocksDB 对于每秒数百万次操作范围内的操作非常快。
另一方面,我看到一些用 Java 编码的 DB,也许端到端它们可以做到这一点,而且它们不会通过 JNI。
c++ - RocksDB: static library size that's built from source is really large
When I build RocksDB using make static_lib
that produces a 200MB+ librocksdb.a
file, but when I install the same version through a package manager (compared to both Brew and apt), the .a
file is only about 11MB. What am I missing?
Size of the library when building from source using make static_lib
:
Size of the library installed using sudo apt-get install librocksdb-dev
on Xenial:
Why is there such a big difference?
indexing - Hyperledger - 数据库索引
我是超级账本的新手,想知道在哪里可以找到与超级账本中的数据库如何工作相关的文档。
通过查看差异示例,它似乎是一个简单的键值存储。但是,我目前正在开发一个 POC,我们需要将文档存储到超级账本中,这意味着我们应该能够对它们进行索引,以便查询和检索所需的数据。
是否有一些库允许将文档(类似于 lucene/elasticsearch)索引到超级账本数据库中?
windows - 在 SBT 中引用 RocksDB DLL
我在 SBT 的 scala 项目中使用 RocksDB。
对于 Windows,我知道我需要向 SBT 提供有关 jar 文件内的 win64 DLL 的信息,但我仍然没有做到这一点。
我试过我们在这里写的,但没有运气
如何解决 sbt 中的非 jar (dll/jnilib) 库依赖关系?
如何在 Windows Java 项目中使用 RocksDB?