+ Reply to Thread
Results 1 to 3 of 3

Thread: Advantages V Disadvantages - One database - Many Scripts

  1. #1
    Fearghal's Avatar
    Fearghal is offline x10 Lieutenant Fearghal is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    286

    Advantages V Disadvantages - One database - Many Scripts

    Hi guys, I was thinking about just using one root database for my site and just having unique prefixes for each script. I would like to know more about the advantages and disadvantages of this.

    So far, the only disadvantage I can see would be database security. Since there would only be one password protecting every piece of data on the site, opposed to separate databases with separate passwords.

    I'm not really sure if speed would be an issue, it could possibly be.

    Advantages I can see;
    • Easier to backup/restore
    • Save SQL database slots
    • Easier to link user accounts within seperate software. Eg. Forum & Ticket System

    So, am I missing any advantages or disadvantages?
    Last edited by Fearghal; 03-16-2010 at 02:01 PM.

  2. #2
    phazzedout's Avatar
    phazzedout is offline x10 Sophmore phazzedout is an unknown quantity at this point
    Join Date
    Dec 2009
    Location
    CA, United States
    Posts
    230

    Re: Advantages V Disadvantages - One database - Many Scripts

    I use many but that is because I got used to it.

    Why did I get used to it you ask? Well I thought you could only use one at a time, if that makes sense. Now I just got used to it. I am still a noob so I am learning much about MySQL but security would be a flaw but unless your website is on the top 10,000 website then I don't think people will spend their time trying to reek havoc on your website.
    "Words convey the mental treasures of one period to the generations that follow; and laden with this, their precious freight, they sail safely across gulfs of time in which empires have suffered shipwreck and the languages of common life have sunk into oblivion." - Anonymous

  3. #3
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,410

    Re: Advantages V Disadvantages - One database - Many Scripts

    I use a combination of both. For all my custom coded software, I use a single database, with multiple tables. This is because I generally need to access quite often the database and manually edit stuff, so I don't want it to clog up. For all the third-party software I use on my websites, there is another database, using different prefixes for each. I don't mind clogging up the view in phpmyadmin since I seldom open that database.
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

+ Reply to Thread

Similar Threads

  1. HOWTO: Auto-backup database | transfer database (with pics)
    By galaxyAbstractor in forum Tutorials
    Replies: 3
    Last Post: 02-21-2010, 04:35 PM
  2. Advantages of using hosting service
    By ChatIndia in forum Off Topic
    Replies: 6
    Last Post: 02-16-2010, 08:47 AM
  3. Replies: 1
    Last Post: 11-23-2008, 05:36 PM
  4. Replies: 0
    Last Post: 08-19-2008, 08:56 AM
  5. Replies: 6
    Last Post: 08-12-2007, 12:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers