Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training

hibernate shard

In this section, you will learn about hibernate shard database architecture.


How to write hello world example program in Hibernate? How to create one to one relationship in Hibernate 4 with Annotation? How to calculate minimum in Hibernate using the min() Function Hibernate 4.3.4 Released: Hibernate 4.3.4.Final Maven dependency Hibernate 4.3 Hello World: Example How to create SessionFactory in Hibernate 4.3.1? Hibernate 4 Hello World: Example of Hello World program Hibernate 4 create Session Factory: Example of creating Session Factory in Hibernate 4 Hibernate 4.3 and JPA 2.1 Example What is Hibernate in Java? Hibernate Overview and Architecture What is JPA 2.1? Hibernate 4.3.0.Final Maven dependency Hibernate 4.3 ORM Features Hibernate 4.3 Tutorial Hibernate Criteria average example Hibernate Criteria load all objects from table Hibernate Criteria Hibernate beginner tutorial Hibernate Session.delete() Example Hibernate save or update method example Hibernate Load Example Hibernate save Example - Rose India Hibernate 4 tutorials Hibernate Example Step by Step in Eclipse Hibernate Configuration files Setup Hibernate Environment Hibernate Architecture Hibernate Overview Hibernate 4.2 Tutorial Hibernate 4 Annotations Tutorial Hibernate 4 AnnotationSessionFactoryBean hibernate versions hibernate jndi hibernate tomcat hibernate metamodel generator hibernate entity Seam Hibernate C3P0 Hibernate hibernate shard hibernate means temporal hibernate jsf hibernate spring j2ee hibernate spring hibernate encrypted password alias_to_entity_map hibernate temporal jsf spring hibernate hibernate by example hibernate repository hibernate sample code

hibernate shard

In this section, you will learn about hibernate shard  database architecture.

What is shard ?

As the name says shard is the fragment/segment/partition of a database table. A shard is a database architecture which partitioned the database horizontally. Each individual partition is known as shard or database shard. In shards, rather partitioning columns of the database table(normalization), rows of the database table are putting together in separate table. Each partition knows as shard and it can be located on a separate database server or physical location.


A group of Google engineers started Hibernate shards and open sourced this project to get the help from the open source community so as to complete it as soon as possible.

Need of Hibernate shard

Sometimes relation data for a single database table/database is too much  or in a distributed database architecture, network latency is too high (where distance is too far) or sometimes potential client wants their data in its own database. In that case shard is the solution.

Hibernate Shards is designed in such a manner to reduce this complication by providing horizontal partitioning on top of Hibernate Core. It provide unified view of multiple databases.

Key features of Hibernate shard

Some key features of Hibernate shard is given below :

  • Fully supported Hibernate programming model
    Hibernate shard allows you to use Hibernate API and its features without any hassle. If you are familiar with Hibernate, you already know to use Hibernate Shards.

  • Elastic sharding scheme
    Distribution is flexible in Hibernate shard. You can use default sharding strategies or you can distribute data according to your own logic.

  • virtual shards support      
    Later on, if you need to redistributing your data, is a very complex challenge. Hibernate Sharding provides virtual shards which designed to simplify the process of resharding your data.

  • Hibernate Shards has LGPL (Lesser GNU Public License) due to which it is free / open source.


Share on Google+Share on Google+

hibernate shard

Posted on: May 19, 2012 If you enjoyed this post then why not add us on Google+? Add us to your Circles



Discuss: hibernate shard  

Post your Comment

Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image