What is the difference between matric rewrite and upgrade? What is the difference between matric rewrite and upgrade? What does…