-
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000227
Select Type |
Table |
Type |
Possible Keys |
Key |
Key Len |
Ref |
Rows |
Extra |
SIMPLE |
xf_permission_combination |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
-
SELECT thread.*
,
user.gender, user.avatar_date, user.gravatar,
NULL AS thread_read_date,
0 AS thread_reply_banned,
0 AS thread_is_watched,
'' AS draft_message, NULL AS draft_extra
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
WHERE thread.thread_id = ?
Params: 638
Run Time: 0.000306
Select Type |
Table |
Type |
Possible Keys |
Key |
Key Len |
Ref |
Rows |
Extra |
SIMPLE |
thread |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
SIMPLE |
user |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
-
SELECT node.*, forum.*
,
permission.cache_value AS node_permission_cache,
NULL AS forum_read_date
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'node'
AND permission.content_id = forum.node_id)
WHERE node.node_id = ?
Params: 63
Run Time: 0.000268
Select Type |
Table |
Type |
Possible Keys |
Key |
Key Len |
Ref |
Rows |
Extra |
SIMPLE |
forum |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
SIMPLE |
node |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
SIMPLE |
permission |
const |
PRIMARY |
PRIMARY |
35 |
const,const,const |
1 |
|
-
SELECT EWRporta2_articles.*, xf_thread.*, xf_post.*, xf_user.*, EWRporta2_authors.*
FROM EWRporta2_articles
INNER JOIN xf_thread ON (xf_thread.thread_id = EWRporta2_articles.thread_id)
INNER JOIN xf_post ON (xf_post.post_id = xf_thread.first_post_id)
LEFT JOIN xf_user ON (xf_user.user_id = xf_thread.user_id)
LEFT JOIN EWRporta2_authors ON (EWRporta2_authors.user_id = xf_thread.user_id)
WHERE EWRporta2_articles.thread_id = ?
Params: 638
Run Time: 0.000494
Select Type |
Table |
Type |
Possible Keys |
Key |
Key Len |
Ref |
Rows |
Extra |
SIMPLE |
EWRporta2_articles |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
SIMPLE |
xf_thread |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
SIMPLE |
xf_post |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
SIMPLE |
xf_user |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
SIMPLE |
EWRporta2_authors |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
-
SELECT post.*
,
thread.*, thread.user_id AS thread_user_id, thread.username AS thread_username,
thread.post_date AS thread_post_date,
post.user_id, post.username, post.post_date,
user.*, IF(user.username IS NULL, post.username, user.username) AS username,
user_profile.*,
user_privacy.*,
session_activity.view_date AS last_view_date,
0 AS like_date
FROM xf_post AS post
INNER JOIN xf_thread AS thread ON
(thread.thread_id = post.thread_id)
LEFT JOIN xf_user AS user ON
(user.user_id = post.user_id)
LEFT JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = post.user_id)
LEFT JOIN xf_user_privacy AS user_privacy ON
(user_privacy.user_id = post.user_id)
LEFT JOIN xf_session_activity AS session_activity ON
(post.user_id > 0 AND session_activity.user_id = post.user_id AND session_activity.unique_key = CAST(post.user_id AS BINARY))
WHERE post.thread_id = ?
AND (((post.message_state IN ('visible'))
AND (post.position >= 0 AND post.position < 10) )
OR post.post_id = thread.first_post_id)
ORDER BY post.position ASC, post.post_date ASC
Params: 638
Run Time: 0.001001
Select Type |
Table |
Type |
Possible Keys |
Key |
Key Len |
Ref |
Rows |
Extra |
SIMPLE |
thread |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
Using filesort |
SIMPLE |
post |
ref |
PRIMARY,thread_id_post_date,thread_id_position |
thread_id_post_date |
4 |
const |
60 |
Using where |
SIMPLE |
user |
eq_ref |
PRIMARY |
PRIMARY |
4 |
fifavnor_xf.post.user_id |
1 |
|
SIMPLE |
user_profile |
eq_ref |
PRIMARY |
PRIMARY |
4 |
fifavnor_xf.post.user_id |
1 |
|
SIMPLE |
user_privacy |
eq_ref |
PRIMARY |
PRIMARY |
4 |
fifavnor_xf.post.user_id |
1 |
|
SIMPLE |
session_activity |
eq_ref |
PRIMARY |
PRIMARY |
22 |
fifavnor_xf.post.user_id,func |
1 |
Using where |
-
INSERT DELAYED INTO xf_thread_view
(thread_id)
VALUES
(?)
Params: 638
Run Time: 0.000056
-
SELECT `thread_id`, `title`, `view_count`, `post_date`
FROM `xf_thread`
WHERE `node_id` = 63
ORDER BY RAND()
LIMIT 0, 10
Run Time: 0.001350
Select Type |
Table |
Type |
Possible Keys |
Key |
Key Len |
Ref |
Rows |
Extra |
SIMPLE |
xf_thread |
ref |
node_id_last_post_date,node_id_sticky_state_last_post |
node_id_last_post_date |
4 |
const |
323 |
Using temporary; Using filesort |
-
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('BRC_action_login', 'BRC_action_login_description', 'BRC_action_exchange', 'BRC_action_exchange_description', 'BRC_action_transfer', 'BRC_action_transfer_description', 'BRC_action_withdraw', 'BRC_action_withdraw_description', 'BRC_action_steal', 'BRC_action_steal_description', 'BRC_action_paypalPayment', 'BRC_action_paypalPayment_description', 'BRC_action_paypalPaymentRe', 'BRC_action_paypalPaymentRe_description', 'BRC_action_registration', 'BRC_action_registration_description', 'BRC_action_facebookAssociate', 'BRC_action_facebookAssociate_description', 'BRC_action_facebookDisassociate', 'BRC_action_facebookDisassociate_description', 'BRC_action_twitterAssociate', 'BRC_action_twitterAssociate_description', 'BRC_action_twitterDisassociate', 'BRC_action_twitterDisassociate_description', 'BRC_action_googleAssociate', 'BRC_action_googleAssociate_description', 'BRC_action_googleDisassociate', 'BRC_action_googleDisassociate_description', 'BRC_action_birthday', 'BRC_action_birthday_description', 'BRC_action_importVbb', 'BRC_action_importVbb_description', 'BRC_action_interest', 'BRC_action_interest_description', 'BRC_action_updateFullProfile', 'BRC_action_updateFullProfile_description', 'BRC_action_updateFullProfileRe', 'BRC_action_updateFullProfileRe_description', 'BRC_action_uploadAvatar', 'BRC_action_uploadAvatar_description', 'BRC_action_uploadAvatarRe', 'BRC_action_uploadAvatarRe_description', 'BRC_action_updateStatus', 'BRC_action_updateStatus_description', 'BRC_action_follow', 'BRC_action_follow_description', 'BRC_action_followRe', 'BRC_action_followRe_description', 'BRC_action_getFollower', 'BRC_action_getFollower_description', 'BRC_action_getFollowerRe', 'BRC_action_getFollowerRe_description', 'BRC_action_profilePost', 'BRC_action_profilePost_description', 'BRC_action_getProfilePost', 'BRC_action_getProfilePost_description', 'BRC_action_likeProfilePost', 'BRC_action_likeProfilePost_description', 'BRC_action_likeProfilePostRe', 'BRC_action_likeProfilePostRe_description', 'BRC_action_receiveProfilePostLike', 'BRC_action_receiveProfilePostLike_description', 'BRC_action_receiveProfilePostLikeRe', 'BRC_action_receiveProfilePostLikeRe_description', 'BRC_action_createConversation', 'BRC_action_createConversation_description', 'BRC_action_createConversationRe', 'BRC_action_createConversationRe_description', 'BRC_action_receiveConversation', 'BRC_action_receiveConversation_description', 'BRC_action_replyConversation', 'BRC_action_replyConversation_description', 'BRC_action_conversationGetReply', 'BRC_action_conversationGetReply_description', 'BRC_action_trophyReward', 'BRC_action_trophyReward_description', 'BRC_action_dailyReward', 'BRC_action_dailyReward_description', 'BRC_action_salary', 'BRC_action_salary_description', 'BRC_action_createNewThread', 'BRC_action_createNewThread_description', 'BRC_action_threadDeleted', 'BRC_action_threadDeleted_description', 'BRC_action_threadGetReply', 'BRC_action_threadGetReply_description', 'BRC_action_threadViewed', 'BRC_action_threadViewed_description', 'BRC_action_readThread', 'BRC_action_readThread_description', 'BRC_action_watchThread', 'BRC_action_watchThread_description', 'BRC_action_watchThreadRe', 'BRC_action_watchThreadRe_description', 'BRC_action_threadGetWatched', 'BRC_action_threadGetWatched_description', 'BRC_action_threadGetWatchedRe', 'BRC_action_threadGetWatchedRe_description', 'BRC_action_createNewPoll', 'BRC_action_createNewPoll_description', 'BRC_action_votePoll', 'BRC_action_votePoll_description', 'BRC_action_pollGetVote', 'BRC_action_pollGetVote_description', 'BRC_action_threadSticky', 'BRC_action_threadSticky_description', 'BRC_action_threadStickyRe', 'BRC_action_threadStickyRe_description', 'BRC_action_newPost', 'BRC_action_newPost_description', 'BRC_action_postDeleted', 'BRC_action_postDeleted_description', 'BRC_action_uploadAttachment', 'BRC_action_uploadAttachment_description', 'BRC_action_uploadAttachmentRe', 'BRC_action_uploadAttachmentRe_description', 'BRC_action_downloadAttachment', 'BRC_action_downloadAttachment_description', 'BRC_action_attachmentDownloaded', 'BRC_action_attachmentDownloaded_description', 'BRC_action_likePost', 'BRC_action_likePost_description', 'BRC_action_likePostRe', 'BRC_action_likePostRe_description', 'BRC_action_receivePostLike', 'BRC_action_receivePostLike_description', 'BRC_action_receivePostLikeRe', 'BRC_action_receivePostLikeRe_description', 'BRC_action_reportPost', 'BRC_action_reportPost_description', 'BRC_action_postReported', 'BRC_action_postReported_description', 'BRC_action_baokimPayment', 'BRC_action_baokimPayment_explain', 'BRC_action_ResourceGetPurchased', 'BRC_action_ResourceGetPurchased_explain', 'BRC_action_ResourcePurchased', 'BRC_action_ResourcePurchased_explain', 'chip_morethread_random')
Params: 2
Run Time: 0.000799
Select Type |
Table |
Type |
Possible Keys |
Key |
Key Len |
Ref |
Rows |
Extra |
SIMPLE |
xf_phrase_compiled |
range |
PRIMARY |
PRIMARY |
106 |
|
139 |
Using where |
-
SELECT * FROM EWRporta2_features WHERE thread_id = ?
Params: 638
Run Time: 0.000121
Select Type |
Table |
Type |
Possible Keys |
Key |
Key Len |
Ref |
Rows |
Extra |
SIMPLE |
|
|
|
|
|
|
|
no matching row in const table |
-
SELECT EWRporta2_articles.*, xf_thread.*, xf_post.*, xf_user.*, EWRporta2_authors.*
FROM EWRporta2_articles
INNER JOIN xf_thread ON (xf_thread.thread_id = EWRporta2_articles.thread_id)
INNER JOIN xf_post ON (xf_post.post_id = xf_thread.first_post_id)
LEFT JOIN xf_user ON (xf_user.user_id = xf_thread.user_id)
LEFT JOIN EWRporta2_authors ON (EWRporta2_authors.user_id = xf_thread.user_id)
WHERE EWRporta2_articles.thread_id = ?
Params: 638
Run Time: 0.000377
Select Type |
Table |
Type |
Possible Keys |
Key |
Key Len |
Ref |
Rows |
Extra |
SIMPLE |
EWRporta2_articles |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
SIMPLE |
xf_thread |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
SIMPLE |
xf_post |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
SIMPLE |
xf_user |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
SIMPLE |
EWRporta2_authors |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
-
SELECT EWRporta2_catlinks.*, EWRporta2_categories.*, xf_user.*
FROM EWRporta2_catlinks
INNER JOIN EWRporta2_categories ON (EWRporta2_categories.category_id = EWRporta2_catlinks.category_id)
LEFT JOIN xf_user ON (xf_user.user_id = EWRporta2_catlinks.user_id)
WHERE EWRporta2_catlinks.thread_id = ?
ORDER BY EWRporta2_categories.category_name
Params: 638
Run Time: 0.000412
Select Type |
Table |
Type |
Possible Keys |
Key |
Key Len |
Ref |
Rows |
Extra |
SIMPLE |
EWRporta2_catlinks |
ref |
thread_id |
thread_id |
4 |
const |
2 |
Using temporary; Using filesort |
SIMPLE |
EWRporta2_categories |
eq_ref |
PRIMARY |
PRIMARY |
4 |
fifavnor_xf.EWRporta2_catlinks.category_id |
1 |
|
SIMPLE |
xf_user |
eq_ref |
PRIMARY |
PRIMARY |
4 |
fifavnor_xf.EWRporta2_catlinks.user_id |
1 |
|
-
SELECT xf_thread.user_id,
xf_thread.last_post_date,
xf_thread.last_post_user_id
FROM xf_thread
INNER JOIN xf_node ON xf_node.node_id = xf_thread.node_id
WHERE xf_thread.thread_id = ?
AND (xf_thread.node_id = 12)
Params: 638
Run Time: 0.000145
Select Type |
Table |
Type |
Possible Keys |
Key |
Key Len |
Ref |
Rows |
Extra |
SIMPLE |
|
|
|
|
|
|
|
Impossible WHERE noticed after reading const tables |
-
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 2b191dfaf4e5cc78d4f8823aed2ef7a0, , 1731129976
Run Time: 0.000186
-
INSERT INTO xf_session_activity
(user_id, unique_key, ip, controller_name, controller_action, view_state, params, view_date, robot_key)
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),
robot_key = VALUES(robot_key)
Params: 0, , , XenForo_ControllerPublic_Thread, Index, valid, thread_id=638, 1731126376,
Run Time: 0.000092
-
SELECT *
FROM EWRporta2_layouts
WHERE (layout_template = ?
OR layout_template = 'EWRporta2_ArticleList')
AND active = 1
ORDER BY layout_priority ASC
Params: EWRporta2_ArticleView
Run Time: 0.000228
Select Type |
Table |
Type |
Possible Keys |
Key |
Key Len |
Ref |
Rows |
Extra |
SIMPLE |
EWRporta2_layouts |
range |
layout_template |
layout_template |
302 |
|
2 |
Using index condition; Using where; Using filesort |
-
SELECT *
FROM xf_siropu_custom_tabs
WHERE enabled = 1
ORDER BY tab_order ASC
Run Time: 0.000248
Select Type |
Table |
Type |
Possible Keys |
Key |
Key Len |
Ref |
Rows |
Extra |
SIMPLE |
xf_siropu_custom_tabs |
ALL |
|
|
|
|
15 |
Using where; Using filesort |
-
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'bb_code_tag_code', 'bb_code_tag_php', 'bb_code_tag_html', 'bb_code_tag_quote', 'bb_code_tag_attach', 'bb_code_tag_spoiler', 'BRC_sidebar_visitor_panel_stats', 'BRC_navigation_visitor_tabs_end', 'EWRporta2_ArticleView', 'EWRporta2_Navtabs', 'resources_tab_links', 'EWRtorneo_Navtabs', 'siropu_chat', 'siropu_chat_disabled', 'siropu_custom_tabs_child_list', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?
Params: 29, 2
Run Time: 0.003121
Select Type |
Table |
Type |
Possible Keys |
Key |
Key Len |
Ref |
Rows |
Extra |
SIMPLE |
xf_template_compiled |
range |
PRIMARY |
PRIMARY |
60 |
|
17 |
Using where |
-
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('rankings', '1v1_tournaments', 'proclubs_tournaments')
Params: 2
Run Time: 0.000157
Select Type |
Table |
Type |
Possible Keys |
Key |
Key Len |
Ref |
Rows |
Extra |
SIMPLE |
xf_phrase_compiled |
range |
PRIMARY |
PRIMARY |
106 |
|
3 |
Using where |
-
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('BRTPC_thread_view_tools_links')
AND style_id = ?
AND language_id = ?
Params: 29, 2
Run Time: 0.000214
Select Type |
Table |
Type |
Possible Keys |
Key |
Key Len |
Ref |
Rows |
Extra |
SIMPLE |
xf_template_compiled |
const |
PRIMARY |
PRIMARY |
60 |
const,const,const |
1 |
|
-
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('chip_morethreads')
AND style_id = ?
AND language_id = ?
Params: 29, 2
Run Time: 0.000167
Select Type |
Table |
Type |
Possible Keys |
Key |
Key Len |
Ref |
Rows |
Extra |
SIMPLE |
xf_template_compiled |
const |
PRIMARY |
PRIMARY |
60 |
const,const,const |
1 |
|