5

How graph databases store data to a persistent storage?

PKV

1
  • What did you find out through doing your own research? Provide details. Share your research. Commented Apr 9, 2011 at 11:12

2 Answers 2

3

I would expect that every implementation of a graph database uses a different approach.

To take one example, look at Neo4j's NeoStore class, and the other kinds of store it refers to. It seems that Neo4j uses multiple files, each containing fixed-length records; one for nodes, one for keys of properties of nodes, one for values of properties of nodes, etc. Records in each contain indexes to refer to records in the others. It seems overcomplicated to me, but it evidently seemed like a good idea to the guys who wrote it!

Sign up to request clarification or add additional context in comments.

1 Comment

Here's a blog post on this topic: Neo4j Internals: File Storage
1

To know more about how OrientDB stores graphs look at: http://code.google.com/p/orient/wiki/Concepts#Storage

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.