I need to update the record, for example
update table abc set marks='15' where rollno='432423' and pcode='ABC234';
Nearly 10,000 queries.
My table has 1,00,000 records. I need to update 10,000 records. It takes several hours How can I speed it up. I'm using INNODB
Any way to speed things up.
The most efficient way is to insert the record into another table and use it to update, for example:
If the update itself is still slow, make sure abc has a composite index on (rollno, pcode).