[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
Wed Nov 29 23:26:57 UTC 2017
#23061: get_post_meta() on post with large amount of meta keys uses too much memory
-------------------------+--------------------------
Reporter: joehoyle | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Database | Version:
Severity: normal | Resolution: wontfix
Keywords: | Focuses: performance
-------------------------+--------------------------
Comment (by dd32):
> one of the entries is ~2-3MB large.
In that case, I'd be looking at alternate storage methods, WordPress just
isn't designed to have meta_values which are that large.
Without knowing what the content of the field is, you're probably going to
need to look at using a custom table or filesystem storage for blobs that
size in all honesty.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23061#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list