postgresql query optimization: the hidden performance secrets every developer should know | pilput