Pickle or Mysql

Rene Pijlman reply.in.the.newsgroup at my.address.is.invalid
Sat Apr 1 01:41:27 EST 2006


amaltasb at gmail.com:
>Can I use Pickle to store about 500,000 key value pairs.. 

Performance would be horrible. Use a BTree in ZODB instead:
http://www.zope.org/Wikis/ZODB/guide/node6.html#SECTION000630000000000000000

>or should I use mySql.

You should use a relational database, such as PostgreSQL, when you want to
model your data as relations (tables) instead of objects, or when you want
to use SQL, or when another application needs to access the data that only
speaks SQL, or ...

-- 
René Pijlman



More information about the Python-list mailing list