Given two tables of equal structure, but one with 100M rows and another with 100 rows, will inserts take longer on the table with more rows?
Why?
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.
Insert takes a longer time for 100M rows especially if one of the columns is
indexed. Because of the indexing, it will have to index the new inserted row accordingly which takes more time. The index is a good option for select statements, but if you have more inserts then it becomes a pain as it takes more time to insert.