Which is more efficient? LOAD DATA, INSERT

Thanh Hoan

New member
Which is more efficient?
LOAD DATA, INSERT
A. LOAD DATA
B. INSERT
C. Same
D. Indeterminate
 
Answer: a
Explanation: In MySQL, the ‘LOAD DATA’ in all forms is more efficient than the ‘INSERT’ because it loads rows in bulk. The server first parses then interprets only one statement instead of many.
 

Tìm kiếm

Back
Top