Open GoogleCodeExporter opened 9 years ago
Original comment by cjlee...@gmail.com
on 12 Dec 2008 at 10:27
Sqlite is usually pretty scaleable. I, and other people, have used it for
Gigabytes
of data. It can even, on a limited scale, access the same database from
different
processes parallely.
Another interesting database for persistence is Apache's Couchdb. This is even
easier
to use than Sqlite, even though it requires a server instance and a connection
to
this instance, but it is extremely scaleable.
If you only need temporary storage, you might want to just create temporary
files,
pickled via the standard pickler, or json, or yaml. This adds the extra work of
keeping tabs on these files, but solves any compatibility issues about shelve.
Original comment by AndreasK...@gmail.com
on 28 Dec 2008 at 3:41
Andreas, see
http://groups.google.com/group/pygr-dev/browse_thread/thread/cd06c5a9f7107881
for discussion.
Original comment by the.good...@gmail.com
on 4 Jan 2009 at 11:05
See this thread
http://groups.google.com/group/pygr-dev/browse_thread/thread/80e32dbccae70bcc#
for another discussion indirectly related to this subject. In short: at present
Pygr
is virtually unusable on Mac OS X with stock Python unless special steps are
taken
to make it work. Since implementing the sqlite back-end ought to take care of
the
dbm problem without having to wait for either Apple or Python devs to fix their
respective bugs, we have decided to escalate the present issue - the necessary
code
is to be included in pygr-0.8.1.
Original comment by mare...@gmail.com
on 25 Aug 2009 at 12:30
I've taken the sqlite3 SQLHash code from http://bugs.python.org/issue3783 and
converted it to be Python 2.x compatible; I tested it out on another project
and it
works fine.
Note, you need to use 'dbsqlite.open_shelf' to open a shelf with it; and the
mode
characters don't work properly.
I attach it here to avoid duplication of effort! Down the road I can try
integrating
it into pygr.
Original comment by the.good...@gmail.com
on 30 Aug 2009 at 3:14
Attachments:
Original issue reported on code.google.com by
cjlee...@gmail.com
on 12 Dec 2008 at 10:27