-->
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.  [ 1 post ] 
Author Message
 Post subject: Dynamic Table Association
PostPosted: Fri Mar 18, 2011 6:08 pm 
Newbie

Joined: Fri Mar 18, 2011 5:50 pm
Posts: 1
Hi,

Our database is an analytics database and it is growing very rapidly. Currently we have around 5 tables which are increasing at a rate of 2 GB per day. The increase daily is for all clients combined. We are seeing a decrease of around .3 sec for every one week with the combined volume. We are planning to split these tables for each customer so that we can keep the storage and query time under control. Our current table is customer_log, customer_stat and we are thinking of splitting it into customer_log_12 , customer_stat_12 for customer with id 12 etc.., But our problem is how to associate the table dynamically during query time based on the customer id.

I have tried searching it in the forums and could not find anything.

Any help would be appreciated.

Thanks,
Aditya


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.