SQL performance improvements: analysing and fixing the slow queries | Dark Hacker News