SAP code base
Hasso Plattner, founder of SAP, is also a teacher in an open online course about in-memory databases. In one of the lessons he mentions experiments done by SAP, that by moving some logic to database stored procedures (math logic as he calls it) it was possible to reduce as much as 80% of the code size in the application server. This is of course one more chapter in the SAP HANA is great story. But I cannot help but comment this from the other point of view. SAP was able to become world leader in enterprise software with up to 80% bloated code base. One more case where "good enough" was the best decision.