SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000203
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: userAlbums
Run Time: 0.000258
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_data_registry | const | PRIMARY | PRIMARY | 77 | const | 1 | |
SELECT album.*
,
user.*,
image_data.data_id AS image_data_id, image_data.file_hash AS image_file_hash
FROM xfr_useralbum AS album
LEFT JOIN xf_user AS user ON
(user.user_id = album.user_id)
LEFT JOIN xfr_useralbum_image AS image ON image.image_id = album.last_image_id
LEFT JOIN xfr_useralbum_image_data AS image_data ON image_data.data_id = image.data_id
WHERE album.moderation = 0 AND (album.album_type = 'public' OR album.album_type = 'global') AND album.last_image_date > 0
ORDER BY album.last_image_date DESC, album.createdate DESC
LIMIT 12
Run Time: 0.002652
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | album | ALL | | | | | 488 | Using where; Using filesort |
| SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | rpm2nite_site.album.user_id | 1 | |
| SIMPLE | image | eq_ref | PRIMARY | PRIMARY | 4 | rpm2nite_site.album.last_image_id | 1 | |
| SIMPLE | image_data | eq_ref | PRIMARY | PRIMARY | 4 | rpm2nite_site.image.data_id | 1 | |
SELECT
comment.*, user.username, user.avatar_date, user.avatar_width, user.avatar_height, user.gravatar,
album.title, album.album_id
FROM xfr_useralbum_image_comment AS comment
LEFT JOIN xf_user AS user
ON (user.user_id = comment.user_id)
LEFT JOIN xfr_useralbum_image AS image
ON (image.image_id = comment.image_id)
LEFT JOIN xfr_useralbum AS album
ON (album.album_id = image.album_id)
WHERE album.album_type = 'public' AND moderation = 0
ORDER BY comment.comment_date DESC
LIMIT 10
Run Time: 0.000507
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | comment | ALL | image_id_comment_date | | | | 4 | Using filesort |
| SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | rpm2nite_site.comment.user_id | 1 | |
| SIMPLE | image | eq_ref | PRIMARY,album_id_date | PRIMARY | 4 | rpm2nite_site.comment.image_id | 1 | Using where |
| SIMPLE | album | eq_ref | PRIMARY | PRIMARY | 4 | rpm2nite_site.image.album_id | 1 | Using where |
SELECT album.*
,
user.*,
image_data.data_id AS image_data_id, image_data.file_hash AS image_file_hash
FROM xfr_useralbum AS album
LEFT JOIN xf_user AS user ON
(user.user_id = album.user_id)
LEFT JOIN xfr_useralbum_image AS image ON image.image_id = album.last_image_id
LEFT JOIN xfr_useralbum_image_data AS image_data ON image_data.data_id = image.data_id
WHERE album.moderation = 0 AND (album.album_type = 'public' OR album.album_type = 'global') AND album.last_image_date > 0
ORDER BY album.likes DESC
LIMIT 5
Run Time: 0.001891
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | album | ALL | | | | | 488 | Using where; Using filesort |
| SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | rpm2nite_site.album.user_id | 1 | |
| SIMPLE | image | eq_ref | PRIMARY | PRIMARY | 4 | rpm2nite_site.album.last_image_id | 1 | |
| SIMPLE | image_data | eq_ref | PRIMARY | PRIMARY | 4 | rpm2nite_site.image.data_id | 1 | |
SELECT *
FROM xf_thread
WHERE node_id IN (2 , 3 , 4 , 5 , 6 , 32)
ORDER BY last_post_date DESC
LIMIT 10;Run Time: 0.000410
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_thread | index | node_id_last_post_date,node_id_sticky_last_post_date | last_post_date | 4 | | 20371 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 3e001d150e5ce5bcf151034d9ebd6915, a:5:{s:12:"sessionStart";i:1369286136;s:2:"ip";i:3091773544;s:9:"userAgent";s:9:"CCBot/2.0";s:7:"isRobot";b:0;s:16:"previousActivity";i:0;}, 1369289736
Run Time: 0.000091
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, 3091773544, 3091773544, XfRu_UserAlbums_ControllerPublic_Albums, Index, valid, , 1369286136
Run Time: 0.000051
SELECT COUNT(*) AS user_count FROM addonchat_who
Run Time: 0.000077
| 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.000145
| 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', 'xfr_useralbums_albums_list_grid', '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.000469
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 160 | | 9 | 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.000130
| 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.000087
| 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.000095
| 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