Conversation
supportHi, I used this plugin to upload a PDF technical sheets for a couple of my products. I have uploaded about 2000 products with a PDF file. Now my site is really slow. I noticed that I have around 800 000 rows in the wp post_meta table and they are all PDF attachments. Do you have any advice? Thanks. https://wordpress.org/plugins/custom-post-type-pdf-attachment/
If you have 2000 products and have a single pdf for each product then in the post_meta table there must be 2000 records for pdfs and no more. When you remove the pdf the entry in the post meta table gets deleted. so there should not be ant blank rows in the post_meta table. There must be some other issues that is creating duplicate entries in the table.
If you have 2000 products and have a single pdf for each product then in the post_meta table there must be 2000 records for pdfs and no more. When you remove the pdf the entry in the post meta table gets deleted. so there should not be ant blank rows in the post_meta table. There must be some other issues that is creating duplicate entries in the table.