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.001210
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.000070
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.000059
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT content.*
,
0 AS like_date,
0 AS watch_date,
IF(user.username IS NULL, content.username, user.username) AS username, user.avatar_date, user.gravatar,
content_data.*,
photo.photo_exif,
0 AS following_0
FROM `sonnb_xengallery_content` AS content
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)
LEFT JOIN `sonnb_xengallery_photo` AS photo ON
(photo.content_id = content.content_id)
WHERE (content.content_id = 3625) AND (content.content_type = 'photo')
LIMIT 1
Run Time: 0.000352
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | content | const | PRIMARY,content_type_id | PRIMARY | 4 | const | 1 | |
SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | content_data | const | PRIMARY,content_type_id | PRIMARY | 4 | const | 1 | |
SIMPLE | photo | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT album.*
,
0 AS following_0,
category.category_privacy
FROM `sonnb_xengallery_album` AS album
LEFT JOIN `sonnb_xengallery_category` AS category ON
(album.category_id = category.category_id)
WHERE (album.album_id = 322)
LIMIT 1
Run Time: 0.000295
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | album | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | category | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT content.*
FROM (
SELECT content.*, @row := @row + 1 AS content_num_row
FROM (
SELECT
content.content_id, content.title, content.description, content.content_privacy,
content.content_state, content.user_id, content.collection_id, content.likes, content.like_users,
content.album_id, content.position, content.comment_count, content.view_count
,
content_data.*
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)
WHERE (content.album_id = 322) AND (content.content_state IN ('visible','moderated'))
ORDER BY content.position ASC
) AS content
CROSS JOIN (SELECT @row := 0) AS r
) AS content
WHERE content.content_id = 3625
ORDER BY content.content_num_row ASC
LIMIT 16
Run Time: 0.001260
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
PRIMARY | <derived2> | ALL | | | | | 38 | Using where; Using filesort |
DERIVED | <derived4> | system | | | | | 1 | |
DERIVED | content | ref | album_id_position | album_id_position | 4 | const | 38 | Using where |
DERIVED | content_data | eq_ref | PRIMARY,content_type_id | PRIMARY | 4 | db25061_47.content.content_data_id | 1 | |
DERIVED | | | | | | | | No tables used |
SELECT content.*
FROM (
SELECT content.*, @row := @row + 1 AS content_num_row
FROM (
SELECT
content.content_id, content.title, content.description, content.content_privacy,
content.content_state, content.user_id, content.collection_id, content.likes, content.like_users,
content.album_id, content.position, content.comment_count, content.view_count
,
content_data.*
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)
WHERE (content.album_id = 322) AND (content.content_state IN ('visible','moderated'))
ORDER BY content.position ASC
) AS content
CROSS JOIN (SELECT @row := 0) AS r
) AS content
WHERE content.content_num_row <= 21
ORDER BY content.content_num_row DESC
LIMIT 16
Run Time: 0.001048
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
PRIMARY | <derived2> | ALL | | | | | 38 | Using where; Using filesort |
DERIVED | <derived4> | system | | | | | 1 | |
DERIVED | content | ref | album_id_position | album_id_position | 4 | const | 38 | Using where |
DERIVED | content_data | eq_ref | PRIMARY,content_type_id | PRIMARY | 4 | db25061_47.content.content_data_id | 1 | |
DERIVED | | | | | | | | No tables used |
SELECT content.*
FROM (
SELECT content.*, @row := @row + 1 AS content_num_row
FROM (
SELECT
content.content_id, content.title, content.description, content.content_privacy,
content.content_state, content.user_id, content.collection_id, content.likes, content.like_users,
content.album_id, content.position, content.comment_count, content.view_count
,
content_data.*
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)
WHERE (content.album_id = 322) AND (content.content_state IN ('visible','moderated'))
ORDER BY content.position ASC
) AS content
CROSS JOIN (SELECT @row := 0) AS r
) AS content
WHERE content.content_num_row > 21
ORDER BY content.content_num_row ASC
LIMIT 16
Run Time: 0.001058
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
PRIMARY | <derived2> | ALL | | | | | 38 | Using where; Using filesort |
DERIVED | <derived4> | system | | | | | 1 | |
DERIVED | content | ref | album_id_position | album_id_position | 4 | const | 38 | Using where |
DERIVED | content_data | eq_ref | PRIMARY,content_type_id | PRIMARY | 4 | db25061_47.content.content_data_id | 1 | |
DERIVED | | | | | | | | No tables used |
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 = 'photo') AND (comment.content_id = 3625) AND (comment.comment_state IN ('visible'))
ORDER BY comment.comment_date DESC
LIMIT 5
Run Time: 0.000214
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 | db25061_47.comment.user_id | 1 | |
INSERT DELAYED INTO sonnb_xengallery_content_view
(content_id)
VALUES
(?)
Params: 3625
Run Time: 0.000126
SELECT category.*
FROM `sonnb_xengallery_category` AS category
WHERE 1=1
ORDER BY category.lft ASC, category.display_order ASC
Run Time: 0.000089
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | category | ALL | | | | | 8 | Using filesort |
SELECT field.*
FROM `sonnb_xengallery_field` AS field
WHERE 1=1
ORDER BY field.display_order ASC
Run Time: 0.000075
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.000067
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | category | ALL | | | | | 8 | Using filesort |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 537a7271b0d8ff34afc73bb5d9c50f62, , 1660431739
Run Time: 0.000154
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_Photo, Index, valid, content_id=3625, 1660428139,
Run Time: 0.000095
SELECT *
FROM bbm
ORDER BY tag
Run Time: 0.000177
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | bbm | ALL | | | | | 6 | Using filesort |
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.000118
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | options | ALL | node_id | | | | 50 | Using where; Using filesort |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | db25061_47.options.node_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,db25061_47.options.node_id | 1 | Using where |
SELECT node.*, COALESCE(options.nat_newwindow, 0) AS nat_newwindow,
permission.cache_value AS node_permission_cache
FROM xf_node AS node
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = ?
AND permission.content_type = 'node'
AND permission.content_id = node.node_id)
LEFT JOIN nat_options AS options ON (options.node_id = node.node_id)
WHERE node.node_id IN (68, 69, 71, 72, 73)
ORDER BY node.lft
ASC
Params: 1
Run Time: 0.000103
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | range | PRIMARY | PRIMARY | 4 | | 5 | Using where; Using filesort |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,db25061_47.node.node_id | 1 | Using where |
SIMPLE | options | eq_ref | node_id | node_id | 4 | db25061_47.node.node_id | 1 | |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'bbm_viewer_content_protected', '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', 'doublepost_bb_code_tag', '__bbm_tool_template', 'sonnb_xengallery_option_copyright', 'sonnbXG_copyright', 'sonnb_xengallery_photo_view', 'nat_childlinks')
AND style_id = ?
AND language_id = ?
Params: 2, 4
Run Time: 0.000122
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 17 | Using where |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('atendo2_calendar')
Params: 4
Run Time: 0.000060
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_phrase_compiled | const | PRIMARY | PRIMARY | 106 | const,const | 1 | |
SELECT node.*, COALESCE(options.nat_newwindow, 0) AS nat_newwindow,
permission.cache_value AS node_permission_cache
FROM xf_node AS node
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = ?
AND permission.content_type = 'node'
AND permission.content_id = node.node_id)
LEFT JOIN nat_options AS options ON (options.node_id = node.node_id)
WHERE node.node_id IN (66, 67, 81, 87, 85, 60)
ORDER BY node.lft
ASC
Params: 1
Run Time: 0.000089
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | range | PRIMARY | PRIMARY | 4 | | 6 | Using where; Using filesort |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,db25061_47.node.node_id | 1 | Using where |
SIMPLE | options | eq_ref | node_id | node_id | 4 | db25061_47.node.node_id | 1 | |
SELECT node.*, COALESCE(options.nat_newwindow, 0) AS nat_newwindow,
permission.cache_value AS node_permission_cache
FROM xf_node AS node
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = ?
AND permission.content_type = 'node'
AND permission.content_id = node.node_id)
LEFT JOIN nat_options AS options ON (options.node_id = node.node_id)
WHERE node.node_id IN (75, 78, 79, 80, 92, 77)
ORDER BY node.lft
ASC
Params: 1
Run Time: 0.000090
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | range | PRIMARY | PRIMARY | 4 | | 6 | Using where; Using filesort |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,db25061_47.node.node_id | 1 | Using where |
SIMPLE | options | eq_ref | node_id | node_id | 4 | db25061_47.node.node_id | 1 | |
SELECT node.*, COALESCE(options.nat_newwindow, 0) AS nat_newwindow,
permission.cache_value AS node_permission_cache
FROM xf_node AS node
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = ?
AND permission.content_type = 'node'
AND permission.content_id = node.node_id)
LEFT JOIN nat_options AS options ON (options.node_id = node.node_id)
WHERE node.node_id IN (84, 86)
ORDER BY node.lft
ASC
Params: 1
Run Time: 0.000092
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | range | PRIMARY | PRIMARY | 4 | | 2 | Using where; Using filesort |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,db25061_47.node.node_id | 1 | Using where |
SIMPLE | options | eq_ref | node_id | node_id | 4 | db25061_47.node.node_id | 1 | |
SELECT advertisement.*
,
zone.*,
zone.name AS zone_name,
user.*, IF(user.user_id IS NULL, advertisement.user_id, user.user_id) AS user_id,
purchase.*,
IF(user.user_id IS NULL, purchase.user_id, user.user_id) AS user_id
FROM admon_advertisement AS advertisement
LEFT JOIN admon_advertisement_zone AS zone ON
(zone.zone_id = advertisement.advertisement_zone)
LEFT JOIN xf_user AS user ON
(user.user_id = advertisement.user_id)
LEFT JOIN admon_advertisement_purchase AS purchase ON
(purchase.purchase_id = advertisement.purchase_id)
WHERE (advertisement.active = 1) AND ((advertisement.indefinite=1 OR (advertisement.start_date < 1660428139 AND advertisement.end_date > 1660428139))) AND ((advertisement.impressions < advertisement.impression_limit OR advertisement.impression_limit=0)) AND ((advertisement.clicks < advertisement.click_limit OR advertisement.click_limit=0)) AND ((advertisement.paused = 0))
Run Time: 0.000497
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | advertisement | ALL | | | | | 20 | Using where |
SIMPLE | zone | eq_ref | PRIMARY | PRIMARY | 52 | db25061_47.advertisement.advertisement_zone | 1 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | db25061_47.advertisement.user_id | 1 | |
SIMPLE | purchase | eq_ref | PRIMARY | PRIMARY | 4 | db25061_47.advertisement.purchase_id | 1 | |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('admon_active')
Params: 4
Run Time: 0.000068
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_phrase_compiled | const | PRIMARY | PRIMARY | 106 | const,const | 1 | |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('notice_cookies', 'nat_linkstemplate', 'EWRporta2_Navtabs', 'sonnbXG_copyright', 'sonnb_xengallery_navbar_template', 'EWRatendo2_Navtabs', 'rellect_adblock_detector_js', 'sonnb_xengallery_nav_visitor', 'GritterNotifications', 'PAGE_CONTAINER', 'sonnb_xengallery_copyright')
AND style_id = ?
AND language_id = ?
Params: 2, 4
Run Time: 0.000536
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 11 | Using where |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('bbm_js')
AND style_id = ?
AND language_id = ?
Params: 2, 4
Run Time: 0.000069
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |
SELECT advertisement.*
FROM admon_advertisement AS advertisement
WHERE advertisement.advertisement_id=?
Params: pfx_kailew_250x12022_55
Run Time: 0.000237
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | advertisement | const | advertisement_id_2,advertisement_id | advertisement_id_2 | 52 | const | 1 | |
begin
Run Time: 0.000076
UPDATE `admon_advertisement` SET `impressions` = ?, `last_modified` = ? WHERE (advertisement_id = 'pfx_kailew_250x12022_55')
Params: 14689944, 1660428139
Run Time: 0.000331
commit
Run Time: 0.000884
SELECT *
FROM admon_statistic
WHERE statistic_date=?
AND statistic_type=?
AND statistic_data=?
AND advertisement_id=?
Params: 1660348800, impression, , pfx_kailew_250x12022_55
Run Time: 0.000880
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | admon_statistic | ALL | | | | | 1972 | Using where |
SELECT *
FROM admon_statistic
WHERE statistic_id=?
Params: 1973
Run Time: 0.000118
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | admon_statistic | const | PRIMARY | PRIMARY | 4 | const | 1 | |
begin
Run Time: 0.000067
UPDATE `admon_statistic` SET `statistic_value` = ? WHERE (statistic_id = 1973)
Params: 58404
Run Time: 0.000144
commit
Run Time: 0.000812
SELECT advertisement.*
FROM admon_advertisement AS advertisement
WHERE advertisement.advertisement_id=?
Params: pfx_kailew_250x12022_58
Run Time: 0.000313
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | advertisement | const | advertisement_id_2,advertisement_id | advertisement_id_2 | 52 | const | 1 | |
begin
Run Time: 0.000089
UPDATE `admon_advertisement` SET `impressions` = ?, `last_modified` = ? WHERE (advertisement_id = 'pfx_kailew_250x12022_58')
Params: 14509622, 1660428139
Run Time: 0.000283
commit
Run Time: 0.000761
SELECT *
FROM admon_statistic
WHERE statistic_date=?
AND statistic_type=?
AND statistic_data=?
AND advertisement_id=?
Params: 1660348800, impression, , pfx_kailew_250x12022_58
Run Time: 0.000863
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | admon_statistic | ALL | | | | | 1972 | Using where |
SELECT *
FROM admon_statistic
WHERE statistic_id=?
Params: 1974
Run Time: 0.000208
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | admon_statistic | const | PRIMARY | PRIMARY | 4 | const | 1 | |
begin
Run Time: 0.000120
UPDATE `admon_statistic` SET `statistic_value` = ? WHERE (statistic_id = 1974)
Params: 58318
Run Time: 0.000298
commit
Run Time: 0.000804
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('BRAFR_navigation_tabs_link')
AND style_id = ?
AND language_id = ?
Params: 2, 4
Run Time: 0.000068
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('nat_bodyjs')
AND style_id = ?
AND language_id = ?
Params: 2, 4
Run Time: 0.000075
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |