I am looking for someone that can write an SQL Query snippet for me, which will delete all orphaned post meta tables in the database.
It will be similar to this:
DELETE pm
FROM wp_postmeta pm
LEFT JOIN wp_posts wp ON [login to view URL] = pm.post_id
WHERE [login to view URL] IS NULL
However, I need the data deleted in batches of 100,000 - because there are over a million rows of orphaned data and it keeps timing out on me.
I m a database administrator with 10 years of experience in this industry.
I read your project details and I understood your needs ,I can do what you want in the deadline just contact me and we can discuss more about the project.
Hello. I can start your project right now. I will finish your project within your evening. I am a full stack developer and have much experience in MySQL. I can introduce my past work through chatting. Let's discuss more in the chat inbox here.
Thank you.