[wp-trac] [WordPress Trac] #23061: get_post_meta() on post with large amount of meta keys uses too much memory
WordPress Trac
noreply at wordpress.org
Thu May 14 18:17:40 UTC 2015
#23061: get_post_meta() on post with large amount of meta keys uses too much memory
-------------------------+------------------------------
Reporter: joehoyle | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Database | Version:
Severity: normal | Resolution:
Keywords: close | Focuses: performance
-------------------------+------------------------------
Changes (by chriscct7):
* keywords: => close
* focuses: => performance
Comment:
post meta is designed to store a few unique pieces of information about a
post, particularly that which is used in querying or used often (thus why
all meta keys are cached). Instead, votes should be in their own table,
and then you could store, for example, the name of the table as the post
meta for that post to link the votes table to the post. Suggesting close
as invalid
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23061#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list