SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'deferredRun', 'simpleCache', 'addOns', 'defaultStyleProperties', 'routesPublic', 'routeFiltersIn', 'routeFiltersOut', 'nodeTypes', 'bannedIps', 'discouragedIps', 'styles', 'displayStyles', 'userBanners', 'smilies', 'bbCode', 'threadPrefixes', 'trophyUserTitles', 'reportCounts', 'moderationCounts', 'userModerationCounts', 'notices', 'userFieldsInfo')
Run Time: 0.000312
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.000097
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT category.*
,
permission.cache_value AS category_permission_cache,
0 AS forum_is_watched
FROM xf_nflj_showcase_category AS category
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'showcase_category'
AND permission.content_id = category.category_id)
WHERE category.category_id = ?
Params: 1
Run Time: 0.000491
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | category | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | permission | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT category.*
,
permission.cache_value AS category_permission_cache
FROM xf_nflj_showcase_category AS category
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'showcase_category'
AND permission.content_id = category.category_id)
ORDER BY category.lft
Run Time: 0.000172
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | category | ALL | | | | | 9 | Using filesort |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,seedidea_chonhub.category.category_id | 1 | Using where |
SELECT COUNT(*)
FROM xf_nflj_showcase_item as item
LEFT JOIN xf_nflj_showcase_category AS category ON
(category.category_id = item.category_id)
WHERE (item.category_id IN (9, 8, 1)) AND (item.item_state IN ('visible','moderated'))
Run Time: 0.000287
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | item | range | category_last_update,category_rating_weighted | category_last_update | 4 | | 22 | Using index condition; Using where |
SIMPLE | category | eq_ref | PRIMARY | PRIMARY | 4 | seedidea_chonhub.item.category_id | 1 | Using index |
SELECT item.*
,
category.*,
user.*, user_profile.*, IF(user.username IS NULL, item.username, user.username) AS username
FROM xf_nflj_showcase_item AS item
LEFT JOIN xf_nflj_showcase_category AS category ON
(category.category_id = item.category_id)
LEFT JOIN xf_user AS user ON
(user.user_id = item.user_id)
LEFT JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = item.user_id)
WHERE (item.category_id IN (9, 8, 1)) AND (item.item_state IN ('visible','moderated'))
ORDER BY item.last_update DESC
LIMIT 15
Run Time: 0.000944
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | item | range | category_last_update,category_rating_weighted | category_last_update | 4 | | 22 | Using index condition; Using where; Using filesort |
SIMPLE | category | eq_ref | PRIMARY | PRIMARY | 4 | seedidea_chonhub.item.category_id | 1 | |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | seedidea_chonhub.item.user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | seedidea_chonhub.item.user_id | 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 (333, 131, 80, 79, 78, 77, 20, 14, 13, 11, 10, 8, 7, 6, 5)
ORDER BY attachment.content_id, attachment.attach_date
Params: showcase_item
Run Time: 0.000474
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | attachment | range | content_type_id_date | content_type_id_date | 31 | | 15 | Using index condition |
SIMPLE | data | eq_ref | PRIMARY | PRIMARY | 4 | seedidea_chonhub.attachment.data_id | 1 | |
SELECT item.user_id,
user.*,
COUNT(*) AS count
FROM xf_nflj_showcase_item AS item
LEFT JOIN xf_user AS user
ON (user.user_id = item.user_id)
WHERE (item.category_id IN (9, 8, 1)) AND (item.item_state = 'visible')
GROUP BY item.user_id
ORDER BY count DESC
LIMIT ?
Params: 5
Run Time: 0.000462
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | item | range | category_last_update,user_id_last_update,category_rating_weighted | category_last_update | 4 | | 22 | Using index condition; Using where; Using temporary; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | seedidea_chonhub.item.user_id | 1 | |
SELECT comment.user_id,
user.*,
COUNT(*) AS count
FROM xf_nflj_showcase_comment AS comment
LEFT JOIN xf_user AS user
ON (user.user_id = comment.user_id)
LEFT JOIN xf_nflj_showcase_item AS item
ON (comment.item_id = item.item_id)
WHERE comment.comment_state = "visible"
AND item.item_state = "visible"
AND item.category_id IN (9, 8, 1)
GROUP BY comment.user_id
ORDER BY count DESC
LIMIT 12
Run Time: 0.000332
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | comment | ALL | user_id | | | | 1 | Using where; Using temporary; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | seedidea_chonhub.comment.user_id | 1 | |
SIMPLE | item | eq_ref | PRIMARY,category_last_update,category_rating_weighted | PRIMARY | 4 | seedidea_chonhub.comment.item_id | 1 | Using where |
SELECT SUM(item.attach_count) images,
SUM(item.view_count) views,
SUM(item.comment_count) comments,
SUM(item.review_count) reviews,
COUNT(*) AS items
FROM xf_nflj_showcase_item AS item
WHERE (item.category_id IN (9, 8, 1)) AND (item.item_state = 'visible')
ORDER BY views DESC
Run Time: 0.000211
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | item | range | category_last_update,category_rating_weighted | category_last_update | 4 | | 22 | Using index condition; Using where |
SELECT comment.*,
user.username, user.avatar_date, user.avatar_width, user.avatar_height, user.gravatar, user.gender,
item.item_name, item.item_state, item.category_id, item.prefix_id
FROM xf_nflj_showcase_comment AS comment
LEFT JOIN xf_user AS user
ON (user.user_id = comment.user_id)
LEFT JOIN xf_nflj_showcase_item AS item
ON (comment.item_id = item.item_id)
WHERE comment.comment_state = "visible"
AND item.item_state = "visible"
AND item.category_id IN (9, 8, 1)
ORDER BY comment.comment_date DESC
LIMIT 5
Run Time: 0.000256
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | comment | ALL | | | | | 1 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | seedidea_chonhub.comment.user_id | 1 | |
SIMPLE | item | eq_ref | PRIMARY,category_last_update,category_rating_weighted | PRIMARY | 4 | seedidea_chonhub.comment.item_id | 1 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 588eadcc1e880ac139c4d5ee44c45f36, a:7:{s:12:"sessionStart";i:1714337756;s:2:"ip";i:51364141;s:9:"userAgent";s:103:"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)";s:7:"robotId";s:0:"";s:16:"previousActivity";i:0;s:10:"isIpBanned";b:0;s:13:"isDiscouraged";b:0;}, 1714341356
Run Time: 0.000403
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, 51364141, 51364141, NFLJ_Showcase_ControllerPublic_Category, Index, valid, category_id=1, 1714337756,
Run Time: 0.000078
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'nflj_showcase_category_sidebar_categories_block', 'nflj_showcase_category_list', 'nflj_showcase_tab_links', 'wf_hook_moderator_bar', 'wf_revealer', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?
Params: 1, 2
Run Time: 0.000355
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 7 | Using where |
SELECT tag.*
FROM xf_nflj_showcase_tag AS tag
WHERE 1=1
ORDER BY tag.content_count DESC
LIMIT 25
Run Time: 0.000221
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | tag | ALL | | | | | 4 | Using filesort |