Re: Creating objects in the database

"Khayundi, Peter" <[email protected]>
Newsgroups gmane.comp.java.prevayler
Message-ID <9CFD87226CD8CB4AB60D9951BD74A2B201C7CB52@AL-TSC-CL01-EX.ufh-domain.local>
Hi William,

 

Thanks for the reply to my query. About the IO, I have ensured that
there is no other unnecessary process running on the machine during the
operation. And also, about the second problem, I increased the Java heap
size to 512MB which should be more than adequate for this operation. Any
other ideas that I may try?

 

Peter.

 

From: William Pietri [mailto:[email protected]] 
Sent: Friday, February 06, 2009 7:24 PM
To: Open discussion about the Prevayler project.
Subject: Re: [Prevayler-discussion] Creating objects in the database

 

Khayundi, Peter wrote: 

I am doing some timings with the Prevayler database. I inserted 20000
items into the database and timed this operation. The experiment was
repeated 10 times. The resulting times differ widely and have a high
standard deviation. Does anybody have an explanation as to why the same
experiment should have such widely different timings?

 


Hi, Peter. My first two guesses: other IO on the same disk and Java
garbage collection. You can reduce problems with the first by using a
separate disk, and with the latter by giving Java lots more RAM than
necessary. There are also assorted tunings you can do, but those depend
on OS and JDK version.


William

--
William Pietri - [email protected] - +1-415-643-1024
Agile consulting, coaching, and development: http://www.scissor.com/
We'd love feedback on our new blog: http://agilefocus.com/








The University of Fort Hare subscribes to an e-mail disclaimer. Please click on the following URL to read further:
http://www.ufh.ac.za/disclaimer/

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com

_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.