Doesn't this ever get emptied by XF?
Apparently not.
Might be a good idea to write a script which runs on a cron to truncate this table once a month.
We purge this table every so often at random timing (normally once or twice a year).Today I check my database and found that the second largest table on my database is xf_ip. It's 14.2GB, Crazy!
So I want to empty it but don't any issue will happen if I truncate this.
http://xenforo.com/community/resources/truncate-ip-log-cron.1633/Apparently not.
Might be a good idea to write a script which runs on a cron to truncate this table once a month.
ALTER TABLE xf_ip DROP KEY user_id_log_date;
ALTER TABLE xf_ip DROP KEY ip_log_date;
ALTER TABLE xf_ip DROP KEY content_type_content_id;
ALTER TABLE xf_ip DROP KEY log_date;
wow that is freakin crazy!Today I check my database and found that the second largest table on my database is xf_ip. It's 14.2GB, Crazy!
So I want to empty it but don't any issue will happen if I truncate this.
We use essential cookies to make this site work, and optional cookies to enhance your experience.