word-forming element indicating "branch of knowledge, science," now the usual form of -logy. Originally used c. 1800 in nonce formations (commonsensology, etc.), it gained legitimacy by influence of the proper formation in geology, mythology, etc., where the -o- is a stem vowel in the previous element.
The second element is prop[erly] -logy (-logue, etc.), the -o- belonging to the preceding element; but the accent makes the apparent element in E[nglish] to be -ology, which is hence often used as an independent word. [Century Dictionary]
-ist
word-forming element meaning "one who does or makes," also used to indicate adherence to a certain doctrine or custom, from French -iste and directly from Latin -ista (source also of Spanish, Portuguese, Italian -ista), from Greek agent-noun ending -istes, which is from -is-, ending of the stem of verbs in -izein, + agential suffix -tes.
Variant -ister (as in chorister, barrister) is from Old French -istre, on false analogy of ministre. Variant -ista is from Spanish, popularized in American English 1970s by names of Latin-American revolutionary movements.