To answer your questions:
Would these high number of calls to update_user_meta cause any
performance degradation?
The Higher the number of calls to the database the slower its going to work since every query takes some (not much but still) time.
Which of the two appears to be a better solution?
Recently I finished a project with similar amount of user settings and the solution i ended up with was to store as an array all of the data that i didn’t need to query or search based on, (since when using array to store data in the data base it is stored serialized ) and the rest (data that needs to by queried based on) as single rows of data, which cut down the queries on one page from 68 to just 7.
Related Posts:
- Query to sort a list by meta key first (if it exists), and show remaining posts without meta key ordered by title
- Individual Widgets per Page
- Is it safe to store a user setting you don’t want the user to ever modify as a user option?
- Add custom fields to search
- How to add add_meta_box to specific Page Template?
- Apply the_content filter to a custom field with multiple values
- How to get users by a custom field / by user meta data?
- Auto sort the wp-admin post list by a meta key
- Adding another state (spam, reject, approve) to wordpress comments?
- Allow user to create instances of custom field
- Add custom field (value) to search result (without plugin)
- How to add a theme custom variable to a post title?
- Save HTML formatted data to post meta using add_post_meta()
- Check before publishing, if already exist post with current custom field value
- Register new user and add custom data row value for it
- Create ul list in Custom Meta Box?
- Create custom field key upon theme activation
- Save attachment custom fields on front end
- Display custom field only if value present?
- Advice needed for importing custom field data and database structure
- How to save multiple metaboxes?
- Custom field value based on other custom field values
- meta_value_num sort glitch
- Populate Custom Field Dropdown on Theme Install?
- Make URL in custom field hyper link
- Sorting posts by custom fields in meta_query
- nextgen gallery: how to get picture url by gallery id
- meta_query for a string inside a meta field containing a comma-separated list
- Combine multiple custom field values into single value
- Creating a custom menu/widget area
- How to add posts through CSV or excel file in a PHP file
- Modifying custom order item meta from admin order view
- Let users track progress by entering a number daily in profile?
- WooCommerce – Adding Custom Fields To Invoice
- Can’t display errors in attachment_fields_to_save
- $form_fields from attachment_fields_to_edit returning empty array
- How to link keywords in custom fields?
- Customizing WP user profile with custom fields
- Custom Field 101
- When creating a metabox do you have to create DB fields for the data?
- Adding custom field to post object from custom table
- Using abs() with custom field in orderby statement
- Can’t save custom field on registration page
- Best filter to use for modifying custom fields on a post?
- How do I query the title (or handle?) of post meta fieldset (created with Simple Fields Plugin)
- Is it preferable to use custom code to create metaboxes instead of plugins (such as ACF) and if so why? [closed]
- Function that replaces the image in the absence of the post meta
- check for duplicate user meta data before updating
- Is there a way to set default custom fields when creating a new post?
- WP Cli – post add meta in xargs after wp post generate – add multiple fields
- Anyone know how to use ACF and show custom fields for logged in users only on a post? [closed]
- How to redirect to home page according to a specific page custom fields value and user name
- Add custom column for custom field
- ul list with only as many li’s as filled custom fields
- Is there a way to dump all registered sidebar/widget?
- How to hide post meta
- ACF Plugin How to make the customer add more fields in the post?
- custom field in admin columns
- Custom metabox not working
- Meta Box Plugin Cloned Fields – Multiple Foreach values
- get_post_meta returns 0
- Populate wordpress menu with link to custom field value (file download)
- Selectively hiding or allowing thumbnails of featured images on front page
- Custom field bug in WordPress 3.2
- Users uploaded image and matching an id or taxonomy
- Adding data to User profile
- How can I change author of posts to the value of one of the custom field of the posts?
- Let any visitors delete a post if they know Id nr & password?
- Is it possible to add Term Meta Fields to a WooCommerce Attribute?
- update a custom field with the value of another existing custom field
- Post meta data not showing in frontend, until hitting ‘update’ button
- Ordering posts by custom fields (Date)
- register_form, custom field not submitted on first try
- PHP and Shortcode Combination
- Retrieving Advanced Custom Field within Shortcode Function [closed]
- How to properly get popular Posts by multiple Values
- Echo out custom fields in comments
- Query Custom Fields in Searchform
- Make custom user_meta as permalink for post
- Creating Structured Documents (books) in WordPress?
- Filter query based on date in custom field
- Get custom fields when hover link of post
- WP Query multiple select form – meta_query help
- update_post_meta not working in action hook
- Group pages by custom field values
- Convert many posts from having a specific meta_key to use a post_format
- Custom fields: my custom checkbox area doesn’t seem to work
- get_post_custom_values not working
- How to create Parent-Child relation for custom fields?
- How to check if custom field exists in this widget query
- display loop only if a post meta data exist
- How do i output images from URL’s added to the same custom field key
- Add Custom field under the post title [closed]
- Check if a field is capitalized?
- Filter Query Post by Custom Fields(by date)
- Can’t sort custom column on user.php by number / meta_value_num?
- Need to call this php function inside a modal window from text widget
- add multiple values (array) to post meta_input
- Assign class to Drop Down Selections in WooCommerce Products Custom Fields
- Conditional display based on ACF checkbox