What's wrong with this SQL COUNT?
What's wrong with this SQL COUNT in an API. The SQL code uses COUNT(*) on a huge table for every request, causing slow queries and CPU spikes. In SQL services this creates latency incidents.
#whatswrongwiththissqlquery #sqlbug #sqlproductionbug #sqldebugging #sqldatabase #sqlcodereview #sqlperformance #sqlreliability #sqlanalytics #sqldataintegrity #sqlengineering #sqlcount #sqlslowquery #sqlapi #sqllatency