Databases · Middle · Question 44 of 75

How do you insert 10,000 rows efficiently?

Explanation

Each autocommit waits for a disk flush, and each statement costs a round trip. Batching cuts both.

Further reading

Problem with a question

Databases · Middle · question 44

Test yourself

Take the Databases · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz