Re: [Zope] Some problem about Data.fs

2005-04-14 Thread J Cameron Cooper
Fu-Ming_Tsai wrote:
> What I meant is that if there are more and more objects, maybe it cause some
> problem because there are a big Data.fs. Doesn't it cause any problem if
> there are a big big Data.fs?

Not particularly. If you hit the upper limit of your disk or filesystem
limits on file size/partition size you can get into trouble. Also, if it
gets too big, you may not have enough room to pack (because the old and
new Data.fs files must be able to exist simultaneously.)

The ZODB can be broken into multiple files if needed. You could also use
 DirectoryStorage, but some file systems aren't so good at large numbers
of files.

But there are no Zope-specific problems with a large database, save that
building the index (on startup) can take longer if you have lots of objects.

--jcc
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Some problem about Data.fs

2005-04-13 Thread Andreas Jung

--On Donnerstag, 14. April 2005 12:07 Uhr +0800 Fu-Ming_Tsai 
<[EMAIL PROTECTED]> wrote:

What I meant is that if there are more and more objects, maybe it cause
some problem because there are a big Data.fs. Doesn't it cause any
problem if there are a big big Data.fs?
I am not getting your point? Is it scalability? Running Zope instances with 
several
Data.fs files up 20-30 GB(!) are not uncommon.

-aj



pgp1DF98JSn1F.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Some problem about Data.fs

2005-04-13 Thread robert
Fu-Ming_Tsai wrote:

>What I meant is that if there are more and more objects, maybe it cause some
>problem because there are a big Data.fs. Doesn't it cause any problem if
>there are a big big Data.fs?
>
>  
>
the data.fs kcan be several gigabites
robert

>On Wed, 13 Apr 2005 17:27:39 +0200, Andreas Jung wrote
>  
>
>>--On Mittwoch, 13. April 2005 23:09 Uhr +0800 Fu-Ming_Tsai 
>><[EMAIL PROTECTED]> wrote:
>>
>>
>>
>>>Hello, all
>>>The file Data.fs is growing up if we use zope.
>>>  
>>>
>>Of course it grows...it's your Data.fs containing all your data. And 
>>you have to pack it on  a regular basis (Control Panel -> database 
>>administration).
>>
>>
>>
>>>However, may it cause some
>>>hang problem?
>>>  
>>>
>>Why?
>>
>>
>>
>>>Or some file system problem may be raised because there are
>>>only files named Data.fs.* for storing object.
>>>  
>>>
>>There should be exactly *one* Data.fs file + Data.fs.index + maybe a 
>>Data.fs.pack
>>file from the last ZODB  packing operation.
>>
>>
>>
>>>It may cause some problem
>>>if the objects are more and more.
>>>  
>>>
>>Why?
>>
>>
>>
>>>Wow! It is amazing if we have a lot of
>>>objects storing here. Does anyone have comment or thinking?
>>>
>>>  
>>>
>>You have to make interesting why we should think about. There is 
>>nothing in your posting that sounds bad :-)
>>
>>-aj
>>
>>
>
>
>-
>Fu-Ming Tsai
>Unit: ASCC, Academic Sinica
>E-mail address: [EMAIL PROTECTED]
>
>___
>Zope maillist  -  Zope@zope.org
>http://mail.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists - 
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
>  
>

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Some problem about Data.fs

2005-04-13 Thread Fu-Ming_Tsai
What I meant is that if there are more and more objects, maybe it cause some
problem because there are a big Data.fs. Doesn't it cause any problem if
there are a big big Data.fs?


On Wed, 13 Apr 2005 17:27:39 +0200, Andreas Jung wrote
> --On Mittwoch, 13. April 2005 23:09 Uhr +0800 Fu-Ming_Tsai 
> <[EMAIL PROTECTED]> wrote:
> 
> > Hello, all
> > The file Data.fs is growing up if we use zope.
> 
> Of course it grows...it's your Data.fs containing all your data. And 
> you have to pack it on  a regular basis (Control Panel -> database 
> administration).
> 
> >However, may it cause some
> > hang problem?
> 
> Why?
> 
> >Or some file system problem may be raised because there are
> > only files named Data.fs.* for storing object.
> 
> There should be exactly *one* Data.fs file + Data.fs.index + maybe a 
> Data.fs.pack
> file from the last ZODB  packing operation.
> 
> >It may cause some problem
> > if the objects are more and more.
> 
> Why?
> 
> > Wow! It is amazing if we have a lot of
> > objects storing here. Does anyone have comment or thinking?
> >
> 
> You have to make interesting why we should think about. There is 
> nothing in your posting that sounds bad :-)
> 
> -aj


-
Fu-Ming Tsai
Unit: ASCC, Academic Sinica
E-mail address: [EMAIL PROTECTED]

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Some problem about Data.fs

2005-04-13 Thread Paul Winkler
On Wed, Apr 13, 2005 at 05:27:39PM +0200, Andreas Jung wrote:
> There should be exactly *one* Data.fs file + Data.fs.index + maybe a 
> Data.fs.pack
> file from the last ZODB  packing operation.

Also Data.fs.tmp.

-- 

Paul Winkler
http://www.slinkp.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Some problem about Data.fs

2005-04-13 Thread Andreas Jung

--On Mittwoch, 13. April 2005 23:09 Uhr +0800 Fu-Ming_Tsai 
<[EMAIL PROTECTED]> wrote:

Hello, all
The file Data.fs is growing up if we use zope.
Of course it grows...it's your Data.fs containing all your data. And you 
have
to pack it on  a regular basis (Control Panel -> database administration).

However, may it cause some
hang problem?
Why?
Or some file system problem may be raised because there are
only files named Data.fs.* for storing object.
There should be exactly *one* Data.fs file + Data.fs.index + maybe a 
Data.fs.pack
file from the last ZODB  packing operation.

It may cause some problem
if the objects are more and more.
Why?
Wow! It is amazing if we have a lot of
objects storing here. Does anyone have comment or thinking?
You have to make interesting why we should think about. There is nothing in 
your posting
that sounds bad :-)

-aj


pgpE54F8YVpcI.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )