Site is Slow. Database is huge. Help!

Discussion in 'Programming' started by buddhalabs, Feb 23, 2009.

  1. #1
    I have a directory and I bought a paid MySql database with 1.2 million entries. My current programmer uploaded this on my server, but the site has become snail slow. He is trying to figure out how to get the site to speed up but is unable to determine a solution. Does anyone have a solution for this? If you are good with databases and know the solution for this let me know. I can pay you for this since my current programmer couldn't figure it out.

    Thanks!
     
    buddhalabs, Feb 23, 2009 IP
  2. ankit_frenz

    ankit_frenz Active Member

    Messages:
    1,111
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    63
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    well i can help..but i need to take a look atthe code for that..
    thx
     
    ankit_frenz, Feb 23, 2009 IP
  3. buddhalabs

    buddhalabs Active Member

    Messages:
    352
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    As Seller:
    100% - 1
    As Buyer:
    100% - 0
    #3
    Please provide details about your experience with Databases and any jobs you currently worked on. Before I start working with anybody, I want to make sure they are appropriately qualified. Thanks!
     
    buddhalabs, Feb 23, 2009 IP
  4. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    Ash, the solution would be switching to a different content management script since the current one won't be able to handle the database load unless recoded. You can't "change a few things" to get it to work, and when it comes to upgrades you're in trouble again, so it's best if you just focus on a different solution. What script is your site currently based on?
     
    Clive, Feb 23, 2009 IP
  5. nice.wallpapers

    nice.wallpapers Active Member

    Messages:
    142
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    Hi ,

    I can fix it and make it super fast.

    I did a lot of huge database site like : 50 million record database site.

    Thanks,
     
    nice.wallpapers, Feb 23, 2009 IP
  6. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    As Seller:
    100% - 0
    As Buyer:
    100% - 1
    #6
    It will cost you $100

    50% advance

    Regards

    Alex
     
    kmap, Feb 23, 2009 IP
  7. Greg Carnegie

    Greg Carnegie Peon

    Messages:
    385
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #7
    Actually you can. I assume that your database uses no indexes whatsoever, which makes whole application slow, even fields types can be optimized. Also, the problem maybe type of tables you use - MyISAM are fast, but they do not offer the features that InnoDB has (on the other hand you may not need that features at all) and so on.

    In the end a lot depends on how you are using data in the table. Do you need access to all 1.3 milion records at once, are queries using indexes, are you caching results and most importantly are queries optimized?
     
    Greg Carnegie, Feb 23, 2009 IP
  8. creativeGenius

    creativeGenius Well-Known Member

    Messages:
    273
    Likes Received:
    5
    Best Answers:
    1
    Trophy Points:
    120
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #8
    the database server resources can also play a factor, you can have the most efficient code, but if your server cant handle the load, then everything is for naught
     
    creativeGenius, Feb 23, 2009 IP
  9. vntutor

    vntutor Peon

    Messages:
    1,721
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #9
    You can keep the script and make a SQL optimization to speed up your system
     
    vntutor, Feb 23, 2009 IP