https://medium.com/inspector/how-i-handled-the-scalability-of-the-sql-database-in-inspector-aa7499afc063