SQL settings causing GP performance issues