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.003304
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.000534
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: 1166
Run Time: 0.001074
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 = 1166)
ORDER BY news_feed.event_date DESC
LIMIT 15
Run Time: 0.001347
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 | 1 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: f0b8a73ed16eb03db665921570e2d59b, , 1614711230
Run Time: 0.004551
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=1166, 1614707630,
Run Time: 0.003518
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000792
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.000643
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.000553
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:1614707630;}}
Run Time: 0.004044
SELECT *
FROM xf_node
ORDER BY lft ASC
Run Time: 0.001194
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.000941
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.002533
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 (12, 17, 21, 50, 49, 17, 24, 49, 17, 136, 49, 49, 136, 161, 17, 17, 49, 17, 17, 161, 49, 19, 30, 28, 24, 17, 49, 10, 49, 161)
Run Time: 0.001306
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | range | PRIMARY | PRIMARY | 4 | | 12 | 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:6108:"<div class="avatarList">
<ul>
<li class="thread-252207 thread-node-12">
<a href="members/adminj.42513/" class="avatar Av42513s" data-avatarhtml="true"><img src="data/avatars/s/42/42513.jpg?1505756043" width="48" height="48" alt="AdminJ" /></a>
<a title="ANNOUNCEMENT: New Forum Software Coming to Masscops" class="Tooltip"
href="posts/1109827/">
ANNOUNCEMENT: New Forum...
</a>
<div class="userTitle">
<a href="members/adminj.42513/">AdminJ</a> replied <abbr class="DateTime" data-time="1614702623" data-diff="5007" data-datestring="Mar 2, 2021" data-timestring="4:30 PM">Mar 2, 2021 at 4:30 PM</abbr>
</div>
</li>
<li class="thread-252235 thread-node-17">
<a href="members/hpd26.2448/" class="avatar Av2448s" data-avatarhtml="true"><img src="styles/novus/xenforo/avatars/avatar_s.png" width="48" height="48" alt="HPD26" /></a>
<a
href="posts/1109825/">
Hopkinton Police Patrolman Opening
</a>
<div class="userTitle">
<a href="members/hpd26.2448/">HPD26</a> replied <abbr class="DateTime" data-time="1614702037" data-diff="5593" data-datestring="Mar 2, 2021" data-timestring="4:20 PM">Mar 2, 2021 at 4:20 PM</abbr>
</div>
</li>
<li class="thread-115023 thread-node-21">
<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/1109821/">
Failure to Book
</a>
<div class="userTitle">
<a href="members/blue-blood.9516/">BLUE BLOOD</a> replied <abbr class="DateTime" data-time="1614663689" data-diff="43941" data-datestring="Mar 2, 2021" data-timestring="5:41 AM">Mar 2, 2021 at 5:41 AM</abbr>
</div>
</li>
<li class="thread-252227 thread-node-50">
<a href="members/res2244.56845/" class="avatar Av56845s" data-avatarhtml="true"><img src="data/avatars/s/56/56845.jpg?1588451630" width="48" height="48" alt="res2244" /></a>
<a
href="posts/1109817/">
Grill Lights
</a>
<div class="userTitle">
<a href="members/res2244.56845/">res2244</a> replied <abbr class="DateTime" data-time="1614653651" data-diff="53979" data-datestring="Mar 2, 2021" data-timestring="2:54 AM">Mar 2, 2021 at 2:54 AM</abbr>
</div>
</li>
<li class="thread-252215 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 title="Nevada County CA Sheriff's Office OIS" class="Tooltip"
href="posts/1109813/">
Nevada County CA Sheriff's...
</a>
<div class="userTitle">
<a href="members/joel98.16173/">Joel98</a> replied <abbr class="DateTime" data-time="1614646275" data-diff="61355" data-datestring="Mar 2, 2021" data-timestring="12:51 AM">Mar 2, 2021 at 12:51 AM</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/1109811/">
Uxbridge Police Exam
</a>
<div class="userTitle">
<a href="members/foxy85.3339/">Foxy85</a> replied <abbr class="DateTime" data-time="1614636122" data-diff="71508" data-datestring="Mar 1, 2021" data-timestring="10:02 PM">Mar 1, 2021 at 10:02 PM</abbr>
</div>
</li>
<li class="thread-252225 thread-node-24">
<a href="members/btoc343.4371/" class="avatar Av4371s" data-avatarhtml="true"><img src="styles/novus/xenforo/avatars/avatar_s.png" width="48" height="48" alt="btoc343" /></a>
<a
href="posts/1109805/">
Leather jacket
</a>
<div class="userTitle">
<a href="members/btoc343.4371/">btoc343</a> replied <abbr class="DateTime" data-time="1614622206" data-diff="85424" data-datestring="Mar 1, 2021" data-timestring="6:10 PM">Mar 1, 2021 at 6:10 PM</abbr>
</div>
</li>
<li class="thread-252221 thread-node-49">
<a href="members/mpd61.89/" class="avatar Av89s" data-avatarhtml="true"><img src="data/avatars/s/0/89.jpg?1381623768" width="48" height="48" alt="mpd61" /></a>
<a
href="posts/1109785/">
Strong work by Worcester Police.
</a>
<div class="userTitle">
<a href="members/mpd61.89/">mpd61</a> replied <abbr class="DateTime" data-time="1614563830" data-diff="143800" data-datestring="Mar 1, 2021" data-timestring="1:57 AM">Mar 1, 2021 at 1:57 AM</abbr>
</div>
</li>
<li class="thread-252223 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 title="Curry College Public Safety Officer SSPO (11pm-7am)" class="Tooltip"
href="posts/1109775/">
Curry College Public Safety...
</a>
<div class="userTitle">
<a href="members/kilvinsky.5826/">Kilvinsky</a> replied <abbr class="DateTime" data-time="1614539649" data-diff="167981" data-datestring="Feb 28, 2021" data-timestring="7:14 PM">Feb 28, 2021 at 7:14 PM</abbr>
</div>
</li>
<li class="thread-252203 thread-node-136">
<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/1109771/">
Only a Masshole........
</a>
<div class="userTitle">
<a href="members/sooty.52551/">Sooty</a> replied <abbr class="DateTime" data-time="1614522841" data-diff="184789" data-datestring="Feb 28, 2021" data-timestring="2:34 PM">Feb 28, 2021 at 2:34 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:1614707630;}}
Run Time: 0.008586
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:1614707630;}}
Run Time: 0.004776
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: advertisements
Run Time: 0.000688
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.000578
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.000675
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.001161
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, 12
Run Time: 0.000427
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.000465
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.000388
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.000314
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.000349
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.000316
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.000409
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, 24
Run Time: 0.000428
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, 136
Run Time: 0.000526
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, 137
Run Time: 0.000376
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.000366
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 | |