dicts,instances,containers, slotted instances, et cetera.
Diez B. Roggisch
deets at nospam.web.de
Wed Jan 28 18:24:25 EST 2009
ocschwar at gmail.com schrieb:
> On Jan 28, 4:50 pm, Aaron Brady <castiro... at gmail.com> wrote:
>> On Jan 28, 2:38 pm, ocsch... at gmail.com wrote:
>>
>> Hello, quoting myself from another thread today:
>>
>> There is the 'shelve' module. You could create a shelf that tells you
>> the filename of the 5 other ones. A million keys should be no
>> problem, I guess. (It's standard library.) All your keys have to be
>> strings, though, and all your values have to be pickleable. If that's
>> a problem, yes you will need ZODB or Django (I understand), or another
>> relational DB.
>>
>> There is currently no way to store live objects.
>
>
> The problem is NOT archiving these objects. That works fine.
I know. But if they are sorted to various criteria, doing that inside a
DB might also be faster. That was the point I wanted to make.
Diez
More information about the Python-list
mailing list