Questions tagged [rocksdb]

RocksDB is an embeddable persistent key-value store for fast storage. RocksDB can also be the foundation for a client-server database but our current focus is on embedded workloads.

About

RocksDB is an embeddable persistent key-value store for fast storage. RocksDB can also be the foundation for a client-server database but our current focus is on embedded workloads.

RocksDB builds on LevelDB to be scalable to run on servers with many CPU cores, to efficiently use fast storage, to support IO-bound, in-memory and write-once workloads, and to be flexible to allow for innovation.

Links

474 questions
0
votes
1 answer

RocksDB: does each open/close db create a new SST/LOG file?

I'm trying to work out a code in C language using simple API provided in distro. My goal is to write short rows to db, so that another process would read them as soon as possible. I therefore close DB as soon as writing any row is complete to unlock…
0
votes
2 answers

How can Cassandra retrieve rows only by using the partition key?

BigTable-like databases store rows sorted by their keys. Cassandra uses the combination of partition and clustering keys to keep the data distributed and sorted; Yet, you're able to select rows only by having the partition key! How is Cassandra…
Koen J.
  • 1
  • 2
0
votes
1 answer

IntervalJoin is stucked in rocksdb'seek for too long time in flink-1.6.2

I am using IntervalJoin function to join two streams within 10 minutes. As below: labelStream.intervalJoin(adLogStream) .between(Time.milliseconds(0), Time.milliseconds(600000)) .process(new processFunction()) …
user2928444
  • 49
  • 1
  • 7
0
votes
1 answer

rocksdb build failed in Clion at MacOS

My environment: macOS 10.14 Clion 2018.1.2 gcc-8.2 I want to use Clion to try the rocksdb. I add a new CMakeLists.txt file at examples directory. CMakeLists.txt: add_subdirectory(examples) examples/CMakeLists.txt: add_executable(s_test…
TIMFUNNY
  • 363
  • 4
  • 9
  • 26
0
votes
0 answers

Getting SIGABRT Just By Linking Library

Just getting started with RocksDB. I am using QT Creator 4.7.1 with gcc 5.3.1 on Linux Mint 18.1 64 bit and have created a minimal QT Widgets program that links static librocksdb.a. I only include some RocksDB .h files and have a simple test code…
0
votes
0 answers

Library loading error "ELF file OS ABI invalid" with rocksdb 5.14.2

I can start normally on my mac computer, but it can't be started on my linux server(Red Hat Enterprise Linux Server release 5.7). RocksDB.loadLibrary() throw exception: Caused by: java.lang.UnsatisfiedLinkError:…
HomJie
  • 131
  • 2
  • 9
0
votes
1 answer

Iterating when using OptimizeForPointLookup

I have a requirement where I only do point lookups but I also need to iterate but don't have to be in any specific order. I used OptimizeForPointLookup and used the iterator API and everything seems to work fine. However, the rocksdb code is…
Siva
  • 1,096
  • 7
  • 20
0
votes
2 answers

Reverse iteration indexed by prefix RocksDb

I'm currently using a RocksDB database for a personal project and I try to get all the content in reverse order of my database which is indexed by a prefix. However I don't manage to find the good code for my loop. I fell like I'm missing something.…
0
votes
1 answer

Flink job create RocksDB instance failure

I run many jobs on Flink,and backend use rocksDB, one of my job got error and restart all night, error message like : java.lang.IllegalStateException: Could not initialize keyed state backend. at…
spoon
  • 41
  • 5
0
votes
1 answer

CMake Error when compiling facebook/mysql, linked to weird path

I try to cmake Myrocks(facebook/mysql commit [a93e134]:https://github.com/facebook/mysql-5.6/commit/a93e134dbf399030887cafa5cd0f98921a226769) on CentOS6.3 But I failed with these message -- Running cmake version 3.2.2 -- MySQL 5.6.35 -- Packaging…
0
votes
1 answer

KafkaStreams Left Join DSL: inserting on outer null value

I have a mix-and-match DSL-PAPI topology. The DSL part joins pageviews("pageviews" topic) with users ("users" topic) of those pageviews. I want to join both, so in case the user is new, then create a new "user" from pvs information into the "users"…
xmar
  • 1,729
  • 20
  • 48
0
votes
0 answers

How to correctly access rocksdb in flink stream task?

I tried to use rocksdb to cache information required by a ProcessFunction, and following seems to be the only way to get it to work by far: (1) load data from datastore (eg. mysql) and put the data into rocksdb then close the rocksdb handle in…
James Yu
  • 399
  • 6
  • 22
0
votes
1 answer

Kafka Streams JoinWindow's data

In Kafka Streams, I'm using a Stream/Stream join using a JoinWindow. From what I could understand, JoinWindows are implemented using Stores, then the data of both streams are stored in the RocksDB database. However, once an event time expires…
Rocel
  • 1,029
  • 1
  • 7
  • 22
0
votes
1 answer

Percona MyRocks storage engine and replication

Can anyone advise me if we choose Percona MyRocks storage engine on the slave and replicating off Galera Cluster running Innodb engine. Would such replication work and if so what are the chances of it breaking on schema changes done on Galera…
0
votes
1 answer

Implementing a Comparator for RocksDB

I have some linking problems with the current class extending rocksdb::Comparator. "NumericKeyComparator.cpp" #include #include #include "../../structure/structure.h" #include "../../NumberToString.h" #include…
jackb
  • 695
  • 8
  • 26