Multiple Databases or Single Database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JoyceBabu
    New Member
    • Nov 2008
    • 2

    Multiple Databases or Single Database

    Can anyone plz tell me the advantages and disadvantages of using multiple databases / single database for all tables.

    I have a site with more than a 100 tables. Current all the tables are in a single database, so that I can access it with a single Database Wrapper Object (PDO). Should I split it into multiple databases? Will it affect the speed?
  • code green
    Recognized Expert Top Contributor
    • Mar 2007
    • 1726

    #2
    Sounds to me that you have a collection of 100 flat files rather than a database.
    I doubt you would be asking the question if it was a true database design.

    Comment

    • JoyceBabu
      New Member
      • Nov 2008
      • 2

      #3
      Originally posted by code green
      Sounds to me that you have a collection of 100 flat files rather than a database.
      I doubt you would be asking the question if it was a true database design.
      I am not sure why you said that. My experience with database is limited.

      Comment

      • code green
        Recognized Expert Top Contributor
        • Mar 2007
        • 1726

        #4
        Well a hundred tables of what?
        If they are all an integral part of the database, then splitting them is not an option.
        If however they are storing similar information,
        and I suspect they are growing in number,
        then you simply have a collection of tables

        Comment

        • Atli
          Recognized Expert Expert
          • Nov 2006
          • 5062

          #5
          How you split up your tables is more of a design issue than anything else.

          For most projects, putting all the tables into a single database is fine. It's not unless you are working on some massive project that might need some larger scale organization that you should start considering splitting it up.

          Comment

          Working...