MySQL Forums
Forum List  »  Italian

Sort Aborted
Posted by: Enzo Fanelli
Date: November 22, 2010 02:10AM

Ciao,
da qualche giorno ho un problema nell'esecuzione di query che prevedono l'ordinamento (nle caos specifico su un campo che non è un indice)
Premetto che uso tabelle molto grandi (circa 20 milioni di record) e non è possibile dividerle su più tabelle.
una semlice query del tipo select * from miodb.miatabella order by data desc limit 0,1 genera l'errore "sort aborted"
ho già cercato in giro la soluzione e ho provato ad aumentare sort_buffer_size da 256k fino a 512M ma ottengo lo stesso errore, ho provato a verificare che la tabella non sia corrotta con myisamchk ed è tutto ok, inoltre se provo a lanciare il "mysql Administratot" ricevo "could not fetch schema status" su un qualsiasi db.
aggiungo i parametri principali del my.ini

tmp_table_size=205M
myisam_max_sort_file_size=100G
myisam_max_extra_sort_file_size=100G
myisam_sort_buffer_size=339M
key_buffer_size=632M
read_buffer_size=64K
read_rnd_buffer_size=256K
sort_buffer_size=512M

qualcuno ha qualche idea?
Grazie

Options: ReplyQuote


Subject
Views
Written By
Posted
Sort Aborted
3435
November 22, 2010 02:10AM
2104
November 22, 2010 02:47AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.