You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After some time, all of the Result objects for a given test may be deleted. Leaving only the final results, cutting out the massive amount of data due to the 40+ machines connected. Additionally, the EventLog may also be cleared.
I have been doing this by hand every few months to keep the database small, but each time I forget how to do it.
The text was updated successfully, but these errors were encountered:
from OpenBench.models import *
x = Result.objects.all().delete()
y = Machine.objects.all().delete()
z = LogEvent.objects.all().delete()
[ Nothing else needed for MySQL ]
After some time, all of the Result objects for a given test may be deleted. Leaving only the final results, cutting out the massive amount of data due to the 40+ machines connected. Additionally, the EventLog may also be cleared.
I have been doing this by hand every few months to keep the database small, but each time I forget how to do it.
The text was updated successfully, but these errors were encountered: