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', 'notices', 'userFieldsInfo')Run Time: 0.002525
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 77 | | 20 | Using where |
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000259
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT node.*, forum.*
,
permission.cache_value AS node_permission_cache,
NULL AS forum_read_date
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.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 = forum.node_id)
WHERE node.node_id = ?
Params: 10005
Run Time: 0.000668
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | forum | const | PRIMARY | PRIMARY | 4 | const | 1 | |
| SIMPLE | node | const | PRIMARY | PRIMARY | 4 | const | 1 | |
| SIMPLE | permission | const | PRIMARY | PRIMARY | 85 | const,const,const | 1 | |
SELECT COUNT(*)
FROM xf_thread AS thread
LEFT JOIN xf_thread_rpg AS threadRpg ON (thread.thread_id = threadRpg.thread_id)
WHERE (thread.node_id = 10005) AND (thread.prefix_id = 1) AND (thread.sticky = 0) AND (thread.discussion_state IN ('visible'))Run Time: 0.021703
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | thread | ref | node_id_last_post_date,node_id_sticky_last_post_date | node_id_last_post_date | 4 | const | 20190 | Using where |
| SIMPLE | threadRpg | eq_ref | PRIMARY | PRIMARY | 4 | tfnforum.thread.thread_id | 1 | Using index |
SELECT thread.*
,
user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
NULL AS thread_read_date,
0 AS user_post_count, rpg_counter
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
LEFT JOIN xf_thread_rpg AS threadRpg ON (thread.thread_id = threadRpg.thread_id)
WHERE (thread.node_id = 10005) AND (thread.prefix_id = 1) AND (thread.sticky = 0) AND (thread.discussion_state IN ('visible'))
ORDER BY thread.reply_count DESC, thread.last_post_date DESC
LIMIT 25Run Time: 0.028856
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | thread | ref | node_id_last_post_date,node_id_sticky_last_post_date | node_id_last_post_date | 4 | const | 20190 | Using where; Using filesort |
| SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | tfnforum.thread.user_id | 1 | |
| SIMPLE | threadRpg | eq_ref | PRIMARY | PRIMARY | 4 | tfnforum.thread.thread_id | 1 | |
SELECT thread.*
,
user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
NULL AS thread_read_date,
0 AS user_post_count, rpg_counter
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
LEFT JOIN xf_thread_rpg AS threadRpg ON (thread.thread_id = threadRpg.thread_id)
WHERE (thread.node_id = 10005) AND (thread.prefix_id = 1) AND (thread.sticky = 1) AND (thread.discussion_state IN ('visible'))
ORDER BY thread.reply_count DESC, thread.last_post_date DESCRun Time: 0.001640
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | thread | ref | node_id_last_post_date,node_id_sticky_last_post_date | node_id_sticky_last_post_date | 5 | const,const | 2 | Using where; Using filesort |
| SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | tfnforum.thread.user_id | 1 | |
| SIMPLE | threadRpg | eq_ref | PRIMARY | PRIMARY | 4 | tfnforum.thread.thread_id | 1 | |
SELECT *
FROM xf_node
WHERE lft < ? AND rgt > ?
ORDER BY lft ASC
Params: 46, 47
Run Time: 0.000658
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_node | range | lft | lft | 4 | | 23 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 7dd856a3e6ea99a72f184e49ca7df311, a:5:{s:12:"sessionStart";i:1369261637;s:2:"ip";i:-1203156433;s:9:"userAgent";s:9:"CCBot/2.0";s:7:"isRobot";b:0;s:16:"previousActivity";i:0;}, 1369265237
Run Time: 0.000188
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, 3091810863, 3091810863, XenForo_ControllerPublic_Forum, Index, valid, node_id=10005, 1369261637
Run Time: 0.000147
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'hoffi_forum_view_showmods', 'bdtagme_tag', 'forum_view', 'nat_childlinks')
AND style_id = ?
AND language_id = ?Params: 8, 1
Run Time: 0.000462
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 160 | | 4 | Using where |
SELECT moderator_content.*, user.username
FROM xf_moderator_content AS moderator_content
INNER JOIN xf_user AS user ON (user.user_id = moderator_content.user_id)
WHERE (moderator_content.content_type = 'node') AND (moderator_content.content_id = 10005)
ORDER BY user.username
Run Time: 0.000777
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | moderator_content | ref | content_user_id,user_id | content_user_id | 81 | const,const | 4 | Using where; Using temporary; Using filesort |
| SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | tfnforum.moderator_content.user_id | 1 | |
SELECT moderator_content.*, user.username
FROM xf_moderator_content AS moderator_content
INNER JOIN xf_user AS user ON (user.user_id = moderator_content.user_id)
WHERE (moderator_content.content_type = 'node') AND (moderator_content.content_id = 10005)
ORDER BY user.username
Run Time: 0.000737
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | moderator_content | ref | content_user_id,user_id | content_user_id | 81 | const,const | 4 | Using where; Using temporary; Using filesort |
| SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | tfnforum.moderator_content.user_id | 1 | |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('nat_linkstemplate', 'wf_hook_moderator_bar', 'wf_revealer', 'bdtagme_PAGE_CONTAINER', 'convess', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?Params: 8, 1
Run Time: 0.000448
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 160 | | 5 | Using where |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('toggleme_page_container_js')
AND style_id = ?
AND language_id = ?Params: 8, 1
Run Time: 0.000230
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 160 | const,const,const | 1 | |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('bbcm_js')
AND style_id = ?
AND language_id = ?Params: 8, 1
Run Time: 0.000225
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 160 | const,const,const | 1 | |