How about going one step further and modify the accesslog table to not store data in the first place - execute this query through web config instead of as a db admin:
ALTER TABLE {accesslog} ENGINE = BLACKHOLE;
http://dev.mysql.com/doc/refman/5.1/en/blackhole-storage-engine.html
Comments
Comment #1
mfbI'm not clear why this is useful.. why enable statistics module if you are not storing any statistics?
Comment #2
deekayen commentedIt was meant as an example for the other ip_anon tables as well, though it hadn't occured to me at the time to disable statistics.
Comment #3
mfbfor watchdog table simply disable dblog module.. comment table disable comment module.. the sessions table isn't really blackholeable unless you are somehow replacing the session subsystem.
Comment #4
deekayen commentedI shouldn't post feature requests after 11pm.