SELECT *
FROM xf_brivium_addon
ORDER BY addon_id
Run Time: 0.000362
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_addon | index | | PRIMARY | 77 | | 1 | |
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: brBriviumAddOns, a:0:{}
Run Time: 0.000260
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000315
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.*,
video.video_key, video.video_type,
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_video` AS video ON
(video.content_id = content.content_id)
WHERE (content.content_id = 12419) AND (content.content_type = 'video')
LIMIT 1
Run Time: 0.034385
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 | video | 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 = 647)
LIMIT 1
Run Time: 0.000459
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 | 0 | Unique row not found |
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 = 647) 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 = 12419
ORDER BY content.content_num_row ASC
LIMIT 16
Run Time: 0.001148
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
PRIMARY | <derived2> | ALL | | | | | 10 | Using where; Using filesort |
DERIVED | <derived4> | system | | | | | 1 | |
DERIVED | content | ref | album_id_position | album_id_position | 4 | const | 10 | Using where |
DERIVED | content_data | eq_ref | PRIMARY,content_type_id | PRIMARY | 4 | fishingk_xen.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 = 647) 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 <= 1
ORDER BY content.content_num_row DESC
LIMIT 16
Run Time: 0.000937
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
PRIMARY | <derived2> | ALL | | | | | 10 | Using where; Using filesort |
DERIVED | <derived4> | system | | | | | 1 | |
DERIVED | content | ref | album_id_position | album_id_position | 4 | const | 10 | Using where |
DERIVED | content_data | eq_ref | PRIMARY,content_type_id | PRIMARY | 4 | fishingk_xen.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 = 647) 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 > 1
ORDER BY content.content_num_row ASC
LIMIT 16
Run Time: 0.000918
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
PRIMARY | <derived2> | ALL | | | | | 10 | Using where; Using filesort |
DERIVED | <derived4> | system | | | | | 1 | |
DERIVED | content | ref | album_id_position | album_id_position | 4 | const | 10 | Using where |
DERIVED | content_data | eq_ref | PRIMARY,content_type_id | PRIMARY | 4 | fishingk_xen.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 = 'video') AND (comment.content_id = 12419) AND (comment.comment_state IN ('visible'))
ORDER BY comment.comment_date DESC
LIMIT 5
Run Time: 0.000488
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 | fishingk_xen.comment.user_id | 1 | |
INSERT DELAYED INTO sonnb_xengallery_content_view
(content_id)
VALUES
(?)
Params: 12419
Run Time: 0.000170
SELECT field.*
FROM `sonnb_xengallery_field` AS field
WHERE 1=1
Run Time: 0.000325
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | field | system | | | | | 0 | Const row not found |
SELECT *
FROM sonnb_xengallery_myplaylist_item AS myplaylist_item
LEFT JOIN sonnb_xengallery_myplaylist AS myplaylist
ON (myplaylist.playlist_id = myplaylist_item.playlist_id)
WHERE myplaylist_item.content_type = ?
AND myplaylist_item.content_id = ?
AND myplaylist.user_id = ?
Params: video, 12419, 0
Run Time: 0.000338
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: ad9408676dc3c9d4410e62a991672270, , 1726883531
Run Time: 0.000507
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_Video, Index, valid, content_id=12419, 1726879931,
Run Time: 0.000440
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'tinhte_xentag_bb_code_tag_tag', 'tinhte_xentag_bb_code_tag_hashtag', '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', 'bdmedal_message_medals', 'sonnb_xengallery_option_copyright', 'sonnbXG_copyright', 'xengallery_bb_code_tag_gallery', 'sonnb_xengallery_video_view', 'EWRporta_Navtabs', 'iversia_faq_navtabs', 'xenzine_nav', 'sonnb_xengallery_navbar_template', 'xenCODE_Meta_Keywords', 'bdmedal_navigation_tabs_help', 'wf_hook_moderator_bar', 'wf_revealer', 'tinhte_xentag_hook_message_below', 'tinhte_xentag_hook_message_content', 'tinhte_xentag_hook_message_notices', 'tinhte_xentag_hook_navigation_tabs_forums', 'tinhte_xentag_hook_post_private_controls', 'tinhte_xentag_hook_post_public_controls', 'rotating_ads_slider', 'sonnb_xengallery_nav_visitor', 'xengallery_media_block_items', 'xengallery_comments_block', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?
Params: 2, 1
Run Time: 0.015806
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 36 | Using index condition |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('home', 'iversia_faq', 'xz_articles_nav')
Params: 1
Run Time: 0.000366
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_phrase_compiled | range | PRIMARY | PRIMARY | 106 | | 3 | Using index condition |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('sonnbXG_copyright', 'sonnb_xengallery_copyright')
AND style_id = ?
AND language_id = ?
Params: 2, 1
Run Time: 0.000601
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 2 | Using index condition |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('bbms_twitter_css')
AND style_id = ?
AND language_id = ?
Params: 2, 1
Run Time: 0.001299
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 ('xxbb_css')
AND style_id = ?
AND language_id = ?
Params: 2, 1
Run Time: 0.000370
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 ('BRME_page_container_head')
AND style_id = ?
AND language_id = ?
Params: 2, 1
Run Time: 0.000392
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 ('SFP_js_first_post')
AND style_id = ?
AND language_id = ?
Params: 2, 1
Run Time: 0.000350
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 ('bbms_twitter_XFormer')
AND style_id = ?
AND language_id = ?
Params: 2, 1
Run Time: 0.000315
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |