problem description
there is a user table with
in it.uid
regdate //
reg_package //
reg_channel //
...
now I have a SQL query for user data
SELECT * FROM `user` ORDER BY `regdate` DESC LIMIT 0,50;
there is a multi-column index on this table. idx_regdate_reg_package_reg_channel (key_len has 202)
this SQL also uses this index (using EXPLAIN to see)
question
When this statement is executed for the first time, the query speed of is very slow , and then it will be much faster. I am very confused here
PS:. I know that InnoDB indexes need buffering. Does it have anything to do with buffering?