Results 1 to 4 of 4

Thread: Order By ???

  1. #1
    Join Date
    Sep 2003
    Posts
    47

    Unanswered: Order By ???

    How can speen up/optimize an order by querry? They have been running so slow!!

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    truncate table <your_table>;
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

  3. #3
    Join Date
    Sep 2003
    Posts
    47
    Sorry, can you explain a little further!

  4. #4
    Join Date
    Sep 2003
    Location
    United States
    Posts
    65
    Provided Answers: 1
    if table is big - say some 10,000 plus records then u try creating indexe on the column used in the ORDER BY clause, also think of indexes on the columns used in WHERE clause too. For index creation thing refere to MySql reference material.
    >>
    >> Learn PHP/MySQL for free https://www.youtube.com/watch?v=mpQts3ezPVg
    >> Free Web Hosting with PHP, MySQL, Website Builder : http://www.000webhost.com/862861.html

Posting Permissions

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