Quantcast
Channel: MySQL Forums - InnoDB
Viewing all articles
Browse latest Browse all 1954

MySQL inserts/delete are slow on Innodb vs Postgres (no replies)

$
0
0
Hi

I am testing mysql 5.6 on Redhat Linux. On the defaulkt installtion, I have done some testing and found that MYSQL insert and delete are slower than Postgres, with same number of rows on simple table.

A simple insert procedure to insert 1,000,000 rows took me 25 sec where Postgres took only 16 sec. Also a delete of 6,000,000 rows tool 7 minutes where postgres took only 12sec. Primary key selects are more or less same speed. I have chnaged the Mysql table to MYISAM then the performane has improved...

mysql> delete from test;


Query OK, 6000000 rows affected (7 min 40.25 sec)

Postgres

almaha=> delete from test;
DELETE 6000000
Time: 12810.967 ms


Any one hsa any suggestion. I am testing on the same hardware.

Regards
Anil

Viewing all articles
Browse latest Browse all 1954

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>