Con el tiempo la base de datos está creciendo con Magento. Entre otras cosas, esto es a menudo en los archivos de registro, escrito automáticamente por el sistema. Estos pueden ser mantenidos en una variedad de formas o. mantenerse.
Pero, ¿quién quiere eliminar rápidamente todos los archivos de registro de tiempo, por ejemplo, mediante. para reducir la base de datos, Esto rápidamente se puede hacer un comando SQL en.

Para este propósito, por ejemplo. ir a PHPMyAdmin, el hormigón y, a continuación, seleccione la ficha base de datos “SQL” HACER CLIC. A continuación, introduzca estos datos en la ventana
TRUNCATE TABLE log_customer; TRUNCATE TABLE log_quote; TRUNCATE TABLE log_summary; TRUNCATE TABLE log_summary_type; TRUNCATE TABLE log_url; TRUNCATE TABLE log_url_info; TRUNCATE TABLE log_visitor; TRUNCATE TABLE log_visitor_info; TRUNCATE TABLE log_visitor_online;
y haga clic en Aceptar. El registro de datos se elimina.
Se utiliza en las versiones de Magento 1.4.1.1 Y 1.5.1.0 Comentarios? Adiciones? Notas? Con alegría!
Adición de fecha 11.11.2013
En la versión 1.7.0.2 Yo uso este comando en la actualidad:
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; TRUNCATE catalog_compare_item;

Hola,
kann ich die SQL-Abfrage zu 1.7.x auch für 1.8.0.1 EMPLEAR?
Saludos
Ich habe es eben einmal bei unserem 1.8.1.0er Testshop probiert. Der hatte nur ein Problem mit der Zeile TRUNCATE index_event;. Jedoch schadete das auch nicht. Gibt dann eben nur eine Fehlermeldung nach dem SQL Befehl: #1701 – Cannot truncate a table referenced in a foreign key constraint (`testshop``index_process_event`, CONSTRAINT `FK_INDEX_PROCESS_EVENT_EVENT_ID_INDEX_EVENT_EVENT_ID` LLAVE EXTRANJERA (`event_id`) REFERENCIAS `testshop``index_event` (`event_id`)
Gracias !!!!