[Zope] How many objects can ZODB hold?
Randall F. Kern
randy@spoke.net
Thu, 15 Feb 2001 12:44:52 -0800
Does anyone know how to build python 1.5.2 with the linux 2.4 kernel for
large file support? And if anything else would need to be done to
support a FileStorage of > 2GB?
Thanks,
-Randy
> -----Original Message-----
> From: Shane Hathaway [mailto:shane@digicool.com]
> Sent: Thursday, February 15, 2001 12:18 PM
> To: sbabu@tnc.org
> Cc: zope@zope.org
> Subject: Re: [Zope] How many objects can ZODB hold?
>=20
>=20
> sbabu@tnc.org wrote:
> > Probably a dumb question: I know ZODB stores everything
> > in an Object table. So, this table probably has a fixed length
> > primary key. To maintain this, let us say there should be
> > a counter which tracks the number of records in the table.
> >
> > The question is, is there any limit to this? Like Zope can hold
> > 1million objects?
>=20
> First, the theoretical limitations: Currently an OID for=20
> FileStorage is
> 64 bits. You might have a problem if you could create 1=20
> billion objects
> per second continuously over 544 years. But FileStorage is=20
> not the only
> way to store objects. Using existing alternate storage=20
> implementations,
> you can use Oracle or even create one file per object.
>=20
> Now the practical limitations: some operating systems, like=20
> Linux 2.2.x,
> are limited to 2 GB files. FileStorage has run into this. But the
> Linux kernel version 2.4.x has lifted this limitation. But=20
> it probably
> isn't wise to rely on FileStorage for many GB of data. You'd want to
> use OracleStorage or the developing BerkeleyStorage.
>=20
> Shane
>=20
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -=20
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>=20