More RAM or CPU power for the Database server?

Discussion in 'Web Hosting' started by antondb, Sep 2, 2008.

  1. #1
    Given the choice which is more beneficial. Some of the things I've read say Database servers use up more RAM and others say they use up more CPU power. I'm just not sure.

    Also, what HDD should be used for the database server? I have a choice for SATA or SAS. Some benchmarks are showing SATA as faster I believe, but that SAS is more reliable? Can anyone comment intelligently regarding that as well?

    My DB is on mysql and it is about 400.4 MiB and I expect it to continue to grow.
     
    antondb, Sep 2, 2008 IP
  2. magicworld11

    magicworld11 Well-Known Member

    Messages:
    1,310
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    105
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    Hey why r u posting such things here. Thisis pure buy and sell forum and you cant post anything other then a OFFER or AD.
     
    magicworld11, Sep 2, 2008 IP
  3. Speedy059

    Speedy059 Banned

    Messages:
    728
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    You should use SCSI harddrives for a database server. People get to caught up on needing the most ram and cpu power when their real bottleneck will be their slow 7200RPM hard drive. Database servers should have SCSI hard drives for fast seek times.
     
    Speedy059, Sep 2, 2008 IP
  4. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    I agree with the above, first get your hands on a 10k or 15k rpm disk to minimise latency and seek times. Also remember that MySQL 32-bit can only address 4GB of memory, so anything greater is a waste on the 32-bit platform. Lastly, it's good to have 1GB of Ram per core, just a small rule of thumb when it comes to SMP.

    Hope that helps,

    Jay
     
    jayshah, Sep 3, 2008 IP