SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000176
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT user.*
,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,2,5,6,7,8,10)) as positive_rating_count
, ((select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,2,5,6,7,8,10)) + user.like_count) as positive_rating_count_incl_likes
,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (11,12,13)) as negative_rating_count
,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (14,3,4,9)) as neutral_rating_count
,(select sum(count_received) from dark_postrating_count where user_id = user.user_id) as total_rating_count
FROM xf_user AS user
WHERE user.user_id = ?
Params: 12738
Run Time: 0.001349
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
PRIMARY | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SUBQUERY | dark_postrating_count | ref | user_id_rating | user_id_rating | 4 | const | 1 | |
SUBQUERY | dark_postrating_count | range | user_id_rating | user_id_rating | 8 | | 4 | Using index condition |
SUBQUERY | dark_postrating_count | range | user_id_rating | user_id_rating | 8 | | 3 | Using index condition |
SUBQUERY | dark_postrating_count | range | user_id_rating | user_id_rating | 8 | | 7 | Using index condition |
SUBQUERY | dark_postrating_count | range | user_id_rating | user_id_rating | 8 | | 7 | Using index condition |
SELECT resource_category.*
,
permission.cache_value AS category_permission_cache
FROM xf_resource_category AS resource_category
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'resource_category'
AND permission.content_id = resource_category.resource_category_id)
ORDER BY resource_category.lft
Run Time: 0.000303
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | resource_category | ALL | | | | | 3 | Using filesort |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,viregfum_db.resource_category.resource_category_id | 1 | Using where |
SELECT COUNT(*) AS total_resources, SUM(resource.rating_sum) AS rating_sum,
SUM(resource.rating_count) AS rating_count,
MAX(resource.last_update) AS last_update
FROM xf_resource AS resource
WHERE (resource.user_id = 12738) AND (resource.resource_category_id IN (2, 3, 4)) AND (resource.resource_state IN ('visible'))
Run Time: 0.000561
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | resource | ref | category_last_update,category_rating_weighted,user_id_last_update | user_id_last_update | 4 | const | 6 | Using where |
SELECT resource.*
,
category.*, category.last_update AS category_last_update, resource.last_update,
version.version_string,
version.release_date,
version.download_url,
version.rating_count AS version_rating_count,
version.rating_sum AS version_rating_sum,
version.download_count AS version_download_count,
user.*, user_profile.*, IF(user.username IS NULL, resource.username, user.username) AS username,
permission.cache_value AS category_permission_cache
FROM xf_resource AS resource
LEFT JOIN xf_resource_category AS category ON
(category.resource_category_id = resource.resource_category_id)
LEFT JOIN xf_resource_version AS version ON
(version.resource_version_id = resource.current_version_id)
LEFT JOIN xf_user AS user ON
(user.user_id = resource.user_id)
LEFT JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = resource.user_id)
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'resource_category'
AND permission.content_id = resource.resource_category_id)
WHERE (resource.user_id = 12738) AND (resource.resource_category_id IN (2, 3, 4)) AND (resource.resource_state IN ('visible'))
ORDER BY resource.last_update DESC
LIMIT 20
Run Time: 0.001382
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | resource | ref | category_last_update,category_rating_weighted,user_id_last_update | user_id_last_update | 4 | const | 6 | Using where |
SIMPLE | category | eq_ref | PRIMARY | PRIMARY | 4 | viregfum_db.resource.resource_category_id | 1 | Using where |
SIMPLE | version | eq_ref | PRIMARY | PRIMARY | 4 | viregfum_db.resource.current_version_id | 1 | |
SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user_profile | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,viregfum_db.resource.resource_category_id | 1 | Using where |
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, , , XenResource_ControllerPublic_Author, View, valid, user_id=12738, 1711673082,
Run Time: 0.000410
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: uix_nodeCache
Run Time: 0.000090
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
SELECT *
FROM uix_node_layout
Run Time: 0.000220
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | uix_node_layout | ALL | | | | | 2 | |
SELECT node.*,
node_field.uix_node_icons,
node_field.uix_styling,
node_field.collapsed,
node_field.inheritClass,
node_field.inheritStyling
FROM xf_node AS node
LEFT JOIN uix_node_fields AS node_field ON (node.node_id = node_field.node_id)
Run Time: 0.000226
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | ALL | | | | | 105 | |
SIMPLE | node_field | eq_ref | PRIMARY | PRIMARY | 4 | viregfum_db.node.node_id | 1 | |
SELECT session_activity.*
,
user.*
FROM xf_session_activity AS session_activity
LEFT JOIN xf_user AS user ON
(user.user_id = session_activity.user_id)
WHERE (session_activity.view_date > 1711670682)
ORDER BY session_activity.view_date DESC
Run Time: 0.011248
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | range | view_date | view_date | 4 | | 518 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | viregfum_db.session_activity.user_id | 1 | |
SELECT session_activity.*
,
user.*
FROM xf_session_activity AS session_activity
LEFT JOIN xf_user AS user ON
(user.user_id = session_activity.user_id)
WHERE (session_activity.view_date > 1711670682)
ORDER BY session_activity.view_date DESC
Run Time: 0.000868
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | range | view_date | view_date | 4 | | 518 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | viregfum_db.session_activity.user_id | 1 | |
SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('wfc_0e97a3a2005dc91b9a8b5')
Run Time: 0.000593
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_node
ORDER BY lft ASC
Run Time: 0.000294
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_node | ALL | | | | | 105 | 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.000291
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | ref | PRIMARY | PRIMARY | 31 | const,const | 110 | Using where |
SELECT thread.*
,
user.gender, user.avatar_date, user.gravatar
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
WHERE (thread.node_id IN (1, 10, 44, 45, 42, 50, 98, 63, 77, 89, 105, 125, 49, 126, 120, 90, 124, 48, 53, 102, 108, 15, 127, 64, 47, 54, 55, 11, 56, 22, 13, 14, 104, 38, 12, 43, 30, 60, 33, 70, 34, 83, 94, 116, 118, 121, 84, 85, 86, 87, 115, 97, 69, 91, 80, 88, 92, 46, 58, 59, 41, 40, 32, 61, 112, 36, 37, 62, 72, 35, 71, 95, 52, 106, 73, 103, 81, 107, 82, 101, 114, 113, 117, 119, 123, 111, 110, 100, 75, 74, 76, 16, 19, 17, 18, 31, 65, 66, 67, 68, 3, 4, 93, 6, 5, 23, 24, 99, 79)) AND (thread.discussion_state IN ('visible'))
ORDER BY thread.post_date DESC
LIMIT 15
Run Time: 0.000273
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 | post_date | 4 | | 15 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | viregfum_db.thread.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 (53, 80, 10, 14, 4, 48, 22, 4, 53, 48, 126, 22, 53, 48, 125)
Run Time: 0.000314
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 | viregfum_db.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_0e97a3a2005dc91b9a8b5, a:1:{s:23:"resource_author_view_12";a:2:{s:4:"html";s:3297:"<div class="avatarList">
<ul>
<li class="thread-2786 thread-node-53">
<a href="members/frayz.25875/" class="avatar Av25875s" data-avatarhtml="true"><img src="styles/class/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="Frayz" /></a>
<a title="Сбрасываются настройки Neoline Shadow." class="Tooltip"
href="threads/sbrasyvajutsja-nastrojki-neoline-shadow.2786/">
Сбрасываются настройки Neoline...
</a>
<div class="userTitle">
<a href="members/frayz.25875/" class="username">Frayz</a> posted <span class="DateTime" title="17 мар 2024 в 02:05">17 мар 2024</span>
</div>
</li>
<li class="thread-2785 thread-node-80">
<a href="members/igorpv.25869/" class="avatar Av25869s" data-avatarhtml="true"><img src="styles/class/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="IgorPV" /></a>
<a title="BlackSys сайт производителя в 2024 году." class="Tooltip"
href="threads/blacksys-sajt-proizvoditelja-v-2024-godu.2785/">
BlackSys сайт производителя в...
</a>
<div class="userTitle">
<a href="members/igorpv.25869/" class="username">IgorPV</a> posted <span class="DateTime" title="14 мар 2024 в 17:24">14 мар 2024</span>
</div>
</li>
<li class="thread-2784 thread-node-10">
<a href="members/ustas52.25829/" class="avatar Av25829s" data-avatarhtml="true"><img src="styles/class/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="Ustas52" /></a>
<a
href="threads/korejskij-registrator-mando-z7.2784/">
Корейский регистратор Mando Z7
</a>
<div class="userTitle">
<a href="members/ustas52.25829/" class="username">Ustas52</a> posted <span class="DateTime" title="20 фев 2024 в 16:51">20 фев 2024</span>
</div>
</li>
<li class="thread-2782 thread-node-14">
<a href="members/sviatoi1988.25804/" class="avatar Av25804s" data-avatarhtml="true"><img src="styles/class/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="Sviatoi1988" /></a>
<a
href="threads/finevu-gx3.2782/">
FineVu GX3
</a>
<div class="userTitle">
<a href="members/sviatoi1988.25804/" class="username">Sviatoi1988</a> posted <span class="DateTime" title="10 фев 2024 в 20:25">10 фев 2024</span>
</div>
</li>
<li class="thread-2780 thread-node-4">
<a href="members/karagandinez.24193/" class="avatar Av24193s" data-avatarhtml="true"><img src="data/avatars/s/24/24193.jpg?1617208412" width="48" height="48" alt="Karagandinez" /></a>
<a
href="threads/s-nastupajuschim-novym-2024-godom.2780/">
С Наступающим Новым 2024 годом!!!
</a>
<div class="userTitle">
<a href="members/karagandinez.24193/" class="username">Karagandinez</a> posted <span class="DateTime" title="30 дек 2023 в 22:59">30 дек 2023</span>
</div>
</li>
</ul>
</div>
<div id="PreviewTooltip">
<span class="arrow"><span></span></span>
<div class="section">
<div class="primaryContent previewContent">
<span class="PreviewContents">Загрузка...</span>
</div>
</div>
</div>";s:4:"time";i:1711673082;}}
Run Time: 0.000756
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('members_online_now', 'forum_statistics', 'wf_widget_threads_type_new')
Params: 2
Run Time: 0.000125
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_phrase_compiled | range | PRIMARY | PRIMARY | 106 | | 3 | Using where |