Powerchart no trend data source available

We were having an issue with the db not keeping up, I had to add:

rewriteBatchedStatements=true;

To the Extra Connection Properties in the connection to the db in the ignition gateway.