Closed GoogleCodeExporter closed 8 years ago
JMesa uses the same amount of resources regardless of the amount of rows that
you have. It is the memory and time spent in creating the rows (beans) that are
slowing you down. What you can do is use the Limit to efficiently just return
one row at a time. However, when you just return one page of information you
have to handle the sorting and filtering yourself.
http://code.google.com/p/jmesa/wiki/LimitTutorialV3
I am surprised that 900 rows is slowing you down. Usually it takes a few
thousand before you will start noticing...but it totally depends on your
environment.
Original comment by jeff.johnston.mn@gmail.com
on 18 Oct 2010 at 9:22
You're right. I use JMesa with OpenCms, and access to get the records I list is
no database, but XML file structures. Thus, if I have 900 records 900 times I
have to access to XML files for individual information, go add each record to a
variable of type List, and at the end Ipass that variable to list it with JMesa.
Maybe 0.15 mil to get the information from XML is not very slow, but with 900
records is increased time and it shows.
Original comment by andyned...@gmail.com
on 19 Oct 2010 at 6:41
Original comment by jeff.johnston.mn@gmail.com
on 9 Mar 2011 at 7:34
Original issue reported on code.google.com by
andyned...@gmail.com
on 11 Oct 2010 at 4:11