-->
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: Hibernate Shards Vs DB Level Partitioning
PostPosted: Sat Jun 02, 2007 10:11 am 
Newbie

Joined: Tue Mar 07, 2006 5:51 am
Posts: 11
Location: India
Hello:

As almost all the people posted regarding Hibernate Shards, I also got very much excited to read about the Shards philosophy and technology.

How does Shards compares against (what advantage the developer will get) on using Shards against Horizontal partitioning feature in the DB itslef ?(since now MyQL 5.1 supports that). If I use horizontal partitioning on the DB, then my DB will take care of hiding the complexities about the partitioning and I can continue the same way I am using Hibernate now without anychange in the code but with added performance benefits from partitioning from DB side, right ? (I don't know much about DB level partitioning. Please correct me if i am wrong. I am looking into horizontal partitionong as a solution for degraded performance due to tables with large number of records).

thanks and regards,

--Kannan.


Top
 Profile  
 
 Post subject: Re: Hibernate Shards Vs DB Level Partitioning
PostPosted: Mon Jun 04, 2007 9:45 am 
Newbie

Joined: Tue Mar 07, 2006 5:51 am
Posts: 11
Location: India
Hello:

I thought this is a basic question. Seeing zero reponses, i am confused now. Am i missing something obvious ? Any pointers will be helpful.

thanks and regards,

- Kannan.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 05, 2007 12:30 am 
Contributor
Contributor

Joined: Fri Feb 11, 2005 8:15 pm
Posts: 31
Sorry for the delay Kannan, I was taking it easy this weekend. :-)

If all your data fits in a single database and it's acceptable to handle requests using a database that resides in a single location, you don't need Shards. MySql 5.1 supports horizontal partitioning within a single database server. I haven't tried it myself, but if it works as advertised it should allow a single database to continue to perform with larger datasets than before. However, there are limits to the amount of data that you can efficiently query in a relational database, and when you find yourself bumping up against that limit it may be a good time to look at Shards.

Hope that helps, let me know if you have more questions.

Thanks,
Max


Top
 Profile  
 
 Post subject: Hibernate Shards Vs DB Level Partitioning
PostPosted: Wed Jun 13, 2007 5:56 am 
Newbie

Joined: Tue Mar 07, 2006 5:51 am
Posts: 11
Location: India
Hello Max,

Thanks very much for the detailed reply. It has clarified my doubts.

thanks and regards,

-- Kannan.


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.