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 session_data
FROM xf_session
WHERE session_id = ?
AND expiry_date >= ?
Params: 32fc09062b0aae732425dc722b74fd81, 1716085322
Run Time: 0.000179
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_session | const | PRIMARY,expiry_date | PRIMARY | 34 | const | 1 | |
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000117
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 = 1087) AND (content.content_type = 'photo')
LIMIT 1
Run Time: 0.002015
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 = 160)
LIMIT 1
Run Time: 0.000953
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 = 160) 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 = 1087
LIMIT 16
Run Time: 0.001535
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
PRIMARY | <derived2> | ALL | | | | | 36 | Using where |
DERIVED | <derived4> | system | | | | | 1 | |
DERIVED | content | ref | album_id_position | album_id_position | 4 | const | 36 | Using where |
DERIVED | content_data | eq_ref | PRIMARY,content_type_id | PRIMARY | 4 | centermo_computer.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 = 160) 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 <= 25
LIMIT 16
Run Time: 0.000786
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
PRIMARY | <derived2> | ALL | | | | | 36 | Using where |
DERIVED | <derived4> | system | | | | | 1 | |
DERIVED | content | ref | album_id_position | album_id_position | 4 | const | 36 | Using where |
DERIVED | content_data | eq_ref | PRIMARY,content_type_id | PRIMARY | 4 | centermo_computer.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 = 160) 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 > 25
LIMIT 16
Run Time: 0.000753
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
PRIMARY | <derived2> | ALL | | | | | 36 | Using where |
DERIVED | <derived4> | system | | | | | 1 | |
DERIVED | content | ref | album_id_position | album_id_position | 4 | const | 36 | Using where |
DERIVED | content_data | eq_ref | PRIMARY,content_type_id | PRIMARY | 4 | centermo_computer.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 = 1087) AND (comment.comment_state IN ('visible'))
ORDER BY comment.comment_date DESC
LIMIT 5
Run Time: 0.000830
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 | centermo_computer.comment.user_id | 1 | |
INSERT DELAYED INTO sonnb_xengallery_content_view
(content_id)
VALUES
(?)
Params: 1087
Run Time: 0.000078
SELECT field.*
FROM `sonnb_xengallery_field` AS field
WHERE 1=1
Run Time: 0.000321
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | field | ALL | | | | | 1 | |
UPDATE `xf_session` SET `expiry_date` = ? WHERE (session_id = '32fc09062b0aae732425dc722b74fd81')
Params: 1716088922
Run Time: 0.000133
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=1087, 1716085322,
Run Time: 0.000078
SELECT session_activity.*
,
user.*
FROM xf_session_activity AS session_activity
LEFT JOIN xf_user AS user ON
(user.user_id = session_activity.user_id)
WHERE (session_activity.view_date > 1716084422)
ORDER BY session_activity.view_date DESC
Run Time: 0.000589
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | range | view_date | view_date | 4 | | 33 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | centermo_computer.session_activity.user_id | 1 | |