Jump to content

huge database on PS 8


cpuin

Recommended Posts

Hi — this may help, and @Daresh is also correct.  now we discuss 101 times...loool
Using phpMyAdmin, you can sort your database by table size and row count to quickly identify which tables are growing abnormally. Without doing this, you are essentially guessing and won’t know where the actual bloat is coming from.

Be aware that some modules store caches and logs in database tables, and these can grow very large over time if not managed properly.

How to find large tables using phpMyAdmin:

Log in to phpMyAdmin from your hosting control panel.

Select your PrestaShop database from the left sidebar.

Click the Structure tab (this is the default view).

Scroll to the bottom of the table list and ensure the following columns are visible:

  • Rows
  • Data length
  • Index length
  • Size

Click the Size column header to sort tables by total size (Data + Index).

Alternatively, click Rows to sort by row count and identify log- or cache-heavy tables.

Tables that stand out as unusually large are typically the source of database growth and performance issues.

Here is an article that outlines common PrestaShop tables that tend to grow large, and which ones can typically be safely emptied or pruned (depending on your setup):

https://prestaheroes.com/blogs/mysql-optimization/which-large-prestashop-tables-can-be-dropped-or-emptied-safely

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...