[英]For a stats systems what's better in MySQL: InnoDB, Archive or MyISAM?
I want to store all accesses to a webpage with user-agent, script-execution-time, request-uri, full referer and some more variables. 我想使用用户代理,脚本执行时间,request-uri,完整引用以及更多变量来存储对网页的所有访问 。
What I have been doing is use normalized MyISAM tables like: 我一直在做的是使用标准化的MyISAM表,例如:
stats
stats_user_agents
stats_referers
stats_requested_uris
But in a normal webpage this takes some SELECT's and 1 INSERT . 但是在正常的网页中,这需要一些SELECT和1 INSERT 。
It's better use ARCHIVE tables? 最好使用ARCHIVE表?
The stats records will be from 0 to some millions. 统计记录从0到几百万。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.