slow mysql inserts

2011-01-18 Thread rygorr
I'm currently doing some preliminary performance testing of db inserts with various technologies. The db server itself is nothing special but what surprised me was the difference in INSERT speeds between Clojure and the other solutions I've tried. Clearly there is something I'm missing so perhaps

Re: slow mysql inserts

2011-01-19 Thread rygorr
This was it. The overhead was in creating the handle. When I moved the doseq inside the with-connection it solved the problem. Thanks On Jan 19, 2011, at 7:24 AM, Meikel Brandmeyer wrote: > Hi, > > On 18 Jan., 19:32, rygorr wrote: > >> (doseq [x (range 2000)] >>