Dynamic query re-optimization | Synapse