Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Ratsuky1016yI have a solution for your mysql problems :
see if the application youre using/building/supporting runs on postgresql
if it does that then just apt/yum remove mysql let the application squirm in pain while you rebuild it into using postgresql
also i've got some nice little setup scripts for postgresql for bash that i could give you -
xonya50806ySolution is quite simple. I added 2 parameters to the connection URL and it is working fine:
useCursorFetch=true&defaultFetchSize=1000
However I didn't expect that put all in memory is the default behavior. -
xonya50806y@jespersh I can't modify the query or the code since it is performed by a third-party library.
-
xonya50806y@brano88 Hey, we are not on stackoverflow.com! ;) It's just a rant. That's library is a very special case and it needs to work in that way. I don't want to explain here the details.
Related Rants
-
cdrice105"You gave us bad code! We ran it and now production is DOWN! Join this bridgeline now and help us fix this!" ...
-
MoboTheHobo36My Friend: Dude our Linux Server is not working anymore! Me: What? What did you do? My friend: Nothing I swe...
-
tommy15Right now someone at Google is coding something useless for us to laugh at on April Fools.
Many thanks MySQL. Really a good way to implement a driver. Go fuck yourself.
rant
fml
heap
mysql
outofmemory
jvm
big resultset