<div dir="ltr">In eight, the only state that is important to keep is the changes. <div>It also keeps the pending buildrequest queuem which is not currently building.</div><div>Probably most of the tables can be safely cleared as long as you stop an idle master<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><br></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Pierre</div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le sam. 27 févr. 2021 à 06:16, Ryan Schmidt <<a href="mailto:buildbot@ryandesign.com">buildbot@ryandesign.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Are there any SQL statements that I can run manually from time to time to remove obsolete data? Or is the information about which data is obsolete not stored in the database?<br>
<br>
<br>
On Feb 26, 2021, at 04:10, Pierre Tardy wrote:<br>
<br>
> Indeed, this is a problem of buildbot eight, that we tackle in buildbot 1.0+.<br>
> Those new version have the concept of Janitor which will clean some of the data in the DB.<br>
> Regards<br>
> Pierre<br>
> <br>
> <br>
> Le ven. 26 févr. 2021 à 09:24, Ryan Schmidt a écrit :<br>
>> As I understand it, in Buildbot eight the state.sqlite file only stores information about builds that are scheduled. Information about builds that have already been completed is not stored there. Why then does the size of the state.sqlite file seem only to increase, never to decrease? Isn't it bad for the wear and tear of my disk to be constantly rewriting a several-hundred-megabyte-and-growing file containing mostly obsolete information?<br>
<br>
</blockquote></div>