"norbert" wrote : It's absolutely unefficient to store a whole table in a 
single node - Transactional locking, eviction and Cacheloading work on 
Node-level, not key/value-pair level. As a result every 'put(Fqn,key,value)' 
would lock your entire data if the Fqn being used is a constant.
  | 
  | You are better of if you map the primary-keys of your table to different 
Fqn's (respectivly nodes in the tree) and the values from the rows of your 
table to the attributes stored in the node.
  | 
  | This way access to a node will load a single row from the db.
  | 

The database is at least 500k entries. At least 70% is live. Imagine what that 
will do to the node hiearchy. Also, in my view, it seems inefficient to me to 
store just one value in each hashmap. 
I don't find one node per row to  be an attractive solution. 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856071#3856071

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3856071


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to