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 : Use MySQL as a non-relational database

21 pointsby dan_simabout 16 years ago
I'm searching for anything that could help me using MySQL (or SqlLite) as if it was a non-relational database (like couchDB) in ruby. Is such a thing exists?

6 comments

garcaraabout 16 years ago
<a href="http://bret.appspot.com/entry/how-friendfeed-uses-mysql" rel="nofollow">http://bret.appspot.com/entry/how-friendfeed-uses-mysql</a><p>This is a really good article that can get you started with this idea. You would have to develop your own solution but a lot of good ideas here.
评论 #599638 未加载
评论 #600019 未加载
mbrubeckabout 16 years ago
It's in Python rather than Ruby, but Infogami's ThingDB and its successor Infobase are distributed key-value stores built on top of PostgreSQL:<p><a href="http://pharos.infogami.com/tdb" rel="nofollow">http://pharos.infogami.com/tdb</a><p><a href="http://openlibrary.org/about/tech" rel="nofollow">http://openlibrary.org/about/tech</a><p><a href="http://infogami.org/src/" rel="nofollow">http://infogami.org/src/</a>
iamelgringoabout 16 years ago
Are you looking for something like Berkeley DB? It's essentially a persistent key/value store. You don't have sql, but you do have ACID compliant features.<p>Summery of a programmer's usage here: <a href="http://simonwillison.net/2003/Nov/26/discoveringBerkeleyDB/" rel="nofollow">http://simonwillison.net/2003/Nov/26/discoveringBerkeleyDB/</a><p>Some Docs here: <a href="http://pybsddb.sourceforge.net/reftoc.html" rel="nofollow">http://pybsddb.sourceforge.net/reftoc.html</a>
mdragonabout 16 years ago
Python not ruby, but the language on top is a minimal piece in their setup: <a href="http://bret.appspot.com/entry/how-friendfeed-uses-mysql" rel="nofollow">http://bret.appspot.com/entry/how-friendfeed-uses-mysql</a>
adatta02about 16 years ago
If you are talking about using MySQL like memcache (so persistence isn't an issue) check out MYISAM MEMORY tables - <a href="http://dev.mysql.com/doc/refman/5.0/en/memory-storage-engine.html" rel="nofollow">http://dev.mysql.com/doc/refman/5.0/en/memory-storage-engine...</a><p>Super fast but if the server dies so does all your data...
shiranaihitoabout 16 years ago
Shouldn't you rather use a real non-relational database if that's what you need?
评论 #599593 未加载