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

What is the proper aproach for agregational like queries?

looking into Java query approach or Kotlin based DNQ can't see how to make queries similar to 'group by' ... What is a proper approach for such queries? E.g. when I have invoices entities and I would like to group these by company name and sum of…
David Marko
  • 2,477
  • 3
  • 27
  • 58
1
vote
1 answer

Batch saves on Xodus

Is there a way to save hundreds of thousands of items on Xodus quickly? Some sort of batch feature where we can specify a very big transaction for that? The goal here is to update a large set of entities during an ingestion phase. We usually…
1
vote
0 answers

What is the proper way of using S3 as storage for Xodus?

When trying to access S3 as storage with Xodus this error is thrown: Caused by: java.io.FileNotFoundException: s3:xodusmaster\blobs\version (The filename, directory name, or volume label syntax is incorrect) at…
quarks
  • 33,478
  • 73
  • 290
  • 513
1
vote
1 answer

How to update entities using Xodux-DNQ

I have searched Xodus and Xodus-DNQ and I am not able to find an idiomatic way to update an entity that is already inside a Xodus database, using Xodus-DNQ. Would I have to delete that entity and created it again afterwards, or is there a better way…
1
vote
1 answer

Service Provider Interface in recent Xodus release

The most recent release of Xodus states: This release offers Service Provider Interface for I/O customization in the package jetbrains.exodus.io. In addition to default disk-based I/O, it lets you configure your application to use an in-memory …
quarks
  • 33,478
  • 73
  • 290
  • 513
1
vote
1 answer

Xodus find entities api like inSet operation

Is there a possibility to query Xodus EntityStore by the property as "inset" operation? This is not possible based on existing Xodus API but maybe this is possible to do with custom Comparable and ComparableBinding by…
falcon
  • 372
  • 3
  • 19
1
vote
1 answer

Disable caching in Xodus

I wonder, if it is possible to disable Xodus cache. I have this scenario - at certain moment I get bulk of data that I store into Xodus EntityStore. After this bulk is processed, I will never add anything else to this store. My idea is to disable…
Martin
  • 708
  • 2
  • 10
  • 20
1
vote
0 answers

Caching forcedly stopped, cache adapter is obsolete error in Xodus Databse

I am using xodus database for my application and I have 3 simple entities in it. when the application receives bulk load the xodus throws Caching forcedly stopped, cache adapter is obsolete error. because of that the GC operation is not happening…
1
vote
1 answer

Using compression to reduce the size of a xodus store

Is it possible to use some level of compression on a xodus store/environment/entities? I have seen it's possible to encrypt a store. But I haven't seen anything related to compressing a store.
1
vote
1 answer

Documentation on how to use Xodus Query?

Hello is there a documentation on how to org.jetbrains.xodus xodus-query 1.2.3 Specifically, the UniqueKeyIndicesEngine to index Entities. And…
quarks
  • 33,478
  • 73
  • 290
  • 513
1
vote
1 answer

Batch delete all entities with given property (or properties)

This code below is our code to delete property for a given Entity type: @Override public boolean deleteProperty(String instance, String storeName, String propertyName) { final boolean[] success = {false}; final PersistentEntityStore…
quarks
  • 33,478
  • 73
  • 290
  • 513
1
vote
1 answer

Is it possible to set custom generated String ID for a Entity?

Is it possible to set custom generated String ID for a Entity? i.e jetbrains.exodus.entitystore.Entity Say application generates a alerady unique key using Java UUID or some kind of Object ID can it be used as value of EntityId.toString()
quarks
  • 33,478
  • 73
  • 290
  • 513
1
vote
1 answer

How to store byte[] array using Environment API

Here's my code: @Override public void put(String instance, final String storeName, final String key, final byte[] value) { final Environment env = Environments.newInstance(xodusRoot + instance); env.executeInTransaction(new…
quarks
  • 33,478
  • 73
  • 290
  • 513
1
vote
1 answer

reduce xodus garbage collector contention?

Is there a way to reduce the thread contention with the xodus garbage collector? I've been trying to set up an implementation where I use multiple environments to reduce contention on writes, which works to some extent - however, when the garbage…
user2163960
  • 1,871
  • 19
  • 22
1
vote
1 answer

how do you completely shut down xodus?

How do you get xodus to completely shut down and release resources? Closing all environments that are open does not stop the shared threads, nor release (sometimes massive) amounts of data in the cache. For example, right now, I have a supposedly…
user2163960
  • 1,871
  • 19
  • 22