Questions tagged [xodus]

Xodus is a transactional schema-less embedded database written in pure Java and Kotlin.

Xodus is a transactional schema-less embedded database that is written in Java and Kotlin. It offers MVCC and snapshot isolation. It was initially developed for JetBrains YouTrack. It is also used in JetBrains Hub and in some internal JetBrains projects.

105 questions
1
vote
1 answer

Xodus high insertion rate

I'm using Xodus for storing time-series data (100-500 million rows are inserted daily.) I have multiple stores per one environment. New store is created every day, older stores (created more than 30 days can be deleted). Recently my total…
user12384512
  • 3,362
  • 10
  • 61
  • 97
1
vote
2 answers

can Xodus get collection by key prefix?

I need a function like prefixSubMap of MapDB. is there such function in Xodus? i cannot find out the interface. https://jankotek.gitbooks.io/mapdb/content/btreemap/composite-keys.html prefixSubMap
DyK
  • 249
  • 3
  • 12
1
vote
1 answer

Xodus warning about FileDataWriter

When I start-up my application, xodus gives out a warning: WARN jetbrains.exodus.io.FileDataWriter - Can't open directory channel. Log directory fsync won't be performed. Could someone give me advice about what this means?
Mustafa Ozturk
  • 812
  • 4
  • 19
1
vote
1 answer

How does concurrent access to Xodus via MVCC work

Xodus doc states it provides MVCC. This indicates, that it can be accessed concurrently. On the other hand doc for class Environment states: "It is not possible to share a single database directory between different environments." Which is true? Can…
funql.org
  • 408
  • 4
  • 9
1
vote
1 answer

Xodus disable transactions

I'm going to use Xodus for storing time-series data (100-500 million rows are inserted daily.) I saw that Xodus was creating and deleting a lot of .xd files in the background. I read about log-structured design, but I don't clearly understand…
user12384512
  • 3,362
  • 10
  • 61
  • 97
1
vote
1 answer

Custom ComparableBinding implementation

Is it possible to implement a custom ComparableBinding/ByteIterable combination that provides its own ordering? And how would I register this with the system? Also, would it be safe to not implement the ByteIterable.subIterable(final int offset,…
wolpers
  • 121
  • 1
  • 5
0
votes
1 answer

Java embedded database not functioning correctly when run as packaged JAR or native image, but works fine when run with Maven or IntelliJ

I have this command line app that uses Xodus as embedded database. And the program has this bizarre problem. When run using: mvn exec:java or using IntelliJ run command, the programs works fine. It can read and write to the Xodus database fine.…
quarks
  • 33,478
  • 73
  • 290
  • 513
0
votes
0 answers

Maximize or force full garbage collection in Xodus database

We have an application that writes lots of data in a Xodus database. It actually writes so much data that the garbage collector cannot keep up with freeing old files. My question therefor is, are there any recommended settings for "maximum GC", or…
Jochen
  • 7,270
  • 5
  • 24
  • 32
0
votes
1 answer

Xodus: How to open earlier states of the db

As I understand, the Xodus database appends transactions to its Log files, and full .xd files don't change anymore, so the Log files kind of become a record of the transaction history. Is there a way to read out past transactions and/or to open the…
Markus
  • 668
  • 7
  • 27
0
votes
1 answer

Using database cursor instead of skip and limit

I'm not sure if the Cursor defined in this Xodus ticket is the typical database cursor or not, but is there a way to support database cursors with Xodus? For example, instead of the normal skip/limit approach, a cursor can be used to resume…
Fireburn
  • 981
  • 6
  • 20
0
votes
1 answer

Possible to use a data folder on NFS?

This seems to be the most reliable in-process data store I found. I tried a few things locally (sig kill, sig term, System.exit(), etc. in the middle of a transaction) and xodus could pick up from where its last good state was. I'm interested to…
Vin
  • 559
  • 2
  • 18
0
votes
1 answer

No transaction started in current thread error

I have this code that needs to index a document: @Override public Boolean index(String dir, String entityId, Double longitude, Double latitude) throws Exception { if (writer == null) { writer =…
Fireburn
  • 981
  • 6
  • 20
0
votes
1 answer

How to use Exodus Directory with Lucene?

I have this simple Lucene code: Directory dir = FSDirectory.open(Paths.get("C:/temp/Lucene")); Analyzer analyzer = new StandardAnalyzer(); IndexWriterConfig iwc = new…
Fireburn
  • 981
  • 6
  • 20
0
votes
1 answer

StackOverflowError at jetbrains.exodus.entitystore.EntityIterableCache.putIfNotCached

My code is throwing the error below: java.lang.StackOverflowError at jetbrains.exodus.entitystore.EntityIterableCache.putIfNotCached(EntityIterableCache.java:100) at…
quarks
  • 33,478
  • 73
  • 290
  • 513
0
votes
1 answer

Find a comparable value inside an array property within an Entity

How do you find if a property that is an array contains a value, what is available by default to Xodus is txn.find(entityType, propertyName, comparableValue) to find a value, however, what is the best way to find if an array property contains a…
quarks
  • 33,478
  • 73
  • 290
  • 513