-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: read/write contention on a forum-type posting table
PostPosted: Wed Nov 18, 2009 3:50 pm 
Newbie

Joined: Wed Apr 08, 2009 1:11 pm
Posts: 19
Hi,

I am building a database for posting forum topics that relate to pages of a base document. It is expected that there will be lots of new posts, and I'm trying to think of creative ways to reduce contention.

So I have a Post bean. And using MySQL/ISAM. I wonder if I can/should somehow split the bean, which has a pageIndex property across K tables, since all my queries are by page index of the base document, and I can ensure that the entity beans are put in the table appropriate for that PageIndex mod K.

The question is (1) will this improve the performance with heavy read/writes, and (2) is there a way to map one bean to multiple tables like this?

Andy


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.