Sort an index Mysql

0
Your rating: None

For sorting an index and data according to an index, use

myisamchk --sort-index --sort-records=1
(assuming that you want to sort on index 1).

This is the best way to make queries faster if you have a unique index from which you want to read all rows in order according to the index.

However, the first time you sort a large table this way, it may take a long time.

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.

Cumulus Tag Cloud

Kiran Says

SEO Architect,SEO Specialist reflect my values.

By enduring black hat methods the SEO industry is setting itself up for washout and sleepwalking into oblivion.

Jobs in India