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.000463
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.000116
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT COUNT(*)
FROM `sonnb_xengallery_content` AS content
INNER JOIN `sonnb_xengallery_album` AS album ON
(album.album_id = content.album_id)
LEFT JOIN `sonnb_xengallery_category` AS category ON
(album.category_id = category.category_id)
LEFT JOIN `xf_user` AS user ON
(user.user_id = content.user_id)
INNER JOIN `sonnb_xengallery_content_data` AS content_data ON
(content.content_data_id = content_data.content_data_id)
WHERE (content.content_type = 'photo') AND (content.content_state IN ('visible','moderated'))
Run Time: 0.036011
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | album | index | PRIMARY | category_update_date | 8 | | 165 | Using index |
SIMPLE | category | eq_ref | PRIMARY | PRIMARY | 4 | nma_xen.album.category_id | 1 | Using index |
SIMPLE | content | ref | album_id_position | album_id_position | 4 | nma_xen.album.album_id | 14 | Using where |
SIMPLE | content_data | eq_ref | PRIMARY,content_type_id | PRIMARY | 4 | nma_xen.content.content_data_id | 1 | Using index |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | nma_xen.content.user_id | 1 | Using index |
SELECT content.*
,
0 AS like_date,
album.category_id, album.album_state, album.album_type,
album.content_count, album.photo_count, album.video_count, album.audio_count,
album.album_privacy, album.album_location,
album.cover_content_id, album.cover_content_type,
album.latest_content_ids, album.latest_photo_ids, album.latest_video_ids, album.latest_audio_ids,
album.album_date, album.album_updated_date,
album.title AS album_title, album.description AS album_description,
album.user_id AS album_user_id, album.username AS album_username,
album.comment_count AS album_comment_count,
album.view_count AS album_view_count,
album.likes AS album_likes, album.like_users AS album_like_users,
album.latest_comment_ids AS album_latest_comment_ids,
album.collection_id AS album_collection_id,
category.category_privacy
,
0 AS following_0,
IF(user.username IS NULL, content.username, user.username) AS username, user.avatar_date, user.gravatar,
content_data.*,
0 AS following_0
FROM `sonnb_xengallery_content` AS content
INNER JOIN `sonnb_xengallery_album` AS album ON
(album.album_id = content.album_id)
LEFT JOIN `sonnb_xengallery_category` AS category ON
(album.category_id = category.category_id)
LEFT JOIN `xf_user` AS user ON
(user.user_id = content.user_id)
INNER JOIN `sonnb_xengallery_content_data` AS content_data ON
(content.content_data_id = content_data.content_data_id)
WHERE (content.content_type = 'photo') AND (content.content_state IN ('visible','moderated'))
ORDER BY content.content_date DESC, content.position ASC
LIMIT 40 OFFSET 240
Run Time: 0.081855
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | album | ALL | PRIMARY | | | | 165 | Using temporary; Using filesort |
SIMPLE | category | eq_ref | PRIMARY | PRIMARY | 4 | nma_xen.album.category_id | 1 | |
SIMPLE | content | ref | album_id_position | album_id_position | 4 | nma_xen.album.album_id | 14 | Using where |
SIMPLE | content_data | eq_ref | PRIMARY,content_type_id | PRIMARY | 4 | nma_xen.content.content_data_id | 1 | |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | nma_xen.content.user_id | 1 | |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 74cba07e30420a5b974e0fbf082f9abe, , 1614874530
Run Time: 0.000213
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, , , sonnb_XenGallery_ControllerPublic_XenGallery, NewPhotos, valid, , 1614870930,
Run Time: 0.000108
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'sonnb_xengallery_option_copyright', 'sonnbXG_copyright', 'sonnb_xengallery_gallery_new_photos', 'sonnb_xengallery_navbar_template', 'resources_tab_links', 'EWRporta2_Navtabs', 'dark_postrating', 'dark_postrating_member', 'dark_postrating_member_totals', 'message_user_info_extra', 'user_criteria_content', 'thread_list_item_icon_key', 'dark_postrating_member_notable_tabs', 'dark_postrating_account_wrapper', 'dark_postrating_navigation_visitor_tab', 'dark_postrating_visitor_panel', 'dark_postrating_member_card', 'dark_postrating_member_info', 'dark_postrating_message_user_info', 'sonnb_xengallery_nav_visitor', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?
Params: 4, 1
Run Time: 0.001253
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 22 | Using where |