Below script will generate the database size for past few days(per hour)