SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000410
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT * FROM EWRporta2_categories WHERE category_id = ?
Params: 2
Run Time: 0.000255
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | EWRporta2_categories | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT COUNT(*) AS total FROM (
SELECT xf_thread.thread_id
FROM EWRporta2_articles
INNER JOIN xf_thread ON (xf_thread.thread_id = EWRporta2_articles.thread_id)
LEFT JOIN xf_user ON (xf_user.user_id = xf_thread.user_id)
INNER JOIN EWRporta2_catlinks ON (EWRporta2_catlinks.thread_id = EWRporta2_articles.thread_id)
WHERE EWRporta2_articles.article_date < ?
AND xf_thread.discussion_state = 'visible'
AND EWRporta2_catlinks.category_id IN (2)
GROUP BY xf_thread.thread_id
) q
Params: 1524503420
Run Time: 0.000540
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
PRIMARY | <derived2> | ALL | | | | | 6 | |
DERIVED | EWRporta2_catlinks | ALL | thread_id | | | | 6 | Using where; Using temporary; Using filesort |
DERIVED | EWRporta2_articles | eq_ref | PRIMARY,article_date | PRIMARY | 4 | bar_production.EWRporta2_catlinks.thread_id | 1 | Using where |
DERIVED | xf_thread | eq_ref | PRIMARY,node_id_last_post_date,last_post_date,node_id_sticky_state_last_post,user_id,post_date | PRIMARY | 4 | bar_production.EWRporta2_catlinks.thread_id | 1 | Using where |
DERIVED | xf_user | eq_ref | PRIMARY | PRIMARY | 4 | bar_production.xf_thread.user_id | 1 | Using index |
SELECT EWRporta2_articles.*, xf_thread.*, xf_forum.*, xf_user.*, xf_post.message, xf_post.attach_count,
IF(NOT ISNULL(xf_user.user_id), xf_user.username, xf_thread.username) AS username
FROM EWRporta2_articles
INNER JOIN xf_thread ON (xf_thread.thread_id = EWRporta2_articles.thread_id)
INNER JOIN xf_forum ON (xf_forum.node_id = xf_thread.node_id)
INNER JOIN xf_post ON (xf_post.post_id = xf_thread.first_post_id)
LEFT JOIN xf_user ON (xf_user.user_id = xf_thread.user_id)
INNER JOIN EWRporta2_catlinks ON (EWRporta2_catlinks.thread_id = EWRporta2_articles.thread_id)
WHERE EWRporta2_articles.article_date < ?
AND xf_thread.discussion_state = 'visible'
AND EWRporta2_catlinks.category_id IN (2)
GROUP BY xf_thread.thread_id
ORDER BY EWRporta2_articles.article_date DESC
LIMIT ?, ?
Params: 1524503420, 0, 1
Run Time: 0.011359
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | EWRporta2_catlinks | ALL | thread_id | | | | 6 | Using where; Using temporary; Using filesort |
SIMPLE | EWRporta2_articles | eq_ref | PRIMARY,article_date | PRIMARY | 4 | bar_production.EWRporta2_catlinks.thread_id | 1 | Using where |
SIMPLE | xf_thread | eq_ref | PRIMARY,node_id_last_post_date,last_post_date,node_id_sticky_state_last_post,user_id,post_date | PRIMARY | 4 | bar_production.EWRporta2_catlinks.thread_id | 1 | Using where |
SIMPLE | xf_forum | eq_ref | PRIMARY | PRIMARY | 4 | bar_production.xf_thread.node_id | 1 | |
SIMPLE | xf_user | eq_ref | PRIMARY | PRIMARY | 4 | bar_production.xf_thread.user_id | 1 | |
SIMPLE | xf_post | eq_ref | PRIMARY | PRIMARY | 4 | bar_production.xf_thread.first_post_id | 1 | |
SELECT EWRporta2_catlinks.*, EWRporta2_categories.*, xf_user.*
FROM EWRporta2_catlinks
INNER JOIN EWRporta2_categories ON (EWRporta2_categories.category_id = EWRporta2_catlinks.category_id)
LEFT JOIN xf_user ON (xf_user.user_id = EWRporta2_catlinks.user_id)
WHERE EWRporta2_catlinks.thread_id IN (17718)
ORDER BY EWRporta2_categories.category_name
Run Time: 0.000971
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | EWRporta2_catlinks | ref | thread_id | thread_id | 4 | const | 1 | Using temporary; Using filesort |
SIMPLE | EWRporta2_categories | eq_ref | PRIMARY | PRIMARY | 4 | bar_production.EWRporta2_catlinks.category_id | 1 | |
SIMPLE | xf_user | eq_ref | PRIMARY | PRIMARY | 4 | bar_production.EWRporta2_catlinks.user_id | 1 | |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 343d076b467825691532feacb89ac425, , 1524507020
Run Time: 0.000269
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, , , EWRporta2_ControllerPublic_Articles, Category, valid, action_id=2, 1524503420,
Run Time: 0.000186
SELECT *
FROM EWRporta2_layouts
WHERE (layout_template = ?
)
AND active = 1
ORDER BY layout_priority ASC
Params: EWRporta2_ArticleList
Run Time: 0.000534
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | EWRporta2_layouts | ref | layout_template | layout_template | 302 | const | 1 | Using index condition; Using where; Using filesort |
SELECT EWRporta2_widlinks.*, EWRporta2_widgets.widget_values, EWRporta2_widopts.widopt_values,
IF(EWRporta2_widopts.widopt_id, EWRporta2_widopts.widopt_id, 0) AS widopt_id,
IF(EWRporta2_widopts.widopt_id, EWRporta2_widopts.locked, EWRporta2_widgets.locked) AS locked,
IF(EWRporta2_widopts.widopt_id, EWRporta2_widopts.display, EWRporta2_widgets.display) AS display,
IF(EWRporta2_widopts.widopt_id, EWRporta2_widopts.groups, EWRporta2_widgets.groups) AS groups,
IF(EWRporta2_widopts.widopt_id, EWRporta2_widopts.ctime, EWRporta2_widgets.ctime) AS ctime,
IF(EWRporta2_widopts.widopt_id, EWRporta2_widopts.cdate, EWRporta2_widgets.cdate) AS cdate,
IF(EWRporta2_widopts.widopt_id, EWRporta2_widopts.cache, EWRporta2_widgets.cache) AS cache
FROM EWRporta2_widlinks
INNER JOIN EWRporta2_widgets ON (EWRporta2_widgets.widget_id = EWRporta2_widlinks.widget_id)
LEFT JOIN EWRporta2_widopts ON (EWRporta2_widopts.widopt_id = EWRporta2_widlinks.widopt_id)
WHERE layout_id = ?
AND EWRporta2_widgets.active = 1
ORDER by widlink_order
Params: article_list
Run Time: 0.001000
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | EWRporta2_widlinks | ref | layout_id,widget_id | layout_id | 302 | const | 7 | Using index condition; Using temporary; Using filesort |
SIMPLE | EWRporta2_widopts | ALL | PRIMARY | | | | 1 | Using where; Using join buffer (Block Nested Loop) |
SIMPLE | EWRporta2_widgets | eq_ref | PRIMARY | PRIMARY | 302 | bar_production.EWRporta2_widlinks.widget_id | 1 | Using where |
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 > 1524502520)
ORDER BY session_activity.view_date DESC
Run Time: 0.000897
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | range | view_date | view_date | 4 | | 40 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | bar_production.session_activity.user_id | 1 | |
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: boardTotals
Run Time: 0.000207
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | const | PRIMARY | PRIMARY | 27 | const | 1 | |
SELECT thread.*
,
user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
node.title AS node_title, node.node_name,
NULL AS thread_read_date,
0 AS thread_is_watched,
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_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.discussion_state IN ('visible')) AND (thread.last_post_date > 1523898620)
ORDER BY thread.last_post_date DESC
LIMIT 15
Run Time: 0.001484
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | last_post_date | last_post_date | 4 | | 97 | Using index condition; Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | bar_production.thread.user_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | bar_production.thread.node_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,bar_production.thread.node_id | 1 | Using where |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 29
Run Time: 0.000252
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, 60
Run Time: 0.000265
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, 22
Run Time: 0.000218
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.000243
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, 31
Run Time: 0.000261
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.000211
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.000215
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 attachment.*,
data.filename, data.file_size, data.file_hash, data.width, data.height, data.thumbnail_width, data.thumbnail_height
FROM xf_attachment AS attachment
INNER JOIN xf_attachment_data AS data ON
(data.data_id = attachment.data_id)
WHERE attachment.content_type = ?
AND attachment.content_id IN (258828)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.000674
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | attachment | ref | content_type_id_date | content_type_id_date | 31 | const,const | 6 | Using index condition; Using where |
SIMPLE | data | eq_ref | PRIMARY | PRIMARY | 4 | bar_production.attachment.data_id | 1 | |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'bb_code_tag_code', 'bb_code_tag_php', 'bb_code_tag_html', 'bb_code_tag_quote', 'bb_code_tag_attach', 'bb_code_tag_spoiler', 'EWRwidget_UsersOnline', 'EWRwidget_RawHtml', 'EWRwidget_ForumStats', 'EWRwidget_SharePage', 'EWRwidget_FbLikeBox', 'EWRwidget_Threads', 'EWRporta2_ArticleList', 'EWRporta2_Navtabs', 'EWRatendo_Navtabs', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?
Params: 12, 1
Run Time: 0.000830
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 17 | Using where |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('events')
Params: 1
Run Time: 0.000228
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_phrase_compiled | const | PRIMARY | PRIMARY | 106 | const,const | 1 | |