in the main vs primarily

in the main

prep
  • Principally; on the whole; for the most part. 

primarily

adv
  • Of a primary or central nature, first and foremost 

How often have the words in the main and primarily occurred in a corpus of books? (source: Google Ngram Viewer )