Chaange database to MySQL
Add limit to statistic plot