Good morning,
We receive several dump files coming from our customer and we sometime need to load these dumps on a different platform that the one where the dump was taken. In order to guarantee the successfull loading it's recommended prior to take the dump to set the database in 'single use mode' then execute sp_flushstats.
It happens the customer didn't follow this recommendation - we usually find it while trying to load the dump and facing an error - meaning we have to find an "iso-architecture"dataserver for the load / execute sp_flushstats / dump the database then load it on our target server...all these operations are 'time consuming'
In order to prevent this, is there a way to know if sp_flushstats was executed before taking the dump (except asking the customer) ?
Thank you
Simon