Leonardo Santagada wrote at 2008-10-4 16:42 -0300:
> ...
>Why doesn't zodb has a table of some form for this info?
You can implement one -- if you think this is worth the effort.
The ZODB has a hook "classFactory(connection modulename, globalname)"
on the "DB" class. It is responsible for mapping
Leonardo Santagada wrote:
> Why doesn't zodb has a table of some form for this info? I heard that
> sometimes for very small objects the string containing this
> information can use up to 30% of the whole space of the file (using
> FileStorage). How does RelStorage store this?
RelStorage doe
Leonardo Santagada wrote:
> On Oct 4, 2008, at 7:35 PM, Hanno Schlichting wrote:
>>
>> You can have a look at http://www.python.org/dev/peps/pep-0307.
>>
>> I'd suggest you try this out on some small typical data set and just
>> look at the generated pickles.
>
> In zope catalogs the objects are a
On Oct 4, 2008, at 7:35 PM, Hanno Schlichting wrote:
> Laurence Rowe wrote:
>> Leonardo Santagada wrote:
>>
>>> Why doesn't zodb has a table of some form for this info? I heard
>>> that
>>> sometimes for very small objects the string containing this
>>> information can use up to 30% of the whol
Laurence Rowe wrote:
> Leonardo Santagada wrote:
>
>> Why doesn't zodb has a table of some form for this info? I heard that
>> sometimes for very small objects the string containing this
>> information can use up to 30% of the whole space of the file (using
>> FileStorage). How does RelStora
Leonardo Santagada wrote:
> On Oct 4, 2008, at 12:36 PM, Wichert Akkerman wrote:
>
>> Adam wrote:
>>>
>>> Thanks for that, guys, I've not used a mailing list like this
>>> before so
>>> unsure how to respond.
>>>
>>> If ZODB stores the Package.Module.Class name in the pickle would it
>>> be
>>
On Oct 4, 2008, at 12:36 PM, Wichert Akkerman wrote:
> Adam wrote:
>>
>>
>> Thanks for that, guys, I've not used a mailing list like this
>> before so
>> unsure how to respond.
>>
>> If ZODB stores the Package.Module.Class name in the pickle would it
>> be
>> possible for me to simply rename
Adam wrote:
On Fri, 2008-10-03 at 14:24 -0600, Shane Hathaway wrote:
Marius Gedminas wrote:
1. create modules in their old locations that import all the classes
from the new locations (and do nothing else).
2. write a script that opens the DB, iterates over all persistent
On Fri, 2008-10-03 at 14:24 -0600, Shane Hathaway wrote:
> Marius Gedminas wrote:
> > 1. create modules in their old locations that import all the classes
> > from the new locations (and do nothing else).
> > 2. write a script that opens the DB, iterates over all persistent
> > object
Marius Gedminas wrote:
> 1. create modules in their old locations that import all the classes
> from the new locations (and do nothing else).
> 2. write a script that opens the DB, iterates over all persistent
> objects in it, touches every single one of them (obj._p_activate()
>
On Fri, Oct 03, 2008 at 11:37:35AM +0100, Adam wrote:
> Hi, I wonder if anyone can help me.
>
> I've got a custom Python cgi which runs in one directory using ZODB for
> the database. It runs in a directory off the site root ie. /System
>
> It's got a bit unwieldy in there so I wanted to separate
Hi, I wonder if anyone can help me.
I've got a custom Python cgi which runs in one directory using ZODB for
the database. It runs in a directory off the site root ie. /System
It's got a bit unwieldy in there so I wanted to separate the core
modules out as I don't really touch them any more, so ad
12 matches
Mail list logo