Another question regarding database

Discussion in 'MySQL' started by Freewebspace, Dec 14, 2006.

  1. #1
    I plan to hold 100,000 rows on my directory

    and to search to it

    What power I require for the server?

    I am currently hosting at 2100 GB shared hosting at servage will it be enough?

    or I want to look for a dedicated server
     
    Freewebspace, Dec 14, 2006 IP
  2. smallbuzz

    smallbuzz Peon

    Messages:
    125
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    100,000 rows in a database is really not that much. Your current host is most likely good enough.
     
    smallbuzz, Dec 14, 2006 IP
  3. Freewebspace

    Freewebspace Notable Member

    Messages:
    6,213
    Likes Received:
    370
    Best Answers:
    0
    Trophy Points:
    275
    #3
    Thanks a lot

    And also whether a query over 100000 rows will take too much time
     
    Freewebspace, Dec 14, 2006 IP
  4. smallbuzz

    smallbuzz Peon

    Messages:
    125
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    It depends on the query. If you are just selecting from that 1 table, the performance won't matter that much at 100,000 rows. An easy way to make queries go faster is by adding an index on columns that you use in your where clause.
     
    smallbuzz, Dec 14, 2006 IP
  5. livingearth

    livingearth Well-Known Member

    Messages:
    1,469
    Likes Received:
    83
    Best Answers:
    0
    Trophy Points:
    140
    #5
    I agree. Its doubtful you will have any problems.
     
    livingearth, Dec 14, 2006 IP
  6. Freewebspace

    Freewebspace Notable Member

    Messages:
    6,213
    Likes Received:
    370
    Best Answers:
    0
    Trophy Points:
    275
    #6
    I plan to have search queries from more than one table

    So I could reduce the load on the server
     
    Freewebspace, Dec 14, 2006 IP
  7. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #7
    This is exactly what mysql is designed ( so well ) to do, you won't have any issues on a dual processor / core machine, I wouldn't recommend anything less not because of mysql, but becuase of cpanel it sucks under strain and if a load of people are loggin into thier cpanel at the same time as some visitors want to search the mysql process gets a lower priority so the people at cpanel can keep fooling people into buying a liscence for it.

    So yes and no, whilst in development you'll be fine and up to a point if your host doesn't oversell too much, but who wants to build a house on the beach and then move it up a tree :)
     
    krakjoe, Dec 14, 2006 IP
  8. Freewebspace

    Freewebspace Notable Member

    Messages:
    6,213
    Likes Received:
    370
    Best Answers:
    0
    Trophy Points:
    275
    #8
    I do not have a cpanel

    I am just talking about a searching within a directory
     
    Freewebspace, Dec 14, 2006 IP
  9. kashem

    kashem Banned

    Messages:
    1,250
    Likes Received:
    76
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I m not sure whether mysql has any performance monitoring system. I mostly use MS Sql.

    Monitoring search peformance and smartly building your query you could increase search formance.
     
    kashem, Dec 14, 2006 IP
  10. Scolls

    Scolls Guest

    Messages:
    70
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #10
    You can use "explain" on your queries to check how well they are optimized.
     
    Scolls, Dec 15, 2006 IP
  11. Freewebspace

    Freewebspace Notable Member

    Messages:
    6,213
    Likes Received:
    370
    Best Answers:
    0
    Trophy Points:
    275
    #11
    are you talking about explain statement in SQL?
     
    Freewebspace, Dec 15, 2006 IP
  12. weknowtheworld

    weknowtheworld Guest

    Messages:
    306
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Yes plz. tell r u looking of a sql statement.. for MySql or Mssql or what?
     
    weknowtheworld, Dec 18, 2006 IP