-->
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.  [ 4 posts ] 
Author Message
 Post subject: Splitting database - How to do it with least amount of pain?
PostPosted: Tue Sep 02, 2008 4:52 pm 
Beginner
Beginner

Joined: Mon Mar 17, 2008 2:50 pm
Posts: 24
Our database is growing too big and performance is dropping.
Therefore, decision was made to vertical and horizontal database split.
Database schema is being broken into 8 schemes which will live within their own servers. To manage relationships between schemes we have decided to use web services.
My questions are:
    How to modify our HBM files with the least amount of pain, ideally without any change to the business logic layer?
    What can I do about Session/SessionFactory to manage lazy load via Web Service?


Any advice would be very appreciated.
Thanks in advance,
Gary


Top
 Profile  
 
 Post subject: why
PostPosted: Tue Sep 02, 2008 7:22 pm 
Newbie

Joined: Fri Aug 29, 2008 9:07 am
Posts: 16
Location: edinburgh/zielona gora
why did you choose such sollution?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 02, 2008 11:27 pm 
Regular
Regular

Joined: Wed Apr 25, 2007 11:44 pm
Posts: 59
more over which database are you using

and what is the root cause of performance


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 03, 2008 12:41 pm 
Beginner
Beginner

Joined: Mon Mar 17, 2008 2:50 pm
Posts: 24
Quote:
more over which database are you using

and what is the root cause of performance

We are using MySQL 5. It is clustered and replicated (master + 2 slaves).
Performance problem caused by the size. Several mostly accessed tables have 100,000,000 - 500,000,000 rows.

Quote:
why did you choose such solution?

We need to distribute data. Right now everything is in one location. We are trying to spread it among several data centers across the world to move data closer to the customers and reduce network traffic.
If you can offer better solution, I am all ears.


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

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.