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.002757
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.000493
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: 23654
Run Time: 0.005353
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: 23654
Run Time: 0.002192
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 | 2 | Using where; Using index |
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 (127128)
Run Time: 0.001532
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 | 1 | |
SIMPLE | permission | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
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 (801484)
Run Time: 0.001129
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post | const | PRIMARY,thread_id_post_date,thread_id_position | PRIMARY | 4 | const | 1 | |
SIMPLE | thread | const | PRIMARY,node_id_last_post_date,node_id_sticky_state_last_post | PRIMARY | 4 | const | 1 | |
SIMPLE | node | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | permission | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: fdc80efeac1d1016e877178cb86ca8bb, , 1611173194
Run Time: 0.003985
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=23654, 1611169594,
Run Time: 0.003338
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000643
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.000492
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.000566
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.000378
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.000379
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:1611169594;}}
Run Time: 0.003565
SELECT *
FROM xf_node
ORDER BY lft ASC
Run Time: 0.000725
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.000838
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.002358
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 (71, 27, 17, 49, 16, 19, 12, 161, 19, 10, 17, 49, 19, 17, 17, 17, 17, 50, 16, 49, 37, 161, 49, 30, 17, 85, 50, 161, 17, 118)
Run Time: 0.000830
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | range | PRIMARY | PRIMARY | 4 | | 14 | 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:6215:"<div class="avatarList">
<ul>
<li class="thread-252067 thread-node-71">
<a href="members/visible25.18443/" class="avatar Av18443s" data-avatarhtml="true"><img src="data/avatars/s/18/18443.jpg?1377270180" width="48" height="48" alt="visible25" /></a>
<a
href="posts/1108763/">
86 RTT
</a>
<div class="userTitle">
<a href="members/visible25.18443/">visible25</a> replied <abbr class="DateTime" data-time="1611166880" data-diff="2714" data-datestring="Jan 20, 2021" data-timestring="6:21 PM">Jan 20, 2021 at 6:21 PM</abbr>
</div>
</li>
<li class="thread-252029 thread-node-27">
<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
href="posts/1108761/">
NH State Police - how selective?
</a>
<div class="userTitle">
<a href="members/hush.11306/">Hush</a> replied <abbr class="DateTime" data-time="1611161678" data-diff="7916" data-datestring="Jan 20, 2021" data-timestring="4:54 PM">Jan 20, 2021 at 4:54 PM</abbr>
</div>
</li>
<li class="thread-251871 thread-node-17">
<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/1108757/">
Boston College Police Officer
</a>
<div class="userTitle">
<a href="members/pg1911.17052/">PG1911</a> replied <abbr class="DateTime" data-time="1611161186" data-diff="8408" data-datestring="Jan 20, 2021" data-timestring="4:46 PM">Jan 20, 2021 at 4:46 PM</abbr>
</div>
</li>
<li class="thread-252061 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
href="posts/1108755/">
Executive action on LEOSA
</a>
<div class="userTitle">
<a href="members/hush.11306/">Hush</a> replied <abbr class="DateTime" data-time="1611158676" data-diff="10918" data-datestring="Jan 20, 2021" data-timestring="4:04 PM">Jan 20, 2021 at 4:04 PM</abbr>
</div>
</li>
<li class="thread-250083 thread-node-16">
<a href="members/tecno.60881/" class="avatar Av60881s" data-avatarhtml="true"><img src="styles/novus/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="Tecno" /></a>
<a
href="posts/1108747/">
Is MSP still using the 2017 list?
</a>
<div class="userTitle">
<a href="members/tecno.60881/">Tecno</a> replied <abbr class="DateTime" data-time="1611122831" data-diff="46763" data-datestring="Jan 20, 2021" data-timestring="6:07 AM">Jan 20, 2021 at 6:07 AM</abbr>
</div>
</li>
<li class="thread-252063 thread-node-19">
<a href="members/bfraser01.60057/" class="avatar Av60057s" data-avatarhtml="true"><img src="styles/novus/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="Bfraser01" /></a>
<a title="Where can I take the 56 hour required firearms course" class="Tooltip"
href="posts/1108737/">
Where can I take the 56 hour...
</a>
<div class="userTitle">
<a href="members/bfraser01.60057/">Bfraser01</a> replied <abbr class="DateTime" data-time="1611083599" data-diff="85995" data-datestring="Jan 19, 2021" data-timestring="7:13 PM">Jan 19, 2021 at 7:13 PM</abbr>
</div>
</li>
<li class="thread-252015 thread-node-12">
<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/1108719/">
Hypocrisy at its finest!
</a>
<div class="userTitle">
<a href="members/mpd61.89/">mpd61</a> replied <abbr class="DateTime" data-time="1611011490" data-diff="158104" data-datestring="Jan 18, 2021" data-timestring="11:11 PM">Jan 18, 2021 at 11:11 PM</abbr>
</div>
</li>
<li class="thread-252059 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="Not Camera Land's "Normal" SHOT Show Kickoff Post" class="Tooltip"
href="posts/1108717/">
Not Camera Land's "Normal" SHOT...
</a>
<div class="userTitle">
<a href="members/gr8fuldoug.42225/">gr8fuldoug</a> replied <abbr class="DateTime" data-time="1611010456" data-diff="159138" data-datestring="Jan 18, 2021" data-timestring="10:54 PM">Jan 18, 2021 at 10:54 PM</abbr>
</div>
</li>
<li class="thread-252055 thread-node-19">
<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/1108697/">
BUPD Civilian Dispatcher
</a>
<div class="userTitle">
<a href="members/sooty.52551/">Sooty</a> replied <abbr class="DateTime" data-time="1610907264" data-diff="262330" data-datestring="Jan 17, 2021" data-timestring="6:14 PM">Jan 17, 2021 at 6:14 PM</abbr>
</div>
</li>
<li class="thread-252041 thread-node-10">
<a href="members/usaf3424.8509/" class="avatar Av8509s" data-avatarhtml="true"><img src="data/avatars/s/8/8509.jpg?1447674413" width="48" height="48" alt="USAF3424" /></a>
<a title=""Police reform" what do you make of it" class="Tooltip"
href="posts/1108691/">
"Police reform" what do you...
</a>
<div class="userTitle">
<a href="members/usaf3424.8509/">USAF3424</a> replied <abbr class="DateTime" data-time="1610891466" data-diff="278128" data-datestring="Jan 17, 2021" data-timestring="1:51 PM">Jan 17, 2021 at 1:51 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:1611169594;}}
Run Time: 0.005182
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:1611169594;}}
Run Time: 0.003022
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: advertisementcss
Run Time: 0.000428
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.001153
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, 71
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, 27
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, 17
Run Time: 0.000317
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.000311
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, 16
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.000319
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.000332
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.000441
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.000442
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.000425
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 | |