@Dilish_Vajrala wrote:
need some urgent help
we are trying to upgrade our piwik version from 2.16 to 3.0.3 and the db upgrade doesn't seem to work. I am running it from the server and query updating this table in particular fails piwik_log_link_visit_action. our DB is 750 G and that table has 2 billion rows. after running for several hours it fails with this error ERROR 1034 (HY000): Incorrect key file for table 'piwik_log_link_visit_action'; try to repair it. Is there another way to update this table ? I need to run two alter statements
ALTER TABLEpiwik_log_link_visit_action
ADD COLUMNidpageview
CHAR(6) NULL DEFAULT NULL, ADD COLUMNinteraction_position
SMALLINT UNSIGNED DEFAULT NULL, MODIFY COLUMNtime_spent_ref_action
INTEGER(10) UNSIGNED NULL;
ALTER TABLEpiwik_log_link_visit_action
CHANGEidlink_va
idlink_va
BIGINT(10) UNSIGNED NOT NULL AUTO_INCREMENT, CHANGEidvisit
idvisit
BIGINT(10) UNSIGNED NOT NULL, CHANGEidaction_name_ref
idaction_name_ref
INTEGER(10) UNSIGNED NULL;lplease help ..the system is down for our users and can't be used untill the DB upgrade is complete.
Posts: 1
Participants: 1