Slow down sql opening