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. wp_update_post function exclude specific field
  65. What is an ORM, how does it work, and how should I use one? [closed]
  66. What is the difference between an ORM and an ODM?
  67. What is this JavaScript “require”?
  68. Rename a table in MySQL
  69. How should I tackle –secure-file-priv in MySQL?
  70. What is this JavaScript “require”?
  71. What is “Advanced” SQL?
  72. What’s the difference between identifying and non-identifying relationships?
  73. Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
  74. Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
  75. Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
  76. What are the differences between B trees and B+ trees?
  77. MySQL SELECT increment counter
  78. How to resolve ORA-011033: ORACLE initialization or shutdown in progress
  79. Example of a strong and weak entity types
  80. Oracle SQL query for Date format
  81. phpMyAdmin – Error > Incorrect format parameter?
  82. Strange Characters in database text: Ã, Ã, ¢, â‚ €,
  83. Difference between partition key, composite key and clustering key in Cassandra?
  84. How SID is different from Service name in Oracle tnsnames.ora
  85. What is a relation in database terminology?
  86. Failed to connect to mysql at 127.0.0.1:3306 with user root access denied for user ‘root’@’localhost'(using password:YES)
  87. Database vs File system storage
  88. Can I have multiple primary keys in a single table?
  89. Exclude Statement in SQL
  90. How do you query for “is not null” in Mongo?
  91. What is a file based database?
  92. Is it fine to have foreign key as primary key?
  93. Storing Images in DB – Yea or Nay?
  94. Using wpdb to connect to a separate database
  95. how to Optimize WordPress database for 10 million post? [duplicate]
  96. MySQL Database User: Which Privileges are needed?
  97. Why is my database import losing text widget data?
  98. Database synchronization between dev/staging and production
  99. Keeping WP database synced across multiple developers using git
  100. Post meta vs separate database tables
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
  • Post Navigation Elementor
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • WPFacet multiple loop displaying duplicate content
  • Get the name of the template/*html file used
  • Fix: WordPress.DB.PreparedSQL.NotPrepared Plugin Check (PCP)
  • Removing unnecessary CSS and JS code from wp_head()
  • hexagonal image gallery. Am I on the right track? [closed]
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
© 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