Support » Requests and Feedback » New Database Home for Plugins and Themes

New Database Home for Plugins and Themes

Viewing 4 replies - 1 through 4 (of 4 total)
  • Themes and plugins are supposed to remove their content when uninsyalled. Not all do :/

    Yes, that is the problem; and currently, there isn’t any way to police it. Just too many to track.
    That’s exactly why I believe it’s time to put them into separate tables in the database, so that we can at least admin the situation without having to go through the postmeta table line-by-line. When that table gets to over 100,000 records, and each record may have dependencies with other tables, the way it exists today, it’s near-impossible to clean the table.

    It would be exceptionally complicated to do that and support every plugin out there today. Also plugins put things into wp_options, NOT wp_postmeta, so it wouldn’t help you at all.

    The postmeta table is a meta table meaning that it contains meta information relating to a specific post. If it is being used as a meta table then it should not cause any slowdowns because the values are only loaded (and cached) when the post it is related to is loaded.

    This is a simple very low overhead query using the post_id column to retrieve the data. If you are using the postmeta data to sort or query from then you have a problem because it has to be joined with the posts table and that will slow your site down unless you know how to properly cache those queries.

    Plugins do not store arbitrary information in postmeta unless it is information relating to a post which you would need.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘New Database Home for Plugins and Themes’ is closed to new replies.