Index stat table statDate column

Bug #1369075 reported by Niels van de Coevering
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xibo
Fix Released
Undecided
Dan Garner

Bug Description

When upgrading from version 1.4 to 1.6.3 I noticed the stat table had 62K records. I tried to cleanup the table using the maintenance script, but now cleanup was performed on this table. I than noticed the statDate column had no index. This would probably be a good idea to add for faster cleaning.
I already truncated the table, added the index and scheduled the maintenance script , so my problem is solved.

Related branches

Revision history for this message
Alex Harrington (alexharrington) wrote :

Okay 1.6 uses a different format for the bandwidth table so there will be far fewer records in there.

The table is truncated as part of the upgrade.

You are of course welcome to add your own index but be aware that it will likely break future upgrade routines so be sure to remove it before you next upgrade the system.

Changed in xibo:
status: New → Won't Fix
status: Won't Fix → Confirmed
Revision history for this message
Alex Harrington (alexharrington) wrote :

Sorry talking at cross purposes - but what I said about adding the index stays true. You will likely have issues at upgrade if you fail to remove the index first.

Dan Garner (dangarner)
Changed in xibo:
milestone: none → 1.7.0-alpha2
status: Confirmed → Triaged
assignee: nobody → Dan Garner (dangarner)
status: Triaged → Fix Committed
Dan Garner (dangarner)
Changed in xibo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.