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.002658
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.000383
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: 8911
Run Time: 0.001351
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 = 8911)
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.001529
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: 8911
Run Time: 0.000441
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 | 1 | 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: 8911
Run Time: 0.002101
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 | 1 | 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: 9b7e905ce50914f8402db4881bd61168, , 1615109866
Run Time: 0.003490
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_Member, Member, valid, user_id=8911, 1615106266,
Run Time: 0.002431
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000454
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.000504
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.000393
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.000376
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.000363
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.000269
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:1615106266;}}
Run Time: 0.002883
SELECT *
FROM xf_node
ORDER BY lft ASC
Run Time: 0.000777
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_node | ALL | | | | | 119 | 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.000689
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | ref | PRIMARY | PRIMARY | 31 | const,const | 214 | 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, 3, 9, 117, 32, 167, 169, 165, 171, 152, 163)) AND (thread.discussion_state IN ('visible'))
ORDER BY thread.last_post_date DESC
LIMIT 30
Run Time: 0.002230
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 (17, 49, 19, 80, 85, 17, 49, 50, 161, 17, 49, 17, 161, 10, 19, 27, 19, 19, 19, 19, 19, 161, 49, 50, 19, 19, 17, 19, 19, 12)
Run Time: 0.000657
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | range | PRIMARY | PRIMARY | 4 | | 10 | 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:6444:"<div class="avatarList">
<ul>
<li class="thread-252183 thread-node-17">
<a href="members/keepingitquiet.29598/" class="avatar Av29598s" data-avatarhtml="true"><img src="styles/novus/xenforo/avatars/avatar_s.png" width="48" height="48" alt="keepingitquiet" /></a>
<a title="Does the reform bill affect new SSPOs?" class="Tooltip"
href="posts/1110099/">
Does the reform bill affect new...
</a>
<div class="userTitle">
<a href="members/keepingitquiet.29598/">keepingitquiet</a> replied <abbr class="DateTime" data-time="1615102641" data-diff="3625" data-datestring="Mar 7, 2021" data-timestring="7:37 AM">Mar 7, 2021 at 7:37 AM</abbr>
</div>
</li>
<li class="thread-252283 thread-node-49">
<a href="members/goose.1291/" class="avatar Av1291s" data-avatarhtml="true"><img src="data/avatars/s/1/1291.jpg?1415947892" width="48" height="48" alt="Goose" /></a>
<a title="Mayor’s Proposes Ending City’s Police Force, Replacing It With New Civilian-Led Agency" class="Tooltip"
href="posts/1110097/">
Mayor’s Proposes Ending City’s...
</a>
<div class="userTitle">
<a href="members/goose.1291/">Goose</a> replied <abbr class="DateTime" data-time="1615098091" data-diff="8175" data-datestring="Mar 7, 2021" data-timestring="6:21 AM">Mar 7, 2021 at 6:21 AM</abbr>
</div>
</li>
<li class="thread-252257 thread-node-19">
<a href="members/usaf3424.8509/" class="avatar Av8509s" data-avatarhtml="true"><img src="data/avatars/s/8/8509.jpg?1447674413" width="48" height="48" alt="USAF3424" /></a>
<a title="Maine State Police - Trooper Positions" class="Tooltip"
href="posts/1110083/">
Maine State Police - Trooper...
</a>
<div class="userTitle">
<a href="members/usaf3424.8509/">USAF3424</a> replied <abbr class="DateTime" data-time="1615086013" data-diff="20253" data-datestring="Mar 7, 2021" data-timestring="3:00 AM">Mar 7, 2021 at 3:00 AM</abbr>
</div>
</li>
<li class="thread-252285 thread-node-80">
<a href="members/rodneyfarva.5874/" class="avatar Av5874s" data-avatarhtml="true"><img src="data/avatars/s/5/5874.jpg?1384558583" width="48" height="48" alt="RodneyFarva" /></a>
<a
href="posts/1110075/">
Mental Pressures Police Face
</a>
<div class="userTitle">
<a href="members/rodneyfarva.5874/">RodneyFarva</a> replied <abbr class="DateTime" data-time="1615071036" data-diff="35230" data-datestring="Mar 6, 2021" data-timestring="10:50 PM">Mar 6, 2021 at 10:50 PM</abbr>
</div>
</li>
<li class="thread-251613 thread-node-85">
<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/1110063/">
Vermont State Police 2020
</a>
<div class="userTitle">
<a href="members/pbc-fl-cop.397/">PBC FL Cop</a> replied <abbr class="DateTime" data-time="1615034441" data-diff="71825" data-datestring="Mar 6, 2021" data-timestring="12:40 PM">Mar 6, 2021 at 12:40 PM</abbr>
</div>
</li>
<li class="thread-252229 thread-node-17">
<a href="members/foxy85.3339/" class="avatar Av3339s" data-avatarhtml="true"><img src="data/avatars/s/3/3339.jpg?1325869208" width="48" height="48" alt="Foxy85" /></a>
<a
href="posts/1110031/">
Uxbridge Police Exam
</a>
<div class="userTitle">
<a href="members/foxy85.3339/">Foxy85</a> replied <abbr class="DateTime" data-time="1615000108" data-diff="106158" data-datestring="Mar 6, 2021" data-timestring="3:08 AM">Mar 6, 2021 at 3:08 AM</abbr>
</div>
</li>
<li class="thread-252213 thread-node-49">
<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 title="Hollister, CA OIS EDP armed with Knife" class="Tooltip"
href="posts/1110021/">
Hollister, CA OIS EDP armed...
</a>
<div class="userTitle">
<a href="members/cccsd.48649/">CCCSD</a> replied <abbr class="DateTime" data-time="1614996411" data-diff="109855" data-datestring="Mar 6, 2021" data-timestring="2:06 AM">Mar 6, 2021 at 2:06 AM</abbr>
</div>
</li>
<li class="thread-252275 thread-node-50">
<a href="members/rodneyfarva.5874/" class="avatar Av5874s" data-avatarhtml="true"><img src="data/avatars/s/5/5874.jpg?1384558583" width="48" height="48" alt="RodneyFarva" /></a>
<a
href="posts/1110017/">
Mass Constables
</a>
<div class="userTitle">
<a href="members/rodneyfarva.5874/">RodneyFarva</a> replied <abbr class="DateTime" data-time="1614992366" data-diff="113900" data-datestring="Mar 6, 2021" data-timestring="12:59 AM">Mar 6, 2021 at 12:59 AM</abbr>
</div>
</li>
<li class="thread-252281 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="Super Spring Sale Weekend at Camera Land" class="Tooltip"
href="posts/1110001/">
Super Spring Sale Weekend at...
</a>
<div class="userTitle">
<a href="members/gr8fuldoug.42225/">gr8fuldoug</a> replied <abbr class="DateTime" data-time="1614979126" data-diff="127140" data-datestring="Mar 5, 2021" data-timestring="9:18 PM">Mar 5, 2021 at 9:18 PM</abbr>
</div>
</li>
<li class="thread-252279 thread-node-17">
<a href="members/usaf3424.8509/" class="avatar Av8509s" data-avatarhtml="true"><img src="data/avatars/s/8/8509.jpg?1447674413" width="48" height="48" alt="USAF3424" /></a>
<a title="Berklee College of Music Police Officer" class="Tooltip"
href="posts/1109995/">
Berklee College of Music Police...
</a>
<div class="userTitle">
<a href="members/usaf3424.8509/">USAF3424</a> replied <abbr class="DateTime" data-time="1614978457" data-diff="127809" data-datestring="Mar 5, 2021" data-timestring="9:07 PM">Mar 5, 2021 at 9:07 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:1615106266;}}
Run Time: 0.003962
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:1615106266;}}
Run Time: 0.002641
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: advertisementcss
Run Time: 0.000312
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.001048
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, 17
Run Time: 0.000300
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, 49
Run Time: 0.000212
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, 66
Run Time: 0.000236
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.000321
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, 80
Run Time: 0.000283
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, 85
Run Time: 0.000232
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, 153
Run Time: 0.000234
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, 50
Run Time: 0.000244
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 | |