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.004397
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | | 26 | Using where |
SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('brListenerClasses', 'brBriviumAddOns')
Run Time: 0.000453
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | | 2 | Using where |
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000512
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT *
FROM EWRmedio_categories
WHERE category_id = ?
Params: 3
Run Time: 0.000365
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | EWRmedio_categories | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT *
FROM EWRmedio_keywords
WHERE keyword_text IN ('factor1694')
Run Time: 0.000297
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | EWRmedio_keywords | const | keyword_text | keyword_text | 767 | const | 1 | Using index |
SELECT COUNT(*) AS total
FROM EWRmedio_media
WHERE EWRmedio_media.category_id = 3 AND EWRmedio_media.media_id IN (SELECT media_id FROM EWRmedio_keylinks WHERE keyword_id = 177)
AND EWRmedio_media.media_state = 'visible'
Run Time: 0.000438
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | EWRmedio_keylinks | ref | UNIQUE,media_id | UNIQUE | 4 | const | 11 | Using index |
SIMPLE | EWRmedio_media | eq_ref | PRIMARY,category_id | PRIMARY | 4 | xen.EWRmedio_keylinks.media_id | 1 | Using where |
SELECT EWRmedio_media.*, EWRmedio_categories.*, EWRmedio_services.*, xf_user.*, EWRmedio_media.service_value2 AS service_value2,
ROUND((EWRmedio_media.media_comments * ?) + (EWRmedio_media.media_likes * ?) + (EWRmedio_media.media_views * ?)) AS popular_score,
ROUND(((EWRmedio_media.media_comments * ?) + (EWRmedio_media.media_likes * ?) + (EWRmedio_media.media_views * ?)) / CEIL((? - EWRmedio_media.media_date) / ?), 2) AS trending_score,
IF(NOT ISNULL(xf_user.user_id), xf_user.username, EWRmedio_media.username) AS username
FROM EWRmedio_media
LEFT JOIN EWRmedio_categories ON (EWRmedio_categories.category_id = EWRmedio_media.category_id)
LEFT JOIN EWRmedio_services ON (EWRmedio_services.service_id = EWRmedio_media.service_id)
LEFT JOIN xf_user ON (xf_user.user_id = EWRmedio_media.user_id)
WHERE EWRmedio_media.category_id = 3 AND EWRmedio_media.media_id IN (SELECT media_id FROM EWRmedio_keylinks WHERE keyword_id = 177)
AND EWRmedio_media.media_state = 'visible'
ORDER BY EWRmedio_media.media_likes DESC, EWRmedio_media.media_date DESC, EWRmedio_media.media_id DESC
LIMIT ?, ?
Params: 500, 100, 1, 500, 100, 1, 1714664992, 86400, 0, 20
Run Time: 0.002176
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | EWRmedio_keylinks | ref | UNIQUE,media_id | UNIQUE | 4 | const | 11 | Using index; Using temporary; Using filesort |
SIMPLE | EWRmedio_media | eq_ref | PRIMARY,category_id | PRIMARY | 4 | xen.EWRmedio_keylinks.media_id | 1 | Using where |
SIMPLE | EWRmedio_categories | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | EWRmedio_services | eq_ref | PRIMARY | PRIMARY | 4 | xen.EWRmedio_media.service_id | 1 | |
SIMPLE | xf_user | eq_ref | PRIMARY | PRIMARY | 4 | xen.EWRmedio_media.user_id | 1 | |
SELECT EWRmedio_categories.*, COUNT(EWRmedio_media.media_id) AS count
FROM EWRmedio_categories
LEFT JOIN EWRmedio_media ON (EWRmedio_media.category_id = EWRmedio_categories.category_id)
GROUP BY EWRmedio_categories.category_id
ORDER BY category_order, category_name ASC
Run Time: 0.001010
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | EWRmedio_categories | index | PRIMARY,category_parent | PRIMARY | 4 | | 4 | Using temporary; Using filesort |
SIMPLE | EWRmedio_media | ref | category_id | category_id | 4 | xen.EWRmedio_categories.category_id | 83 | Using index |
SELECT COUNT(EWRmedio_media.media_id) AS count, xf_user.*
FROM EWRmedio_media
LEFT JOIN xf_user ON (xf_user.user_id = EWRmedio_media.user_id)
WHERE NOT ISNULL(xf_user.user_id)
GROUP BY EWRmedio_media.user_id
ORDER BY count DESC
LIMIT ?
Params: 10
Run Time: 0.001644
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | EWRmedio_media | index | user_id | user_id | 4 | | 332 | Using where; Using index; Using temporary; Using filesort |
SIMPLE | xf_user | eq_ref | PRIMARY | PRIMARY | 4 | xen.EWRmedio_media.user_id | 1 | |
SELECT COUNT(*) AS count, EWRmedio_keywords.*
FROM EWRmedio_keylinks
LEFT JOIN EWRmedio_keywords ON (EWRmedio_keywords.keyword_id = EWRmedio_keylinks.keyword_id)
GROUP BY EWRmedio_keywords.keyword_id
ORDER BY count DESC
LIMIT ?
Params: 0
Run Time: 0.000237
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Zero limit |
SELECT COUNT(*) AS media, SUM(media_comments) AS comments, SUM(media_likes) AS likes, SUM(media_views) AS views
FROM EWRmedio_media
Run Time: 0.000655
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | EWRmedio_media | ALL | | | | | 332 | |
SELECT COUNT(*) AS playlists, SUM(playlist_likes) AS likes, SUM(playlist_views) AS views
FROM EWRmedio_playlists
Run Time: 0.000255
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | EWRmedio_playlists | ALL | | | | | 1 | |
SELECT COUNT(*) AS total
FROM EWRmedio_categories
Run Time: 0.000248
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | EWRmedio_categories | index | | category_parent | 4 | | 4 | Using index |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 0438542ccd77f34cf98afbbd6b8a8739, a:10:{s:12:"sessionStart";i:1714664992;s:2:"ip";s:4:""