Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > General > Database Concepts & Design > Breaking down a large db into smaller

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-12-08, 10:33
Frunkie Frunkie is offline
Gives Bad Advice
 
Join Date: Mar 2007
Location: 010101010110100
Posts: 706
Breaking down a large db into smaller

I am curious if it would be recommended to break down a larger database into smaller dbs. I have an application that uses a db of about 50 tables and have since gone back and modularized my application code.

Could I break out the tables that match my chunks of application code and modularize the db as well?

Just to clarify, I have about 7 tables dealing with customers and about 8 tables dealing with inventory. I wanted to create a customer db and an inventory db and then create a FK in the dependant table. Would this be ok?

Thanks.. Frank

Please hurry with an anser cuz I need it for skool.

__________________
I and many others around the world are of the strong belief that the universe was created by the Flying Spaghetti Monster. It was He who created all that we see and all that we feel. We feel strongly that the overwhelming scientific evidence pointing towards evolutionary processes is nothing but a coincidence, put in place by Him.
Reply With Quote
  #2 (permalink)  
Old 06-12-08, 11:38
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 9,570
Breaking a database into smaller pieces is NEVER a good idea from the data modeling/management perspective. There might be practical reasons that force you to split a database (such as a database engine that only supports X bytes in one database container) or even physical reasons (no disk large enough, and no disk spanning in your database engine), but these are accomodations to failures, not good ideas.

Very few database engines will permit creation of an FK that references data outside of the database. This is almost always a bad idea for many reasons.

Short answer: Don't do it!

-PatP
Reply With Quote
  #3 (permalink)  
Old 06-12-08, 18:59
Frunkie Frunkie is offline
Gives Bad Advice
 
Join Date: Mar 2007
Location: 010101010110100
Posts: 706
Ok Pat, I will keep all of it together. I have to say that wasn’t the answer I was expecting. Thanks!

Frank
__________________
I and many others around the world are of the strong belief that the universe was created by the Flying Spaghetti Monster. It was He who created all that we see and all that we feel. We feel strongly that the overwhelming scientific evidence pointing towards evolutionary processes is nothing but a coincidence, put in place by Him.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On