Stale Results

If your results have a triangle with an exclamation point inside of it, displayed next to them then this indicates that the results are old/stale and have not been updated recently. This is usually caused by:

a) BVE/DGE/DGEx's server times are not synchronized

b) A table in the MySQL database needs repairing or the database needs to be optimized.

c) DGEx is temporarily unable to connect to the upstream DGE



Please check the following:

* Please confirm that the correct timezone is chosen under ADMINISTRATION >> PREFERENCES.

* Check the tests "Work Units Processed" and "Writer Queue size" for the DGE monitoring the device with 'Stale Results'. The 'Writer Queue Size (AggregatedDataDbWriter0)' test is expected to be historically high compared to normal, which would point to a database repair/optimize being required.


* If you see any Time offsets in SUPERUSER >> HEALTH, please correct as per Traverse Component Health Page Shows Non-Zero Time Offsets


Check if either the BVE or DGE(x) that is monitoring these 'Stale Results' requires a repair: 

>cd C:\Program Files (x86)\Traverse\utils --info                              (Note: run the '.pl' version of db_optimize)

Scroll to the very top and if you see the below, the database requires a repair:

"Table 'XXXXX' is marked as crashed and last (automatic?) repair failed"

If the above output is not visible (due to too many lines outputted). Then you can pipe the output to a file

> --info >> output.txt


* If a repair is required, please follow How Do I Repair An Error With A Traverse Database. Bear in mind that this may take several hours to complete. It is advised to tail the database_repair.log in a separate command prompt so you can confirm it's running.

>cd C:\Program Files (x86)\Traverse\utils


tail -f database_repair.log            (<TraverseHome>\logs)

* If a repair was carried out, then an optimize will be required. Even if a repair was not required, running a db_optimize would be advisable, especially if "Writer Queue size" test on the DGE is high, as this is an indicator of a non-optimized database. It will complete immediately if it was not required. Tip: How Do I Optimize The DGE DatabaseThis can also possibly take several hours.

>utils\ --info

utils\ --run

You can tail the database_init.log in a separate command prompt, to confirm the optimize is running.

>tail -f database_init.log            (<TraverseHome>\logs)


Once the above has been complete,  it will take a while for the system to catch up on cached results. Select a couple of tests with stale results and take note of the timestamp of the most recent result. ((STATUS >> DEVICES >> Select the blue device name hyperlink)) Revisit the test 10 minutes later and confirm that the the timestamp is incrementing until it reaches 'local time' or within a polling interval of the current time.

Was this article helpful?
0 out of 1 found this helpful
Have more questions? Submit a request


Article is closed for comments.