Jump to content

velocizzare db e ridimensionare utilissimo


cyber

Recommended Posts

Ciao amici se avete il vostro.db troppo grande basta che andate in phpmyadmin e nella query inserite

 

 

TRUNCATE TABLE `ps_connections`;

TRUNCATE TABLE `ps_connections_page`;

TRUNCATE TABLE `ps_connections_source`;

TRUNCATE TABLE `ps_page_viewed`;

TRUNCATE TABLE `ps_guest`;

il mio da 50 mega magicamente è diventato 8 mega :)

Link to comment
Share on other sites

Ma scusate... come mai si devono cancellare quelle connessioni se prestashop sele salva?

A che servono?

 

Sono tabelle che riguardano le statistiche utenti del tuo prestashop.

Se hai 10 visitatori al giorno puoi tranquillamente ignorare quanto riportato in questo topic.

Se il tuo ecommerce genera invece molte visite ed ordini quotidiani, ti accorgerai ben presto che il tuo database cresce a livello esponenziale. In questo caso è utile cancellare il contenuto di tali tabelle all'interno del DB...perdi alcune informazioni a livello di statistiche, ma non comprometti il tuo eshop e soprattutto gli dai nuova vita con un database 10 volte più snello.

saluti,

Tom

Link to comment
Share on other sites

  • 1 year later...

Ciao amici se avete il vostro.db troppo grande basta che andate in phpmyadmin e nella query inserite

 

 

 

TRUNCATE TABLE `ps_connections`;

 

TRUNCATE TABLE `ps_connections_page`;

 

TRUNCATE TABLE `ps_connections_source`;

 

TRUNCATE TABLE `ps_page_viewed`;

 

TRUNCATE TABLE `ps_guest`;

 

 

 

il mio da 50 mega magicamente è diventato 8 mega :)

 

Ciao Cyber a cosa si riferiscono queste tabelle? grazie mille

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...