SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'deferredRun', 'simpleCache', 'addOns', 'defaultStyleProperties', 'routeFiltersIn', 'routeFiltersOut', 'routesPublic', 'nodeTypes', 'bannedIps', 'discouragedIps', 'styles', 'displayStyles', 'userBanners', 'smilies', 'bbCode', 'threadPrefixes', 'userTitleLadder', 'reportCounts', 'moderationCounts', 'userModerationCounts', 'notices', 'userFieldsInfo')
Run Time: 0.002019
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | | 26 | Using where |
SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('brListenerClasses', 'brBriviumAddOns')
Run Time: 0.000131
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | | 2 | Using where |
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000126
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: 16085
Run Time: 0.000466
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,
`AP`.`AffiliateProgram_UID`, `AP`.`AffiliateProgram_Name_Clean`,
`AP`.`Icon_Terms`, `AP`.`Icon_NewProgram`, `AP`.`Icon_PaysOnTime`,
`AP`.`Icon_Bundles`, `AP`.`Icon_NegativeCarryover`,
`AP`.`Icon_CrossPromote`, `AP`.`Icon_PlatinumSponsor`,
`AP`.`468x60Banner`, `AP`.`AffiliateLink`, `AP`.`728x90Banner`,
`AP`.`DirectLink`, `AP`.`AffiliateManager1_Email`,
`AP`.`AffiliateManager2_Email`, `AP`.`AffiliateManager3_Email`,
`AP`.`AffiliateManager1_IM`, `AP`.`AffiliateManager2_IM`,
`AP`.`AffiliateManager3_IM`, `AP`.`AffiliateManager1_MemberID` as AMUserID,
`AP`.`AffiliateManager2_MemberID`,
`AP`.`softwareList`,
`AP`.`Last_TermsChange`,
`AP`.`EffectiveNetGamingRevenue`,
`AP`.`MoreInfo`,
`AP`.`Logo`,
`AP`.`HasRetroactiveChange`,
`AP`.`DateLaunched`,
`AP`.`AffiliateManager3_MemberID`,
`AP`.`sponsorIcon`,
`AP`.`SiteID`,
`AP`.`SiteID` AS companyId,
(SELECT COUNT(Casino_UID) FROM AP_CasinoDetails WHERE company_uid=AP.SiteID) AS hasCasino
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)
LEFT JOIN AP_ForumDetails as AP ON (AP.forumid = forum.node_id)
WHERE node.node_id = ?
Params: 347
Run Time: 0.003177
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
PRIMARY | forum | const | PRIMARY | PRIMARY | 4 | const | 1 | |
PRIMARY | node | const | PRIMARY | PRIMARY | 4 | const | 1 | |
PRIMARY | permission | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
PRIMARY | AP | ALL | | | | | 1584 | Using where |
DEPENDENT SUBQUERY | AP_CasinoDetails | index | | PRIMARY | 16 | | 173 | Using where; Using index |
SELECT post.*
,
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, as_thread.node_id, notificationPost.post_id AS isNotificationPost, notificationPost.color AS post_color, notificationPost.managers AS managers_notified
FROM xf_post AS post
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))
INNER JOIN xf_thread AS as_thread ON
(as_thread.thread_id = post.thread_id)
LEFT JOIN xcagt_notification_post AS notificationPost ON notificationPost.post_id=post.post_id
WHERE post.thread_id = ?
AND (post.position >= 0 AND post.position < 20)
AND (post.message_state IN ('visible'))
ORDER BY post.position ASC, post.post_date ASC
Params: 16085
Run Time: 0.001201
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | as_thread | const | PRIMARY | PRIMARY | 4 | const | 1 | Using filesort |
SIMPLE | post | ref | thread_id_post_date,thread_id_position | thread_id_post_date | 4 | const | 4 | Using index condition; Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | affdog_xforum.post.user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | affdog_xforum.post.user_id | 1 | |
SIMPLE | user_privacy | eq_ref | PRIMARY | PRIMARY | 4 | affdog_xforum.post.user_id | 1 | |
SIMPLE | session_activity | eq_ref | PRIMARY | PRIMARY | 22 | affdog_xforum.post.user_id,func | 1 | Using where |
SIMPLE | notificationPost | eq_ref | PRIMARY | PRIMARY | 4 | affdog_xforum.post.post_id | 1 | |
INSERT DELAYED INTO xf_thread_view
(thread_id)
VALUES
(?)
Params: 16085
Run Time: 0.000103
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: 16085
Run Time: 0.000284
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,
`AP`.`AffiliateProgram_UID`, `AP`.`AffiliateProgram_Name_Clean`,
`AP`.`Icon_Terms`, `AP`.`Icon_NewProgram`, `AP`.`Icon_PaysOnTime`,
`AP`.`Icon_Bundles`, `AP`.`Icon_NegativeCarryover`,
`AP`.`Icon_CrossPromote`, `AP`.`Icon_PlatinumSponsor`,
`AP`.`468x60Banner`, `AP`.`AffiliateLink`, `AP`.`728x90Banner`,
`AP`.`DirectLink`, `AP`.`AffiliateManager1_Email`,
`AP`.`AffiliateManager2_Email`, `AP`.`AffiliateManager3_Email`,
`AP`.`AffiliateManager1_IM`, `AP`.`AffiliateManager2_IM`,
`AP`.`AffiliateManager3_IM`, `AP`.`AffiliateManager1_MemberID` as AMUserID,
`AP`.`AffiliateManager2_MemberID`,
`AP`.`softwareList`,
`AP`.`Last_TermsChange`,
`AP`.`EffectiveNetGamingRevenue`,
`AP`.`MoreInfo`,
`AP`.`Logo`,
`AP`.`HasRetroactiveChange`,
`AP`.`DateLaunched`,
`AP`.`AffiliateManager3_MemberID`,
`AP`.`sponsorIcon`,
`AP`.`SiteID`,
`AP`.`SiteID` AS companyId,
(SELECT COUNT(Casino_UID) FROM AP_CasinoDetails WHERE company_uid=AP.SiteID) AS hasCasino
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)
LEFT JOIN AP_ForumDetails as AP ON (AP.forumid = forum.node_id)
WHERE node.node_id = ?
Params: 347
Run Time: 0.000560
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
PRIMARY | forum | const | PRIMARY | PRIMARY | 4 | const | 1 | |
PRIMARY | node | const | PRIMARY | PRIMARY | 4 | const | 1 | |
PRIMARY | permission | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
PRIMARY | AP | ALL | | | | | 1584 | Using where |
DEPENDENT SUBQUERY | AP_CasinoDetails | index | | PRIMARY | 16 | | 173 | Using where; Using index |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 70d47ef864a45fc046d00934a47404c1, , 1610889764
Run Time: 0.000224
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=16085, 1610886164,
Run Time: 0.000141
SELECT node.*, forum.*
,
`AP`.`AffiliateProgram_UID`, `AP`.`AffiliateProgram_Name_Clean`,
`AP`.`Icon_Terms`, `AP`.`Icon_NewProgram`, `AP`.`Icon_PaysOnTime`,
`AP`.`Icon_Bundles`, `AP`.`Icon_NegativeCarryover`,
`AP`.`Icon_CrossPromote`, `AP`.`Icon_PlatinumSponsor`,
`AP`.`468x60Banner`, `AP`.`AffiliateLink`, `AP`.`728x90Banner`,
`AP`.`DirectLink`, `AP`.`AffiliateManager1_Email`,
`AP`.`AffiliateManager2_Email`, `AP`.`AffiliateManager3_Email`,
`AP`.`AffiliateManager1_IM`, `AP`.`AffiliateManager2_IM`,
`AP`.`AffiliateManager3_IM`, `AP`.`AffiliateManager1_MemberID` as AMUserID,
`AP`.`AffiliateManager2_MemberID`,
`AP`.`softwareList`,
`AP`.`Last_TermsChange`,
`AP`.`EffectiveNetGamingRevenue`,
`AP`.`MoreInfo`,
`AP`.`Logo`,
`AP`.`HasRetroactiveChange`,
`AP`.`DateLaunched`,
`AP`.`AffiliateManager3_MemberID`,
`AP`.`sponsorIcon`,
`AP`.`SiteID`,
`AP`.`SiteID` AS companyId,
(SELECT COUNT(Casino_UID) FROM AP_CasinoDetails WHERE company_uid=AP.SiteID) AS hasCasino
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
LEFT JOIN AP_ForumDetails as AP ON (AP.forumid = forum.node_id)
WHERE node.node_id = ?
Params: 116
Run Time: 0.000595
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
PRIMARY | forum | const | PRIMARY | PRIMARY | 4 | const | 1 | |
PRIMARY | node | const | PRIMARY | PRIMARY | 4 | const | 1 | |
PRIMARY | AP | ALL | | | | | 1584 | Using where |
DEPENDENT SUBQUERY | AP_CasinoDetails | index | | PRIMARY | 16 | | 173 | Using where; Using index |
SELECT thread.*
,
user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
node.title AS node_title, node.node_name
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
LEFT JOIN xf_node AS node ON
(node.node_id = thread.node_id)
WHERE (thread.node_id = '116')
ORDER BY thread.last_post_date DESC
LIMIT 10
Run Time: 0.000436
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ref | node_id_last_post_date,node_id_sticky_state_last_post | node_id_last_post_date | 4 | const | 1004 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | affdog_xforum.thread.user_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | affdog_xforum.thread.node_id | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 116
Run Time: 0.000112
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT thread_read_date FROM affdog_xforum.xf_thread_read WHERE thread_id = 16458 and user_id = 0 and thread_read_date >= 1610833028
Run Time: 0.000097
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT forum_read_date FROM affdog_xforum.xf_forum_read WHERE node_id = 116 and user_id = 0 and forum_read_date >= 1610833028
Run Time: 0.000124
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT thread_read_date FROM affdog_xforum.xf_thread_read WHERE thread_id = 16445 and user_id = 0 and thread_read_date >= 1610789123
Run Time: 0.000094
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT forum_read_date FROM affdog_xforum.xf_forum_read WHERE node_id = 116 and user_id = 0 and forum_read_date >= 1610789123
Run Time: 0.000093
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT thread_read_date FROM affdog_xforum.xf_thread_read WHERE thread_id = 16363 and user_id = 0 and thread_read_date >= 1610486228
Run Time: 0.000095
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT forum_read_date FROM affdog_xforum.xf_forum_read WHERE node_id = 116 and user_id = 0 and forum_read_date >= 1610486228
Run Time: 0.000093
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT thread_read_date FROM affdog_xforum.xf_thread_read WHERE thread_id = 16420 and user_id = 0 and thread_read_date >= 1610353066
Run Time: 0.000095
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT forum_read_date FROM affdog_xforum.xf_forum_read WHERE node_id = 116 and user_id = 0 and forum_read_date >= 1610353066
Run Time: 0.000093
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT thread_read_date FROM affdog_xforum.xf_thread_read WHERE thread_id = 16416 and user_id = 0 and thread_read_date >= 1610115136
Run Time: 0.000094
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT forum_read_date FROM affdog_xforum.xf_forum_read WHERE node_id = 116 and user_id = 0 and forum_read_date >= 1610115136
Run Time: 0.000093
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT thread_read_date FROM affdog_xforum.xf_thread_read WHERE thread_id = 16403 and user_id = 0 and thread_read_date >= 1609843473
Run Time: 0.000118
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT forum_read_date FROM affdog_xforum.xf_forum_read WHERE node_id = 116 and user_id = 0 and forum_read_date >= 1609843473
Run Time: 0.000093
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT thread_read_date FROM affdog_xforum.xf_thread_read WHERE thread_id = 16399 and user_id = 0 and thread_read_date >= 1609770643
Run Time: 0.000094
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT forum_read_date FROM affdog_xforum.xf_forum_read WHERE node_id = 116 and user_id = 0 and forum_read_date >= 1609770643
Run Time: 0.000107
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT thread_read_date FROM affdog_xforum.xf_thread_read WHERE thread_id = 16398 and user_id = 0 and thread_read_date >= 1609770607
Run Time: 0.000094
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT forum_read_date FROM affdog_xforum.xf_forum_read WHERE node_id = 116 and user_id = 0 and forum_read_date >= 1609770607
Run Time: 0.000105
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT thread_read_date FROM affdog_xforum.xf_thread_read WHERE thread_id = 16397 and user_id = 0 and thread_read_date >= 1609770572
Run Time: 0.000094
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT forum_read_date FROM affdog_xforum.xf_forum_read WHERE node_id = 116 and user_id = 0 and forum_read_date >= 1609770572
Run Time: 0.000120
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT thread_read_date FROM affdog_xforum.xf_thread_read WHERE thread_id = 16365 and user_id = 0 and thread_read_date >= 1609151306
Run Time: 0.000094
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT forum_read_date FROM affdog_xforum.xf_forum_read WHERE node_id = 116 and user_id = 0 and forum_read_date >= 1609151306
Run Time: 0.000091
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT thread.*
,
user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
node.title AS node_title, node.node_name,
permission.cache_value AS node_permission_cache
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
LEFT JOIN xf_node AS node ON
(node.node_id = thread.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 = thread.node_id)
WHERE 1=1
ORDER BY thread.last_post_date DESC
LIMIT 10
Run Time: 0.000428
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | index | | last_post_date | 4 | | 10 | |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | affdog_xforum.thread.user_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | affdog_xforum.thread.node_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,affdog_xforum.thread.node_id | 1 | Using where |
SELECT thread_read_date FROM affdog_xforum.xf_thread_read WHERE thread_id = 16447 and user_id = 0 and thread_read_date >= 1610880114
Run Time: 0.000097
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT forum_read_date FROM affdog_xforum.xf_forum_read WHERE node_id = 374 and user_id = 0 and forum_read_date >= 1610880114
Run Time: 0.000125
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT thread_read_date FROM affdog_xforum.xf_thread_read WHERE thread_id = 16460 and user_id = 0 and thread_read_date >= 1610873369
Run Time: 0.000094
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT forum_read_date FROM affdog_xforum.xf_forum_read WHERE node_id = 109 and user_id = 0 and forum_read_date >= 1610873369
Run Time: 0.000093
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT thread_read_date FROM affdog_xforum.xf_thread_read WHERE thread_id = 13820 and user_id = 0 and thread_read_date >= 1610836691
Run Time: 0.000095
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT forum_read_date FROM affdog_xforum.xf_forum_read WHERE node_id = 345 and user_id = 0 and forum_read_date >= 1610836691
Run Time: 0.000093
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT thread_read_date FROM affdog_xforum.xf_thread_read WHERE thread_id = 16458 and user_id = 0 and thread_read_date >= 1610833028
Run Time: 0.000095
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT forum_read_date FROM affdog_xforum.xf_forum_read WHERE node_id = 116 and user_id = 0 and forum_read_date >= 1610833028
Run Time: 0.000094
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT thread_read_date FROM affdog_xforum.xf_thread_read WHERE thread_id = 16450 and user_id = 0 and thread_read_date >= 1610820206
Run Time: 0.000094
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT forum_read_date FROM affdog_xforum.xf_forum_read WHERE node_id = 278 and user_id = 0 and forum_read_date >= 1610820206
Run Time: 0.000092
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT thread_read_date FROM affdog_xforum.xf_thread_read WHERE thread_id = 16459 and user_id = 0 and thread_read_date >= 1610818939
Run Time: 0.000109
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT forum_read_date FROM affdog_xforum.xf_forum_read WHERE node_id = 313 and user_id = 0 and forum_read_date >= 1610818939
Run Time: 0.000093
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT thread_read_date FROM affdog_xforum.xf_thread_read WHERE thread_id = 16455 and user_id = 0 and thread_read_date >= 1610818058
Run Time: 0.000094
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT forum_read_date FROM affdog_xforum.xf_forum_read WHERE node_id = 313 and user_id = 0 and forum_read_date >= 1610818058
Run Time: 0.000107
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT thread_read_date FROM affdog_xforum.xf_thread_read WHERE thread_id = 16449 and user_id = 0 and thread_read_date >= 1610816508
Run Time: 0.000094
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT forum_read_date FROM affdog_xforum.xf_forum_read WHERE node_id = 73 and user_id = 0 and forum_read_date >= 1610816508
Run Time: 0.000091
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT thread_read_date FROM affdog_xforum.xf_thread_read WHERE thread_id = 16452 and user_id = 0 and thread_read_date >= 1610805887
Run Time: 0.000095
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT forum_read_date FROM affdog_xforum.xf_forum_read WHERE node_id = 345 and user_id = 0 and forum_read_date >= 1610805887
Run Time: 0.000092
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT thread_read_date FROM affdog_xforum.xf_thread_read WHERE thread_id = 16060 and user_id = 0 and thread_read_date >= 1610789568
Run Time: 0.000116
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT forum_read_date FROM affdog_xforum.xf_forum_read WHERE node_id = 155 and user_id = 0 and forum_read_date >= 1610789568
Run Time: 0.000092
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 374
Run Time: 0.000113
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 109
Run Time: 0.000111
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 345
Run Time: 0.000144
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 278
Run Time: 0.000111
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 73
Run Time: 0.000110
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 155
Run Time: 0.000112
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT DISTINCT
sensi_companies.company_name,
sensi_payments.payment_date,
sensi_paymentmethods.paymentmethod_description as paymentmethod
FROM
sensi_payments
Inner Join sensi_paymentmethods ON sensi_payments.paymentmethod_uid = sensi_paymentmethods.paymentmethod_uid
Inner Join sensi_companies ON sensi_companies.company_uid = sensi_payments.company_uid
ORDER BY
sensi_payments.payment_date DESC
LIMIT 10
Run Time: 0.000111
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | sensi_payments | ALL | paymentIdx,compantIdx | | | | 6497 | Using temporary; Using filesort |
SIMPLE | sensi_paymentmethods | eq_ref | PRIMARY | PRIMARY | 4 | affdog_xforum.sensi_payments.paymentmethod_uid | 1 | |
SIMPLE | sensi_companies | eq_ref | PRIMARY | PRIMARY | 8 | affdog_xforum.sensi_payments.company_uid | 1 | Using index condition |
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', 'xcagt_sidebar', 'thread_view', 'xcagt_term_alerts_popup', 'xcagt_new_posts_popup', 'xcagt_aff_payments_popup', 'resources_tab_links', 'xfa_blog_navigation_tab_link', 'xcmw_profile_popup', 'xcmw_account_link', 'xcmw_postbit_link', 'xcfw_copyright', 'xcas_account_sidebar', 'xcas_profile_popup', 'xcas_head_include', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?
Params: 11, 1
Run Time: 0.001275
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 22 | Using where |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('xcagt_termsplatinum', 'xcagt_termscertified', 'n_a', 'xcmw_websites', 'xcagt_term_alerts', 'xcagt_new_posts', 'xcagt_aff_payments')
Params: 1
Run Time: 0.000263
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_phrase_compiled | range | PRIMARY | PRIMARY | 106 | | 7 | Using where |
SELECT u.*
FROM `AP_ForumDetails` as f INNER JOIN `xf_user` as u on f.AffiliateManager1_MemberID = u.user_id
WHERE forumid = 347
Run Time: 0.002879
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | f | ALL | | | | | 1584 | Using where |
SIMPLE | u | eq_ref | PRIMARY | PRIMARY | 4 | affdog_xforum.f.AffiliateManager1_MemberID | 1 | Using where |
SELECT DISTINCT sensi_paymentmethods.paymentmethod_description, sensi_payments.payment_date
FROM (sensi_payments JOIN sensi_companies ON sensi_payments.company_uid=sensi_companies.company_uid) JOIN sensi_paymentmethods ON sensi_payments.paymentmethod_uid=sensi_paymentmethods.paymentmethod_uid
WHERE sensi_payments.company_uid=657 AND (sensi_payments.payment_date) > DATE_SUB(CURDATE(),INTERVAL 12 MONTH)
ORDER BY sensi_payments.payment_date DESC
LIMIT 5
Run Time: 0.000508
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | sensi_companies | const | PRIMARY | PRIMARY | 8 | const | 1 | Using index; Using temporary; Using filesort |
SIMPLE | sensi_payments | ref | paymentIdx,compantIdx | compantIdx | 4 | const | 4 | Using index condition; Using where |
SIMPLE | sensi_paymentmethods | eq_ref | PRIMARY | PRIMARY | 4 | affdog_xforum.sensi_payments.paymentmethod_uid | 1 | |
SELECT DISTINCT (sensi_paymentmethods.paymentmethod_uid), sensi_paymentmethods.paymentmethod_description
FROM sensi_payments
JOIN sensi_paymentmethods ON sensi_payments.paymentmethod_uid=sensi_paymentmethods.paymentmethod_uid
WHERE sensi_payments.company_uid=657 AND sensi_payments.payment_date > DATE_SUB(CURDATE(),INTERVAL 12 MONTH)
ORDER BY sensi_payments.paymentmethod_uid
LIMIT 5
Run Time: 0.000420
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | sensi_payments | ref | paymentIdx,compantIdx | compantIdx | 4 | const | 4 | Using index condition; Using where; Using temporary; Using filesort |
SIMPLE | sensi_paymentmethods | eq_ref | PRIMARY | PRIMARY | 4 | affdog_xforum.sensi_payments.paymentmethod_uid | 1 | |
SELECT sensi_payments.payment_date
FROM sensi_payments
WHERE sensi_payments.paymentmethod_uid=105
AND sensi_payments.company_uid=657
AND sensi_payments.payment_date > DATE_SUB(CURDATE(),INTERVAL 12 MONTH)
ORDER BY DAYOFMONTH(sensi_payments.payment_date) ASC
LIMIT 1
Run Time: 0.000229
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | sensi_payments | ref | paymentIdx,compantIdx | compantIdx | 4 | const | 4 | Using index condition; Using where; Using filesort |
SELECT sensi_payments.payment_date
FROM sensi_payments
WHERE sensi_payments.paymentmethod_uid=105
AND sensi_payments.company_uid=657
AND sensi_payments.payment_date > DATE_SUB(CURDATE(),INTERVAL 12 MONTH)
ORDER BY DAYOFMONTH(sensi_payments.payment_date) DESC
LIMIT 1
Run Time: 0.000235
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | sensi_payments | ref | paymentIdx,compantIdx | compantIdx | 4 | const | 4 | Using index condition; Using where; Using filesort |
SELECT sensi_payments.payment_date, COUNT(sensi_payments.payment_date) AS counted
FROM sensi_payments
WHERE sensi_payments.paymentmethod_uid=105
AND sensi_payments.company_uid=657
AND sensi_payments.payment_date > DATE_SUB(CURDATE(),INTERVAL 12 MONTH)
GROUP BY sensi_payments.payment_date
ORDER BY counted DESC
LIMIT 1
Run Time: 0.000255
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | sensi_payments | ref | paymentIdx,compantIdx | compantIdx | 4 | const | 4 | Using index condition; Using where; Using temporary; Using filesort |
SELECT resource_category.*
,
permission.cache_value AS category_permission_cache
FROM xf_resource_category AS resource_category
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'resource_category'
AND permission.content_id = resource_category.resource_category_id)
ORDER BY resource_category.lft
Run Time: 0.000690
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | resource_category | ALL | | | | | 20 | Using filesort |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,affdog_xforum.resource_category.resource_category_id | 1 | Using where |
SELECT resource.*,
feature.feature_date
,
category.*, category.last_update AS category_last_update, resource.last_update,
version.version_string,
version.release_date,
version.download_url,
version.rating_count AS version_rating_count,
version.rating_sum AS version_rating_sum,
version.download_count AS version_download_count,
user.*, user_profile.*, IF(user.username IS NULL, resource.username, user.username) AS username
FROM xf_resource_feature AS feature
INNER JOIN xf_resource AS resource ON (resource.resource_id = feature.resource_id)
LEFT JOIN xf_resource_category AS category ON
(category.resource_category_id = resource.resource_category_id)
LEFT JOIN xf_resource_version AS version ON
(version.resource_version_id = resource.current_version_id)
LEFT JOIN xf_user AS user ON
(user.user_id = resource.user_id)
LEFT JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = resource.user_id)
WHERE resource.resource_category_id IN (1, 2, 5, 6, 7, 3, 8, 9, 4, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)
ORDER BY feature.feature_date DESC
Run Time: 0.001337
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | feature | index | PRIMARY | feature_date | 4 | | 3 | Using index |
SIMPLE | resource | eq_ref | PRIMARY,category_last_update,category_rating_weighted | PRIMARY | 4 | affdog_xforum.feature.resource_id | 1 | Using where |
SIMPLE | category | eq_ref | PRIMARY | PRIMARY | 4 | affdog_xforum.resource.resource_category_id | 1 | Using where |
SIMPLE | version | eq_ref | PRIMARY | PRIMARY | 4 | affdog_xforum.resource.current_version_id | 1 | |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | affdog_xforum.resource.user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | affdog_xforum.resource.user_id | 1 | |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('BRAFR_navigation_tabs_link')
AND style_id = ?
AND language_id = ?
Params: 11, 1
Run Time: 0.000132
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, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('xcas_custom_hook_name', 'xcas_custom_hook', 'xcas_custom_hook_name_explain')
Params: 1
Run Time: 0.000115
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 ('xcagt_popup_forum_name')
AND style_id = ?
AND language_id = ?
Params: 11, 1
Run Time: 0.000117
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 ('xcas_zone_code', 'xcas_zone_wrapper_default')
AND style_id = ?
AND language_id = ?
Params: 11, 1
Run Time: 0.000162
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 2 | Using where |