Freddykhoury Posted July 24, 2022 Share Posted July 24, 2022 Hello, I have installed the Stripe module and nw the Table ps_stripe_official_processlogger i too big 183,000 record. Can I delete the recod? thank you Link to comment Share on other sites More sharing options...
Ali Samie Posted July 24, 2022 Share Posted July 24, 2022 You can check this: Link to comment Share on other sites More sharing options...
Ali Samie Posted July 24, 2022 Share Posted July 24, 2022 Link to comment Share on other sites More sharing options...
Freddykhoury Posted July 24, 2022 Author Share Posted July 24, 2022 @stifler97 I tried the optimization and they got bigger the website is up and tuning since 2021 and the DB is 2.4GB ps_guest ~1,680,131 184MB ps_layered_price_index ~1,518,714 242MB ps_connections ~1,466,227 163MB I only have 3000 Products and about 400 orders per months ps_layered_price_index has the record for each product for all countries. I only delier to 1 country, can I delete the record that are not related to the delivery country? I tried it on the test website and it is working fine as for the other table i am not ure what are the consequences if i empty them Thank you Link to comment Share on other sites More sharing options...
Ali Samie Posted July 24, 2022 Share Posted July 24, 2022 I thought about this for a short time. This is what I came up with: 1. Make a full copy of your shop in a test server 2. Delete all unwanted countries in BO 3. Set a target on some specific and old customers Then you can follow these steps: 1. Delete some of old rows in database which are related to thos customers, login as that customer and check funtionalitily of the shop features 2. Instead of deleting a row in database, rename the table into a new archived table and recreate that table, lets say you have problem with ps_guest, you can rename it to ps_guest-ARC-2022_jul_24 and then recreate the ps_guest as it should be. You can do this to some tables and test it. Another thing is to separate the web server from database server. You can ask your hosting for a guid about this. I think this last option is the most promissing workaround. 1 Link to comment Share on other sites More sharing options...
El Patron Posted July 24, 2022 Share Posted July 24, 2022 4 hours ago, stifler97 said: I thought about this for a short time. This is what I came up with: 1. Make a full copy of your shop in a test server 2. Delete all unwanted countries in BO 3. Set a target on some specific and old customers Then you can follow these steps: 1. Delete some of old rows in database which are related to thos customers, login as that customer and check funtionalitily of the shop features 2. Instead of deleting a row in database, rename the table into a new archived table and recreate that table, lets say you have problem with ps_guest, you can rename it to ps_guest-ARC-2022_jul_24 and then recreate the ps_guest as it should be. You can do this to some tables and test it. Another thing is to separate the web server from database server. You can ask your hosting for a guid about this. I think this last option is the most promissing workaround. totally agree, 90% of most questions can be answered if you first try it on a copy of your production shop. it's the most important part of having a successful business. 1 Link to comment Share on other sites More sharing options...
Ali Samie Posted July 24, 2022 Share Posted July 24, 2022 Thanks for your attention. I am learning from seniors like you @El Patron 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