Log the length of an SQS queue to a mysql database. Suitable for periodic use to analyze workflow