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.001341
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.000161
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT album.*
,
0 AS like_date,
0 AS watch_date,
IF(user.username IS NULL, album.username, user.username) AS username, user.avatar_date, user.gravatar,
0 AS following_0,
category.category_privacy
FROM `sonnb_xengallery_album` AS album
LEFT JOIN `xf_user` AS user ON
(user.user_id = album.user_id)
LEFT JOIN `sonnb_xengallery_category` AS category ON
(album.category_id = category.category_id)
WHERE (album.album_id = 94)
LIMIT 1
Run Time: 0.000877
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | album | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | category | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT COUNT(*)
FROM `sonnb_xengallery_content` AS content
INNER JOIN `sonnb_xengallery_content_data` AS content_data ON
(content.content_data_id = content_data.content_data_id)
LEFT JOIN `sonnb_xengallery_photo` AS photo ON
(photo.content_id = content.content_id)
LEFT JOIN `sonnb_xengallery_video` AS video ON
(video.content_id = content.content_id)
WHERE (content.album_id = 94) AND (content.content_state IN ('visible','moderated'))
Run Time: 0.000554
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | content | ref | album_id_position | album_id_position | 4 | const | 3 | Using where |
SIMPLE | content_data | eq_ref | PRIMARY,content_type_id | PRIMARY | 4 | nma_xen.content.content_data_id | 1 | Using index |
SIMPLE | photo | eq_ref | PRIMARY | PRIMARY | 4 | nma_xen.content.content_id | 1 | Using index |
SIMPLE | video | eq_ref | PRIMARY | PRIMARY | 4 | nma_xen.content.content_id | 1 | Using index |
SELECT content.*
,
0 AS like_date,
0 AS watch_date,
content_data.*,
photo.photo_exif,
video.video_key, video.video_type,
0 AS following_0
FROM `sonnb_xengallery_content` AS content
INNER JOIN `sonnb_xengallery_content_data` AS content_data ON
(content.content_data_id = content_data.content_data_id)
LEFT JOIN `sonnb_xengallery_photo` AS photo ON
(photo.content_id = content.content_id)
LEFT JOIN `sonnb_xengallery_video` AS video ON
(video.content_id = content.content_id)
WHERE (content.album_id = 94) AND (content.content_state IN ('visible','moderated'))
ORDER BY content.content_updated_date DESC, content.position ASC
LIMIT 40
Run Time: 0.000943
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | content | ref | album_id_position | album_id_position | 4 | const | 3 | Using where; Using filesort |
SIMPLE | content_data | eq_ref | PRIMARY,content_type_id | PRIMARY | 4 | nma_xen.content.content_data_id | 1 | |
SIMPLE | photo | eq_ref | PRIMARY | PRIMARY | 4 | nma_xen.content.content_id | 1 | |
SIMPLE | video | eq_ref | PRIMARY | PRIMARY | 4 | nma_xen.content.content_id | 1 | |
SELECT comment.*
,
0 AS like_date,
IF(user.username IS NULL, comment.username, user.username) AS username, user.avatar_date, user.gravatar
FROM `sonnb_xengallery_comment` AS comment
LEFT JOIN `xf_user` AS user ON
(user.user_id = comment.user_id)
WHERE (comment.content_type = 'album') AND (comment.content_id = 94) AND (comment.comment_state IN ('visible'))
ORDER BY comment.comment_date DESC
LIMIT 5
Run Time: 0.000359
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | comment | ref | content_type_id_date,content_type_id,comment_date | content_type_id_date | 5 | const,const | 1 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | nma_xen.comment.user_id | 1 | |
INSERT DELAYED INTO sonnb_xengallery_album_view
(album_id)
VALUES
(?)
Params: 94
Run Time: 0.000207
SELECT field.*
FROM `sonnb_xengallery_field` AS field
WHERE 1=1
ORDER BY field.display_order ASC
Run Time: 0.000133
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | field | ALL | | | | | 1 | Using filesort |
SELECT category.*
FROM `sonnb_xengallery_category` AS category
WHERE 1=1
ORDER BY category.lft ASC, category.display_order ASC
Run Time: 0.000202
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | category | ALL | | | | | 144 | Using filesort |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 774768ffd68c5f34ef2143a5d6fb5ec1, , 1611595954
Run Time: 0.000224
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_Album, Index, valid, album_id=94, 1611592354,
Run Time: 0.000117
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', 'sonnb_xengallery_bbcode_photo', 'sonnb_xengallery_bbcode_video', 'sonnb_xengallery_bbcode_album', 'sonnb_xengallery_option_copyright', 'sonnbXG_copyright', 'sonnb_xengallery_album_view', '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.000934
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 31 | Using where |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('sonnbXG_copyright', 'sonnb_xengallery_copyright')
AND style_id = ?
AND language_id = ?
Params: 4, 1
Run Time: 0.000155
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 2 | Using where |