Back

SQL Explained

Executed SQL
SELECT `django_flatpage`.`id`, `django_flatpage`.`url`, `django_flatpage`.`title`, `django_flatpage`.`content`, `django_flatpage`.`enable_comments`, `django_flatpage`.`template_name`, `django_flatpage`.`registration_required` FROM `django_flatpage` INNER JOIN `django_flatpage_sites` ON (`django_flatpage`.`id` = `django_flatpage_sites`.`flatpage_id`) WHERE (`django_flatpage`.`url` = / AND `django_flatpage_sites`.`site_id` = 1 )
Time
111.83 ms
ID SELECT_TYPE TABLE TYPE POSSIBLE_KEYS KEY KEY_LEN REF ROWS EXTRA
1 SIMPLE django_flatpage ref PRIMARY,django_flatpage_url django_flatpage_url 302 const 1 Using index condition
1 SIMPLE django_flatpage_sites eq_ref flatpage_id,site_id_refs_id_4e3eeb57 flatpage_id 8 hopes_website.django_flatpage.id,const 1 Using index