pg_petgraph vs SurrealDB

pg_petgraph is a other database; SurrealDB is a multiple database. pg_petgraph (2026-07, MIT, Rust) is not ranked this month; SurrealDB (2022-07, BUSL-1.1, Rust) ranks #8.

Attribute pg_petgraph — SurrealDB #8 ▲1 Leader
At a glance
Rank — Not ranked#8
Score —65.8
GitHub stars 233.2k
Popularity —74.2
Activity —63.3
Community —66.7
Research —52.2
Fundamentals
Description A PostgreSQL extension that exposes graph algorithms as plain SQL functions. Each function takes arrays of source and target node ids and returns a table, covering PageRank, betweenness, closeness and eigenvector centrality, strongly and weakly connected components, Louvain community detection, Dijkstra, topological sort and cycle detection.A multi-model database written in Rust that combines document, graph, and relational paradigms. Uses inter-document record links for graph traversals, with ACID transactions and row-level permissions.
Vendor alitrackSurrealDB
Model OtherMultiple
Kind extensiondatabase
Category EmergingGrowing
First released 2026-072022-07
Status activeactive
License MITBUSL-1.1
Written in RustRust
Query languages SQLSurrealQL, GraphQL, GQL
gdotv support nono

Feature scores — not surveyed for pg_petgraph

Feature pg_petgraphSurrealDB
Community & Business
Active development —✓
Commercial support —✓
Live community —0.75
Open Source —0.5
Pricing —✓
Trendiness —✓
Deployment
Containerization —✓
Work as dedicated instance —✓
Work as embedded —✓
Testing in-memory version —✓
Platform
Operating on Linux —✓
Operating on Windows —✓
SaaS offering —✓
Operations
Automatic updates —·
Client side caching —·
Data versioning support —✓
Live backups —·
Distribution
Cluster Re-balancing —✓
Data Distribution —✓
High-Availability —✓
Query Distribution —✓
Replication support —✓
Developer Experience
Data types defined —0.5
Logging/Auditing —✓
Object-Graph Mapper —✓
Reactive programming —✓
Documentation up-to-date —✓
Binary protocol —✓
CLI —✓
GUI —✓
Data Model
Multi-database —✓
Graph-native data —✓
REST API —✓
Query Language —✓
Transactions
Granular locking —·
Multiple isolation levels —0.5
Read committed transaction —✓
Transaction support —✓
Schema & Security
Constraints —✓
Schema support —✓
Secondary indexes —✓
Server side procedures —✓
Triggers —✓
Authentication —✓
Authorization —✓
Data encryption —0.5