Using the MySQL C API, execution of an UPDATE appears to be about 10 times slower than an INSERT. Running under UNIX on an UltraSPARC 20, I got these results:<br>
<br>
INSERT (with 100 value sets per statement): 2500 rows/second<br>
INSERT (with 1 value set per statement): 600 rows/second<br>
UPDATE: 60 rows/second<br>
<br>
The table in question had two indexes, one of them unique. Is there a way to improve the UPDATE performance?<br>
<br>
INSERT (with 100 value sets per statement): 2500 rows/second<br>
INSERT (with 1 value set per statement): 600 rows/second<br>
UPDATE: 60 rows/second<br>
<br>
The table in question had two indexes, one of them unique. Is there a way to improve the UPDATE performance?<br>