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.003708
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.000474
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: 565
Run Time: 0.001506
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 search_index.content_type, search_index.content_id
FROM xf_search_index AS search_index
WHERE search_index.user_id = ?
ORDER BY search_index.item_date DESC
LIMIT 15
Params: 565
Run Time: 0.005539
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | search_index | ref | user_id_item_date | user_id_item_date | 4 | const | 1387 | Using where; Using index |
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,
user.*, IF(user.username IS NULL, post.username, user.username) AS username,
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_user AS user ON
(user.user_id = post.user_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 (501071, 501069, 501065, 501063, 501058, 501048, 499776, 499677, 499675, 499657, 499640, 499622, 499613, 499271)
Run Time: 0.002941
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 | | 14 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | masscops_com.post.user_id | 1 | |
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 |
SELECT thread.*
,
user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
node.title AS node_title, node.node_name,
post.message, post.attach_count,
NULL AS thread_read_date,
0 AS user_post_count,
permission.cache_value AS node_permission_cache
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
LEFT JOIN xf_node AS node ON
(node.node_id = thread.node_id)
LEFT JOIN xf_post AS post ON
(post.post_id = thread.first_post_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 thread.thread_id IN (83143)
Run Time: 0.000957
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | node | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | post | const | PRIMARY | PRIMARY | 4 | const | 0 | unique row not found |
SIMPLE | permission | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 29cc1524e5f1483b57b7d9efacd855f8, , 1615286859
Run Time: 0.003899
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, RecentContent, valid, user_id=565, 1615283259,
Run Time: 0.002736
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000787
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_widget | ALL | | | | | 14 | Using where; Using filesort |
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: advertisements
Run Time: 0.000560
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.000632
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_d51d7ef5f162b3b75c954')
Run Time: 0.000401
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_3e5e380a0e3e12a048e0a')
Run Time: 0.000449
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_3e5e380a0e3e12a048e0a, a:1:{s:29:"member_recent_content_lock_14";a:2:{s:4:"html";s:1:"1";s:4:"time";i:1615283259;}}
Run Time: 0.003993
SELECT *
FROM xf_node
ORDER BY lft ASC
Run Time: 0.988031
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.000820
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.002556
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 (19, 17, 80, 50, 72, 10, 49, 49, 19, 85, 17, 49, 161, 17, 49, 17, 161, 19, 27, 19, 19, 19, 19, 19, 161, 49, 50, 19, 19, 17)
Run Time: 0.000995
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_d51d7ef5f162b3b75c954, a:1:{s:24:"member_recent_content_14";a:2:{s:4:"html";s:6219:"<div class="avatarList">
<ul>
<li class="thread-252291 thread-node-19">
<a href="members/bloodhound.14711/" class="avatar Av14711s" data-avatarhtml="true"><img src="data/avatars/s/14/14711.jpg?1359529301" width="48" height="48" alt="Bloodhound" /></a>
<a title="Northeastern University Police Officer Position" class="Tooltip"
href="posts/1110191/">
Northeastern University Police...
</a>
<div class="userTitle">
<a href="members/bloodhound.14711/">Bloodhound</a> replied <abbr class="DateTime" data-time="1615279089" data-diff="4170" data-datestring="Mar 9, 2021" data-timestring="8:38 AM">Mar 9, 2021 at 8:38 AM</abbr>
</div>
</li>
<li class="thread-252183 thread-node-17">
<a href="members/wma7787.27885/" class="avatar Av27885s" data-avatarhtml="true"><img src="styles/novus/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="WMA7787" /></a>
<a title="Does the reform bill affect new SSPOs?" class="Tooltip"
href="posts/1110187/">
Does the reform bill affect new...
</a>
<div class="userTitle">
<a href="members/wma7787.27885/">WMA7787</a> replied <abbr class="DateTime" data-time="1615263850" data-diff="19409" data-datestring="Mar 9, 2021" data-timestring="4:24 AM">Mar 9, 2021 at 4:24 AM</abbr>
</div>
</li>
<li class="thread-252285 thread-node-80">
<a href="members/fapd.7259/" class="avatar Av7259s" data-avatarhtml="true"><img src="data/avatars/s/7/7259.jpg?1325869210" width="48" height="48" alt="FAPD" /></a>
<a
href="posts/1110185/">
Mental Pressures Police Face
</a>
<div class="userTitle">
<a href="members/fapd.7259/">FAPD</a> replied <abbr class="DateTime" data-time="1615255259" data-diff="28000" data-datestring="Mar 9, 2021" data-timestring="2:00 AM">Mar 9, 2021 at 2:00 AM</abbr>
</div>
</li>
<li class="thread-252275 thread-node-50">
<a href="members/fapd.7259/" class="avatar Av7259s" data-avatarhtml="true"><img src="data/avatars/s/7/7259.jpg?1325869210" width="48" height="48" alt="FAPD" /></a>
<a
href="posts/1110181/">
Mass Constables
</a>
<div class="userTitle">
<a href="members/fapd.7259/">FAPD</a> replied <abbr class="DateTime" data-time="1615254774" data-diff="28485" data-datestring="Mar 9, 2021" data-timestring="1:52 AM">Mar 9, 2021 at 1:52 AM</abbr>
</div>
</li>
<li class="thread-251331 thread-node-72">
<a href="members/fapd.7259/" class="avatar Av7259s" data-avatarhtml="true"><img src="data/avatars/s/7/7259.jpg?1325869210" width="48" height="48" alt="FAPD" /></a>
<a
href="posts/1110179/">
Police Reform (Part Timers)
</a>
<div class="userTitle">
<a href="members/fapd.7259/">FAPD</a> replied <abbr class="DateTime" data-time="1615254648" data-diff="28611" data-datestring="Mar 9, 2021" data-timestring="1:50 AM">Mar 9, 2021 at 1:50 AM</abbr>
</div>
</li>
<li class="thread-252241 thread-node-10">
<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/1110159/">
Police Shows today
</a>
<div class="userTitle">
<a href="members/cccsd.48649/">CCCSD</a> replied <abbr class="DateTime" data-time="1615239581" data-diff="43678" data-datestring="Mar 8, 2021" data-timestring="9:39 PM">Mar 8, 2021 at 9:39 PM</abbr>
</div>
</li>
<li class="thread-252283 thread-node-49">
<a href="members/hush.11306/" class="avatar Av11306s" data-avatarhtml="true"><img src="data/avatars/s/11/11306.jpg?1471273498" width="48" height="48" alt="Hush" /></a>
<a title="Mayor’s Proposes Ending City’s Police Force, Replacing It With New Civilian-Led Agency" class="Tooltip"
href="posts/1110151/">
Mayor’s Proposes Ending City’s...
</a>
<div class="userTitle">
<a href="members/hush.11306/">Hush</a> replied <abbr class="DateTime" data-time="1615226020" data-diff="57239" data-datestring="Mar 8, 2021" data-timestring="5:53 PM">Mar 8, 2021 at 5:53 PM</abbr>
</div>
</li>
<li class="thread-252287 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/1110115/">
NYPD Domestic ambush OIS
</a>
<div class="userTitle">
<a href="members/mpd61.89/">mpd61</a> replied <abbr class="DateTime" data-time="1615154834" data-diff="128425" data-datestring="Mar 7, 2021" data-timestring="10:07 PM">Mar 7, 2021 at 10:07 PM</abbr>
</div>
</li>
<li class="thread-252257 thread-node-19">
<a href="members/treehouse413.32437/" class="avatar Av32437s" data-avatarhtml="true"><img src="styles/novus/xenforo/avatars/avatar_s.png" width="48" height="48" alt="Treehouse413" /></a>
<a title="Maine State Police - Trooper Positions" class="Tooltip"
href="posts/1110111/">
Maine State Police - Trooper...
</a>
<div class="userTitle">
<a href="members/treehouse413.32437/">Treehouse413</a> replied <abbr class="DateTime" data-time="1615138271" data-diff="144988" data-datestring="Mar 7, 2021" data-timestring="5:31 PM">Mar 7, 2021 at 5:31 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="248818" data-datestring="Mar 6, 2021" data-timestring="12:40 PM">Mar 6, 2021 at 12:40 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:1615283259;}}
Run Time: 0.007875
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc_3e5e380a0e3e12a048e0a, a:1:{s:29:"member_recent_content_lock_14";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1615283259;}}
Run Time: 0.004401
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: advertisementcss
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 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.001397
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, 19
Run Time: 0.000473
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.000721
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.000531
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.000383
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.000391
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, 72
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.000439
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.000446
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.000410
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.000420
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 | |