Re: Re[4]: [ZODB-Dev] Commit Progress Indictor

2006-08-25 Thread Chris S

On 8/16/06, Jim Fulton <[EMAIL PROTECTED]> wrote:


On Aug 16, 2006, at 5:13 AM, Adam Groszer wrote:

> Hello Andreas,
>
> Yep, you're right :-)
> Are there any hooks in ZODB to support that or that should be a major
> overhaul?

There are no hooks.  It would probably not be a major overhaul,
however, it would probably require changes at multiple layers and I'd
be concerned about introducing a performance hit.

Why is this needed?  Normally, commiting a transaction doesn't take
enough time to make this worthwhile, IMO.  IN the small GUI app in
question, are there huge transactions for which this would matter?
Have long commit times been found to be a problem?


You're right, I suppose there really isn't a need. I was originally
performing a large batch operation and then commiting the one large
transaction, when I should just commit smaller transactions more
often.

On a related note, is there any way to track the progress of db.pack()?

Chris
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


Re: Re[4]: [ZODB-Dev] Commit Progress Indictor

2006-08-16 Thread Jim Fulton


On Aug 16, 2006, at 5:13 AM, Adam Groszer wrote:


Hello Andreas,

Yep, you're right :-)
Are there any hooks in ZODB to support that or that should be a major
overhaul?


There are no hooks.  It would probably not be a major overhaul,  
however, it would probably require changes at multiple layers and I'd  
be concerned about introducing a performance hit.


Why is this needed?  Normally, commiting a transaction doesn't take  
enough time to make this worthwhile, IMO.  IN the small GUI app in  
question, are there huge transactions for which this would matter?   
Have long commit times been found to be a problem?


Jim

--
Jim Fulton  mailto:[EMAIL PROTECTED]Python 
Powered!
CTO (540) 361-1714  
http://www.python.org
Zope Corporationhttp://www.zope.com http://www.zope.org



___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


Re[4]: [ZODB-Dev] Commit Progress Indictor

2006-08-16 Thread Adam Groszer
Hello Andreas,

Yep, you're right :-)
Are there any hooks in ZODB to support that or that should be a major
overhaul?

Wednesday, August 16, 2006, 11:03:54 AM, you wrote:


> --On 16. August 2006 10:52:51 +0200 Adam Groszer <[EMAIL PROTECTED]> wrote:

>> Hello Dieter,
>>
>> Do you think that's possible?

> This is not the question. With some effort you can develop almost
> everything...you just have to find a volunteer and a budget :-)

> -aj


-- 
Best regards,
 Adammailto:[EMAIL PROTECTED]
--
Quote of the day:
It is astonishing how little one feels poverty when one loves. 
- John Bulwer 

___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev