wordpress postmeta
- gotonudecom
- Verified Member

- Posts: 3169
- Joined: February 6th, 2018, 1:54 pm
- Title: DomainMaster
- Referrals: 30
- Contact:
wordpress postmeta
my postmeta has 774,616 records for a total size of 712.3 KiB
I deleted the blank and null records.
Then I found thousands that look like, seem to have carriage returns and nothing else.
anyone know how to delete these?
I used this for the blank ones.
DELETE FROM `wp_postmeta` WHERE meta_value LIKE '';
I deleted the blank and null records.
Then I found thousands that look like, seem to have carriage returns and nothing else.
anyone know how to delete these?
I used this for the blank ones.
DELETE FROM `wp_postmeta` WHERE meta_value LIKE '';
-
fappmaster
- Verified Member

- Posts: 1381
- Joined: May 15th, 2018, 11:40 am
Huh never thought about this one. Thanks for the tip let me go do some work on my sites look it up, brb.
- gotonudecom
- Verified Member

- Posts: 3169
- Joined: February 6th, 2018, 1:54 pm
- Title: DomainMaster
- Referrals: 30
- Contact:
I also used this.
DELETE FROM `wp_postmeta` WHERE meta_key LIKE '%akismet%';
Normally when I install WP I immediately remove plugins like akismet.
This was only about 300 entries.
Be sure to back up after each delete and verify your site still works.
DELETE FROM `wp_postmeta` WHERE meta_key LIKE '%akismet%';
Normally when I install WP I immediately remove plugins like akismet.
This was only about 300 entries.
Be sure to back up after each delete and verify your site still works.
-
XpressPete
- Verified Member

- Posts: 768
- Joined: April 20th, 2018, 7:39 am
Thinking of doing it but have no desire to mess my blog up, any thing else I should know.
-
Nakedtruth
- Verified Member

- Posts: 1034
- Joined: February 28th, 2018, 4:46 pm
- Title: The true word
Call me dumb I have no clue what postmeta is and why I should be deleting them.
- gotonudecom
- Verified Member

- Posts: 3169
- Joined: February 6th, 2018, 1:54 pm
- Title: DomainMaster
- Referrals: 30
- Contact:
Not deleting postmeta per se but instead deleting unused/un-needed postmeta records. Possible created and left behind from removed plugins or with blank or null data.Nakedtruth wrote: ↑February 20th, 2019, 10:03 amCall me dumb I have no clue what postmeta is and why I should be deleting them.
I have over 700K postmeta records . Tens of thousands were empty, those are easy to remove. Many have carriage returns, which I can not figure out how to delete.
Just this area of my database is huge.
I want the site to be fast. I don't want to be forced to upgrade just because my database is huge due to empty and wasted space.
- vblogger
- Verified Member

- Posts: 1935
- Joined: February 17th, 2018, 2:48 pm
-
Nakedtruth
- Verified Member

- Posts: 1034
- Joined: February 28th, 2018, 4:46 pm
- Title: The true word
-
wetnwild
- Verified Member

- Posts: 681
- Joined: March 15th, 2018, 9:33 am
- gotonudecom
- Verified Member

- Posts: 3169
- Joined: February 6th, 2018, 1:54 pm
- Title: DomainMaster
- Referrals: 30
- Contact:
NUDE.comNakedtruth wrote: ↑February 23rd, 2019, 7:35 am3/4 million post meta is quite a lot. What is the blog?
-
bucksm
- Verified Member

- Posts: 780
- Joined: February 19th, 2018, 7:23 pm
@ nude.com have you thought of going the tube way with the domain competing with the likes of pornhub.
-
Emil
- Verified Member

- Posts: 1346
- Joined: April 9th, 2018, 7:43 am
- gotonudecom
- Verified Member

- Posts: 3169
- Joined: February 6th, 2018, 1:54 pm
- Title: DomainMaster
- Referrals: 30
- Contact:
working on
XXX.NUDE.com
-
Sneaky
- Verified Member

- Posts: 711
- Joined: March 5th, 2018, 5:21 pm
xxx.nude looks well done, what script are you using there
- TheButcher
- Administrator

- Posts: 17527
- Joined: February 2nd, 2018, 11:48 am
- Title: I like weekends
- Referrals: 1
- Contact:
Honestly I had no about this until I read the first post here.