A great question, and as JA mentioned earlier " Low noise, high signal to noise ratio, low optical aberrations, low scattering, long exposure, large aperture, dark sky, good tracking (e.g. AO) all help to minimise noise and maximise signal.
The amateur record seems to be around Mag 27 (CCD with 17" scope)...something to aim for perhaps?