Ir para conteúdo
View in the app

A better way to browse. Learn more.

GGames Fórum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Notou que seu banco de dados está gordinho?  Nesse exemplo são mais de 1GB de informações descartáveis!

image.png

Para limpar é fácil, vá em SISTEMAS > CONFIGURAÇÕES, lá no final localize AVANÇADO > SISTEMA.

image.png

Em LOG CLEANING, ative o método de limpeza. Em SAVE LOG, por padrão fica 180 dias, eu mudei para 20.

Para concluir, limpe o CACHE e em seguida e processe um REINDEX.

Agora se você não quer esperar o servidor trabalhar, vamos EXCLUIR os dados salvo no banco! Execute esse comando em seu banco de dados, será o suficiente para eliminar as tabelas. 

TRUNCATE dataflow_batch_export;
TRUNCATE dataflow_batch_import;
TRUNCATE log_customer;
TRUNCATE log_quote;
TRUNCATE log_summary;
TRUNCATE log_summary_type;
TRUNCATE log_url;
TRUNCATE log_url_info;
TRUNCATE log_visitor;
TRUNCATE log_visitor_info;
TRUNCATE log_visitor_online;
TRUNCATE report_viewed_product_index;
TRUNCATE report_compared_product_index;
TRUNCATE report_event;
TRUNCATE index_event;

Faça um backup antes!

Fiz o download do banco de dados, como podem ver... apenas 11MB! Eliminei quase 95% de lixo.

image.png

Esse é o registro do CPANEL (tinha quase 2gb de banco de dados).

image.png

Prints por FORBIDDEEN e instruções, SQL por stackoverflow

Feedback do Usuário

Comentários Recomendados

Não há comentários para mostrar.

Crie uma conta ou entre para comentar

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.