I can see how SELECT and UPDATE statements get slower as a table grows and grows, but what about INSERT ?
I can see how SELECT and UPDATE statements get slower as a table grows
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
INSERTgets slower too, especially if you have a lot of indexes which have to be updated as well.There is a difference between the different storage engines though:
MyISAMis faster for a lot ofSELECT, InnoDB is faster for a lot ofINSERT/UPDATEbecause it uses row locking instead of table locking and the way it handles indexes.