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.002244
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.000151
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | | 2 | Using where |
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: brmsModernStatisticCache
Run Time: 0.000079
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | const | PRIMARY | PRIMARY | 27 | const | 1 | |
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: modLogCounts
Run Time: 0.000062
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
SELECT user.*, permission_combination.cache_value AS global_permission_cache
FROM xf_moderator AS moderator
INNER JOIN xf_user AS user ON (user.user_id = moderator.user_id)
LEFT JOIN xf_permission_combination AS permission_combination ON (permission_combination.permission_combination_id = user.permission_combination_id)
Run Time: 0.000271
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | moderator | index | PRIMARY | PRIMARY | 4 | | 8 | Using index |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | prav110_pravorg.moderator.user_id | 1 | |
SIMPLE | permission_combination | eq_ref | PRIMARY | PRIMARY | 4 | prav110_pravorg.user.permission_combination_id | 1 | |
DELETE FROM `xf_data_registry` WHERE (data_key = 'modLogCounts')
Run Time: 0.000161
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.001156
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT user.*
,xfa_blog.last_entry
,xfa_blog.blog_key
,xfa_blog.entry_count
FROM xf_user AS user
LEFT JOIN xfa_blog ON xfa_blog.user_id = user.user_id
WHERE user.user_id = ?
Params: 5976
Run Time: 0.001179
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | xfa_blog | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT search_index.content_type, search_index.content_id
FROM xf_search_index AS search_index
WHERE search_index.user_id = ?
ORDER BY search_index.item_date DESC
LIMIT 200
Params: 5976
Run Time: 0.018089
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | search_index | ref | user_id_item_date | user_id_item_date | 4 | const | 161 | Using where |
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,
node.title AS node_title, node.node_name,
user.*, IF(user.username IS NULL, post.username, user.username) AS username,
permission.cache_value AS node_permission_cache, session.view_date
FROM xf_post AS post
INNER JOIN xf_thread AS thread ON
(thread.thread_id = post.thread_id)
INNER JOIN xf_node AS node ON
(node.node_id = thread.node_id)
LEFT JOIN xf_user AS user ON
(user.user_id = post.user_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)LEFT OUTER JOIN xf_session_activity AS session ON post.user_id = session.user_id
WHERE post.post_id IN (116107, 116104, 116102, 116096, 116097, 116093, 116091, 116090, 116089, 116010, 115999, 115996, 115994, 115991, 115986, 115983, 115981, 115979, 115972, 115962, 115960, 115954, 115952, 115942, 115937, 115936, 115929, 115928, 115923, 115921, 115919, 115862, 115854, 115851, 115845, 115843, 115830, 115829, 115785, 115784, 115778, 115777, 115770, 115765, 115757, 115738, 115736, 115734, 115730, 115727, 115725, 115724, 115723, 115653, 115632, 115631, 115616, 115613, 115578, 115573, 115570, 115567, 115565, 115562, 115558, 115548, 115547, 115490, 115457, 115427, 115383, 115423, 115398, 115378, 115348, 115338, 115336, 115330, 115328, 115325, 115323, 115320, 115259, 115206, 115200, 115196, 115194, 115189, 115186, 115184, 115151, 115149, 115133, 115131, 115129, 115122, 115121, 115092, 115091, 115088, 115060, 115058, 115057, 115054, 115052, 115039, 115037, 115032, 115028, 115024, 115020, 115019, 115015, 115013, 115011, 115009, 115004, 114944, 114943, 114940, 114937, 114936, 114934, 114931, 114923, 114922, 114870, 114869, 114863, 114861, 114857, 114851, 114847, 114846, 114844, 114842, 114838, 114836, 114832, 114828, 114824, 114796)
Run Time: 0.020012
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post | range | PRIMARY,thread_id_post_date,thread_id_position | PRIMARY | 4 | | 142 | Using where |
SIMPLE | thread | eq_ref | PRIMARY,node_id_last_post_date,node_id_sticky_state_last_post | PRIMARY | 4 | prav110_pravorg.post.thread_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | prav110_pravorg.thread.node_id | 1 | |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | prav110_pravorg.post.user_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,prav110_pravorg.thread.node_id | 1 | Using where |
SIMPLE | session | ref | PRIMARY | PRIMARY | 4 | prav110_pravorg.post.user_id | 11 | |
SELECT xfa_blog_entry.*
,xf_user.*,xfa_blog.user_id, xfa_blog.blog_title, xfa_blog.blog_key
FROM xfa_blog_entry
INNER JOIN xf_user ON xfa_blog_entry.user_id = xf_user.user_id INNER JOIN xfa_blog ON xfa_blog_entry.user_id = xfa_blog.user_id
WHERE
xfa_blog_entry.entry_id IN (584,580,578,577,573,572,571,569)
Run Time: 0.000815
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xfa_blog_entry | range | PRIMARY,idx_user,idx_position | PRIMARY | 4 | | 8 | Using where |
SIMPLE | xfa_blog | eq_ref | PRIMARY | PRIMARY | 4 | prav110_pravorg.xfa_blog_entry.user_id | 1 | |
SIMPLE | xf_user | eq_ref | PRIMARY | PRIMARY | 4 | prav110_pravorg.xfa_blog_entry.user_id | 1 | Using where |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('xfa_blogs_username')
Params: 1
Run Time: 0.000139
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_phrase_compiled | const | PRIMARY | PRIMARY | 106 | const,const | 1 | |
SELECT thread.*
,
user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
node.title AS node_title, node.node_name,
post.message, post.attach_count,
NULL AS thread_read_date,
0 AS user_post_count,
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_post AS post ON
(post.post_id = thread.first_post_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 thread.thread_id IN (5994, 5982, 5968)
Run Time: 0.002529
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 3 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | prav110_pravorg.thread.user_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | prav110_pravorg.thread.node_id | 1 | |
SIMPLE | post | eq_ref | PRIMARY | PRIMARY | 4 | prav110_pravorg.thread.first_post_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,prav110_pravorg.thread.node_id | 1 | Using where |
SELECT profile_post.*
,
posting_user.*,
IF(posting_user.username IS NULL, profile_post.username, posting_user.username) AS username,
receiving_user.username
AS profile_username,
receiving_user.gender
AS profile_gender,
receiving_user.user_state
AS profile_user_state,
receiving_user.user_group_id
AS profile_user_group_id,
receiving_user.secondary_group_ids
AS profile_secondary_group_ids,
receiving_user.display_style_group_id
AS profile_display_style_group_id,
receiving_user.is_banned
AS profile_is_banned,
receiving_user.is_admin
AS profile_is_admin,
receiving_user.is_moderator
AS profile_is_moderator,
receiving_user.avatar_date
AS profile_avatar_date,
receiving_user.gravatar
AS profile_gravatar,
receiving_user.warning_points
AS profile_warning_points,
receiving_user.permission_combination_id
AS profile_permission_combination_id,
receiving_user_privacy.allow_view_profile
AS profile_allow_view_profile,
receiving_user_privacy.allow_post_profile
AS profile_allow_post_profile,
receiving_user_privacy.allow_send_personal_conversation
AS profile_allow_send_personal_conversation,
receiving_user_privacy.allow_view_identities
AS profile_allow_view_identities,
receiving_user_privacy.allow_receive_news_feed
AS profile_allow_allow_receive_news_feed,
IF (receiving_user_follow.follow_user_id, 1, 0)
AS following_0
FROM xf_profile_post AS profile_post
LEFT JOIN xf_user AS posting_user ON
(posting_user.user_id = profile_post.user_id)
LEFT JOIN xf_user AS receiving_user ON
(receiving_user.user_id = profile_post.profile_user_id)
LEFT JOIN xf_user_privacy AS receiving_user_privacy ON
(receiving_user_privacy.user_id = profile_post.profile_user_id)
LEFT JOIN xf_user_follow AS receiving_user_follow ON
(receiving_user_follow.user_id = profile_post.profile_user_id AND follow_user_id = 0)
WHERE profile_post.profile_post_id IN(1182, 1181, 1180, 1176, 1174)
Run Time: 0.001469
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | profile_post | range | PRIMARY | PRIMARY | 4 | | 5 | Using where |
SIMPLE | posting_user | eq_ref | PRIMARY | PRIMARY | 4 | prav110_pravorg.profile_post.user_id | 1 | |
SIMPLE | receiving_user | eq_ref | PRIMARY | PRIMARY | 4 | prav110_pravorg.profile_post.profile_user_id | 1 | |
SIMPLE | receiving_user_privacy | eq_ref | PRIMARY | PRIMARY | 4 | prav110_pravorg.profile_post.profile_user_id | 1 | |
SIMPLE | receiving_user_follow | eq_ref | PRIMARY,follow_user_id | PRIMARY | 8 | prav110_pravorg.profile_post.profile_user_id,const | 1 | Using index |
SELECT profile_post_comment.*
,
user.*,
IF(user.username IS NULL, profile_post_comment.username, user.username) AS username
FROM xf_profile_post_comment AS profile_post_comment
LEFT JOIN xf_user AS user ON
(user.user_id = profile_post_comment.user_id)
WHERE profile_post_comment.profile_post_comment_id IN (69, 68, 67)
Run Time: 0.000761
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | profile_post_comment | range | PRIMARY | PRIMARY | 4 | | 3 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | prav110_pravorg.profile_post_comment.user_id | 1 | |
SELECT profile_post.*
,
receiving_user.username
AS profile_username,
receiving_user.gender
AS profile_gender,
receiving_user.user_state
AS profile_user_state,
receiving_user.user_group_id
AS profile_user_group_id,
receiving_user.secondary_group_ids
AS profile_secondary_group_ids,
receiving_user.display_style_group_id
AS profile_display_style_group_id,
receiving_user.is_banned
AS profile_is_banned,
receiving_user.is_admin
AS profile_is_admin,
receiving_user.is_moderator
AS profile_is_moderator,
receiving_user.avatar_date
AS profile_avatar_date,
receiving_user.gravatar
AS profile_gravatar,
receiving_user.warning_points
AS profile_warning_points,
receiving_user.permission_combination_id
AS profile_permission_combination_id
FROM xf_profile_post AS profile_post
LEFT JOIN xf_user AS receiving_user ON
(receiving_user.user_id = profile_post.profile_user_id)
WHERE profile_post.profile_post_id IN(1177, 1177, 1178)
Run Time: 0.000663
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | profile_post | range | PRIMARY | PRIMARY | 4 | | 2 | Using where |
SIMPLE | receiving_user | eq_ref | PRIMARY | PRIMARY | 4 | prav110_pravorg.profile_post.profile_user_id | 1 | |
SELECT user.*
,
user_privacy.*,
0 AS following_0
,xfa_blog.last_entry
,xfa_blog.blog_key
,xfa_blog.entry_count
FROM xf_user AS user
LEFT JOIN xf_user_privacy AS user_privacy ON
(user_privacy.user_id = user.user_id)
LEFT JOIN xfa_blog ON xfa_blog.user_id = user.user_id
WHERE user.user_id IN (5976)
ORDER BY user.username
Run Time: 0.000718
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user_privacy | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | xfa_blog | const | PRIMARY | PRIMARY | 4 | const | 1 | |
INSERT INTO `xf_search` (`search_results`, `result_count`, `search_type`, `search_query`, `search_constraints`, `search_order`, `search_grouping`, `user_results`, `warnings`, `user_id`, `search_date`, `query_hash`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Params: [["post",116107],["post",116104],["post",116102],["post",116096],["post",116097],["post",116093],["post",116091],["post",116090],["post",116089],["post",116010],["post",115999],["post",115996],["post",115994],["post",115991],["post",115986],["post",115983],["post",115981],["post",115979],["post",115972],["post",115962],["post",115960],["post",115954],["post",115952],["post",115942],["post",115937],["post",115936],["post",115929],["post",115928],["post",115923],["xfa_blog_entry",584],["post",115921],["post",115919],["post",115862],["post",115854],["post",115851],["post",115845],["thread",5994],["post",115830],["post",115829],["post",115785],["post",115784],["post",115778],["post",115777],["post",115770],["post",115765],["post",115757],["post",115738],["post",115736],["post",115734],["post",115730],["thread",5982],["post",115725],["post",115724],["post",115723],["post",115653],["post",115632],["post",115631],["post",115616],["post",115613],["post",115578],["post",115573],["post",115570],["post",115567],["post",115565],["post",115562],["post",115558],["post",115548],["post",115547],["xfa_blog_entry",580],["thread",5968],["xfa_blog_entry",578],["xfa_blog_entry",577],["post",115457],["post",115427],["post",115383],["post",115423],["post",115398],["post",115378],["post",115348],["post",115338],["post",115336],["post",115330],["post",115328],["post",115325],["post",115323],["post",115320],["post",115259],["xfa_blog_entry",573],["post",115206],["post",115200],["post",115196],["post",115194],["post",115189],["xfa_blog_entry",572],["post",115186],["post",115184],["xfa_blog_entry",571],["post",115151],["post",115149],["post",115133],["post",115131],["post",115129],["post",115122],["post",115121],["post",115092],["post",115091],["post",115088],["post",115060],["post",115058],["post",115057],["post",115054],["post",115052],["post",115039],["post",115037],["post",115032],["post",115028],["post",115024],["post",115020],["post",115019],["post",115015],["post",115013],["post",115011],["post",115009],["post",115004],["post",114944],["post",114943],["post",114940],["post",114937],["post",114936],["post",114934],["post",114931],["post",114923],["post",114922],["post",114870],["post",114869],["xfa_blog_entry",569],["post",114863],["post",114861],["post",114857],["post",114851],["post",114847],["post",114846],["post",114844],["post",114842],["post",114838],["post",114836],["post",114832],["post",114828],["post",114824],["post",114796]], 150, user, , {"user_id":5976,"content":false}, date, 0, , [], 0, 1714164002, 5eaabd71cf77aa86f08f31f196192475
Run Time: 0.011689
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: ca28aa75e13304926e9de34be55884e4, , 1714167602
Run Time: 0.000179