-->
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: Shards and InnoDB
PostPosted: Wed Nov 12, 2008 5:58 am 
Newbie

Joined: Tue Jul 22, 2008 8:19 am
Posts: 8
Could someone give an opinion on why this might be the case?

I have an application using a sharded session factory and MySQL as a persistence store

It appears if the table uses the InnoDB engine that it wont persist but if it uses the MylSAM engine it will.

I havent spent a lot of time trying to figure out why and I was wondering if anybody would know why this was the case or have experienced similar behavior?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 24, 2008 10:34 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
MyISAM doesn't support referential integrity, InnoDB does.
It is possible the foreign keys checks are triggering something? you could have some needed info in the other shard.

_________________
Sanne
http://in.relation.to/


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.