SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Enthusiast rjahrman's Avatar
    Join Date
    May 2003
    Location
    Washington, USA
    Posts
    69
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Speed of SELECT in Extremely Large Table

    If I have a table that has, say, 250,000 rows, would a SELECT statement be very slow? What I mean is, does mySQL somehow keep track of where cells that start with a certain letter, etc. are?

  2. #2
    Mlle. Ledoyen silver trophy seanf's Avatar
    Join Date
    Jan 2001
    Location
    UK
    Posts
    7,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have you added suitable indexes to your table?

    Sean
    Harry Potter

    -- You lived inside my world so softly
    -- Protected only by the kindness of your nature

  3. #3
    SitePoint Enthusiast rjahrman's Avatar
    Join Date
    May 2003
    Location
    Washington, USA
    Posts
    69
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Since I have no idea what you're talking about, I assume the answer is no . . .

  4. #4
    Mlle. Ledoyen silver trophy seanf's Avatar
    Join Date
    Jan 2001
    Location
    UK
    Posts
    7,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Harry Potter

    -- You lived inside my world so softly
    -- Protected only by the kindness of your nature

  5. #5
    SitePoint Wizard
    Join Date
    Mar 2002
    Location
    Bristol, UK
    Posts
    2,240
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Off topic I know, but I always thought the plural of index was indices. Oh well...

    -Sam
    Sam Hastings

  6. #6
    SitePoint Member
    Join Date
    Feb 2002
    Location
    North Carolina
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Devilware.net
    Off topic I know, but I always thought the plural of index was indices. Oh well...

    -Sam
    I believe either indexes or indicies is correct; I prefer indexes.
    Deluxe Portal Project Manager

  7. #7
    SQL Consultant gold trophysilver trophybronze trophy
    r937's Avatar
    Join Date
    Jul 2002
    Location
    Toronto, Canada
    Posts
    39,347
    Mentioned
    63 Post(s)
    Tagged
    3 Thread(s)
    not indicies, indices

    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL
    "giving out my real stuffs"


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •