[ http://jira.jboss.com/jira/browse/JBAS-332?page=history ]
Scott M Stark reassigned JBAS-332: ---------------------------------- Assign To: Alexey Loubyansky (was: Scott M Stark) > Read ahead > ---------- > > Key: JBAS-332 > URL: http://jira.jboss.com/jira/browse/JBAS-332 > Project: JBoss Application Server > Type: Bug > Components: CMP service > Versions: JBossAS-3.2.6 Final > Reporter: SourceForge User > Assignee: Alexey Loubyansky > Priority: Critical > > > SourceForge Submitter: morphace . > 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 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development