Movielogr

movie poster

View on: IMDb | TMDb

The Last King of Scotland (2006)

Directed by Kevin Macdonald

Overview

Young Scottish doctor, Nicholas Garrigan decides it’s time for an adventure after he finishes his formal education, so he decides to try his luck in Uganda, and arrives during the downfall of President Obote. General Idi Amin comes to power and asks Garrigan to become his personal doctor.

Rated R | Length 123 minutes

Actors

Forest Whitaker | James McAvoy | Kerry Washington | Gillian Anderson | Simon McBurney | Giles Foden | David Oyelowo | Abby Mukiibi Nkaaga | Adam Kotz | David Ashton | Barbara Rafferty | Martina Amati | Stephen Rwangyezi | Sam Okelo | Sarah Nagayi | Dick Stockley | Chris Wilson | Devon Diep | Daniel Ssettaba | Andrew Williams

  BENCHMARKS  
Loading Time: Base Classes  0.0016
Controller Execution Time ( Overview / Movie Detail )  0.0225
Total Execution Time  0.0241
  GET DATA  
No GET data exists
  MEMORY USAGE  
513,952 bytes
  POST DATA  
No POST data exists
  URI STRING  
overview/movie_detail/7073
  CLASS/METHOD  
overview/movie_detail
  DATABASE:  movielogr_dev (Overview:$db)   QUERIES: 10 (0.0037 seconds)  (Hide)
0.0004  
SELECT 1
FROM `ml_sessions`
WHERE `id` = 'e6f58dcf20c1c8d87d40592d8560dfb413877496'
AND `ip_address` = '216.73.216.6' ?>
0.0002  
SELECT GET_LOCK('1a53c5033b92fd97c79508bf4861e26f', 300) AS ci_session_lock ?>
0.0003  
SELECT `data`
FROM `ml_sessions`
WHERE `id` = 'e6f58dcf20c1c8d87d40592d8560dfb413877496'
AND `ip_address` = '216.73.216.6' ?>
0.0002  
SELECT `MT`.`title_id`, `MT`.`tmdb_id`
FROM `ml_movie_titles` `MT`
WHERE `MT`.`title_id` = 7073
 LIMIT 1 ?>
0.0003  
SET SESSION group_concat_max_len = 12288 ?>
0.0016  
SELECT `MT`.`title_id`, `title`, `prefix`, `year`, `imdb_link`, `imdb_id`, `MT`.`tmdb_id`, `overview`, `certification`, `runtime`, MAX(MP.filename) AS filename, GROUP_CONCAT(DISTINCT(DR.director_name) ORDER BY DR.tmdb_director_id ASC SEPARATOR "|") AS directors, GROUP_CONCAT(DISTINCT(DR.tmdb_director_id) ORDER BY DR.tmdb_director_id ASC SEPARATOR "|") AS director_ids, GROUP_CONCAT(DISTINCT(ACT.actor_name) ORDER BY ACT.tmdb_actor_id ASC SEPARATOR "|") AS actors, GROUP_CONCAT(DISTINCT(ACT.tmdb_actor_id) ORDER BY ACT.tmdb_actor_id ASC SEPARATOR "|") AS actor_ids
FROM `ml_movie_titles` `MT`
LEFT JOIN `ml_movie_posters` `MP` ON `MT`.`title_id` = `MP`.`title_id`
LEFT JOIN `ml_junction_movies_directors` `JMD` ON `MT`.`title_id` = `JMD`.`title_id`
LEFT JOIN `ml_directors_new` `DR` ON `JMD`.`tmdb_director_id` = `DR`.`tmdb_director_id`
LEFT JOIN `ml_junction_movies_actors` `JMA` ON `MT`.`title_id` = `JMA`.`title_id`
LEFT JOIN `ml_actors_new` `ACT` ON `JMA`.`tmdb_actor_id` = `ACT`.`tmdb_actor_id`
WHERE `MT`.`title_id` = 7073
GROUP BY `title_id` ?>
0.0001  
SET SESSION group_concat_max_len = 1024 ?>
0.0002  
SELECT `username`, `date_viewed`, `MV`.`movie_id`
FROM `ml_users` `MU`
JOIN `ml_movies` `MV` ON `MV`.`user_id` = `MU`.`user_id`
JOIN `ml_movie_titles` `MT` ON `MT`.`title_id` = `MV`.`title_id`
WHERE `MT`.`title_id` = 7073
ORDER BY `date_viewed` DESC
 LIMIT 10 ?>
0.0002  
SELECT AVG(NULLIF(rating_id, 2)) AS `avg_rating`
FROM `ml_movies`
WHERE `title_id` = 7073 ?>
0.0001  
SELECT `star_rating`
FROM `ml_movie_ratings_ten_star`
WHERE `rating_id` = 0 ?>
  HTTP HEADERS  (Show)
  SESSION DATA  (Show)
  CONFIG VARIABLES  (Show)