Skip to content

LOW_PRIORITY

INSERT LOW_PRIORITY INTO employees (first_name, last_name) VALUES ('John', 'Doe');

Query OK, 1 row affected (0.00 sec)

The LOW_PRIORITY keyword in MySQL is used to delay the execution of the INSERT statement until no other clients are reading from the table. In the example, a row with ‘John’ as the first name and ‘Doe’ as the last name is inserted into the ‘employees’ table. The LOW_PRIORITY flag ensures this action does not interfere with other read operations on this table.