How to use filegroups for DB split?

Posted by Robin Jain on Server Fault See other posts from Server Fault or by Robin Jain
Published on 2012-12-03T04:45:34Z Indexed on 2012/12/03 5:11 UTC
Read the original article Hit count: 138

Filed under:
|

In my project I have one DB used for everything. I want it to break into two databases. Static tables having look up values are to be stored in one DB and another DB would be having tables with dynamic data. My problem is that how would I use foreign key constraint in between those two DBs. Can someone help me out and suggest a way to proceed, better if I'm provided an example for the same.

I thought of using synonyms for tables and then constraints on synonyms. but later I came to know that synonyms couldn't be used for constraints.

I need to maintain relationships among the tables from both DB as the issue is with update, with a new release I just want to update look up tables and for the same I want to split my DB.

I want to know how FileGroups could be used for this.

© Server Fault or respective owner

Related posts about sql-server-2008

Related posts about filegroups