Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. TinkerPop
  3. sqlg

sqlg

MITHTML3.1.6

A TinkerPop 3 implementation that enables graph database operations on top of standard SQL relational databases.

GitHubGitHub
260 stars52 forks0 contributors

What is sqlg?

Sqlg is a Java library that implements the Apache TinkerPop 3 graph computing framework on top of standard SQL relational databases. It allows developers to use graph data models and execute Gremlin queries while storing data in traditional RDBMS like PostgreSQL, MySQL, and MariaDB. This solves the problem of needing to choose between graph database functionality and the reliability/familiarity of SQL databases.

Target Audience

Java developers and data engineers who need graph database capabilities but want to leverage existing SQL database infrastructure, particularly those using PostgreSQL, MySQL, MariaDB, H2, or HSQLDB.

Value Proposition

Developers choose Sqlg because it provides full TinkerPop 3 compliance without requiring migration to specialized graph databases, allowing them to maintain ACID compliance, use existing SQL tools, and deploy on familiar RDBMS platforms while gaining graph query capabilities.

Overview

TinkerPop graph over sql

Use Cases

Best For

  • Adding graph query capabilities to existing SQL-based applications
  • Migrating from relational to graph data models without changing database infrastructure
  • Java applications needing TinkerPop 3 compatibility with RDBMS backends
  • Projects requiring ACID-compliant graph operations on PostgreSQL or MySQL
  • Teams wanting to use Gremlin query language with traditional SQL databases
  • Applications that need both SQL reporting and graph traversal capabilities

Not Ideal For

  • High-performance graph analytics on massive datasets requiring native graph database speed
  • Real-time applications needing sub-millisecond graph query latencies
  • Teams already invested in specialized graph databases like Neo4j or Amazon Neptune

Pros & Cons

Pros

Multi-Database Support

Supports H2, HSQLDB, PostgreSQL, MariaDB, and MySQL, providing flexibility in backend choice, as explicitly listed in the README.

TinkerPop 3 Compliance

Implements the full TinkerPop 3 stack including Gremlin, ensuring standard graph operations, per the project description and README emphasis.

RDBMS Backend Benefits

Leverages ACID compliance and existing SQL tools by storing graph data in relational tables, bridging graph and relational paradigms as stated in the philosophy.

Detailed Documentation

Maintains documentation for multiple release versions, aiding version-specific use, as shown by the separate documentation links in the README.

Cons

Performance Overhead

Graph queries are translated to SQL, which can introduce latency and inefficiency compared to native graph databases, especially for complex traversals.

Complex Setup

Requires configuration and management of both Sqlg and the underlying RDBMS, adding deployment and maintenance complexity beyond a single database system.

Limited Graph Optimizations

RDBMS are not natively optimized for graph operations, so advanced TinkerPop features may not perform as well as in dedicated graph databases.

Frequently Asked Questions

Quick Stats

Stars260
Forks52
Contributors0
Open Issues19
Last commit18 hours ago
CreatedSince 2014

Tags

#tinkerpop#java-library#java#gremlin#database-abstraction#rdbms#postgresql#mariadb#mysql#graph-database#sql

Built With

J
Java

Included in

TinkerPop190
Auto-fetched 6 hours ago

Related Projects

JanusGraphJanusGraph

JanusGraph: an open-source, distributed graph database

Stars5,815
Forks1,215
Last commit17 hours ago
TinkerPop3 implementationTinkerPop3 implementation

Apache TinkerPop - a graph computing framework

Stars2,141
Forks864
Last commit7 hours ago
blazegraphblazegraph

Blazegraph High Performance Graph Database

Stars989
Forks188
Last commit3 years ago
JanusGraph for DynamoDB (Amazon)JanusGraph for DynamoDB (Amazon)

The Amazon DynamoDB Storage Backend for JanusGraph

Stars447
Forks95
Last commit4 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub