SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'cron', 'simpleCache', 'routesPublic', 'nodeTypes', 'bannedIps', 'discouragedIps', 'styles', 'displayStyles', 'smilies', 'bbCode', 'threadPrefixes', 'trophyUserTitles', 'reportCounts', 'moderationCounts', 'userModerationCounts', 'notices', 'userFieldsInfo')Run Time: 0.000237
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 77 | | 21 | Using where |
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000088
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT user.*
,
user_profile.*,
user_option.*,
user_privacy.*,
IF (session_activity.view_date IS NULL, user.last_activity, session_activity.view_date) AS effective_last_activity,
session_activity.view_date, session_activity.controller_name, session_activity.controller_action, session_activity.params, session_activity.ip,
0 AS following_0
FROM xf_user AS user
INNER JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = user.user_id)
INNER JOIN xf_user_option AS user_option ON
(user_option.user_id = user.user_id)
INNER JOIN xf_user_privacy AS user_privacy ON
(user_privacy.user_id = user.user_id)
LEFT JOIN xf_session_activity AS session_activity ON
(session_activity.user_id = user.user_id AND session_activity.unique_key = user.user_id)
WHERE user.user_id = ?
Params: 5737
Run Time: 0.000895
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
| SIMPLE | user_profile | const | PRIMARY | PRIMARY | 4 | const | 1 | |
| SIMPLE | user_option | const | PRIMARY | PRIMARY | 4 | const | 1 | |
| SIMPLE | user_privacy | const | PRIMARY | PRIMARY | 4 | const | 1 | |
| SIMPLE | session_activity | const | PRIMARY | PRIMARY | 8 | const,const | 0 | unique row not found |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 84a7983636c458562a0dc7e8e5ad65b5, a:7:{s:12:"sessionStart";i:1369376725;s:2:"ip";i:1796644045;s:9:"userAgent";s:9:"CCBot/2.0";s:7:"isRobot";b:0;s:16:"previousActivity";i:0;s:10:"isIpBanned";b:0;s:13:"isDiscouraged";b:0;}, 1369380325
Run Time: 0.000110
SELECT user_group_id, title
FROM xf_user_group
WHERE user_group_id IN (3,4,32,33)
ORDER BY user_group_id
Run Time: 0.000073
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_user_group | index | PRIMARY | PRIMARY | 4 | | 8 | Using where |
SELECT user_id, user_group_id
FROM xf_user_group_relation
WHERE user_group_id IN (3,4,32,33)
ORDER BY user_group_id
Run Time: 0.000051
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_user_group_relation | range | user_group_id_is_primary | user_group_id_is_primary | 4 | | 13 | Using where; Using index |
SELECT options.*, node.*,
permission.cache_value AS node_permission_cache
FROM nat_options AS options
INNER JOIN xf_node AS node
ON (node.node_id = options.node_id)
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'node'
AND permission.content_id = options.node_id)
WHERE nat_display_tab = 1
ORDER BY options.nat_display_order
ASC
Run Time: 0.000190
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | options | ALL | node_id | | | | 50 | Using where; Using filesort |
| SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | ghrgjdbc_forum.options.node_id | 1 | |
| SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 85 | const,const,ghrgjdbc_forum.node.node_id | 1 | |
SELECT session_activity.*
,
user.*,
user_profile.*,
user_option.*
FROM xf_session_activity AS session_activity
LEFT JOIN xf_user AS user ON
(user.user_id = session_activity.user_id)
LEFT JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = user.user_id)
LEFT JOIN xf_user_option AS user_option ON
(user_option.user_id = user.user_id)
WHERE (session_activity.view_date > 1369375825)
ORDER BY session_activity.view_date DESC
Run Time: 0.000383
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | session_activity | ALL | view_date | | | | 31 | Using where; Using filesort |
| SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | ghrgjdbc_forum.session_activity.user_id | 1 | |
| SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | ghrgjdbc_forum.user.user_id | 1 | |
| SIMPLE | user_option | eq_ref | PRIMARY | PRIMARY | 4 | ghrgjdbc_forum.user.user_id | 1 | |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'ragtek_sidebarBlock_mostOnlineUsers', 'error_with_login', 'EWRporta_Navtabs', 'XenStaff_links', 'EWRmedio_Navtabs', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?Params: 30, 2
Run Time: 0.000112
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 160 | | 7 | Using where |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('login_required', 'home', 'media')Params: 2
Run Time: 0.000055
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_phrase_compiled | range | PRIMARY | PRIMARY | 231 | | 3 | Using where |