If you are a CDO, enterprise architect, or principal engineer weighing a graph database, start here. NebulaGraph is built for one job: following connections across billions of records fast enough to sit inside a fraud check or a live recommendation. If your graph fits on one machine, you do not need it. If your questions hop through three or more relationships and relational joins have become the bottleneck, it deserves a serious look.
Here is the short answer. NebulaGraph is a strong fit for fraud, anti-money-laundering, and GraphRAG workloads at billion-edge scale. It is the wrong default for a small graph, a simple query pattern, or a team without distributed-systems experience. The rest of this guide explains why, in plain terms, and what to test before you sign.
Quick Take
- Choose NebulaGraph when your graph has billions of edges, queries need three or more hops, and a single-digit-millisecond budget is the target. Verify that number under real concurrency: until your own test shows it, it is a vendor claim.
- Choose a simpler store when the graph is small, the queries are shallow, or one engineer should be able to run the whole thing.
- Before you sign, test traversal on your own graph shape, budget the query-language migration, confirm tenant isolation and multi-zone support in writing, and price the operations work.
What NebulaGraph actually is
A relational database stores rows and joins them when you ask a question. A graph database stores the relationships themselves as first-class edges. A question like “which accounts connect these two people within four transfers?” becomes a walk across the graph instead of a pile of joins. The difference is like pulling a route from a map versus rebuilding the road network every time you want to drive somewhere.
The commercial listing describes three product components: a distributed graph database, a standalone Analytics product for graph algorithms, and an AI layer for vector search and GraphRAG. Around those sit the controls a procurement team signs for: role-based access, monitoring, visualization, data-management tools, and high-availability deployment options.
The open-source core is Apache 2.0. That matters for a simple reason: you can build a proof of concept on your own hardware before a commercial contract is on the table. The Apache 2.0 core is free to run; Enterprise is the commercial support and licensing layer for production deployments.
Why the architecture matters
NebulaGraph splits into three services. Meta services (nebula-metad) hold the schema and cluster state. Query services (nebula-graphd) parse nGQL and plan the work, and they keep no durable copy of the graph. Storage services (nebula-storaged) hold the data in RocksDB partitions and keep replicas consistent through Raft.
nGQL is the native language. It is openCypher-compatible in part, not completely, so a team arriving from Cypher should budget query translation rather than assume a drop-in move.
The practical benefit is independent scaling. If concurrency climbs, add query nodes. If the graph grows, add storage nodes. In a tightly coupled database, the same machine parses queries and holds the data, so a CPU-heavy query mix and a memory-heavy dataset fight for the same resources. Separating them removes that fight. It is the difference between a restaurant with a separate kitchen and a restaurant where the waiters also cook.
The bill arrives in operations. Three services means three things to deploy, monitor, upgrade, and reason about at 2 a.m. Capacity planning has two dimensions instead of one, and an analytics burst stresses a different tier than a data-ingest surge. A third-party review makes the same point: self-managed clusters need topology planning, partition balancing, backup, and recovery work that a single binary does not.
Raft keeps replicas consistent inside a cluster, and the vendor describes self-healing node replacement and snapshots. That is node-level resilience, not proof of active-active across regions. Ask whether multi-zone deployment, Zone management, and cross-region synchronization are supported for your deployment model, and get the topology, failover behaviour, and a reference configuration in writing before you put them in a design document.
Where it wins
Fraud and anti-money-laundering are the clearest fit. A circular card-fraud ring or a mule network is a relationship problem: money moves through accounts, devices, and people, and the signal is in the path. If a decision has to land inside a transaction window, a graph traversal is the natural query, and a relational join across several tables is the wrong shape. The sub-10-millisecond window is a use-case target, not a measured guarantee; the vendor lists Airwallex and BlockSec as customers, which are references to investigate, not independent proof.
GraphRAG is the second fit. A large language model grounded in a knowledge graph can follow an entity relationship to a verified fact instead of guessing from a vector neighborhood. NebulaGraph’s listing describes vector search and a GraphRAG layer aimed at that pattern; treat that as a product claim to test. The architecture matters here because retrieval often needs several hops: a supplier, its parent company, the parent’s subsidiaries, and the contracts that connect them.
The scale evidence is real but should be read carefully. The vendor page claims trillion-scale data, linear scaling, and single-digit latency. A third-party review reports a large traversal advantage over Neo4j at a billion edges, but it does not publish the hardware, concurrency, or methodology. Treat that as a reason to run your own test, not a result you can bank on.
Where it loses
A small graph does not need a distributed cluster. If your dataset is 50,000 nodes, your queries stop at two hops, and a single machine handles the load, a relational database or a single-node graph store will be cheaper, faster to deploy, and easier to hand to one engineer. Buying a three-tier cluster for that workload turns a solved problem into a staffing problem.
A thin operations team is the second loss. Raft, partition rebalancing, separate capacity plans, and multi-service upgrades are real skills. If nobody on the team wants to own a distributed system at 2 a.m., a managed single-node service is the better buy even if the graph might grow.
The comparison that matters
| Decision | NebulaGraph | Relational database | Single-node graph store |
|---|---|---|---|
| Best data shape | Billions of edges, highly connected, deep paths | Structured records with modest joins | Small-to-mid connected data |
| Query depth | Three or more hops, path and fraud queries | One or two joins, reporting, transactions | One or two hops |
| Operational burden | Three distributed services, Raft, partition balancing | One server and a familiar backup routine | One binary or managed service |
| Cost shape | License plus platform staff and on-call | License or managed service plus a DBA | Low cash and low ops, limited scale |
| Pick it when | Scale and latency are the constraint | Transactions and reporting are the job | Simplicity is the constraint |
What migration really costs
nGQL is close enough to SQL that analysts can read it, but it is not a drop-in replacement for every Cypher query. Path semantics differ between engines, so a query that returned one canonical shortest path may return several. Aggregations over supernodes behave differently depending on how the planner prunes fan-out, and index definitions and execution plans need retuning rather than porting.
None of that is disqualifying. It is work you should schedule before the cutover: inventory the queries, translate the ones that matter, and benchmark them against the incumbent. That review, which flags the operational burden, also flags the migration work, which makes it a useful planning input rather than a surprise.
Security and the fine print
Role-based access control is documented in the repository, and the commercial listing describes enterprise controls. LDAP or OAuth integration, query resource isolation, audit logging, and multi-zone deployment must be confirmed in writing for your version and deployment model; they belong in a validation plan, not a product-page claim.
The commercial listing shows one-month and twelve-month contracts, standard technical support during business hours, around-the-clock support for critical kernel failures, and a refund window handled through sales. Check those terms against your procurement requirements before you treat support as a solved problem.
Five tests before you sign
Run these in order
- Draw the graph. Export a real slice. Record node and edge counts, degree distribution, median and maximum hop depth, and how many vertices have more than a million neighbours. Supernodes decide latency more than total node count.
- Write the latency budget. Name the percentile that matters, the peak concurrency, and the time left for the database after the network, application logic, and any model call. An average is not a target.
- Benchmark the incumbent first. Run the same slice and query corpus on your current database. If it already meets the budget, stop. If it does not, you have the baseline the new system must beat.
- Test the controls. Confirm the identity integration offered for your deployment, a denied query, resource isolation, audit logging, and multi-zone deployment in your own environment. Get the failover topology and the multi-region behaviour in writing.
- Price the operating model. Decide who upgrades the services, who reads Raft state during an incident, and who owns capacity forecasts. Kill a storage node on purpose and watch the latency. Then add those costs to the license line.
What to do next
Platform team at a bank or fintech. Pull a real graph slice, write down the p99 target and peak concurrency, and bring security into the proof of concept before you talk about a contract.
Enterprise architect with a small graph. Record the incumbent’s p95 and the growth trigger that would make you revisit the decision. If it still meets the budget, close the evaluation and keep the simpler system.
Principal engineer with a deep team. Name the person who will own Raft, upgrades, and nGQL migration before the first cluster exists. If that name does not exist, the tool is not the problem.
Run the five tests on a real slice before you talk about a contract. If they pass, scope a proof of concept with a latency percentile, a concurrency level, a security checklist, and a named owner for the cluster. If the graph is shallow, keep the simpler system and write down why.
Start with the graph database site for documentation, trial options, and deployment details.