Bugs item #665013, was opened at 2003-01-09 13:24
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=665013&group_id=22866

Category: JBossCMP
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Markus Menner (morphace)
Assigned to: Nobody/Anonymous (nobody)
Summary: Read ahead

Initial Comment:
Hi,

apparently read-ahead is only working for 1-n
relationships :-(, not for n-1.

In my case I used JB3.2b3 but it is the same with 3.0.4.
My OS: WinXP, JDK 1.4.1_01
Yes, I have the CMP docs ... ;-)

Here my standardjbosscmp-jdbc.xml settings:

      <read-ahead>
        <strategy>on-find</strategy>
        <page-size>500</page-size>
        <eager-load-group>*</eager-load-group>
      </read-ahead>
      
      <list-cache-max>1000</list-cache-max>

I use commit-option B, instance per transaction
configuration for my CMP EJB's.

I looked at the code, and (I hope that I am right) it's
clear that it does not work, because the read-ahead
mechanism relies on the collection of primary keys (not
foreign keys).

I feel, that it could be (easily ;-)) done by
collecting the foreign keys too and due to the fact
that the current behavior has grave performance loss I
submit it as bug.

Is it okay ?

TX
Markus


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=665013&group_id=22866


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to