-->
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.  [ 2 posts ] 
Author Message
 Post subject: A dump question on Hibernate Shards
PostPosted: Wed May 23, 2007 6:26 pm 
Newbie

Joined: Wed May 23, 2007 5:53 pm
Posts: 1
Hi,

I am a newbie in db horizontal partitioning and I could see the potential of using this technology in the near future for my project. So allow me to ask a dump question. I don't really understand why we need a framework like Hibernate Shards, wouldn't most databases do these transparently these days? I did a quick search on this topic yesterday and found that mysql and postgresql support horizontal partitioning to a certain extent. It seems that mysql does this pretty well and my understanding is you don't have to create a shard-aware code for this as the database will do everything for you behind the scene. You can sort, group by, or even join regardless where the data reside (I know that Hibernate Shards doesn't support cross-shard relationships). But again I am new to this and would appreciate if someone can clarify if my assumptions above are correct or if I am missing something. Thanks in advance...


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 24, 2007 2:41 am 
Contributor
Contributor

Joined: Fri Feb 11, 2005 8:15 pm
Posts: 31
Thanks for posting, you've asked a good question. I can't speak for postgres, but I assume in the MySQL world you're referring to the horizontal partitioning features introduced in 5.1. From what I've read, this feature allows you to partition your data within a single db instance. That's great, and if your data fits in a single db and it's acceptable for all that data to live in a single physical location, you don't need Shards. However, if you simply have too much data or you're looking for geographic distribution of your data, Shards can help. The horizontal partitioning features available in 5.1 should help you get by with a single database for longer, but it still has its limits.

Hope that helps.

Max


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.