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.004680
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | | 26 | Using where |
SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('brListenerClasses', 'brBriviumAddOns')
Run Time: 0.000452
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | | 2 | Using where |
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000408
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
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 EWRporta2_widlinks.widlink_id = ?
Params: 20
Run Time: 0.000522
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | EWRporta2_widlinks | const | PRIMARY,widget_id | PRIMARY | 4 | const | 1 | |
SIMPLE | EWRporta2_widgets | const | PRIMARY | PRIMARY | 302 | const | 1 | |
SIMPLE | EWRporta2_widopts | const | PRIMARY | PRIMARY | 4 | const | 0 | unique row not found |
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: 1711694696
Run Time: 0.000805
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
PRIMARY | <derived2> | ALL | | | | | 2 | |
DERIVED | EWRporta2_catlinks | ALL | thread_id | | | | 21 | Using where; Using temporary; Using filesort |
DERIVED | EWRporta2_articles | eq_ref | PRIMARY,article_date | PRIMARY | 4 | xen.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 | xen.EWRporta2_catlinks.thread_id | 1 | Using where |
DERIVED | xf_user | eq_ref | PRIMARY | PRIMARY | 4 | xen.xf_thread.user_id | 1 | Using index |
SELECT COUNT(*) AS total FROM (
SELECT xf_thread.thread_id
FROM xf_thread
LEFT JOIN EWRporta2_articles ON (EWRporta2_articles.thread_id = xf_thread.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 xf_thread.post_date < ?
AND xf_thread.discussion_state = 'visible'
AND xf_thread.node_id IN ('2', '48')
AND EWRporta2_articles.article_date IS NULL
AND EWRporta2_catlinks.category_id IN ('2')
GROUP BY xf_thread.thread_id
) q
Params: 1711694696
Run Time: 0.000359
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
PRIMARY | | | | | | | | no matching row in const table |
DERIVED | | | | | | | | Impossible WHERE |
(
SELECT EWRporta2_articles.*, EWRporta2_authors.*, xf_forum.*, xf_thread.*, xf_user.*, xf_post.message, xf_post.attach_count,
IF(NOT ISNULL(xf_user.user_id), xf_user.username, xf_thread.username) AS username,
'0' AS sticky_article, xf_thread.post_date AS order_date
FROM xf_thread
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)
LEFT JOIN EWRporta2_authors ON (EWRporta2_authors.user_id = xf_thread.user_id)
LEFT JOIN EWRporta2_articles ON (EWRporta2_articles.thread_id = xf_thread.thread_id)
INNER JOIN EWRporta2_catlinks ON (EWRporta2_catlinks.thread_id = EWRporta2_articles.thread_id)
WHERE xf_thread.post_date < ?
AND xf_thread.discussion_state = 'visible'
AND xf_thread.node_id IN ('2', '48')
AND EWRporta2_articles.article_date IS NULL
AND EWRporta2_catlinks.category_id IN ('2')
GROUP BY xf_thread.thread_id
ORDER BY xf_thread.post_date DESC
) UNION ALL (
SELECT EWRporta2_articles.*, EWRporta2_authors.*, xf_forum.*, xf_thread.*, xf_user.*, xf_post.message, xf_post.attach_count,
IF(NOT ISNULL(xf_user.user_id), xf_user.username, xf_thread.username) AS username,
EWRporta2_articles.article_sticky AS sticky_article, EWRporta2_articles.article_date AS order_date
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)
LEFT JOIN EWRporta2_authors ON (EWRporta2_authors.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_sticky DESC, EWRporta2_articles.article_date DESC
)
ORDER BY sticky_article DESC, order_date DESC
LIMIT ?, ?
Params: 1711694696, 1711694696, 1, 1
Run Time: 0.005860
SELECT attachment.*,
data.filename, data.file_size, data.file_hash, data.file_path, 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 (196214)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.000740
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 | 12 | Using index condition |
SIMPLE | data | eq_ref | PRIMARY | PRIMARY | 4 | xen.attachment.data_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 (4208)
ORDER BY EWRporta2_categories.category_name
Run Time: 0.000885
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | EWRporta2_categories | ALL | PRIMARY | | | | 2 | Using filesort |
SIMPLE | EWRporta2_catlinks | ref | thread_id | thread_id | 4 | const | 2 | Using where |
SIMPLE | xf_user | eq_ref | PRIMARY | PRIMARY | 4 | xen.EWRporta2_catlinks.user_id | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 67
Run Time: 0.000365
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 | |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 8bc0abe71aad05c51d67779b4ebf95cd, , 1711698296
Run Time: 0.000409
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_Widgets, Articlesmain, valid, , 1711694696,
Run Time: 0.000267
SELECT *
FROM kingk_bbcm
ORDER BY tag
Run Time: 0.000460
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | kingk_bbcm | system | | | | | 1 | |
SELECT attachment.*,
data.filename, data.file_size, data.file_hash, data.file_path, 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 (196214)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.000607
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 | 12 | Using index condition |
SIMPLE | data | eq_ref | PRIMARY | PRIMARY | 4 | xen.attachment.data_id | 1 | |
SELECT page_name FROM EWRcarta_pages WHERE page_slug = 'index'
Run Time: 0.000337
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | EWRcarta_pages | const | page_slug | page_slug | 302 | const | 1 | |
SELECT options.*, node.*,
permission.cache_value AS node_permission_cache
FROM nat_options AS options
INNER JOIN xf_node AS node
ON (node.node_id = options.node_id)
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = ?
AND permission.content_type = 'node'
AND permission.content_id = options.node_id)
WHERE nat_display_tab = 1
ORDER BY options.nat_display_order
ASC
Params: 1
Run Time: 0.000804
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | options | ALL | node_id | | | | 24 | Using where; Using filesort |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | xen.options.node_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,xen.options.node_id | 1 | Using where |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('BRSTS_support_tickets', 'media')
Params: 2
Run Time: 0.000400
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_phrase_compiled | range | PRIMARY | PRIMARY | 106 | | 2 | Using where |