Bill Middleton [http://community.jboss.org/people/wjm] created the discussion

"Index on PARENT column vastly increases performance"

To view the discussion, visit: http://community.jboss.org/message/574738#574738

--------------------------------------------------------------
Hello,
  We've fought for a long time to understand why we were getting 
TimeoutExceptions from JBC, even when the load was apparantly light.  With some 
help from a DBA we were able to determine that the problem was with 
node.getChildrenNames(), since that call selects from FQN via WHERE clause in 
Parent.  As our tree got larger the cost of a full tablescan on PARENT became 
completely unbearable.

The simple solution was to setup an index on PARENT like so in the oracle db

CREATE INDEX JBC_PARENT_INDEX ON JBC(PARENT);

Doing this VASTLY improved our performance overall, and I'm wondering now if 
there is any reason not to request this as a feature/bugfix for the general 
population?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/574738#574738]

Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to