I am trying to delete 267 entries from approximately 40 million. The request looks like this:
delete from pricedata where pricedate > '20120413'
priceate is a char(8) field.
I know about changing innodb_buffer_pool_size , but if I can do
select from pricedata where pricedate > '20120413'
and get 267 records (and that everything is there), no errors, why does he suffocate when deleted?
And if the innodb_buffer_pool_size setting does not work, what should I do?
mysql locking sql-delete innodb
davej Apr 20 2018-12-12T00: 00Z
source share