1.

Without LOCAL, LOAD DATA is _________________(a) more efficient(b) less efficient(c) same speed(d) arbitraryI have been asked this question during an online exam.Query is from Loading Data Efficiently topic in chapter Query Optimization of MySQL

Answer»

The correct answer is (a) more efficient

Explanation: LOAD DATA is more efficient WITHOUT LOCAL. Without LOCAL, the file must be located on the server. The FILE privilege must be GIVEN. The server can READ the file directly from disk.



Discussion

No Comment Found

Related InterviewSolutions