-
1. Re: Adding <read-only>true</read-only> on method increased #
aparaapara Mar 14, 2005 5:45 AM (in response to aparaapara)Arrrg, the title got choped down. It should have read:
Adding <read-only>true</read-only> on method increased # of SELECT calls by a lot!
Thanks.
-AP_ -
2. Re: Adding <read-only>true</read-only> on method increased #
aloubyansky Mar 14, 2005 6:15 AM (in response to aparaapara)You should upgarde JBoss and try this feature http://www.jboss.org/wiki/Wiki.jsp?page=CMPCleanReadAheadOnLoad
-
3. Re: Adding <read-only>true</read-only> on method increased #
aparaapara Mar 14, 2005 11:31 AM (in response to aparaapara)Alex, will CMPCleanReadAheadOnLoad help (in avoiding many SQL SELECT calls) in conjunction with <read-only>true</read-only> for the purposes of avoiding locks on read-only objects?
Thanks so much for replying quicly to my last message.
-AP_ -
4. Re: Adding <read-only>true</read-only> on method increased #
aloubyansky Mar 15, 2005 9:29 AM (in response to aparaapara)This feature was introduced specifically to solve your problem.
-
5. Re: Adding <read-only>true</read-only> on method increased #
fbiaggi Mar 15, 2005 1:24 PM (in response to aparaapara)Hi,
this is not very clear,
if i leave to false a test show 1475 statements,
to true 1590 statements.
Wich is correct ?
Thanks. -
6. Re: Adding <read-only>true</read-only> on method increased #
aloubyansky Mar 16, 2005 8:26 AM (in response to aparaapara)If you leave to false what? read-only or clean-read-ahead-on-load?
The clean-read-ahead-on-load should be false in your case since you don't want to flush read-ahead cache after the read-only invocation but keep data for subsequent invocations in the same tx. -
7. Re: Adding <read-only>true</read-only> on method increased #
fbiaggi Mar 16, 2005 12:59 PM (in response to aparaapara)Sorry,
clean-read-ahead-on-load
Thanks for the reply. -
8. Re: Adding <read-only>true</read-only> on method increased #
aparaapara Mar 18, 2005 3:23 AM (in response to aparaapara)Alexey, I downloaded JBOSS 3.2.7 and it works great in this regard. Thanks for your initial suggestion.
-AP_