-->
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.  [ 3 posts ] 
Author Message
 Post subject: Using Shards just to query existing DBs
PostPosted: Tue Dec 09, 2008 7:28 pm 
Newbie

Joined: Fri Dec 05, 2008 3:21 pm
Posts: 6
We have an environment with several databases spread across multiple servers. Each database has the same DB schema.

Can I use Shards only to query those existing databases (i.e. never add data)? From reading the Shards docs, it seems to me that I'll have trouble because each DB will use the same keys/IDs to represent different data (e.g. customer ID 1 in the Customer table on System1 may reference a completely different customer on System2).

Thanks in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 09, 2008 7:34 pm 
Newbie

Joined: Fri Dec 05, 2008 3:21 pm
Posts: 6
Alternately, what happens if the same customer is in multiple DB's, but with a different key? I'm guessing that Shards won't be able to properly match the records to the same customer.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 17, 2008 3:35 pm 
Newbie

Joined: Fri Dec 05, 2008 3:21 pm
Posts: 6
Hmm, no response?


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