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.002996
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.000496
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: 52479
Run Time: 0.001005
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 = 52479)
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.002060
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
user.*,
user_profile.*,
user_option.*
FROM xf_user_follow AS user_follow
INNER JOIN xf_user AS user ON
(user.user_id = user_follow.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.user_id = ?
ORDER BY RAND()
LIMIT 6
Params: 52479
Run Time: 0.001708
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_follow | ref | PRIMARY,follow_user_id | PRIMARY | 4 | const | 2 | Using index; Using temporary; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | masscops_com.user_follow.follow_user_id | 1 | Using where |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | masscops_com.user_follow.follow_user_id | 1 | |
SIMPLE | user_option | eq_ref | PRIMARY | PRIMARY | 4 | masscops_com.user_follow.follow_user_id | 1 | |
SELECT COUNT(*)
FROM xf_user_follow
WHERE follow_user_id = ?
Params: 52479
Run Time: 0.000498
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: 52479
Run Time: 0.001386
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: 813f7af247db4abc9b407fb8c61bfdec, , 1611540737
Run Time: 0.004078
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=52479, 1611537137,
Run Time: 0.002738
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000510
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.000581
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.000816
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.000679
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.000584
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.000309
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:1611537137;}}
Run Time: 0.003582
SELECT *
FROM xf_node
ORDER BY lft ASC
Run Time: 0.000686
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.000758
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.002157
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 (72, 17, 17, 12, 19, 49, 49, 30, 119, 17, 19, 19, 19, 17, 27, 71, 16, 19, 161, 19, 10, 17, 49, 19, 17, 17, 17, 17, 50, 16)
Run Time: 0.000776
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:6168:"<div class="avatarList">
<ul>
<li class="thread-251331 thread-node-72">
<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/1108887/">
Police Reform (Part Timers)
</a>
<div class="userTitle">
<a href="members/cccsd.48649/">CCCSD</a> replied <abbr class="DateTime" data-time="1611528521" data-diff="8616" data-datestring="Jan 24, 2021" data-timestring="10:48 PM">Jan 24, 2021 at 10:48 PM</abbr>
</div>
</li>
<li class="thread-252081 thread-node-17">
<a href="members/tango_sierra.14702/" class="avatar Av14702s" data-avatarhtml="true"><img src="data/avatars/s/14/14702.jpg?1390366648" width="48" height="48" alt="Tango_Sierra" /></a>
<a
href="posts/1108879/">
Southborough Police Officer
</a>
<div class="userTitle">
<a href="members/tango_sierra.14702/">Tango_Sierra</a> replied <abbr class="DateTime" data-time="1611513865" data-diff="23272" data-datestring="Jan 24, 2021" data-timestring="6:44 PM">Jan 24, 2021 at 6:44 PM</abbr>
</div>
</li>
<li class="thread-251871 thread-node-17">
<a href="members/iamthedude.48841/" class="avatar Av48841s" data-avatarhtml="true"><img src="styles/novus/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="IamTheDude" /></a>
<a
href="posts/1108867/">
Boston College Police Officer
</a>
<div class="userTitle">
<a href="members/iamthedude.48841/">IamTheDude</a> replied <abbr class="DateTime" data-time="1611469020" data-diff="68117" data-datestring="Jan 24, 2021" data-timestring="6:17 AM">Jan 24, 2021 at 6:17 AM</abbr>
</div>
</li>
<li class="thread-252015 thread-node-12">
<a href="members/iamthedude.48841/" class="avatar Av48841s" data-avatarhtml="true"><img src="styles/novus/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="IamTheDude" /></a>
<a
href="posts/1108865/">
Hypocrisy at its finest!
</a>
<div class="userTitle">
<a href="members/iamthedude.48841/">IamTheDude</a> replied <abbr class="DateTime" data-time="1611468825" data-diff="68312" data-datestring="Jan 24, 2021" data-timestring="6:13 AM">Jan 24, 2021 at 6:13 AM</abbr>
</div>
</li>
<li class="thread-251081 thread-node-19">
<a href="members/pg1911.17052/" class="avatar Av17052s" data-avatarhtml="true"><img src="data/avatars/s/17/17052.jpg?1361916906" width="48" height="48" alt="PG1911" /></a>
<a
href="posts/1108859/">
Field Parole Officer Test
</a>
<div class="userTitle">
<a href="members/pg1911.17052/">PG1911</a> replied <abbr class="DateTime" data-time="1611456098" data-diff="81039" data-datestring="Jan 24, 2021" data-timestring="2:41 AM">Jan 24, 2021 at 2:41 AM</abbr>
</div>
</li>
<li class="thread-252079 thread-node-49">
<a href="members/iamthedude.48841/" class="avatar Av48841s" data-avatarhtml="true"><img src="styles/novus/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="IamTheDude" /></a>
<a title="Weymouth student trying to ban the blue line Chesna Flag." class="Tooltip"
href="posts/1108857/">
Weymouth student trying to ban...
</a>
<div class="userTitle">
<a href="members/iamthedude.48841/">IamTheDude</a> replied <abbr class="DateTime" data-time="1611454336" data-diff="82801" data-datestring="Jan 24, 2021" data-timestring="2:12 AM">Jan 24, 2021 at 2:12 AM</abbr>
</div>
</li>
<li class="thread-252061 thread-node-49">
<a href="members/quo-vadis.56961/" class="avatar Av56961s" data-avatarhtml="true"><img src="styles/novus/xenforo/avatars/avatar_s.png" width="48" height="48" alt="Quo Vadis" /></a>
<a
href="posts/1108843/">
Executive action on LEOSA
</a>
<div class="userTitle">
<a href="members/quo-vadis.56961/">Quo Vadis</a> replied <abbr class="DateTime" data-time="1611376072" data-diff="161065" data-datestring="Jan 23, 2021" data-timestring="4:27 AM">Jan 23, 2021 at 4:27 AM</abbr>
</div>
</li>
<li class="thread-252025 thread-node-30">
<a href="members/02136colonel.52193/" class="avatar Av52193s" data-avatarhtml="true"><img src="data/avatars/s/52/52193.jpg?1537554231" width="48" height="48" alt="02136colonel" /></a>
<a
href="posts/1108841/">
CO vs CPO
</a>
<div class="userTitle">
<a href="members/02136colonel.52193/">02136colonel</a> replied <abbr class="DateTime" data-time="1611372755" data-diff="164382" data-datestring="Jan 23, 2021" data-timestring="3:32 AM">Jan 23, 2021 at 3:32 AM</abbr>
</div>
</li>
<li class="thread-252069 thread-node-119">
<a href="members/huntingcop.60883/" class="avatar Av60883s" data-avatarhtml="true"><img src="styles/novus/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="Huntingcop" /></a>
<a
href="posts/1108829/">
Load Bearing Outer Vest Carriers
</a>
<div class="userTitle">
<a href="members/huntingcop.60883/">Huntingcop</a> replied <abbr class="DateTime" data-time="1611353155" data-diff="183982" data-datestring="Jan 22, 2021" data-timestring="10:05 PM">Jan 22, 2021 at 10:05 PM</abbr>
</div>
</li>
<li class="thread-252077 thread-node-17">
<a href="members/kilvinsky.5826/" class="avatar Av5826s" data-avatarhtml="true"><img src="data/avatars/s/5/5826.jpg?1464622397" width="48" height="48" alt="Kilvinsky" /></a>
<a
href="posts/1108803/">
Regis College Police Officer
</a>
<div class="userTitle">
<a href="members/kilvinsky.5826/">Kilvinsky</a> replied <abbr class="DateTime" data-time="1611263644" data-diff="273493" data-datestring="Jan 21, 2021" data-timestring="9:14 PM">Jan 21, 2021 at 9: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:1611537137;}}
Run Time: 0.004440
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:1611537137;}}
Run Time: 0.003126
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: advertisementcss
Run Time: 0.000419
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.001015
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, 72
Run Time: 0.000387
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.000367
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.000285
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.000267
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.000249
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, 30
Run Time: 0.000302
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, 119
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 | |