SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000404
| 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: 42331
Run Time: 0.002003
| 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: 6f8273a542a015daf789fcb7e3b6b0d9, a:5:{s:12:"sessionStart";i:1368946643;s:2:"ip";i:840003064;s:9:"userAgent";s:9:"CCBot/2.0";s:7:"isRobot";b:0;s:16:"previousActivity";i:0;}, 1368950243
Run Time: 0.000201
INSERT INTO xf_session_activity
(user_id, unique_key, ip, controller_name, controller_action, view_state, params, view_date)
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)
Params: 0, 840003064, 840003064, XenForo_ControllerPublic_Member, Member, error, user_id=42331, 1368946643
Run Time: 0.000187
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'error', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?Params: 3, 1
Run Time: 0.000410
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 160 | | 3 | Using where |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('member_limits_viewing_profile')Params: 1
Run Time: 0.034780
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_phrase_compiled | const | PRIMARY | PRIMARY | 231 | const,const | 1 | |