TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Best database for tree storage and traversal?

6 pointsby cookerwareabout 11 years ago
The gist of what I&#x27;m trying to do is have a tree, traverse through every possible branch until all leaf nodes have been visited.<p>I need to also be able to modify any node along a branch. I originally thought about using MySQL but it seems really complicated. So I turn to graph databases.<p>I want a python example which does this but can&#x27;t find it in the docs for Neo4j, OrientDB, ArangoDB

2 comments

truncateabout 11 years ago
Did you try using any MPTT libraries for your framework&#x2F;rdbms? I&#x27;ve found that fairly simple to use. But of course performance should be better with NoSQL.
scaramangaabout 11 years ago
files and directories