Originally posted by: kamper
For anyone who's fooled around with them, how is the language? I mean, I cringe at the thought because I've always found writing mysql sql to be comparatively painful and stored procs in general are painful when compared to more general programming languages. At least when silly developers try to do business logic in the procs...
I'm just saying that sql + stored proc extensions are built for manipulating a database, not general purpose computing and busines logic, so it's inevitably a bit ugly. I'm not saying you should never do it. It's kind of like the trade-off between programmer power and computer power. As computers get faster, the programmer becomes the weak link and we try to use tools that push the extra work off on the computer. But if you're in a situation where you can improve performance safely by doing it the hard way then it's got to be doneOriginally posted by: oboeguy
Originally posted by: kamper
For anyone who's fooled around with them, how is the language? I mean, I cringe at the thought because I've always found writing mysql sql to be comparatively painful and stored procs in general are painful when compared to more general programming languages. At least when silly developers try to do business logic in the procs...
At my current job I do a lot of data mining so it's pretty natural to put the logic into the SPs. I've really only started to play with it, but I expect to speed-up my applications a lot. Moving loops into SPs when doing zillions of iterations should be a huge performance boost.