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.004470
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.001398
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT post.*
FROM xf_post AS post
WHERE post.post_id = ?
Params: 1106459
Run Time: 0.000636
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT thread.*
,
0 AS thread_reply_banned
FROM xf_thread AS thread
WHERE thread.thread_id = ?
Params: 251647
Run Time: 0.004138
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT node.*, forum.*
,
permission.cache_value AS node_permission_cache
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.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 = forum.node_id)
WHERE node.node_id = ?
Params: 49
Run Time: 0.004091
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | forum | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | node | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | permission | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT COUNT(*)
FROM xf_liked_content AS liked_content
INNER JOIN xf_user AS user ON
(user.user_id = liked_content.like_user_id)
INNER JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = user.user_id)
INNER JOIN xf_user_option AS user_option ON
(user_option.user_id = user.user_id)
WHERE liked_content.content_type = ?
AND liked_content.content_id = ?
Params: post, 1106459
Run Time: 0.002867
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | liked_content | ref | content_type_id_like_user_id,like_user_content_type_id | content_type_id_like_user_id | 31 | const,const | 5 | Using where; Using index |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | masscops_com.liked_content.like_user_id | 1 | Using index |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | masscops_com.liked_content.like_user_id | 1 | Using index |
SIMPLE | user_option | eq_ref | PRIMARY | PRIMARY | 4 | masscops_com.liked_content.like_user_id | 1 | Using index |
SELECT liked_content.*,
user.*,
user_profile.*,
user_option.*
FROM xf_liked_content AS liked_content
INNER JOIN xf_user AS user ON
(user.user_id = liked_content.like_user_id)
INNER JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = user.user_id)
INNER JOIN xf_user_option AS user_option ON
(user_option.user_id = user.user_id)
WHERE liked_content.content_type = ?
AND liked_content.content_id = ?
ORDER BY liked_content.like_date DESC
LIMIT 100
Params: post, 1106459
Run Time: 0.002828
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | liked_content | ref | content_type_id_like_user_id,like_user_content_type_id | content_type_id_like_user_id | 31 | const,const | 5 | Using index condition; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | masscops_com.liked_content.like_user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | masscops_com.liked_content.like_user_id | 1 | |
SIMPLE | user_option | eq_ref | PRIMARY | PRIMARY | 4 | masscops_com.liked_content.like_user_id | 1 | |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 9e81e0e66b0745f2420b4d36b5a6641a, , 1614956536
Run Time: 0.003606
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_Post, Likes, valid, post_id=1106459, 1614952936,
Run Time: 0.007951
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.003814
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__1_post_likes')
Run Time: 0.000537
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__1_post_likes_lock')
Run Time: 0.000681
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__1_post_likes_lock, a:1:{s:18:"post_likes_lock_14";a:2:{s:4:"html";s:1:"1";s:4:"time";i:1614952936;}}
Run Time: 0.003045
SELECT *
FROM xf_node
ORDER BY lft ASC
Run Time: 0.005415
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.001009
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.004122
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 (85, 50, 17, 49, 17, 161, 10, 19, 27, 19, 19, 19, 19, 19, 19, 161, 49, 50, 19, 19, 17, 19, 19, 12, 17, 161, 161, 17, 21, 49)
Run Time: 0.005322
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__1_post_likes, a:1:{s:13:"post_likes_14";a:2:{s:4:"html";s:6293:"<div class="avatarList">
<ul>
<li class="thread-251613 thread-node-85">
<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/1109975/">
Vermont State Police 2020
</a>
<div class="userTitle">
<a href="members/sooty.52551/">Sooty</a> replied <abbr class="DateTime" data-time="1614923940" data-diff="28996" data-datestring="Mar 5, 2021" data-timestring="5:59 AM">Mar 5, 2021 at 5:59 AM</abbr>
</div>
</li>
<li class="thread-252275 thread-node-50">
<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
href="posts/1109973/">
Mass Constables
</a>
<div class="userTitle">
<a href="members/bloodhound.14711/">Bloodhound</a> replied <abbr class="DateTime" data-time="1614922334" data-diff="30602" data-datestring="Mar 5, 2021" data-timestring="5:32 AM">Mar 5, 2021 at 5:32 AM</abbr>
</div>
</li>
<li class="thread-252183 thread-node-17">
<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="Does the reform bill affect new SSPOs?" class="Tooltip"
href="posts/1109969/">
Does the reform bill affect new...
</a>
<div class="userTitle">
<a href="members/cccsd.48649/">CCCSD</a> replied <abbr class="DateTime" data-time="1614920015" data-diff="32921" data-datestring="Mar 5, 2021" data-timestring="4:53 AM">Mar 5, 2021 at 4:53 AM</abbr>
</div>
</li>
<li class="thread-252271 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 title="House Passes Police Reform Bill Eliminating Qualified Immunity." class="Tooltip"
href="posts/1109961/">
House Passes Police Reform Bill...
</a>
<div class="userTitle">
<a href="members/mpd61.89/">mpd61</a> replied <abbr class="DateTime" data-time="1614909225" data-diff="43711" data-datestring="Mar 5, 2021" data-timestring="1:53 AM">Mar 5, 2021 at 1:53 AM</abbr>
</div>
</li>
<li class="thread-252273 thread-node-17">
<a href="members/sturbridge2525.52603/" class="avatar Av52603s" data-avatarhtml="true"><img src="styles/novus/xenforo/avatars/avatar_s.png" width="48" height="48" alt="Sturbridge2525" /></a>
<a title="Sturbridge Police Department FT Police Officer" class="Tooltip"
href="posts/1109955/">
Sturbridge Police Department FT...
</a>
<div class="userTitle">
<a href="members/sturbridge2525.52603/">Sturbridge2525</a> replied <abbr class="DateTime" data-time="1614887261" data-diff="65675" data-datestring="Mar 4, 2021" data-timestring="7:47 PM">Mar 4, 2021 at 7:47 PM</abbr>
</div>
</li>
<li class="thread-252269 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="Winners Chosen - Next Drawing is April 7th for Kowa Spotting Scope Outfit" class="Tooltip"
href="posts/1109947/">
Winners Chosen - Next Drawing...
</a>
<div class="userTitle">
<a href="members/gr8fuldoug.42225/">gr8fuldoug</a> replied <abbr class="DateTime" data-time="1614876250" data-diff="76686" data-datestring="Mar 4, 2021" data-timestring="4:44 PM">Mar 4, 2021 at 4:44 PM</abbr>
</div>
</li>
<li class="thread-252241 thread-node-10">
<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/1109945/">
Police Shows today
</a>
<div class="userTitle">
<a href="members/kilvinsky.5826/">Kilvinsky</a> replied <abbr class="DateTime" data-time="1614875340" data-diff="77596" data-datestring="Mar 4, 2021" data-timestring="4:29 PM">Mar 4, 2021 at 4:29 PM</abbr>
</div>
</li>
<li class="thread-252267 thread-node-19">
<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/1109943/">
Police Experience for 18-20s MAINE
</a>
<div class="userTitle">
<a href="members/hush.11306/">Hush</a> replied <abbr class="DateTime" data-time="1614867299" data-diff="85637" data-datestring="Mar 4, 2021" data-timestring="2:14 PM">Mar 4, 2021 at 2:14 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/1109939/">
DCR Rangers
</a>
<div class="userTitle">
<a href="members/blue-blood.9516/">BLUE BLOOD</a> replied <abbr class="DateTime" data-time="1614838796" data-diff="114140" data-datestring="Mar 4, 2021" data-timestring="6:19 AM">Mar 4, 2021 at 6:19 AM</abbr>
</div>
</li>
<li class="thread-252265 thread-node-19">
<a href="members/kpd54.60283/" class="avatar Av60283s" data-avatarhtml="true"><img src="data/avatars/s/60/60283.jpg?1614793772" width="48" height="48" alt="KPD54" /></a>
<a
href="posts/1109909/">
Kennebunk Police - Reserve Officer
</a>
<div class="userTitle">
<a href="members/kpd54.60283/">KPD54</a> replied <abbr class="DateTime" data-time="1614804309" data-diff="148627" data-datestring="Mar 3, 2021" data-timestring="8:45 PM">Mar 3, 2021 at 8:45 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:1614952936;}}
Run Time: 0.005913
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc__1_post_likes_lock, a:1:{s:18:"post_likes_lock_14";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1614952936;}}
Run Time: 0.003321
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: advertisements
Run Time: 0.000487
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.000493
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.000416
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.001520
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, 85
Run Time: 0.001792
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.000580
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.000612
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.000622
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.000486
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.000436
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.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, 27
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, 66
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 | |