Revisioning is a WordPress feature that enable us to access previous version or version history of a particular post or a page. With this feature you can compare post changes with ease. While composing a post, WordPress will save the post at every 60 seconds and save them as revisions. all these revisions will save in the database and keep even after you publish the post or update.
But at the end of the day this will result in increasing the entries in database (under each post) and will slow down your database performance. To get rid of this, you can either limit the maximum post revision to a lower number or disable post revisions in WordPress completely.
Disable post revisions in wordpress
Navigate to to your website’s root directory called “public_html” and find the file “wp-config.php” and edit, Add below 3 lines before “ABSPATH” starts ( this is important)
//disable WP Post Revisions
define(‘AUTOSAVE_INTERVAL’, 300); // seconds
Now save the wp-config.php file , you are done. WordPress will never save revisions hereafter. If you want to limit the maximum number of revisions to 3, edit like below
For more informations visit WordPress support documentation