I need to vent

From: Matt Adams <MAdams_at_TroverSolutions.com>
Date: Tue, 1 Mar 2016 15:56:57 +0000
Message-ID: <64a21060a19340f6bec90fc06d6f9256_at_wpvl1dag02.hcrec.com>



1.8 million characters!!!!! How in bloody hell does ANYTHING write a single sql statement that 1.8 million characters long.

Just for fun, I pasted it into microsoft word....ITS OVER 500 PAGES. It's a freaking novel!!

It's a mass of nested selects (I quit counting at six levels deep) and massive numbers of unions. It optimizer must have lost its mind trying to figure this one out.

I've never seen anything quite like it. This may be the most obscene thing I've ever seen in 23 years as an oracle dba.

I can't imagine someone actually writing this monstrosity. It must have been generated by some application at run time.

And I've just been asked to troubleshoot why this statement takes so long...hmm....can't imagine a single reason.

I just needed to vent a little to somebody who might understand. What's the most egregious statement you've come across?

We now return you to your regularly scheduled helpful oracle related mail list.

Matt
**** This communication may contain privileged and/or confidential information. If you are not the intended recipient, you are hereby notified that disclosing, copying, or distributing of the contents is strictly prohibited. If you have received this message in error, please contact the sender immediately and destroy any copies of this document. ****

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Mar 01 2016 - 16:56:57 CET

Original text of this message