Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

One post carries 30 postmeta values, is this too much?

No, to be honest 35 is nothing. You should not see any problems scaling this into the hundreds/thousands if optimized right, it does depend on many factors.

Where is the post meta being used, are you sure it’s all being used?

Are you using a lot of unique keys? You can check this by doing get_post_custom_keys, the lower the better.

Are you outputting all post meta in one shot using get_post_custom instead of getting each field via get_post_meta ?

You should always turn on debugging with define('SAVEQUERIES', true); and see how many hits to the DB your doing and how long each one is taking.

Related Posts:

  1. How to solve slow WordPress site caused by attachment_metadata
  2. Why WordPress choose data serialization over json_encode?
  3. WordPress database scalability from the code perspective
  4. Dealing with Many Meta Values, 30+
  5. What is the most secure way to store post meta data in WP?
  6. Performance tips for a large user base [closed]
  7. WP_Options ID high
  8. How to delete outdated, wrongly sized images in _wp_attachment_metadata?
  9. WordPress for a very large website
  10. Meta query interfering with orderby relevance
  11. WordPress database becoming huge. How to analyze and optimize it? fear of running out of memory
  12. Improve or optimize a very slow query
  13. WooCommerce with thousands of products – site is very slow – optimize db queries? [closed]
  14. Migrating non-WordPress CMS to WordPress, lots of data to move — possible solutions?
  15. Efficiency on displaying random authors based on large database
  16. Delete all post meta except featured image
  17. Relationship between performance and database size
  18. Database slowdown after update to 3.4.1
  19. wp_redirection_404 table has grown to 7GB
  20. Is it possible to store visitors IPs in wp_postmeta table?
  21. Multiple postmeta with same name for one post in wp_postmeta table
  22. Delete all post meta except featured image Using SQL
  23. Which is more efficient? Using usermeta, or creating a new MySQL table?
  24. delete post meta from db, even if does not exist?
  25. WordPress and MySQL: how to transfer Meta_key and Meta_Value from one post_id to another
  26. Storing data for a wordpress plugin
  27. Where does the actual data stored by add_post_meta
  28. Multiple wp_options tables to share content across installs
  29. Structure of postmeta meta_value for woocommerce product download
  30. Routine to convert custom post meta from old to new value
  31. Improve performance by removing unnecessary database queries
  32. fastest replacement DB
  33. How to prevent/delay MySQL connections when an object cache is used?
  34. Does auto_load to ‘no’ in wp_options improve performance
  35. Saving zero as meta value
  36. Uknown meta entries in wp_postmeta
  37. How to combine multiple wp_insert_post into one in order to gain better performance
  38. Does post_meta data need to be unserialzed?
  39. Link image with data from the wpdb
  40. Optimizing function that automatically creates internal links based on post title string
  41. Custom Post Type not showing anything added by code anymore?
  42. Compare User meta_value with Product meta_value
  43. How to save EXIF metadata in WordPress database?
  44. Is there anyway to split posts to different databases?
  45. _wp_attachment_metadata is not being added to database when PDF files uploaded
  46. Job and Employee Performance Tracking with Product Safety
  47. “BS_” rows in postmeta table
  48. What structure and database storage method should I use for temporary storage that may be written concurrently?
  49. Migrating meta_key and meta_value from old theme to new one
  50. Get all top categories, then only 3 posts for each
  51. Best way to store 1 billion+ posts?
  52. Optimize WP site for millions of posts
  53. update_post_meta performance in a loop woocommerce
  54. update_post_meta performance in a loop woocommerce
  55. Database structure for thousands of posts
  56. Counting user’s comments – efficient way?
  57. Performance bug – slow DB query
  58. How much post meta data is too much?
  59. Mysql Queries per Visit – Crazy High
  60. How do i get value from wp_postmeta?
  61. Recommended Post Structure for DB Storage
  62. SQL query : Select a thumbnail for a media
  63. What effect can a large wp_post table have on overall site performance?
  64. Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
  65. Get error messages when $wpdb->insert() returns false?
  66. Does dbDelta delete columns as well?
  67. Special characters in WordPress UTF-8 [closed]
  68. Query from a different database than the default
  69. Need of separate security plugins for both root and subfolder sites WordPress?
  70. Escaping / encoding data before insert into a database?
  71. WordPress mysql table double prefixes
  72. How can I transition a site from using the Beta Tester plugin to a “normal” install?
  73. Transient feeds and caching error
  74. get_tags() return an empty array after added tags with wp_insert_term()
  75. Why do mass updates to post_content shows in front end, but not in edit screen?
  76. How to disable (get rid of) home page main loop entirely?
  77. Insert post in another database
  78. How to get membershiplevel from WordPress Database?
  79. Child parent relationship inside WP DB
  80. Copying database tables to new database
  81. Duplicating Complete WordPress Install for Development and then Redeployment?
  82. How to increase load time of an archive/search page (WP_Query)
  83. When to use custom DB tables or add_option?
  84. Database Update Required – Update from command-line
  85. Custom search query by category id
  86. Image link issues after importing a database backup to my local web server
  87. multiple wordpress installs w/shared user database but separate content databases
  88. Updating seperate database when post attachment is changed
  89. WordPress Database – wp_usermeta and the correct number of session_tokens rows
  90. How to get a list of articles related to a particular category from my other WordPress website?
  91. How do I update a WordPress wp_postmeta meta_value that contains many options
  92. How can I get $wpdb to show MySQL warnings?
  93. Looking for suggestions on creating simple database (Help!!)
  94. DB access blocked when initializing WP externally
  95. Site does not work right, pages not showing up, even for root admin
  96. WordPress: Interact with Database Query Data and Login
  97. Getting an error when trying to migrate to DV server from Grid with Media Temple [closed]
  98. update_post_meta returns ID, but nothing in the database
  99. Configure WordPress to use MariaDB over SSL?
  100. DB table creation on reactivation – dbDelta errors on CONSTRAINTS
Categories Database Tags database, performance, post-meta
Apostrophes showing up as ΓÇÖ after converting from Windows to Linux
Add Post Screen Keep Category structure

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress