Changes between Version 5 and Version 6 of AccessPath


Ignore:
Timestamp:
04/06/2012 02:08:46 PM (14 years ago)
Author:
wangjianqiang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AccessPath

    v5 v6  
    22 
    33=== 访问路径数据实现 === 
    4 ||version||from||to||count||duration|| 
    5 ||3.1.0||资讯列表||文章||43543||645623545663|| 
    6 ||3.1.0||文章||评论列表||7454||63467474|| 
    7 ||3.1.0||评论列表||发表评论||535||935554|| 
    8 ||3.1.0||文章||产品详情||54||43422|| 
    9 ||3.1.0||资讯列表||美图||8324||312334343|| 
     4 
     5访问路径数据主要用于记录各路径访问情况的汇总信息,用于生成路径图谱,其数据格式定义如下: 
     6{{{ 
     7create table `access_path_*` ( 
     8  `app_id`   int unsigned not null, 
     9  `version`  varchar(255) not null, 
     10  `from`     varchar(255), 
     11  `to`       varchar(255) not null, 
     12  `count`    int unsigned default 0, 
     13  `duration` bigint unsigned default 0, 
     14  primary key (`app_id`,`version`,`from`,`to`) 
     15); 
     16}}} 
     17 
     18示例: 
     19||app_id||version||from||to||count||duration|| 
     20||5||3.1.0||资讯列表||文章||43543||645623545663|| 
     21||5||3.1.0||文章||评论列表||7454||63467474|| 
     22||5||3.1.0||评论列表||发表评论||535||935554|| 
     23||5||3.1.0||文章||产品详情||54||43422|| 
     24||5||3.1.0||资讯列表||美图||8324||312334343|| 
    1025 
    1126