Hi,<br>i have seen this on different versions off opencms. I think it's a problem!<br>Let's wait for a response off someone.<br><br>Thanks<br><br>Mark<br><br><div class="gmail_quote">2011/2/10 Ignacio Martelli <span dir="ltr"><<a href="mailto:imartelli@gmail.com">imartelli@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<br>
<br>
I found something strange while trying to reduce the size of a big<br>
(13GB+) OpenCMS 7.5.2 instance by deleting old content. I first tried<br>
to delete the content in the server, but the DB did not decrease it's<br>
size. In order to do the process correctly I copied the entire server<br>
into a dev VM, and tried to delete ALL the content. Here is what I<br>
did:<br>
<br>
- Delete all the contents of /sites/MySite<br>
- In "Administration -> File History -> History Settings": change<br>
settings to leave 1 stored version and not keep deleted resources.<br>
- In "Administration -> File History -> Clear History": Cleared all<br>
history including all versions of deleted files, left only 1 file<br>
versions of normal content.<br>
- In MySql: Optimized all tables to reclaim hard disk space.<br>
<br>
After doing all these steps, I checked the DB size, and found it still<br>
weights at over 10GB! Looking at table sizes, the table CMS_CONTENTS<br>
is taking 90% of that space.<br>
<br>
I checked the contents of that table and found content linked only to<br>
CMS_HISTORY_RESOURCES and CMS_PUBLISH_HISTORY but not linked to<br>
CMS_ONLINE_RESOURCES, CMS_HISTORY_RESOURCES, CMS_ONLINE_STRUCTURE or<br>
CMS_HISTORY_STRUCTURE.<br>
<br>
Checking the CMS_PUBLISH_HISTORY table I found that the path of said<br>
content was in a subfolder of /sites/MySite. I see no way to access<br>
that path from the workplace.<br>
<br>
<br>
If I understand correctly I have content that I cannot access from the<br>
workplace (because it has no resources or structure associated with<br>
it). Shouldn't that content have been deleted?????? Is this a bug, or<br>
is the content necessary?<br>
<br>
<br>
Regards,<br>
IM<br>
<br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
</blockquote></div><br>