Stats User Daily Table Schema (stats_user_daily)


Description

To accumulate daily stats per course/user

stats_user_daily table columns

Column Type Size Nulls Auto Default Children Parents Comments
id BIGINT 19 null
courseid BIGINT 19 0
course.id Implied Constraint R
userid BIGINT 19 0
user.id Implied Constraint R
roleid BIGINT 19 0
role.id Implied Constraint R
timeend BIGINT 19 0
statsreads BIGINT 19 0
statswrites BIGINT 19 0
stattype VARCHAR 30

Table contained -1 rows

stats_user_daily table indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
statuserdail_cou_ix Performance Asc courseid
statuserdail_rol_ix Performance Asc roleid
statuserdail_tim_ix Performance Asc timeend
statuserdail_use_ix Performance Asc userid

stats_user_daily table relationships