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.002767
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.000386
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.*,
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)
WHERE user.user_id = ?
Params: 72
Run Time: 0.000919
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 | |
SELECT
user.*,
user_profile.*,
user_privacy.*,
news_feed.*
FROM xf_news_feed AS news_feed
INNER JOIN xf_user AS user ON
(user.user_id = news_feed.user_id)
INNER JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = user.user_id)
LEFT JOIN xf_user_follow AS user_follow ON
(user_follow.user_id = user.user_id
AND user_follow.follow_user_id = 0)
INNER JOIN xf_user_privacy AS user_privacy ON
(user_privacy.user_id = user.user_id
AND (user.user_id = 0
OR (
user_privacy.allow_receive_news_feed <> 'none'
AND IF(user_privacy.allow_receive_news_feed = 'members', 0, 1)
AND IF(user_privacy.allow_receive_news_feed = 'followed', user_follow.user_id IS NOT NULL, 1)
)
)
)
WHERE (news_feed.user_id = 72)
ORDER BY news_feed.event_date DESC
LIMIT 15
Run Time: 0.001123
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_follow | const | PRIMARY,follow_user_id | PRIMARY | 8 | const,const | 0 | unique row not found |
SIMPLE | user_privacy | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | news_feed | ref | userId_eventDate | userId_eventDate | 4 | const | 3 | 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,
permission.cache_value AS node_permission_cache
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_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'node'
AND permission.content_id = thread.node_id)
WHERE post.post_id IN (1109875, 1109859, 1109855)
Run Time: 0.000884
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 | | 3 | Using where |
SIMPLE | thread | eq_ref | PRIMARY,node_id_last_post_date,node_id_sticky_state_last_post | PRIMARY | 4 | masscops_com.post.thread_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | masscops_com.thread.node_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,masscops_com.thread.node_id | 1 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 3c0de50e3683099bb69ed0b5abcc18b1, , 1614806531
Run Time: 0.002923
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, RecentActivity, valid, user_id=72, 1614802931,
Run Time: 0.002461
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000551
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_widget | ALL | | | | | 14 | Using where; Using filesort |
SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('wfc_59d73e7ca2a9bffe8947d')
Run Time: 0.000429
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_d911c77f12b0b1095b729')
Run Time: 0.000311
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_d911c77f12b0b1095b729, a:1:{s:30:"member_recent_activity_lock_14";a:2:{s:4:"html";s:1:"1";s:4:"time";i:1614802931;}}
Run Time: 0.003585
SELECT *
FROM xf_node
ORDER BY lft ASC
Run Time: 0.000941
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_node | ALL | | | | | 118 | 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.001179
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | ref | PRIMARY | PRIMARY | 31 | const,const | 119 | 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, 167, 169, 165)) AND (thread.discussion_state IN ('visible'))
ORDER BY thread.last_post_date DESC
LIMIT 30
Run Time: 0.002466
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 (161, 49, 10, 27, 50, 17, 19, 19, 17, 19, 19, 12, 17, 161, 161, 17, 21, 49, 24, 17, 136, 49, 49, 136, 161, 17, 49, 17, 17, 161)
Run Time: 0.000781
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | range | PRIMARY | PRIMARY | 4 | | 11 | 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_59d73e7ca2a9bffe8947d, a:1:{s:25:"member_recent_activity_14";a:2:{s:4:"html";s:6287:"<div class="avatarList">
<ul>
<li class="thread-252253 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="Athlon Cronus BTR 1-6x24 SFP - ATSR2 SFP IR MOA Reduced from $999.99 to only $749.99" class="Tooltip"
href="posts/1109895/">
Athlon Cronus BTR 1-6x24 SFP -...
</a>
<div class="userTitle">
<a href="members/gr8fuldoug.42225/">gr8fuldoug</a> replied <abbr class="DateTime" data-time="1614802302" data-diff="629" data-datestring="Mar 3, 2021" data-timestring="8:11 PM">Mar 3, 2021 at 8:11 PM</abbr>
</div>
</li>
<li class="thread-252221 thread-node-49">
<a href="members/zm88.11794/" class="avatar Av11794s" data-avatarhtml="true"><img src="data/avatars/s/11/11794.jpg?1596828134" width="48" height="48" alt="zm88" /></a>
<a
href="posts/1109893/">
Strong work by Worcester Police.
</a>
<div class="userTitle">
<a href="members/zm88.11794/">zm88</a> replied <abbr class="DateTime" data-time="1614796575" data-diff="6356" data-datestring="Mar 3, 2021" data-timestring="6:36 PM">Mar 3, 2021 at 6:36 PM</abbr>
</div>
</li>
<li class="thread-252241 thread-node-10">
<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
href="posts/1109891/">
Police Shows today
</a>
<div class="userTitle">
<a href="members/goose.1291/">Goose</a> replied <abbr class="DateTime" data-time="1614788309" data-diff="14622" data-datestring="Mar 3, 2021" data-timestring="4:18 PM">Mar 3, 2021 at 4:18 PM</abbr>
</div>
</li>
<li class="thread-34126 thread-node-27">
<a href="members/blue-blood.9516/" class="avatar Av9516s" data-avatarhtml="true"><img src="styles/novus/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="BLUE BLOOD" /></a>
<a
href="posts/1109883/">
DCR Rangers
</a>
<div class="userTitle">
<a href="members/blue-blood.9516/">BLUE BLOOD</a> replied <abbr class="DateTime" data-time="1614773198" data-diff="29733" data-datestring="Mar 3, 2021" data-timestring="12:06 PM">Mar 3, 2021 at 12:06 PM</abbr>
</div>
</li>
<li class="thread-252227 thread-node-50">
<a href="members/blue-blood.9516/" class="avatar Av9516s" data-avatarhtml="true"><img src="styles/novus/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="BLUE BLOOD" /></a>
<a
href="posts/1109879/">
Grill Lights
</a>
<div class="userTitle">
<a href="members/blue-blood.9516/">BLUE BLOOD</a> replied <abbr class="DateTime" data-time="1614750076" data-diff="52855" data-datestring="Mar 3, 2021" data-timestring="5:41 AM">Mar 3, 2021 at 5:41 AM</abbr>
</div>
</li>
<li class="thread-252183 thread-node-17">
<a href="members/as4.27719/" class="avatar Av27719s" data-avatarhtml="true"><img src="data/avatars/s/27/27719.jpg?1419500803" width="48" height="48" alt="AS4" /></a>
<a title="Does the reform bill affect new SSPOs?" class="Tooltip"
href="posts/1109877/">
Does the reform bill affect new...
</a>
<div class="userTitle">
<a href="members/as4.27719/">AS4</a> replied <abbr class="DateTime" data-time="1614748098" data-diff="54833" data-datestring="Mar 3, 2021" data-timestring="5:08 AM">Mar 3, 2021 at 5:08 AM</abbr>
</div>
</li>
<li class="thread-252251 thread-node-19">
<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 title="Dispatcher, Public Safety (PT) 3pm-7pm-Curry College" class="Tooltip"
href="posts/1109853/">
Dispatcher, Public Safety (PT)...
</a>
<div class="userTitle">
<a href="members/kilvinsky.5826/">Kilvinsky</a> replied <abbr class="DateTime" data-time="1614732387" data-diff="70544" data-datestring="Mar 3, 2021" data-timestring="12:46 AM">Mar 3, 2021 at 12:46 AM</abbr>
</div>
</li>
<li class="thread-252249 thread-node-19">
<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/1109851/">
UNH Public Safety Officer I
</a>
<div class="userTitle">
<a href="members/kilvinsky.5826/">Kilvinsky</a> replied <abbr class="DateTime" data-time="1614732213" data-diff="70718" data-datestring="Mar 3, 2021" data-timestring="12:43 AM">Mar 3, 2021 at 12:43 AM</abbr>
</div>
</li>
<li class="thread-252247 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/1109849/">
Smith College Sworn Police Officer
</a>
<div class="userTitle">
<a href="members/kilvinsky.5826/">Kilvinsky</a> replied <abbr class="DateTime" data-time="1614732134" data-diff="70797" data-datestring="Mar 3, 2021" data-timestring="12:42 AM">Mar 3, 2021 at 12:42 AM</abbr>
</div>
</li>
<li class="thread-252245 thread-node-19">
<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 title="Hampshire College Campus Safety Officer" class="Tooltip"
href="posts/1109847/">
Hampshire College Campus Safety...
</a>
<div class="userTitle">
<a href="members/kilvinsky.5826/">Kilvinsky</a> replied <abbr class="DateTime" data-time="1614732067" data-diff="70864" data-datestring="Mar 3, 2021" data-timestring="12:41 AM">Mar 3, 2021 at 12:41 AM</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:1614802931;}}
Run Time: 0.004826
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc_d911c77f12b0b1095b729, a:1:{s:30:"member_recent_activity_lock_14";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1614802931;}}
Run Time: 0.002574
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: advertisements
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 * FROM `xf_ads` WHERE `active` = 1 ORDER BY `xf_ads`.`display_order` ASC
Run Time: 0.000841
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_ads | ALL | | | | | 2 | Using where; Using filesort |
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: advertisementcss
Run Time: 0.000342
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.001136
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, 66
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, 161
Run Time: 0.000327
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.000363
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, 10
Run Time: 0.000325
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.000356
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.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, 17
Run Time: 0.000371
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.000322
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.000353
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, 21
Run Time: 0.000315
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.000348
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 | |