Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!novia!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail From: "Lew" Subject: Re: jTDS, trashes heap wi Message-ID: X-Comment-To: comp.lang.java.databases Newsgroups: comp.lang.java.databases In-Reply-To: References: Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] Lines: 32 Date: Wed, 27 Apr 2011 15:21:50 GMT NNTP-Posting-Host: 96.60.20.240 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1303917710 96.60.20.240 (Wed, 27 Apr 2011 10:21:50 CDT) NNTP-Posting-Date: Wed, 27 Apr 2011 10:21:50 CDT Organization: TDS.net Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.databases:116 To: comp.lang.java.databases Jan Burse wrote: > Lew schrieb: >> Do you have a million calls into the database in a short time, thus >> motivating > > your optimization concerns? > > I have approx. 1'000 DB calls per > item. And I have ca. > 6'000 items. Interesting notation. Where does it come from? > The first version of the batch run > around 8 hours. Now I am down to > 1 1/2 hours. > > I am now using a custom memory cache > between the DB and the application. Clearly you were I/O bound before, and memory allocation and GC were not the issue. QED. -- Lew --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24