Stats User Monthly Table Schema (stats_user_monthly)


Description

To accumulate monthly stats per course/user

stats_user_monthly 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_monthly table indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
statusermont_cou_ix Performance Asc courseid
statusermont_rol_ix Performance Asc roleid
statusermont_tim_ix Performance Asc timeend
statusermont_use_ix Performance Asc userid

stats_user_monthly table relationships