A couple of days in Cinque Terre is usually enough. Two or three days give you enough time to explore several of the towns and relax on the beach without getting bored.