can you explain to me, why MongoDB insert faster than MySQL insert? i use PHP 5.6 and MongoDB 3.2.12 and MySQL 5.6.25.
please give reference! book or journal
can you explain to me, why MongoDB insert faster than MySQL insert? i use PHP 5.6 and MongoDB 3.2.12 and MySQL 5.6.25.
please give reference! book or journal
(I reopened because the "dup" MySQL vs MongoDB 1000 reads was about reads, not inserts.)
MySQL can be very slow or very fast on INSERTing
. To be fair to MySQL, you should specify the specifics that lead to slow or fast.
INSERT
statement easily runs 10 times as fast as one row at a time.LOAD DATA INFILE
(from a .csv) is even faster. https://dev.mysql.com/doc/refman/5.6/en/load-data.html