Re: [ZODB-Dev] Can I use RelStorage with ZODB3.9.0

2009-03-06 Thread eastxing
Hi Shane,
Please.

thanks!
eastxing

2009/3/6 Shane Hathaway sh...@hathawaymix.org

 eastxing wrote:

 About one month ago, I asked a question about 'ZODB pack' and got
 suggestions to update to new ZODB version.
 It took me one month to update my site from Plone2.5.5(with
 Zope2.9.6-final,ZODB3.6.2) to Plone3.1.7(with Zope2.10.7,ZODB3.7.3).
 Then I update zasync(an schedule durable task framework used by Zope2) to
 use its second-generation replacer -- 'zc.async', 'zc.async' needs
 ZODB3.9.0, then I went further to update to use Zope2.11.7 and ZODB3.9.0a12,
 so far so good.

 Now I want to use RelStorage, can I use RelStorage with ZODB3.9.0?


 Yes and no.  I've tested it and it works, but you still need a patched
 version of ZODB.  I haven't posted a patched version of ZODB 3.9 because I
 expect ZODB 3.9 to eventually include the patch or some variation of it.  It
 would be easy for me to post a patched version of ZODB 3.9.0a12, though.
  Should I?

 Shane


___
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: [ZODB-Dev] Can I use RelStorage with ZODB3.9.0

2009-03-06 Thread eastxing
Sorry, my mistook, I referred to Zope2.11.2-final. It works ok with
Plone3.1.7.

best regards
eastxing

2009/3/6 Wichert Akkerman wich...@wiggy.net

 On 3/6/09 6:27 AM, eastxing wrote:

 Hi all,

 About one month ago, I asked a question about 'ZODB pack' and got
 suggestions to update to new ZODB version.
 It took me one month to update my site from Plone2.5.5(with
 Zope2.9.6-final,ZODB3.6.2) to Plone3.1.7(with Zope2.10.7,ZODB3.7.3).
 Then I update zasync(an schedule durable task framework used by Zope2) to
 use its second-generation replacer -- 'zc.async', 'zc.async' needs
 ZODB3.9.0, then I went further to update to use Zope2.11.7 and ZODB3.9.0a12,
 so far so good.


 Please note that Zope 2.11.7 is not supported for Plone 3.1.7. You should
 be able to use ZODB 3.9 with Zope 2.10.x though.

 Wichert.

 --
 Wichert Akkermanwich...@wiggy.netIt is simple to make things.
 http://www.wiggy.net/  It is hard to make things simple.


___
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: [ZODB-Dev] Can I use RelStorage with ZODB3.9.0

2009-03-06 Thread eastxing
2009/3/6 Hanno Schlichting hanno...@hannosch.eu

 Wichert Akkerman wrote:
  On 3/6/09 6:27 AM, eastxing wrote:
  About one month ago, I asked a question about 'ZODB pack' and got
  suggestions to update to new ZODB version.
  It took me one month to update my site from Plone2.5.5(with
  Zope2.9.6-final,ZODB3.6.2) to Plone3.1.7(with Zope2.10.7,ZODB3.7.3).
  Then I update zasync(an schedule durable task framework used by Zope2)
  to use its second-generation replacer -- 'zc.async', 'zc.async' needs
  ZODB3.9.0, then I went further to update to use Zope2.11.7 and
  ZODB3.9.0a12, so far so good.
 
  Please note that Zope 2.11.7 is not supported for Plone 3.1.7. You
  should be able to use ZODB 3.9 with Zope 2.10.x though.

 Zope 2.11.2 is indeed not officially supported for Plone 3.x but we have
 nightly test runs passing for months now. So there's a good chance it'll
 work.

 If you want to use RelStorage I suggest using ZODB 3.8 with the
 appropriate patches. This combination is used in production by a number
 of people and has been tested.

 ZODB 3.9 introduces a number of API incompatible changes and will not
 work with Zope 2.11 in general. I had to change the Zope 2 code for 2.12
 in quite a number of places to make it work with ZODB 3.9. I'd be
 surprised if you get this combination working in a reliable way.

 Hanno


Yes, I backport some codes from Zope2.12 to make Plone3.1.7 work with
ZODB3.9.0a12. I really want to use ZODB3.9 cause zc.async1.5.1 needs it.
I'll continue test it to ensure all works ok.

Now I am so exciting to prepare convert my large site to use RelStorage,
hope there is a big performance improvement ahead. Thanks guys, you awesome.

happy weekend
eastxing
___
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: [ZODB-Dev] How to turn off 'GC' when packing on ZODB3.6.2

2009-01-20 Thread eastxing
hi, Laurence

Thanks for your reply. But the export/import mechanism is not suit for my
situation.
My site is now a very complicated system and 'huge'. Zope's export/import
mechanism is fragile, I never export a so large site successfully.

Now maybe I have three choices:
1. Understand all codes in fspack.py and implement the 'turn off gc when
packing' function on ZODB3.6.2;
2. Update my ZODB version from 3.6.2 to 3.8 or later to try use
'zc.FileStorage' ;
3. Convert my site to use 'RelStorage', and use its 'turn off gc' option to
pack my site.

Yesterday I tried choice 1, but I am not familiar with 'FileStorage' format
and can not implement the function myself in a short time( I have done
'Plone' development for years, but I am not so familiar with the underlayer
knowledge about 'Zope' ).

For choice 2, I have one question: Is high verstion ZODB(3.8 or later)
compatable with low version ZODB(3.6.2)? I googled but not find those
compatability information.

For choice 3, 'RelStorage' provide a 'ZODBConverter', but I do not to know
if it can used with ZODB3.6.2?

Thanks

eastxing

2009/1/21 Laurence Rowe l...@lrowe.co.uk

 eastxing wrote:
  Hi,
 
  I am using Plone2.5.5 with Zope2.9.8-final and ZODB3.6.2.Now my Data.fs
  size is nearly 26G with almost 140k Plone objects and more than 4100k
  zope objects in the database. Since 2 moths ago, I could not pack my
  database successfully. Recent days I tried to pack it again, but after
  more than 72 hours running, the pack process wasn't end
 
  I readed lots of discussions on the forum, some guys said turn off 'GC'
  when packing will improve the speed tremendously.Then I found an
  experimental product -- 'zc.FileStorage' written by Jim, but it seems
  that it only used by ZODB3.8 or later. So what should I do on ZODB3.6.2
  to turn off 'GC' when do packing.
 
  ps:If this is a wrong place to ask the question, please let me know,
  I'll move it to the right place.

 As an alternative to backporting the changes to pack, you could try
 doing a zexp export of the site, and then reimport the zexp into a blank
 Data.fs.

 Laurence

 ___
 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

___
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


[ZODB-Dev] How to turn off 'GC' when packing on ZODB3.6.2

2009-01-19 Thread eastxing
Hi,

I am using Plone2.5.5 with Zope2.9.8-final and ZODB3.6.2.Now my Data.fs size
is nearly 26G with almost 140k Plone objects and more than 4100k zope
objects in the database. Since 2 moths ago, I could not pack my database
successfully. Recent days I tried to pack it again, but after more than 72
hours running, the pack process wasn't end

I readed lots of discussions on the forum, some guys said turn off 'GC' when
packing will improve the speed tremendously.Then I found an experimental
product -- 'zc.FileStorage' written by Jim, but it seems that it only used
by ZODB3.8 or later. So what should I do on ZODB3.6.2 to turn off 'GC' when
do packing.

ps:If this is a wrong place to ask the question, please let me know, I'll
move it to the right place.

thanks!

eastxing
___
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