I have 1 table called cleaned and another table called Failed. How do i go about deleting records from the table called cleaned if the same record exists on the table called Failed?
Both fields in the table it will be looking at is called Email.
Id User Host db Command Time State Info
182 root localhost loud_data Query 25551 Sending data delete CLEANED.* from CLEANED INNER JOIN FailedSMTP on CLEANED.Email = FailedSMTP.Email
Its taking ages how do i know if its actually doing it or if its frozen?
I’ve just restarted MySQL and canceled the Query as it was still running, i went into PHPMYADMIN and everything was the same, no data was deleted. Is there any other way?
Below is my dedicated server information, I’m only hosting 1 website on this server and cPanel/WHM.
Processor #1
Vendor
GenuineIntel
Name
Intel(R) Core™ i5 CPU 760 @ 2.80GHz
Speed
1197.000 MHz
Cache
8192 KB
Processor #2
Vendor
GenuineIntel
Name
Intel(R) Core™ i5 CPU 760 @ 2.80GHz
Speed
1197.000 MHz
Cache
8192 KB
Processor #3
Vendor
GenuineIntel
Name
Intel(R) Core™ i5 CPU 760 @ 2.80GHz
Speed
1197.000 MHz
Cache
8192 KB
Processor #4
Vendor
GenuineIntel
Name
Intel(R) Core™ i5 CPU 760 @ 2.80GHz
Speed
1197.000 MHz
Cache
8192 KB
Memory Information
Memory for crash kernel (0x0 to 0x0) notwithin permissible range
Memory: 4034840k/4980736k available (2592k kernel code, 149476k reserved, 1649k data, 224k init)