<div>Hi, Artom</div><div><br></div><div><span style="line-height: 1.5;">I checked my cluster (20 compute nodes fully operated for 5 month, with 258 VMs and 112 users),</span></div><div>the datebase size of nova only 1.5MB. </div><div><br></div><div>So, is it necessary to do the cleanup?</div><div><br></div><div><div style="color:#909090;font-family:Arial Narrow;font-size:12px">------------------</div><div style="font-size:14px;font-family:Verdana;color:#000;">Luo Gangyi<div><div>luogangyi@chinamobile.com</div></div></div></div><div> </div><div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From: </b> "Artom Lifshitz";<alifshit@redhat.com>;</div><div><b>Date: </b> Wed, Apr 22, 2015 05:42 AM</div><div><b>To: </b> "openstack-dev"<openstack-dev@lists.openstack.org>; <wbr></div><div></div><div><b>Subject: </b> [openstack-dev] [Nova] Add config option for real deletes insteadof soft-deletes</div></div><div><br></div>Hello,<br><br>I'd like to gauge acceptance of introducing a feature that would give operators<br>a config option to perform real database deletes instead of soft deletes.<br><br>There's definitely a need for *something* that cleans up the database. There<br>have been a few attempts at a DB purge engine [1][2][3][4][5], and archiving to<br>shadow tables has been merged [6] (though that currently has some issues [7]).<br><br>DB archiving notwithstanding, the general response to operators when they                       <br>mention the database becoming too big seems to be "DIY cleanup."<br><br>I would like to propose a different approach: add a config option that turns<br>soft-deletes into real deletes, and start telling operators "if you turn this<br>on, it's DIY backups."<br><br>Would something like that be acceptable and feasible? I'm ready to put in the<br>work to implement this, however searching the mailing list indicates that it<br>would be somewhere between non trivial and impossible [8]. Before I start, I<br>would like some confidence that it's closer to the former than the latter :)<br><br>Cheers!<br><br>[1] https://blueprints.launchpad.net/nova/+spec/db-purge-engine<br>[2] https://blueprints.launchpad.net/nova/+spec/db-purge2<br>[3] https://blueprints.launchpad.net/nova/+spec/remove-db-archiving<br>[4] https://blueprints.launchpad.net/nova/+spec/database-purge<br>[5] https://blueprints.launchpad.net/nova/+spec/db-archiving<br>[6] https://review.openstack.org/#/c/18493/<br>[7] https://review.openstack.org/#/c/109201/<br>[8] http://lists.openstack.org/pipermail/openstack-operators/2014-November/005591.html<br><br>__________________________________________________________________________<br>OpenStack Development Mailing List (not for usage questions)<br>Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<br></div>