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.000275
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.000117
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT *
FROM xf_tag
WHERE tag_url = ?
Params: gm
Run Time: 0.000261
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_tag | const | tag_url | tag_url | 302 | const | 1 | |
SELECT *
FROM xf_tag_result_cache
WHERE tag_id = ?
AND user_id = ?
AND expiry_date > ?
Params: 20, 0, 1702239862
Run Time: 0.000368
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_tag_result_cache | const | tag_id_user_id,expiration_date | tag_id_user_id | 8 | const,const | 1 | |
SELECT tag_content_id, content_type, content_id
FROM xf_tag_content
WHERE tag_id = ?
AND visible = 1
ORDER BY content_date DESC
LIMIT 200
Params: 20
Run Time: 0.002477
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_tag_content | ref | tag_id_content_date | tag_id_content_date | 4 | const | 359 | Using where |
SELECT category_id
FROM xengallery_category_map
WHERE view_user_group_id IN (1)
Run Time: 0.000091
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xengallery_category_map | index | | PRIMARY | 8 | | 623 | Using where; Using index |
SELECT media.*
,
album.*, albumviewperm.*,
category.*,
user.*, user_profile.*, IF(user.username IS NULL, media.username, user.username) AS username,
attachment.attachment_id, attachment.data_id, attachment.attach_date,data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
FROM xengallery_media AS media
LEFT JOIN xengallery_album AS album ON
(album.album_id = media.album_id)
LEFT JOIN xengallery_album_permission as albumviewperm ON
(album.album_id = albumviewperm.album_id AND albumviewperm.permission = 'view')
LEFT JOIN xengallery_category AS category ON
(category.category_id = media.category_id)
LEFT JOIN xf_user AS user ON
(user.user_id = media.user_id)
LEFT JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = media.user_id)
LEFT JOIN xf_attachment AS attachment ON
(attachment.content_type = 'xengallery_media' AND attachment.attachment_id = media.attachment_id)
LEFT JOIN xf_attachment_data AS data ON
(data.data_id = attachment.data_id)
WHERE (
media.media_privacy = 'public'
OR IF(media.category_id > 0, media.category_id IN (1, 2, 500, 501, 502, 504, 505, 506, 507, 508, 509, 510, 511, 512, 515, 516, 519, 522, 523, 525, 529, 530, 533, 546, 548, 549, 550, 551, 552, 553, 554, 556, 565, 567, 569, 573, 583, 590, 592, 593, 600, 608, 611, 616, 620, 668), NULL)) AND (media.media_id IN (36581, 36562, 36559, 36073, 36027, 35980, 35979, 35879, 35722, 35293, 35290, 35196, 35172, 35171, 35170, 35087, 35059, 34982, 34895, 34714, 34645, 34505, 33841, 33663, 33581, 33580, 33536, 33223, 33159, 33096, 33031, 32938, 32884, 32878, 32874, 32782, 32674, 32520, 32327, 32172, 32011, 31878, 31815, 31696, 31523, 31462, 31166, 31032, 30668, 30336, 30335, 30248, 29801, 29407, 29241, 28608, 28085, 28084, 28083, 27462, 27279, 27278, 27130, 26708, 26495, 26494, 26493, 26492, 26462, 26455, 26359, 26349, 26079, 25848, 25847, 25846, 25748, 25747, 25660, 25611, 25349, 25294, 25234, 25187, 24767, 24766, 24698, 24613, 24490, 24476, 24475, 24392, 24079, 23994, 23811, 23810, 23809, 23808, 23807, 23806, 23805, 23804, 23803, 23802, 23801, 23800, 23799, 23798, 23797, 23796, 23795, 23794, 23793, 23790, 23789, 23788, 23787, 23786, 23784, 23783, 23782, 23781, 23780, 23779, 23778, 23777, 23776)) AND (media.media_state = 'visible') AND (IF(media.album_id > 0, album.album_state = 'visible', 1=1))
Run Time: 0.004311
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | media | range | PRIMARY | PRIMARY | 4 | | 127 | Using where |
SIMPLE | album | eq_ref | PRIMARY | PRIMARY | 4 | xen.media.album_id | 1 | Using where |
SIMPLE | albumviewperm | eq_ref | PRIMARY | PRIMARY | 5 | xen.album.album_id,const | 1 | |
SIMPLE | category | eq_ref | PRIMARY | PRIMARY | 4 | xen.media.category_id | 1 | |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | xen.media.user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | xen.media.user_id | 1 | |
SIMPLE | attachment | eq_ref | PRIMARY,content_type_id_date | PRIMARY | 4 | xen.media.attachment_id | 1 | |
SIMPLE | data | eq_ref | PRIMARY | PRIMARY | 4 | xen.attachment.data_id | 1 | |
SELECT thread.*
,
user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
node.title AS node_title, node.node_name,
post.message, post.attach_count,
NULL AS thread_read_date,
0 AS user_post_count,
permission.cache_value AS node_permission_cache
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
LEFT JOIN xf_node AS node ON
(node.node_id = thread.node_id)
LEFT JOIN xf_post AS post ON
(post.post_id = thread.first_post_id)
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'node'
AND permission.content_id = thread.node_id)
WHERE thread.thread_id IN (57138, 57135, 57131, 57034, 57007, 56996, 56991, 56982, 56958, 56951, 56940, 56911, 56906, 56892, 56889, 56860, 56834, 56739, 56726, 56725, 56645, 56607, 56581, 56524, 56410, 56280, 56260, 56249, 56247, 56215, 56192, 56126, 56117, 56107, 56078, 56047, 56045, 55948, 55875, 55849, 55816, 55797, 55379, 55360, 54995, 54702, 54461, 54400, 54350, 54265, 54171, 54141, 54076, 53990, 53960, 53794, 53785, 53729, 53720, 53629, 53558, 53523, 53415, 53414, 53413, 53412, 53405, 53368, 53341, 53069, 52981, 52949, 52726)
Run Time: 0.008625
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 73 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | xen.thread.user_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | xen.thread.node_id | 1 | |
SIMPLE | post | eq_ref | PRIMARY | PRIMARY | 4 | xen.thread.first_post_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,xen.thread.node_id | 1 | |
INSERT INTO xf_tag_result_cache
(tag_id, user_id, cache_date, expiry_date, results)
VALUES
(?, ?, ?, ?, ?)
ON DUPLICATE KEY UPDATE
cache_date = VALUES(cache_date),
expiry_date = VALUES(expiry_date),
results = VALUES(results)
Params: 20, 0, 1702239862, 1702243462, {"0":["xengallery_media",36581],"1":["xengallery_media",36562],"2":["thread",57138],"3":["xengallery_media",36559],"4":["thread",57135],"5":["thread",57131],"6":["thread",57034],"7":["xengallery_media",36073],"8":["thread",57007],"9":["xengallery_media",36027],"12":["xengallery_media",35980],"13":["xengallery_media",35979],"14":["thread",56982],"15":["thread",56958],"16":["thread",56951],"17":["xengallery_media",35879],"19":["thread",56911],"20":["thread",56906],"22":["xengallery_media",35722],"24":["thread",56860],"26":["xengallery_media",35293],"27":["xengallery_media",35290],"28":["thread",56739],"29":["xengallery_media",35196],"31":["xengallery_media",35172],"32":["xengallery_media",35171],"34":["xengallery_media",35170],"35":["xengallery_media",35087],"36":["xengallery_media",35059],"37":["thread",56645],"38":["xengallery_media",34982],"39":["thread",56607],"40":["xengallery_media",34895],"41":["thread",56581],"42":["xengallery_media",34714],"43":["xengallery_media",34645],"44":["thread",56524],"45":["xengallery_media",34505],"46":["thread",56410],"47":["thread",56280],"48":["thread",56260],"49":["thread",56249],"50":["thread",56247],"52":["thread",56192],"53":["xengallery_media",33841],"55":["thread",56117],"56":["thread",56107],"57":["xengallery_media",33663],"58":["thread",56078],"59":["thread",56047],"60":["thread",56045],"61":["xengallery_media",33581],"62":["xengallery_media",33580],"63":["xengallery_media",33536],"64":["thread",55948],"65":["xengallery_media",33223],"67":["xengallery_media",33159],"69":["xengallery_media",33096],"70":["xengallery_media",33031],"71":["xengallery_media",32938],"74":["xengallery_media",32884],"75":["xengallery_media",32878],"76":["xengallery_media",32874],"78":["xengallery_media",32782],"80":["xengallery_media",32674],"82":["xengallery_media",32520],"83":["thread",54702],"84":["thread",54461],"85":["xengallery_media",32327],"87":["thread",54350],"88":["xengallery_media",32172],"89":["thread",54265],"90":["xengallery_media",32011],"91":["thread",54171],"93":["xengallery_media",31878],"94":["xengallery_media",31815],"96":["xengallery_media",31696],"97":["thread",53990],"98":["thread",53960],"99":["xengallery_media",31523],"100":["xengallery_media",31462],"101":["thread",53794],"102":["xengallery_media",31166],"103":["thread",53785],"104":["thread",53729],"106":["xengallery_media",31032],"107":["thread",53629],"108":["thread",53558],"109":["thread",53523],"112":["xengallery_media",30668],"116":["thread",53368],"117":["thread",53341],"118":["xengallery_media",30336],"119":["xengallery_media",30335],"120":["xengallery_media",30248],"121":["thread",53069],"122":["thread",52981],"124":["xengallery_media",29801],"125":["thread",52726],"126":["xengallery_media",29407],"127":["xengallery_media",29241],"128":["xengallery_media",28608],"129":["xengallery_media",28085],"130":["xengallery_media",28084],"131":["xengallery_media",28083],"132":["xengallery_media",27462],"133":["xengallery_media",27279],"134":["xengallery_media",27278],"135":["xengallery_media",27130],"136":["xengallery_media",26708],"137":["xengallery_media",26495],"138":["xengallery_media",26494],"139":["xengallery_media",26493],"140":["xengallery_media",26492],"141":["xengallery_media",26462],"142":["xengallery_media",26455],"143":["xengallery_media",26359],"144":["xengallery_media",26349],"145":["xengallery_media",26079],"146":["xengallery_media",25848],"147":["xengallery_media",25847],"148":["xengallery_media",25846],"149":["xengallery_media",25748],"150":["xengallery_media",25747],"151":["xengallery_media",25660],"152":["xengallery_media",25611],"153":["xengallery_media",25349],"154":["xengallery_media",25294],"155":["xengallery_media",25234],"156":["xengallery_media",25187],"157":["xengallery_media",24767],"158":["xengallery_media",24766],"159":["xengallery_media",24698],"160":["xengallery_media",24613],"161":["xengallery_media",24490],"162":["xengallery_media",24476],"163":["xengallery_media",24475],"164":["xengallery_media",24392],"165":["xengallery_media",24079],"166":["xengallery_media",23994],"167":["xengallery_media",23811],"168":["xengallery_media",23810],"169":["xengallery_media",23809],"170":["xengallery_media",23808],"171":["xengallery_media",23807],"172":["xengallery_media",23806],"173":["xengallery_media",23805],"174":["xengallery_media",23804],"175":["xengallery_media",23803],"176":["xengallery_media",23802],"177":["xengallery_media",23801],"178":["xengallery_media",23800],"179":["xengallery_media",23799],"180":["xengallery_media",23798],"181":["xengallery_media",23797],"182":["xengallery_media",23796],"183":["xengallery_media",23795],"184":["xengallery_media",23794],"185":["xengallery_media",23793],"186":["xengallery_media",23790],"187":["xengallery_media",23789],"188":["xengallery_media",23788],"189":["xengallery_media",23787],"190":["xengallery_media",23786],"191":["xengallery_media",23784],"192":["xengallery_media",23783],"193":["xengallery_media",23782],"194":["xengallery_media",23781],"195":["xengallery_media",23780],"196":["xengallery_media",23779],"197":["xengallery_media",23778],"198":["xengallery_media",23777],"199":["xengallery_media",23776]}
Run Time: 0.001388
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 7de6a028ff0c15a0923e7c7ed14face9, , 1702243462
Run Time: 0.000199
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, , , XenForo_ControllerPublic_Tag, Tag, valid, tag_url=gm, 1702239862,
Run Time: 0.000118
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'xengallery_bb_code_tag_gallery', 'xengallery_search_result_media', 'search_result_thread', 'tag_view', 'EWRporta_Navtabs', 'xengallery_tab_links', 'xengallery_comments_block', 'xengallery_media_block_items', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?
Params: 1, 1
Run Time: 0.000182
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 10 | Using where |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('home')
Params: 1
Run Time: 0.000113
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 ('bbcm_js')
AND style_id = ?
AND language_id = ?
Params: 1, 1
Run Time: 0.000133
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |