SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000186
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT `image`.*,
`data`.filename, `data`.description, `data`.file_size, `data`.file_hash, data.width, data.height, data.thumbnail_width, data.thumbnail_height,
user.user_id, user.username, user.avatar_date, user.gravatar
FROM xfr_useralbum_image AS `image`
INNER JOIN xfr_useralbum_image_data AS `data` ON (`data`.data_id = `image`.data_id)
INNER JOIN xf_user AS `user` ON (`user`.user_id = `data`.user_id)
WHERE `image`.image_id = ?
Params: 2396
Run Time: 0.021889
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | image | const | PRIMARY | PRIMARY | 4 | const | 1 | |
| SIMPLE | data | const | PRIMARY,user_id_upload_date | PRIMARY | 4 | const | 1 | |
| SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT album.*
,
user.*
FROM xfr_useralbum AS album
LEFT JOIN xf_user AS user ON
(user.user_id = album.user_id)
WHERE album.album_id = ?
Params: 151
Run Time: 0.000515
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | album | const | PRIMARY | PRIMARY | 4 | const | 1 | |
| SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT `image`.*,
`data`.filename, `data`.description, `data`.file_size, `data`.file_hash, data.width, data.height, data.thumbnail_width, data.thumbnail_height
FROM xfr_useralbum_image AS `image`
INNER JOIN xfr_useralbum_image_data AS `data` ON
(`data`.data_id = `image`.data_id)
WHERE `image`.album_id IN (151)
ORDER BY `image`.album_id, `image`.image_date
Run Time: 0.010648
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | image | ref | album_id_date | album_id_date | 4 | const | 15 | Using where |
| SIMPLE | data | eq_ref | PRIMARY | PRIMARY | 4 | rpm2nite_site.image.data_id | 1 | |
INSERT DELAYED INTO xfr_useralbum_image_view
(image_id)
VALUES
(?)
Params: 2396
Run Time: 0.000144
SELECT *
FROM xf_liked_content
WHERE content_type = ?
AND content_id = ?
AND like_user_id = ?
Params: xfr_useralbum_image, 2396, 0
Run Time: 0.000187
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
SELECT
comment.*, user.avatar_date, user.avatar_width, user.avatar_height, user.gravatar
FROM xfr_useralbum_image_comment AS comment
LEFT JOIN xf_user AS user
ON (user.user_id = comment.user_id)
WHERE comment.image_id = 2396
ORDER BY comment_date DESC
Run Time: 0.017672
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | comment | ref | image_id_comment_date | image_id_comment_date | 4 | const | 1 | Using where |
| SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | rpm2nite_site.comment.user_id | 1 | |
SELECT album.*
FROM xfr_useralbum AS album
WHERE album.album_id = ?
Params: 151
Run Time: 0.000183
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | album | const | PRIMARY | PRIMARY | 4 | const | 1 | |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 0072f0ecb6c2987c8fa277458b9ae022, a:5:{s:12:"sessionStart";i:1371629544;s:2:"ip";i:839952047;s:9:"userAgent";s:9:"CCBot/2.0";s:7:"isRobot";b:0;s:16:"previousActivity";i:0;}, 1371633144
Run Time: 0.000110
INSERT INTO xf_session_activity
(user_id, unique_key, ip, controller_name, controller_action, view_state, params, view_date)
VALUES
(?, ?, ?, ?, ?, ?, ?, ?)
ON DUPLICATE KEY UPDATE
ip = VALUES(ip),
controller_name = VALUES(controller_name),
controller_action = VALUES(controller_action),
view_state = VALUES(view_state),
params = VALUES(params),
view_date = VALUES(view_date)
Params: 0, 839952047, 839952047, XfRu_UserAlbums_ControllerPublic_Image, ViewImage, valid, image_id=2396, 1371629544
Run Time: 0.000069
SELECT *
FROM kingk_bbcm
ORDER BY tag
Run Time: 0.000235
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | kingk_bbcm | ALL | | | | | 7 | Using filesort |
SELECT *
FROM kingk_bbcm
ORDER BY tag
Run Time: 0.000193
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | kingk_bbcm | ALL | | | | | 7 | Using filesort |
SELECT COUNT(*) AS user_count FROM addonchat_who
Run Time: 0.000072
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | addonchat_who | index | | PRIMARY | 4 | | 1 | Using index |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('home', 'nhra_navbar_tab', 'nascar_navbar_tab', 'indy_navbar_tab', 'AddonChat_Tab')Params: 1
Run Time: 0.000153
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_phrase_compiled | range | PRIMARY | PRIMARY | 231 | | 4 | Using where |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'tinhte_xentag_bb_code_tag_tag', 'bb_code_tag_code', 'bb_code_tag_php', 'bb_code_tag_html', 'bb_code_tag_quote', 'bb_code_tag_attach', 'xfr_useralbums_image_view', 'EWRporta_Navtabs', 'xfr_useralbums_links', 'AddonChat_Tab_Links', 'EWRmedio_Navtabs', 'tinhte_xentag_hook_message_content', 'tinhte_xentag_hook_message_notices', 'tinhte_xentag_hook_post_private_controls', 'tinhte_xentag_hook_post_public_controls', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?Params: 5, 1
Run Time: 0.004713
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 160 | | 13 | Using where |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('collapsible_sidebar_arrow')
AND style_id = ?
AND language_id = ?Params: 5, 1
Run Time: 0.000119
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 160 | const,const,const | 1 | |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('ltt_ticker')
AND style_id = ?
AND language_id = ?Params: 5, 1
Run Time: 0.000089
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 160 | const,const,const | 1 | |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('merc_code_render')
AND style_id = ?
AND language_id = ?Params: 5, 1
Run Time: 0.000089
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 160 | const,const,const | 1 | |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('collapsible_sidebar_js')
AND style_id = ?
AND language_id = ?Params: 5, 1
Run Time: 0.000092
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 160 | const,const,const | 1 | |
INSERT INTO merc_ad_view (ad_id)
VALUES (11)
Run Time: 0.000032