SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000148
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: cognitive-dissonance
Run Time: 0.000106
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: 58, 0, 1715743386
Run Time: 0.001289
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: 58
Run Time: 0.000095
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 | 45 | Using where |
SELECT resource.*
,
category.*, category.last_update AS category_last_update, resource.last_update,
resource_update.message AS description,
version.version_string,
version.release_date,
version.download_url,
version.rating_count AS version_rating_count,
version.rating_sum AS version_rating_sum,
version.download_count AS version_download_count,
user.*, user_profile.*, IF(user.username IS NULL, resource.username, user.username) AS username,
permission.cache_value AS category_permission_cache
FROM xf_resource AS resource
LEFT JOIN xf_resource_category AS category ON
(category.resource_category_id = resource.resource_category_id)
LEFT JOIN xf_resource_update AS resource_update ON
(resource_update.resource_update_id = resource.description_update_id)
LEFT JOIN xf_resource_version AS version ON
(version.resource_version_id = resource.current_version_id)
LEFT JOIN xf_user AS user ON
(user.user_id = resource.user_id)
LEFT JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = resource.user_id)
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'resource_category'
AND permission.content_id = resource.resource_category_id)
WHERE resource.resource_id IN (348, 346, 344, 340, 339, 338, 327, 324, 323, 321, 314, 313, 305, 300, 298, 295, 294, 288, 286, 285, 282, 278, 275, 269, 260, 259, 255, 245, 243, 241, 220, 218, 212, 185, 169, 166, 164, 152, 148, 145, 142, 141, 140, 138, 136)
Run Time: 0.004594
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | resource | ALL | PRIMARY | | | | 148 | Using where |
SIMPLE | category | eq_ref | PRIMARY | PRIMARY | 4 | psychopa_vanilla.resource.resource_category_id | 1 | Using where |
SIMPLE | resource_update | eq_ref | PRIMARY | PRIMARY | 4 | psychopa_vanilla.resource.description_update_id | 1 | |
SIMPLE | version | eq_ref | PRIMARY | PRIMARY | 4 | psychopa_vanilla.resource.current_version_id | 1 | |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | psychopa_vanilla.resource.user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | psychopa_vanilla.resource.user_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,psychopa_vanilla.resource.resource_category_id | 1 | Using where |
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: 58, 0, 1715743386, 1715746986, {"1":["resource",346],"3":["resource",340],"4":["resource",339],"5":["resource",338],"6":["resource",327],"7":["resource",324],"8":["resource",323],"9":["resource",321],"10":["resource",314],"11":["resource",313],"12":["resource",305],"13":["resource",300],"14":["resource",298],"15":["resource",295],"16":["resource",294],"17":["resource",288],"18":["resource",286],"19":["resource",285],"20":["resource",282],"21":["resource",278],"22":["resource",275],"23":["resource",269],"24":["resource",260],"25":["resource",259],"26":["resource",255],"27":["resource",245],"28":["resource",243],"29":["resource",241],"30":["resource",220],"31":["resource",218],"32":["resource",212],"33":["resource",185],"34":["resource",169],"35":["resource",166],"36":["resource",164],"37":["resource",152],"38":["resource",148],"39":["resource",145],"40":["resource",142],"41":["resource",141],"42":["resource",140],"43":["resource",138],"44":["resource",136]}
Run Time: 0.000274
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, resource_category, 1
Run Time: 0.000157
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, resource_category, 2
Run Time: 0.000110
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, resource_category, 3
Run Time: 0.000107
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 44cf6c4bad09a87651d05d55deefef58, , 1715746986
Run Time: 0.000276
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=cognitive-dissonance&page=2, 1715743386,
Run Time: 0.000198
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('fc_psychopath_test_tab', 'fc_bookshelf_tab', 'fc_donationLink')
Params: 1
Run Time: 0.000184
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_phrase_compiled | range | PRIMARY | PRIMARY | 106 | | 3 | Using where |