Hi, I'm using zope2.0.1 on linux; i've built some little sites based on squishdot with about 200 postings; today I wanted to backup the var/Data.fs and I noticed that the file size it's over 100Mb; all I want to know is if this size it's normal or maybe there's something wrong. thanks .--------------------------------------------------------------. | .--. | | |o_o | | | |:_/ | Tomaso Scarsi heimat@www.maldura.unipd.it | | // \ \ C.I.S. Maldura | | (| | ) Facolta' di Lettere | | /'\_ _/`\ Universita' di Padova | | \___)=(___/ | `--------------------------------------------------------------'
I'm using zope2.0.1 on linux; i've built some little sites based on squishdot with about 200 postings;
today I wanted to backup the var/Data.fs and I noticed that the file size it's over 100Mb;
Try compressing you Data.fs. I have about 1000 Squishdot entries and the size of my Data.fs is under 4MB. It does grow very fast though so I usually compress it about 1 time per week. control panel -> Database Management One other point, I had to make sure Data.fs was owned by "nobody" rather than root before this would work. I use RH61 and Zope 2.1.1 John
Tomaso Scarsi wrote:
Hi, I'm using zope2.0.1 on linux; i've built some little sites based on squishdot with about 200 postings;
today I wanted to backup the var/Data.fs and I noticed that the file size it's over 100Mb;
all I want to know is if this size it's normal or maybe there's something wrong.
Squishdot has a problem that causes lots of empty transactions to be written. Zope 2.1.1 has logic to avoid writing empty transactions in file storages (Data.fs). We plan to release Zope 2.1.2 today. I sugest you upgrade to that. In the mean time, I suggest that you pack your database, as someone else suggested. Jim -- Jim Fulton mailto:jim@digicool.com Python Powered! Technical Director (888) 344-4332 http://www.python.org Digital Creations http://www.digicool.com http://www.zope.org Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Tomaso Scarsi wrote:
Hi, I'm using zope2.0.1 on linux; i've built some little sites based on squishdot with about 200 postings;
today I wanted to backup the var/Data.fs and I noticed that the file size it's over 100Mb;
all I want to know is if this size it's normal or maybe there's something wrong.
thanks
.--------------------------------------------------------------. | .--. | | |o_o | | | |:_/ | Tomaso Scarsi heimat@www.maldura.unipd.it | | // \ \ C.I.S. Maldura | | (| | ) Facolta' di Lettere | | /'\_ _/`\ Universita' di Padova | | \___)=(___/ | `--------------------------------------------------------------'
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
You probably have lots of revisions to the objects in your ZODB. This rapidly inflates the size of the file. Try going to the control panel and selecting database management. If you are comfortable with your site as it is currently, just delete all transactions older than 0 days. This will remove all previous versions of the objects. If you are more paranoid, only delete objects older than a couple of days old. This will leave you with some ability to undo your changes. If you delete all the old transactions, your ZODB will be scarcely bigger than the byte count of the various objects in your zope site. --sam
participants (4)
-
Jim Fulton -
John Glossner -
Sam Gendler -
Tomaso Scarsi