baba888 Posted February 12, 2021 Share Posted February 12, 2021 Hello, Any idea if the guest table can be emptied please? What it is used for? I see over 6 000 000 rows. Thanks! Link to comment Share on other sites More sharing options...
musicmaster Posted February 12, 2021 Share Posted February 12, 2021 (edited) Just like connections it is a statistics table that can grow very big and that you can empty it if you aren't interested in the information it contains. Have a look at its content to see whether you find the information interesting. Edited February 13, 2021 by musicmaster (see edit history) Link to comment Share on other sites More sharing options...
baba888 Posted February 12, 2021 Author Share Posted February 12, 2021 This can really slow down a website, isn't it If I delete such data, will there be any other related tables which may break? Thank you Link to comment Share on other sites More sharing options...
Rhobur Posted February 13, 2021 Share Posted February 13, 2021 Nothing will break, that data is used only in the Prestashop statistic modules in Dashboard. If you don't need those module (visitors, sales etc) you can safely empty the guests and connection tables and rely on Google Analytics or similar. Guests is marginally used for returning visitors without account to retrieve an abandoned cart or similar info, not that important maybe either. Or, you could export these table to archive them before emptying them so you can extract that info if you later find you need it. Link to comment Share on other sites More sharing options...
baba888 Posted February 13, 2021 Author Share Posted February 13, 2021 Thank you. Your answer really help. Would you know if there are any of tables in prestashop that can be manually deleted without any problems please? Link to comment Share on other sites More sharing options...
joseantgv Posted February 14, 2021 Share Posted February 14, 2021 Check this: https://gist.github.com/julienbourdeau/cca88e986a75e19488c2397f1386a3dc https://www.dreamtheme.eu/blog/how-to-clean-and-optimize-your-prestashop-database/ https://prestacraft.com/clearing-unnecessary-data-from-prestashop-database/# Link to comment Share on other sites More sharing options...
musicmaster Posted February 15, 2021 Share Posted February 15, 2021 On 2/13/2021 at 11:13 AM, benito1980 said: Would you know if there are any of tables in prestashop that can be manually deleted without any problems please? Please do not delete the tables. Just empty them. Link to comment Share on other sites More sharing options...
baba888 Posted February 15, 2021 Author Share Posted February 15, 2021 Thank you, I think the link you posted above seems perfect. Hope this works in 1.7.x.x versions: https://www.dreamtheme.eu/blog/how-to-clean-and-optimize-your-prestashop-database/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now