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
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