WP Native PHP session add index

[ad_1]

Hi @hemasusi!

The operation is, as you’ve observed, in two parts: one renames the existing WP Native PHP Sessions tables and copies the data into new ones that are indexed. This is so you can run any tests you want/need to ensure the site continues to work as normal. The second part removes these duplicated tables as they are no longer needed. If during the process you find issues, you can run the primary-key-revert command to restore the old (un-indexed) tables.

The commands do not affect any other WordPress database tables. They only affect the ones created and used by the WP Native PHP Sessions plugin. The steps are broken out deliberately to allow time to test and ensure that your site continues to operate as normal after the new indexed tables are created. The only functionality that might be affected by the process is any behavior around user sessions that you may be using the plugin for.

So, yes, it is safe to run the same steps on your live environment. I would recommend running the initial command, testing the behavior, and then run the finalize command to clean up the database once you are sure that everything is working normally. There does not need to be any rush to finalize if you want to take more time to test as that is just deleting tables that are no longer in use.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer