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.002898
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | | 26 | Using where |
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000384
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT user.*
,
user_profile.*,
user_option.*,
user_privacy.*,
permission_combination.cache_value AS global_permission_cache,
IF (session_activity.view_date IS NULL, user.last_activity, session_activity.view_date) AS effective_last_activity,
session_activity.view_date, session_activity.controller_name, session_activity.controller_action, session_activity.params, session_activity.ip,
0 AS following_0
FROM xf_user AS user
LEFT JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = user.user_id)
LEFT JOIN xf_user_option AS user_option ON
(user_option.user_id = user.user_id)
LEFT JOIN xf_user_privacy AS user_privacy ON
(user_privacy.user_id = user.user_id)
LEFT JOIN xf_permission_combination AS permission_combination ON
(permission_combination.permission_combination_id = user.permission_combination_id)
LEFT JOIN xf_session_activity AS session_activity ON
(session_activity.user_id = user.user_id AND session_activity.unique_key = CAST(user.user_id AS BINARY))
WHERE user.user_id = ?
Params: 3903
Run Time: 0.001098
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user_profile | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user_option | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user_privacy | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | session_activity | const | PRIMARY | PRIMARY | 22 | const,const | 0 | unique row not found |
SELECT user_field.*
,
field_value.field_value
FROM xf_user_field AS user_field
LEFT JOIN xf_user_field_value AS field_value ON
(field_value.field_id = user_field.field_id AND field_value.user_id = 3903)
WHERE (user_field.display_group <> 'preferences' AND user_field.viewable_profile = 1)
ORDER BY user_field.display_group, user_field.display_order
Run Time: 0.002264
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_field | ALL | display_group_order | | | | 11 | Using where; Using filesort |
SIMPLE | field_value | eq_ref | PRIMARY,field_id | PRIMARY | 31 | const,masscops_com.user_field.field_id | 1 | |
SELECT COUNT(*)
FROM xf_user_follow
WHERE follow_user_id = ?
Params: 3903
Run Time: 0.000412
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_user_follow | ref | follow_user_id | follow_user_id | 4 | const | 2 | Using index |
SELECT user.*,
user_profile.*,
user_option.*
FROM xf_user_follow AS user_follow
INNER JOIN xf_user AS user ON
(user.user_id = user_follow.user_id AND user.is_banned = 0)
INNER JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = user.user_id)
INNER JOIN xf_user_option AS user_option ON
(user_option.user_id = user.user_id)
WHERE user_follow.follow_user_id = ?
ORDER BY RAND()
LIMIT 6
Params: 3903
Run Time: 0.001503
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_follow | ref | PRIMARY,follow_user_id | follow_user_id | 4 | const | 2 | Using index; Using temporary; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | masscops_com.user_follow.user_id | 1 | Using where |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | masscops_com.user_follow.user_id | 1 | |
SIMPLE | user_option | eq_ref | PRIMARY | PRIMARY | 4 | masscops_com.user_follow.user_id | 1 | |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 0add1f305743f49f487752fffd43e589, a:8:{s:12:"sessionStart";i:1611259452;s:2:"ip";s:4:"6U9 ";s:11:"sessionCsrf";s:16:"u0oEW1K2GPk302Np";s:9:"userAgent";s:40:"CCBot/2.0 (https://commoncrawl.org/faq/)";s:7:"robotId";s:0:"";s:16:"previousActivity";i:0;s:10:"isIpBanned";a:2:{s:6:"result";b:0;s:7:"version";i:1553082020;}s:15:"isIpDiscouraged";a:2:{s:6:"result";b:0;s:7:"version";i:1535664926;}}, 1611263052
Run Time: 0.003241
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, 6U9 , 6U9 , XenForo_ControllerPublic_Member, Member, valid, user_id=3903, 1611259452,
Run Time: 0.003593
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000575
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_widget | ALL | | | | | 14 | Using where; Using filesort |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('user_field_myspace_page_desc', 'user_field_aim_desc', 'user_field_msn_desc', 'user_field_icq_desc', 'user_field_yahoo_desc', 'user_field_skype_desc', 'user_field_gtalk_desc', 'user_field_facebook_desc', 'user_field_twitter_desc')
Params: 1
Run Time: 0.000463
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_phrase_compiled | range | PRIMARY | PRIMARY | 106 | | 9 | Using where |
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: advertisements
Run Time: 0.000385
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | const | PRIMARY | PRIMARY | 27 | const | 1 | |
SELECT * FROM `xf_ads` WHERE `active` = 1 ORDER BY `xf_ads`.`display_order` ASC
Run Time: 0.000394
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_ads | ALL | | | | | 2 | Using where; Using filesort |
SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('wfc__1_member_view')
Run Time: 0.000464
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | const | PRIMARY | PRIMARY | 27 | const | 1 | |
SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('wfc__1_member_view_lock')
Run Time: 0.000241
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | const | PRIMARY | PRIMARY | 27 | const | 1 | |
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc__1_member_view_lock, a:1:{s:19:"member_view_lock_14";a:2:{s:4:"html";s:1:"1";s:4:"time";i:1611259452;}}
Run Time: 0.003645
SELECT *
FROM xf_node
ORDER BY lft ASC
Run Time: 0.000850
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_node | ALL | | | | | 115 | Using filesort |
SELECT content_id, cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = 'node'
Params: 1
Run Time: 0.001220
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | ref | PRIMARY | PRIMARY | 31 | const,const | 116 | Using where |
SELECT thread.*
,
1 AS fetched_last_post_user, user.gender, user.avatar_date, user.gravatar
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.last_post_user_id)
WHERE (thread.node_id IN (140, 4, 49, 36, 107, 108, 38, 79, 80, 118, 11, 39, 103, 102, 104, 101, 10, 5, 12, 67, 114, 130, 131, 132, 133, 134, 135, 136, 139, 144, 119, 99, 110, 15, 109, 81, 55, 56, 57, 58, 59, 13, 98, 21, 105, 22, 34, 124, 125, 126, 127, 128, 50, 120, 121, 122, 123, 24, 6, 82, 83, 84, 85, 86, 87, 129, 100, 31, 30, 61, 14, 28, 68, 29, 27, 46, 69, 70, 7, 16, 60, 19, 17, 18, 35, 26, 72, 71, 78, 75, 77, 73, 74, 76, 23, 37, 150, 161, 163, 152, 3, 9, 117, 32)) AND (thread.discussion_state IN ('visible'))
ORDER BY thread.last_post_date DESC
LIMIT 30
Run Time: 0.002260
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | index | node_id_last_post_date,node_id_sticky_state_last_post | last_post_date | 4 | | 30 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | masscops_com.thread.last_post_user_id | 1 | |
SELECT node.*, forum.*
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
WHERE node.node_id IN (49, 17, 12, 17, 27, 71, 16, 19, 161, 19, 10, 17, 49, 19, 17, 17, 17, 17, 50, 16, 49, 37, 161, 49, 30, 17, 85, 50, 161, 17)
Run Time: 0.000914
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | range | PRIMARY | PRIMARY | 4 | | 13 | Using where |
SIMPLE | forum | eq_ref | PRIMARY | PRIMARY | 4 | masscops_com.node.node_id | 1 | |
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc__1_member_view, a:1:{s:14:"member_view_14";a:2:{s:4:"html";s:6274:"<div class="avatarList">
<ul>
<li class="thread-252061 thread-node-49">
<a href="members/joel98.16173/" class="avatar Av16173s" data-avatarhtml="true"><img src="styles/novus/xenforo/avatars/avatar_s.png" width="48" height="48" alt="Joel98" /></a>
<a
href="posts/1108789/">
Executive action on LEOSA
</a>
<div class="userTitle">
<a href="members/joel98.16173/">Joel98</a> replied <abbr class="DateTime" data-time="1611254387" data-diff="5065" data-datestring="Jan 21, 2021" data-timestring="6:39 PM">Jan 21, 2021 at 6:39 PM</abbr>
</div>
</li>
<li class="thread-118782 thread-node-17">
<a href="members/fjd1075.31868/" class="avatar Av31868s" data-avatarhtml="true"><img src="styles/novus/xenforo/avatars/avatar_s.png" width="48" height="48" alt="fjd1075" /></a>
<a title="Court Officer / Associate Court Officer (State wide vacancies )" class="Tooltip"
href="posts/1108787/">
Court Officer / Associate Court...
</a>
<div class="userTitle">
<a href="members/fjd1075.31868/">fjd1075</a> replied <abbr class="DateTime" data-time="1611251812" data-diff="7640" data-datestring="Jan 21, 2021" data-timestring="5:56 PM">Jan 21, 2021 at 5:56 PM</abbr>
</div>
</li>
<li class="thread-252015 thread-node-12">
<a href="members/cccsd.48649/" class="avatar Av48649s" data-avatarhtml="true"><img src="data/avatars/s/48/48649.jpg?1501437493" width="48" height="48" alt="CCCSD" /></a>
<a
href="posts/1108783/">
Hypocrisy at its finest!
</a>
<div class="userTitle">
<a href="members/cccsd.48649/">CCCSD</a> replied <abbr class="DateTime" data-time="1611245031" data-diff="14421" data-datestring="Jan 21, 2021" data-timestring="4:03 PM">Jan 21, 2021 at 4:03 PM</abbr>
</div>
</li>
<li class="thread-251871 thread-node-17">
<a href="members/roy-fehler.14833/" class="avatar Av14833s" data-avatarhtml="true"><img src="data/avatars/s/14/14833.jpg?1325869219" width="48" height="48" alt="Roy Fehler" /></a>
<a
href="posts/1108777/">
Boston College Police Officer
</a>
<div class="userTitle">
<a href="members/roy-fehler.14833/">Roy Fehler</a> replied <abbr class="DateTime" data-time="1611238553" data-diff="20899" data-datestring="Jan 21, 2021" data-timestring="2:15 PM">Jan 21, 2021 at 2:15 PM</abbr>
</div>
</li>
<li class="thread-252029 thread-node-27">
<a href="members/pbc-fl-cop.397/" class="avatar Av397s" data-avatarhtml="true"><img src="data/avatars/s/0/397.jpg?1404478690" width="48" height="48" alt="PBC FL Cop" /></a>
<a
href="posts/1108775/">
NH State Police - how selective?
</a>
<div class="userTitle">
<a href="members/pbc-fl-cop.397/">PBC FL Cop</a> replied <abbr class="DateTime" data-time="1611238467" data-diff="20985" data-datestring="Jan 21, 2021" data-timestring="2:14 PM">Jan 21, 2021 at 2:14 PM</abbr>
</div>
</li>
<li class="thread-252067 thread-node-71">
<a href="members/tecno.60881/" class="avatar Av60881s" data-avatarhtml="true"><img src="styles/novus/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="Tecno" /></a>
<a
href="posts/1108767/">
86 RTT
</a>
<div class="userTitle">
<a href="members/tecno.60881/">Tecno</a> replied <abbr class="DateTime" data-time="1611191328" data-diff="68124" data-datestring="Jan 21, 2021" data-timestring="1:08 AM">Jan 21, 2021 at 1:08 AM</abbr>
</div>
</li>
<li class="thread-250083 thread-node-16">
<a href="members/tecno.60881/" class="avatar Av60881s" data-avatarhtml="true"><img src="styles/novus/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="Tecno" /></a>
<a
href="posts/1108747/">
Is MSP still using the 2017 list?
</a>
<div class="userTitle">
<a href="members/tecno.60881/">Tecno</a> replied <abbr class="DateTime" data-time="1611122831" data-diff="136621" data-datestring="Jan 20, 2021" data-timestring="6:07 AM">Jan 20, 2021 at 6:07 AM</abbr>
</div>
</li>
<li class="thread-252063 thread-node-19">
<a href="members/bfraser01.60057/" class="avatar Av60057s" data-avatarhtml="true"><img src="styles/novus/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="Bfraser01" /></a>
<a title="Where can I take the 56 hour required firearms course" class="Tooltip"
href="posts/1108737/">
Where can I take the 56 hour...
</a>
<div class="userTitle">
<a href="members/bfraser01.60057/">Bfraser01</a> replied <abbr class="DateTime" data-time="1611083599" data-diff="175853" data-datestring="Jan 19, 2021" data-timestring="7:13 PM">Jan 19, 2021 at 7:13 PM</abbr>
</div>
</li>
<li class="thread-252059 thread-node-161">
<a href="members/gr8fuldoug.42225/" class="avatar Av42225s" data-avatarhtml="true"><img src="styles/novus/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="gr8fuldoug" /></a>
<a title="Not Camera Land's "Normal" SHOT Show Kickoff Post" class="Tooltip"
href="posts/1108717/">
Not Camera Land's "Normal" SHOT...
</a>
<div class="userTitle">
<a href="members/gr8fuldoug.42225/">gr8fuldoug</a> replied <abbr class="DateTime" data-time="1611010456" data-diff="248996" data-datestring="Jan 18, 2021" data-timestring="10:54 PM">Jan 18, 2021 at 10:54 PM</abbr>
</div>
</li>
<li class="thread-252055 thread-node-19">
<a href="members/sooty.52551/" class="avatar Av52551s" data-avatarhtml="true"><img src="data/avatars/s/52/52551.jpg?1541096667" width="48" height="48" alt="Sooty" /></a>
<a
href="posts/1108697/">
BUPD Civilian Dispatcher
</a>
<div class="userTitle">
<a href="members/sooty.52551/">Sooty</a> replied <abbr class="DateTime" data-time="1610907264" data-diff="352188" data-datestring="Jan 17, 2021" data-timestring="6:14 PM">Jan 17, 2021 at 6:14 PM</abbr>
</div>
</li>
</ul>
</div>
<div id="PreviewTooltip">
<span class="arrow"><span></span></span>
<div class="section">
<div class="primaryContent previewContent">
<span class="PreviewContents">Loading...</span>
</div>
</div>
</div>";s:4:"time";i:1611259452;}}
Run Time: 0.004413
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc__1_member_view_lock, a:1:{s:19:"member_view_lock_14";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1611259452;}}
Run Time: 0.003103
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: advertisementcss
Run Time: 0.000328
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | const | PRIMARY | PRIMARY | 27 | const | 1 | |
SELECT thread.*,
post.*,
user.avatar_date
FROM xf_post AS post
LEFT 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)
WHERE
post.message_state = 'visible'
ORDER BY post.post_date DESC
LIMIT 40
Run Time: 0.001172
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post | index | | post_date | 4 | | 40 | Using where |
SIMPLE | thread | eq_ref | PRIMARY | PRIMARY | 4 | masscops_com.post.thread_id | 1 | |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | masscops_com.post.user_id | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 49
Run Time: 0.000413
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, 17
Run Time: 0.000373
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, 12
Run Time: 0.000448
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, 27
Run Time: 0.000333
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, 71
Run Time: 0.000308
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, 16
Run Time: 0.000291
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, 141
Run Time: 0.000241
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, 19
Run Time: 0.000221
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, 161
Run Time: 0.000309
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 | |