I'm using mysql with InnoDB engine, and I have created one trigger for BEFORE INSERT. I want to be sure that if two insert queries are fired at the same time then will both trigger work in parallel or sequentially?
I have added sleep in trigger and fired two insert queries, and from the execution time it looks like second trigger is waiting for first one to finish.