Movielogr

Hours Watched By Year

Number of hours jcdeleon1 has logged by year viewed.

Hours Watched By Year
YearHours Watched
20124
  BENCHMARKS  
Loading Time: Base Classes  0.0018
Controller Execution Time ( Members / Hours Watched Overview )  0.0097
Total Execution Time  0.0116
  GET DATA  
No GET data exists
  MEMORY USAGE  
506,952 bytes
  POST DATA  
No POST data exists
  URI STRING  
members/jcdeleon1/hours
  CLASS/METHOD  
members/hours_watched_overview
  DATABASE:  movielogr_dev (Members:$db)   QUERIES: 6 (0.0020 seconds)  (Hide)
0.0004   SELECT 1
FROM 
`ml_sessions`
WHERE `id` = '4c575e268191d6ac8d9809da79c615d0006759d8'
AND `ip_address` = '216.73.216.111' 
0.0002   SELECT GET_LOCK('e2bf5be13907f411235db9e3903c38b0'300) AS ci_session_lock 
0.0003   SELECT `data`
FROM `ml_sessions`
WHERE `id` = '4c575e268191d6ac8d9809da79c615d0006759d8'
AND `ip_address` = '216.73.216.111' 
0.0004   SELECT `username`, `user_id`
FROM `ml_users`
WHERE `username` = 'jcdeleon1'
 
LIMIT 1 
0.0004   SELECT DISTINCT(YEAR(MV.date_viewed)) as year
FROM 
`ml_movies` `MV`
WHERE `MV`.`user_id` = 65
GROUP BY YEAR
(date_viewed) 
0.0004   SELECT YEAR(MV.date_viewed) as yearROUND(SUM(MT.runtime)/60) AS hours_watched
FROM 
`ml_movies` `MV`
LEFT JOIN `ml_movie_titles` `MTON `MV`.`title_id` = `MT`.`title_id`
WHERE `MV`.`user_id` = 65
GROUP BY YEAR
(date_viewed)
ORDER BY `yearDESC
 LIMIT 10 
  HTTP HEADERS  (Show)
  SESSION DATA  (Show)
  CONFIG VARIABLES  (Show)