The surgical terminology suffix -ectomy was taken from Greek εκ-τομια = "act of cutting out".
It means surgical removal of something, usually from inside the body.
Sometimes this suffix is used humorously in non-surgical contexts, for example "popculturectomy" for a type of editing process on a text.