wordpress postmeta

Discussion Of All Legal Topics Is Fine Anything Goes. Be Respectful of Others. No Personal Information or Attacks.
All Traffic, Link, Banner, Push Notification and Advertising, Offers & Requests Here,.
Domains & Websites For Sale and Requests Here.
Keep One thread per person & No More Than 1 Weekly Bump.
Post Reply
User avatar
gotonudecom
Verified Member
Verified Member
Posts: 3169
Joined: February 6th, 2018, 1:54 pm
Title: DomainMaster
Referrals: 30
Contact:

wordpress postmeta

#1

Post by gotonudecom » February 18th, 2019, 12:47 pm

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 '';

fappmaster
Verified Member
Verified Member
Posts: 1381
Joined: May 15th, 2018, 11:40 am

#2

Post by fappmaster » February 18th, 2019, 12:59 pm

Huh never thought about this one. Thanks for the tip let me go do some work on my sites look it up, brb.




User avatar
gotonudecom
Verified Member
Verified Member
Posts: 3169
Joined: February 6th, 2018, 1:54 pm
Title: DomainMaster
Referrals: 30
Contact:

#3

Post by gotonudecom » February 18th, 2019, 1:45 pm

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.

XpressPete
Verified Member
Verified Member
Posts: 768
Joined: April 20th, 2018, 7:39 am

#4

Post by XpressPete » February 19th, 2019, 2:02 pm

Thinking of doing it but have no desire to mess my blog up, any thing else I should know.




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

#5

Post by Nakedtruth » February 20th, 2019, 10:03 am

Call me dumb I have no clue what postmeta is and why I should be deleting them.




User avatar
gotonudecom
Verified Member
Verified Member
Posts: 3169
Joined: February 6th, 2018, 1:54 pm
Title: DomainMaster
Referrals: 30
Contact:

#6

Post by gotonudecom » February 20th, 2019, 6:59 pm

Nakedtruth wrote: ↑
February 20th, 2019, 10:03 am
Call me dumb I have no clue what postmeta is and why I should be deleting them.
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.

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.




User avatar
vblogger
Verified Member
Verified Member
Posts: 1935
Joined: February 17th, 2018, 2:48 pm

#7

Post by vblogger » February 21st, 2019, 6:16 pm

Get with it this is a good post by the OP,




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

#8

Post by Nakedtruth » February 23rd, 2019, 7:35 am

3/4 million post meta is quite a lot. What is the blog?




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

#9

Post by wetnwild » February 24th, 2019, 10:59 am

I just learnt some thing new here




User avatar
gotonudecom
Verified Member
Verified Member
Posts: 3169
Joined: February 6th, 2018, 1:54 pm
Title: DomainMaster
Referrals: 30
Contact:

#10

Post by gotonudecom » February 25th, 2019, 11:21 am

Nakedtruth wrote: ↑
February 23rd, 2019, 7:35 am
3/4 million post meta is quite a lot. What is the blog?
NUDE.com

bucksm
Verified Member
Verified Member
Posts: 780
Joined: February 19th, 2018, 7:23 pm

#11

Post by bucksm » February 26th, 2019, 6:59 am

@ nude.com have you thought of going the tube way with the domain competing with the likes of pornhub.




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

#12

Post by Emil » February 27th, 2019, 11:12 am

serious numbers there




User avatar
gotonudecom
Verified Member
Verified Member
Posts: 3169
Joined: February 6th, 2018, 1:54 pm
Title: DomainMaster
Referrals: 30
Contact:

#13

Post by gotonudecom » February 27th, 2019, 7:12 pm

bucksm wrote: ↑
February 26th, 2019, 6:59 am
@ nude.com have you thought of going the tube way with the domain competing with the likes of pornhub.
working on
XXX.NUDE.com

Sneaky
Verified Member
Verified Member
Posts: 711
Joined: March 5th, 2018, 5:21 pm

#14

Post by Sneaky » March 1st, 2019, 7:50 am

xxx.nude looks well done, what script are you using there

User avatar
TheButcher
Administrator
Administrator
Posts: 17527
Joined: February 2nd, 2018, 11:48 am
Title: I like weekends
Referrals: 1
Contact:

#15

Post by TheButcher » March 4th, 2019, 9:35 am

Honestly I had no about this until I read the first post here.

wordpress postmeta

Post Reply