SELECT *
FROM xf_brivium_addon
ORDER BY addon_id
Run Time: 0.000418
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.000213
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000371
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT article.*
FROM xz_article as article
WHERE article.article_id = ?
Params: 33
Run Time: 0.000527
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | article | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT * FROM xf_permission_entry_content AS entry_content
WHERE entry_content.content_type = "xz_category"
AND
(
entry_content.user_group_id IN (1)
)
OR
(
entry_content.user_id = 0 AND entry_content.user_group_id = 0
AND entry_content.content_type = "xz_category"
)
Run Time: 0.000416
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | entry_content | range | user_group_id_unique,content_type_content_id | user_group_id_unique | 35 | | 35 | Using index condition |
SELECT *
FROM
(SELECT *,
IF (group_id = @prev,
@n := @n + 1,
@n := 1 AND @prev := group_id) as position
FROM (
SELECT xz_article_reviews.*, group_id
FROM xz_article_reviews
INNER JOIN
(SELECT id AS group_id
FROM xz_article_reviews
WHERE
article_id = ?
AND is_rating = 1
ORDER BY timestamp DESC LIMIT 0, 10
) AS top5ratings
ON xz_article_reviews.id = group_id OR xz_article_reviews.parent_id = group_id
ORDER BY group_id DESC,
xz_article_reviews.parent_id ASC,
timestamp DESC) AS all_reviews
JOIN (SELECT @n := 0, @prev := 0) AS setup) AS reviews
WHERE reviews.position < 7
Params: 33
Run Time: 0.000495
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
PRIMARY | <derived2> | ALL | | | | | 250 | Using where |
DERIVED | <derived5> | system | | | | | 1 | |
DERIVED | <derived4> | ALL | | | | | 10 | |
DERIVED | xz_article_reviews | ALL | PRIMARY | | | | 25 | Using where; Using join buffer (flat, BNL join) |
DERIVED | | | | | | | | No tables used |
DERIVED | xz_article_reviews | ALL | | | | | 25 | Using where; Using filesort |
SELECT user.*
FROM xf_user AS user
WHERE user.user_id IN (6, 102, 3994, 689, 67, 936)
ORDER BY user.username
Run Time: 0.000530
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user | range | PRIMARY | PRIMARY | 4 | | 6 | Using index condition; Using filesort |
SELECT vals.*
FROM xz_article_custom_field_value as vals
WHERE vals.article_id = ?
Params: 33
Run Time: 0.000275
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
SELECT COUNT(*)
FROM xz_article_reviews ratings
WHERE article_id = ?
AND is_rating = 1
Params: 33
Run Time: 0.000259
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | ratings | ALL | | | | | 25 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: b9f445a2fd2ef9ed219cb95932b0f7e3, , 1713609352
Run Time: 0.000227
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, , , XenZine_ControllerPublic_Article, Reviews, valid, article_id=33, 1713605752,
Run Time: 0.000177
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'bdmedal_message_medals', 'xengallery_bb_code_tag_gallery', 'xenzine_reviews', 'EWRporta_Navtabs', 'iversia_faq_navtabs', 'xenzine_nav', 'sonnb_xengallery_option_copyright', 'sonnbXG_copyright', 'sonnb_xengallery_navbar_template', 'xenCODE_Meta_Keywords', 'bdmedal_navigation_tabs_help', 'wf_hook_moderator_bar', 'wf_revealer', 'tinhte_xentag_bb_code_tag_tag', '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.009616
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 26 | 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.000324
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 ('bbms_twitter_css')
AND style_id = ?
AND language_id = ?
Params: 2, 1
Run Time: 0.000295
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.000291
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.000276
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.000355
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.000279
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |