Summary data saved into the database and retrieved from database