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.004988
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.000413
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: 13744
Run Time: 0.002035
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: 13744
Run Time: 0.001808
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 | 267 | 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 (542591, 542589, 542588, 542172, 542059, 541975, 541973, 536652, 536414, 535902, 535833, 535832)
Run Time: 0.003279
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 | | 12 | 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 (88408, 88397, 87789)
Run Time: 0.001517
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 3 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | masscops_com.thread.user_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | masscops_com.thread.node_id | 1 | |
SIMPLE | post | eq_ref | PRIMARY | PRIMARY | 4 | masscops_com.thread.first_post_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: dbe02c8dfab0c7ada1b2971591396b39, , 1615209644
Run Time: 0.003106
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=13744, 1615206044,
Run Time: 0.003717
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000611
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.000524
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.000452
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.000479
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.000653
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:1615206044;}}
Run Time: 0.002655
SELECT *
FROM xf_node
ORDER BY lft ASC
Run Time: 0.001216
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.001586
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.002625
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 (10, 49, 50, 17, 49, 19, 80, 85, 17, 49, 161, 17, 49, 17, 161, 19, 27, 19, 19, 19, 19, 19, 161, 49, 50, 19, 19, 17, 19, 19)
Run Time: 0.000785
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | range | PRIMARY | PRIMARY | 4 | | 9 | 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:6256:"<div class="avatarList">
<ul>
<li class="thread-252241 thread-node-10">
<a href="members/usm-c-2.15616/" class="avatar Av15616s" data-avatarhtml="true"><img src="data/avatars/s/15/15616.jpg?1437331057" width="48" height="48" alt="USM C-2" /></a>
<a
href="posts/1110135/">
Police Shows today
</a>
<div class="userTitle">
<a href="members/usm-c-2.15616/">USM C-2</a> replied <abbr class="DateTime" data-time="1615203116" data-diff="2928" data-datestring="Mar 8, 2021" data-timestring="11:31 AM">Mar 8, 2021 at 11:31 AM</abbr>
</div>
</li>
<li class="thread-252283 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="Mayor’s Proposes Ending City’s Police Force, Replacing It With New Civilian-Led Agency" class="Tooltip"
href="posts/1110127/">
Mayor’s Proposes Ending City’s...
</a>
<div class="userTitle">
<a href="members/cccsd.48649/">CCCSD</a> replied <abbr class="DateTime" data-time="1615165123" data-diff="40921" data-datestring="Mar 8, 2021" data-timestring="12:58 AM">Mar 8, 2021 at 12:58 AM</abbr>
</div>
</li>
<li class="thread-252275 thread-node-50">
<a href="members/usaf286.16628/" class="avatar Av16628s" data-avatarhtml="true"><img src="data/avatars/s/16/16628.jpg?1410219057" width="48" height="48" alt="USAF286" /></a>
<a
href="posts/1110123/">
Mass Constables
</a>
<div class="userTitle">
<a href="members/usaf286.16628/">USAF286</a> replied <abbr class="DateTime" data-time="1615162797" data-diff="43247" data-datestring="Mar 8, 2021" data-timestring="12:19 AM">Mar 8, 2021 at 12:19 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/1110121/">
Does the reform bill affect new...
</a>
<div class="userTitle">
<a href="members/wma7787.27885/">WMA7787</a> replied <abbr class="DateTime" data-time="1615162585" data-diff="43459" data-datestring="Mar 8, 2021" data-timestring="12:16 AM">Mar 8, 2021 at 12:16 AM</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="51210" 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="67773" data-datestring="Mar 7, 2021" data-timestring="5:31 PM">Mar 7, 2021 at 5:31 PM</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="135008" 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="171603" 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="205936" 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="209633" data-datestring="Mar 6, 2021" data-timestring="2:06 AM">Mar 6, 2021 at 2:06 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:1615206044;}}
Run Time: 0.004548
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:1615206044;}}
Run Time: 0.002877
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: advertisementcss
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 | |
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.001157
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, 10
Run Time: 0.000562
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.000405
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.000374
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.000399
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.000360
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.000372
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.000359
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.000306
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.000284
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 | |