-ology is from the infinitive Logos which means 'to study'. It is understood that -ology is "the science or study of" a certain subject.
-onomy is from the Greek: Nomos, meaning law. Other sites say the suffix means "knowledge of"
The Concise Oxford defines '-logy' as denoting a subject of study or interest (much the same as above). It defines '-nomy' as denoting a specified area of knowledge or its laws (again, much like the above).
My opinion, which I have no good evidence for, is that '-nomy- denotes the observation of things as they are: Astronomy looks at the laws of the stars (the constellations and their movements). '-logy' is the practice of the subject: Astrology extrapolates "meaning" (if you believe that sort of thing) from the stars position. Gastroenterology or Radiology puts into practice what they know of a subject to give a result.
The suffix -ology refers to the study or science of a particular subject, such as psychology or Biology. The suffix -onomy typically refers to the rules, laws, or principles governing a particular subject, such as economy or astronomy.
Egg-onomy.
Economy
It is the Greek origin of the suffix -onomy, as in astronomy, economy, or taxonomy.
agronomy. astronomy. autonomy. deuteronomy. economy. gastronomy. taxonomy. troponomy.
The suffix "nomy" comes from nomos, a greek work meaning "to regulate or arrange". Astronomy is a word derived from the Greek words "ASTRO" (star) and "NOMOS".
Prefixes are added to the beginning of a word to change its meaning. For example, "un-" means not or opposite, as in "unhappy" or "undo." Suffixes are added to the end of a word to change its meaning or form. For example, "-less" means without, as in "careless" or "fearless."