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')
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | 26 | Using where |
SELECT cache_value FROM xf_permission_combination WHERE permission_combination_id = ?
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 |
SELECT data_value FROM xf_data_registry WHERE data_key = ?
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_data_registry | const | PRIMARY | PRIMARY | 27 | const | 1 |
SELECT user.* ,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,2,15,4,5,6,7,8,10)) as positive_rating_count , (user.like_count + coalesce((select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,2,15,4,5,6,7,8,10)), 0)) as positive_rating_count_incl_likes ,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (14,11,12)) as negative_rating_count ,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (3,9)) as neutral_rating_count ,(select sum(count_received) from dark_postrating_count where user_id = user.user_id) as total_rating_count FROM xf_user AS user WHERE user.user_id = ?
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
PRIMARY | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
DEPENDENT SUBQUERY | dark_postrating_count | ref | user_id_rating | user_id_rating | 4 | const | 3 | |
DEPENDENT SUBQUERY | dark_postrating_count | range | user_id_rating | user_id_rating | 8 | 2 | Using where | |
DEPENDENT SUBQUERY | dark_postrating_count | range | user_id_rating | user_id_rating | 8 | 3 | Using where | |
DEPENDENT SUBQUERY | dark_postrating_count | range | user_id_rating | user_id_rating | 8 | 9 | Using where | |
DEPENDENT SUBQUERY | dark_postrating_count | range | user_id_rating | user_id_rating | 8 | 9 | Using where |
SELECT search_index.content_type, search_index.content_id FROM xf_search_index AS search_index WHERE search_index.user_id = ? ORDER BY search_index.item_date DESC LIMIT 200
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | search_index | ref | user_id_item_date | user_id_item_date | 4 | const | 12887 | Using where |
SELECT post.* , thread.*, thread.user_id AS thread_user_id, thread.username AS thread_username, thread.post_date AS thread_post_date, post.user_id, post.username, post.post_date, node.title AS node_title, node.node_name, user.*, IF(user.username IS NULL, post.username, user.username) AS username, permission.cache_value AS node_permission_cache, pr_cache.rating_cache, pr2.rating FROM xf_post AS post INNER JOIN xf_thread AS thread ON (thread.thread_id = post.thread_id) INNER JOIN xf_node AS node ON (node.node_id = thread.node_id) LEFT JOIN xf_user AS user ON (user.user_id = post.user_id) LEFT JOIN xf_permission_cache_content AS permission ON (permission.permission_combination_id = 1 AND permission.content_type = 'node' AND permission.content_id = thread.node_id) left join dark_postrating_post_cache pr_cache ON (post.post_id = pr_cache.post_id) left join dark_postrating pr2 on (post.post_id = pr2.post_id and pr2.user_id = 0) WHERE post.post_id IN (4421939, 4421936, 4421935, 4421892, 4421891, 4421761, 4421709, 4421708, 4421690, 4421624, 4421599, 4421598, 4421597, 4421550, 4421520, 4421518, 4421441, 4421439, 4421435, 4421434, 4421429, 4421420, 4421419, 4421418, 4421413, 4421407, 4421398, 4421397, 4421396, 4421392, 4421366, 4421299, 4421298, 4421297, 4421296, 4421211, 4421210, 4421207, 4421165, 4421121, 4421110, 4421066, 4421055, 4421054, 4421013, 4421002, 4420992, 4420976, 4420975, 4420933, 4420931, 4420925, 4420919, 4420916, 4420914, 4420913, 4420911, 4420906, 4420876, 4420845, 4420844, 4420843, 4420833, 4420828, 4420827, 4420794, 4420789, 4420784, 4420767, 4420745, 4420743, 4420741, 4420736, 4420734, 4420733, 4420659, 4420569, 4420478, 4420463, 4420452, 4420449, 4420425, 4420381, 4420364, 4420358, 4420315, 4420306, 4420286, 4420271, 4420257, 4420253, 4420249, 4420248, 4420207, 4420206, 4420149, 4420144, 4420066, 4420064, 4420061, 4419996, 4419995, 4419969, 4419968, 4419913, 4419891, 4419890, 4419796, 4419795, 4419699, 4419698, 4419350, 4419348, 4419345, 4419264, 4419229, 4419225, 4419217, 4419208, 4419189, 4419129, 4419126, 4419119, 4419100, 4419099, 4419098, 4419000, 4418998, 4418997, 4418933, 4418883, 4418881, 4418876, 4418875, 4418830, 4418828, 4418659, 4418638, 4418617, 4418616, 4418563, 4418560, 4418544, 4418527, 4418526, 4418524, 4418523, 4418420, 4418396, 4418342, 4418340, 4418338, 4418315, 4418312, 4418272, 4418271, 4418270, 4418257, 4418254, 4418244, 4418240, 4418238, 4418237, 4418236, 4418233, 4418230, 4418199, 4418198, 4418196, 4418194, 4418193, 4418172, 4418171, 4418168, 4418123, 4418116, 4418113, 4418112, 4418100, 4418099, 4418027, 4418002, 4417967, 4417965, 4417961, 4417960, 4417830, 4417826, 4417825, 4417766, 4417757, 4417756, 4417717, 4417714, 4417667, 4417631, 4417610, 4417605, 4417546)
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | post | range | PRIMARY,thread_id_post_date,thread_id_position | PRIMARY | 4 | 199 | Using where | |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | nma_xen.post.user_id | 1 | |
SIMPLE | thread | eq_ref | PRIMARY,node_id_last_post_date,node_id_sticky_state_last_post | PRIMARY | 4 | nma_xen.post.thread_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | nma_xen.thread.node_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,nma_xen.node.node_id | 1 | |
SIMPLE | pr_cache | eq_ref | PRIMARY | PRIMARY | 4 | nma_xen.post.post_id | 1 | |
SIMPLE | pr2 | eq_ref | post_id_user_id,post_id_rating,user_id_rating | post_id_user_id | 8 | nma_xen.post.post_id,const | 1 |
SELECT thread.* , user.*, IF(user.username IS NULL, thread.username, user.username) AS username, node.title AS node_title, node.node_name, post.message, post.attach_count, NULL AS thread_read_date, 0 AS user_post_count, permission.cache_value AS node_permission_cache, pr_cache.rating_cache FROM xf_thread AS thread LEFT JOIN xf_user AS user ON (user.user_id = thread.user_id) LEFT JOIN xf_node AS node ON (node.node_id = thread.node_id) LEFT JOIN xf_post AS post ON (post.post_id = thread.first_post_id) LEFT JOIN xf_permission_cache_content AS permission ON (permission.permission_combination_id = 1 AND permission.content_type = 'node' AND permission.content_id = thread.node_id) left join dark_postrating_post_cache pr_cache ON (thread.first_post_id = pr_cache.post_id) WHERE thread.thread_id IN (220201)
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | thread | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | node | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | post | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | permission | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SIMPLE | pr_cache | const | PRIMARY | PRIMARY | 4 | const | 1 |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
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)
SELECT title, template_compiled FROM xf_template_compiled WHERE title IN ('page_nav', 'message_page', 'sonnb_xengallery_option_copyright', 'sonnbXG_copyright', 'sonnb_xengallery_navbar_template', 'resources_tab_links', 'EWRporta2_Navtabs', 'dark_postrating', 'dark_postrating_member', 'dark_postrating_member_totals', 'message_user_info_extra', 'user_criteria_content', 'thread_list_item_icon_key', 'dark_postrating_member_notable_tabs', 'dark_postrating_account_wrapper', 'dark_postrating_navigation_visitor_tab', 'dark_postrating_visitor_panel', 'dark_postrating_member_card', 'dark_postrating_member_info', 'dark_postrating_message_user_info', 'sonnb_xengallery_nav_visitor', 'PAGE_CONTAINER') AND style_id = ? AND language_id = ?
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | 22 | Using where |
SELECT title, phrase_text FROM xf_phrase_compiled WHERE language_id = ? AND title IN ('no_results_found')
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_phrase_compiled | const | PRIMARY | PRIMARY | 106 | const,const | 1 |