good for what ails you vs what the doctor ordered

good for what ails you

what the doctor ordered

noun
  • Exactly what is necessary or useful in a given situation; something very beneficial or desirable. 

How often have the words good for what ails you and what the doctor ordered occurred in a corpus of books? (source: Google Ngram Viewer )