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.002838
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.000346
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT user.*
,
user_profile.*,
0 AS author_is_watched
FROM xf_user AS user
LEFT JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = user.user_id)
WHERE user.user_id = ?
Params: 156
Run Time: 0.000809
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user_profile | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT category.*
,
permission.cache_value AS category_permission_cache
FROM xf_nflj_ams_category AS category
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'ams_category'
AND permission.content_id = category.category_id)
ORDER BY category.lft
Run Time: 0.000619
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | category | ALL | | | | | 1 | Using filesort |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,pigforum_com.category.category_id | 1 | Using where |
SELECT COUNT(*)
FROM xf_nflj_ams_article as article
LEFT JOIN xf_nflj_ams_category AS category ON
(category.category_id = article.category_id)
WHERE (article.user_id = 156) AND (article.category_id IN (3)) AND (article.article_state IN ('visible'))
Run Time: 0.000535
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | article | ref | category_id,user_id,category_last_update,user_id_last_update,category_rating_weighted,category_author_rating,category_id_publish_date,user_id_publish_date | user_id | 4 | const | 29 | Using where |
SIMPLE | category | const | PRIMARY | PRIMARY | 4 | const | 1 | Using index |
SELECT article.*
,
category.*,
user.*, user_profile.*, IF(user.username IS NULL, article.username, user.username) AS username,
permission.cache_value AS category_permission_cache
FROM xf_nflj_ams_article AS article
LEFT JOIN xf_nflj_ams_category AS category ON
(category.category_id = article.category_id)
LEFT JOIN xf_user AS user ON
(user.user_id = article.user_id)
LEFT JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = article.user_id)
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'ams_category'
AND permission.content_id = article.category_id)
WHERE (article.user_id = 156) AND (article.category_id IN (3)) AND (article.article_state IN ('visible'))
ORDER BY article.likes DESC, article.last_update
LIMIT 15
Run Time: 0.001343
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | article | ref | category_id,user_id,category_last_update,user_id_last_update,category_rating_weighted,category_author_rating,category_id_publish_date,user_id_publish_date | user_id | 4 | const | 29 | Using index condition; Using where; Using filesort |
SIMPLE | category | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user_profile | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | permission | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | Using where |
SELECT bb_code_media_site.*
FROM xf_bb_code_media_site AS bb_code_media_site
LEFT JOIN xf_addon AS addon ON (addon.addon_id = bb_code_media_site.addon_id)
WHERE 1=1
ORDER BY bb_code_media_site.site_title
Run Time: 0.000618
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | bb_code_media_site | ALL | | | | | 6 | Using filesort |
SIMPLE | addon | eq_ref | PRIMARY | PRIMARY | 27 | pigforum_com.bb_code_media_site.addon_id | 1 | Using index |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 65bde233bd8e8ee04bf86bbec402adbd, a:8:{s:12:"sessionStart";i:1611454107;s:2:"ip";s:4:"6U9 ";s:11:"sessionCsrf";s:16:"v-PORPb52vpq8qlu";s:9:"userAgent";s:40:"CCBot/2.0 (https://commoncrawl.org/faq/)";s:7:"robotId";s:0:"";s:16:"previousActivity";i:0;s:21:"showcaseItemsUnviewed";a:2:{s:8:"unviewed";a:0:{}s:14:"lastUpdateDate";i:1611454107;}s:17:"amsArticlesUnread";a:2:{s:6:"unread";a:0:{}s:14:"lastUpdateDate";i:1611454107;}}, 1611457707
Run Time: 0.004417
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, 6U9 , 6U9 , NFLJ_AMS_ControllerPublic_Author, Author, valid, user_id=156, 1611454107,
Run Time: 0.003957