AW: db size problem (4GB monster)
"Dr. Frank Hoffmann" <[email protected]>
| Newsgroups | gmane.comp.cms.zms.devel |
|---|---|
| Message-ID | <7F8DE85C6AD2498BA8E5D348080CFE98@hal1> |
Hello,
Maybe this helps reducing zodb-size:
http://www.zopelabs.com/cookbook/1054240694
After running the big file again this DTML hay help to reduce data size by
removing some irrelevant attributes:
%<-----------------------------------------
<html>
<body>
<dtml-with "content">
<dtml-call f_standard_html_request>
<dtml-let l="[this()]">
<dtml-call "l.extend(getTreeNodes(REQUEST))">
<dtml-in l>
<dtml-let ob=sequence-item>
<dtml-in "operator_getattr(ob,'__dict__').keys()" sort
><dtml-let key=sequence-item
><dtml-comment><dtml-var key><br/></dtml-comment
><dtml-if "key in
['zcat_data_eng','zcat_data_ger','oRoot','oRootNode','oParent','oCurrNode','
bInRootTag','bInCData']">
<dtml-call "operator_delattr(ob,key)">
<dtml-var "ob.absolute_url()"> <dtml-var key><br/>
</dtml-if>
</dtml-let>
</dtml-in>
</dtml-let>
</dtml-in>
</dtml-let>
</dtml-with>
</body>
</html>
%<-----------------------------------------
Good Luck
fh , moderator