Resequencing Auto Increment Tables
-
[ Moved to the Fixing WordPress sub-forum. ]
The following tables in WordPress Multisite each have an Auto Increment value as their primary index id (## represents the blog id in multisite):
- wp_##_commentmeta
- wp_##_comments
- wp_##_links
- wp_##_options
- wp_##_postmeta
- wp_##_posts
- wp_##_termmeta
- wp_##_terms
- wp_##_term_taxonomy
- wp_usermeta
- wp_users
- wp_blog_versions
- wp_blogs
- wp_site
- wp_sitemeta
Is there any harm in periodically resequencing the AI by resetting AI to 1, sequencing the table rows from 1 to whatever, and rebuilding the next AI value accordingly?
The reason for my inquiry is a couple of the tables are getting way out of hand with extremely high next AI values due to removal/deletion of rows in the table.
Thank you for offering advice and opinion on this desired action.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Resequencing Auto Increment Tables’ is closed to new replies.