If you create multiple unique keys in a table, would that slow down read/write times?
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.
It won’t hurt read times much (unless you have a very low amount of RAM available) since they simply sit on the HDD/RAM but it will definitely hurt write times. For each insert/update/delete you do, the index has to be updated. If you have many indexes, many indexes will have to be updated.