Description
JetBrains Xodus is a transactional schema-less embedded database that is written in Java. It was initially developed for JetBrains YouTrack, an issue tracking and project management tool. Xodus is also used in JetBrains Hub, the user management platform for JetBrains' team tools, and in some internal JetBrains projects.
JetBrains Xodus alternatives and similar libraries
Based on the "Database" category.
Alternatively, view JetBrains Xodus alternatives based on common mentions on social networks and blogs.
-
Presto
The official home of the Presto distributed SQL query engine for big data -
HikariCP
光 HikariCP・A solid, high-performance, JDBC connection pool at last. -
Realm
Realm is a mobile database: a replacement for SQLite & ORMs -
MapDB
MapDB provides concurrent Maps, Sets and Queues backed by disk storage or off-heap-memory. It is a fast and easy to use embedded Java database engine. -
orientdb
OrientDB is the most versatile DBMS supporting Graph, Document, Reactive, Full-Text and Geospatial models in one Multi-Model product. OrientDB can run distributed (Multi-Master), supports SQL, ACID Transactions, Full-Text indexing and Reactive Queries. -
Crate
CrateDB is a distributed and scalable SQL database for storing and analyzing massive amounts of data in near real-time, even with complex queries. It is PostgreSQL-compatible, and based on Lucene. -
ObjectBox embedded database
Java and Android Database - fast and lightweight without any ORM -
Chronicle Map
Replicate your Key Value Store across your network, with consistency, persistance and performance. -
requery
requery - modern SQL based query & persistence for Java / Kotlin / Android -
Speedment
Speedment is a Stream ORM Java Toolkit and Runtime -
JDBI
jdbi is designed to provide convenient tabular data access in Java; including templated SQL, parameterized and strongly typed queries, and Streams integration -
sql2o
sql2o is a small library, which makes it easy to convert the result of your sql-statements into objects. No resultset hacking required. Kind of like an orm, but without the sql-generation capabilities. Supports named parameters. -
Xodus
Transactional schema-less embedded database used by JetBrains YouTrack and JetBrains Hub. -
FlexyPool
FlexyPool adds metrics and failover strategies to a given Connection Pool, allowing it to resize on demand. -
Eventsourcing for Java
Event capture and querying framework for Java -
Vibur DBCP
Vibur DBCP - concurrent and dynamic JDBC connection pool -
Liquibase
Database-independent library for tracking, managing and applying database schema changes.
Updating dependencies is time-consuming.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of JetBrains Xodus or a related project?
README
JetBrains Xodus is a transactional schema-less embedded database that is written in Java and Kotlin. It was initially developed for JetBrains YouTrack, an issue tracking and project management tool. Xodus is also used in JetBrains Hub, the user management platform for JetBrains' team tools, and in some internal JetBrains projects.
- Xodus is transactional and fully ACID-compliant.
- Xodus is highly concurrent. Reads are completely non-blocking due to MVCC and true snapshot isolation.
- Xodus is schema-less and agile. It does not require schema migrations or refactorings.
- Xodus is embedded. It does not require installation or administration.
- Xodus is written in pure Java and Kotlin.
- Xodus is free and licensed under Apache 2.0.
Hello Worlds!
To start using Xodus, define dependencies:
<!-- in Maven project -->
<dependency>
<groupId>org.jetbrains.xodus</groupId>
<artifactId>xodus-openAPI</artifactId>
<version>2.0.1</version>
</dependency>
// in Gradle project
dependencies {
compile 'org.jetbrains.xodus:xodus-openAPI:2.0.1'
}
Read more about managing dependencies.
There are three different ways to deal with data, which results in three different API layers: Environments, Entity Stores and Virtual File Systems.
Environments
Add dependency on org.jetbrains.xodus:xodus-environment:2.0.1
.
try (Environment env = Environments.newInstance("/home/me/.myAppData")) {
env.executeInTransaction(txn -> {
final Store store = env.openStore("Messages", StoreConfig.WITHOUT_DUPLICATES, txn);
store.put(txn, StringBinding.stringToEntry("Hello"), StringBinding.stringToEntry("World!"));
});
}
Entity Stores
Add dependency on org.jetbrains.xodus:xodus-entity-store:2.0.1
, org.jetbrains.xodus:xodus-environment:2.0.1
and org.jetbrains.xodus:xodus-vfs:2.0.1
.
try (PersistentEntityStore entityStore = PersistentEntityStores.newInstance("/home/me/.myAppData")) {
entityStore.executeInTransaction(txn -> {
final Entity message = txn.newEntity("Message");
message.setProperty("hello", "World!");
});
}
Virtual File Systems
Add dependency on org.jetbrains.xodus:xodus-vfs:2.0.1
and org.jetbrains.xodus:xodus-environment:2.0.1
.
try (Environment env = Environments.newInstance("/home/me/.myAppData")) {
final VirtualFileSystem vfs = new VirtualFileSystem(env);
env.executeInTransaction(txn -> {
final File file = vfs.createFile(txn, "Messages");
try (DataOutputStream output = new DataOutputStream(vfs.writeFile(txn, file))) {
output.writeUTF("Hello ");
output.writeUTF("World!");
} catch (IOException e) {
throw new ExodusException(e);
}
});
vfs.shutdown();
}
Building from Source
Gradle is used to build, test, and publish. JDK 1.8 or higher is required. To build the project, run:
./gradlew build
To assemble JARs and skip running tests, run:
./gradlew assemble
Join our Xodus community!
If you are interested in Xodus, consider joining our Xodus community. Tell us about exciting applications you are building, ask for help, or just chat with friends 😃
Find out More
*Note that all licence references and agreements mentioned in the JetBrains Xodus README section above
are relevant to that project's source code only.