Green’s Dictionary of Slang

megilla n.

also megillah, megilleh, migila
[Yid. gantse Megillah, a whole (tedious) story, ult. Heb. megillah, roll, scroll. In standard use the term refers to five Old Testament books – the Song of Solomon, Ruth, Lamentations, Ecclesiastes and Esther – that are trad. associated with certain festivals, esp. the Book of Esther, read at Purim]

a long, tedious or complicated story, a complicated state of affairs, a long explanation; esp. in phr. the whole megillah, everything, the lot.

D.O. Selznick Memo 10 July in Behlmer Memo from D. O. Selznick (1972) 334: Sydney Guilaroff [...] was in wrong with the union because of an elaborate megillah.
B. Wolfe Late Risers 134: Frana slipped her coat off and began to remove her sweaters. ‘Oh, come on, Frana. Not the whole megilleh.’.
[US]Mad mag. Jan.–Feb. 48: Big eyes should be made of more solid megillah.
[US] in T.I. Rubin Sweet Daddy 126: Everything we make such a big migila.
[US]T. Thackrey Thief 118: And that was it. The whole megillah.
[US]New Yorker 16 Aug. 26: She uses expressions like ‘the whole megillah’ (meaning the whole long story) and ‘humongous’ (meaning huger than huge and more tremendous than tremendous).
E. Litvinoff Falls the Shadow 59: I could give you the whole megilla – I’ve got pretty good recall – but it would take too long.
L. Sanders McNally’s Luck 279: Listen, let’s go through the whole megillah one more time from the top.
J. Barth Coming Soon!!! 321: Anyhow, the whole megillah will no doubt come out in the official inquiry.
[US]J. Ellroy Widespread Panic 280: ‘I see Bill Parker behind the whole magillah’.

In compounds

big magilla (n.)

(US) an authority, an impotant individual.

[US]G. Pelecanos Down by the River 106: ‘He’s a little guy who always needs to be the big magilla’.