Page Time: 1.8780s

Memory: 5.3436 MB (Peak: 6.7444 MB)

Queries (21, time: 0.0167s, 0.9%)

  1. 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.001108
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 26Using where
  2. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000103
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3.                     SELECT *
                        FROM xm_hashtags_watch
                        WHERE user_id = ?
                                AND hashtag = ?
    Params: 0, optimistic
    Run Time: 0.000109
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLE       Impossible WHERE noticed after reading const tables
  4.                                 SELECT hashtags.*
    FROM xm_hashtags AS hashtags
    WHERE hashtag = 'optimistic' 
                                    ORDER BY date_posted DESC
                                    LIMIT 10
    Run Time: 0.000097
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEhashtagsrefhashtaghashtag202const616Using index condition; Using where; Using filesort
  5. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: dark_postrating_ratings
    Run Time: 0.000331
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  6. 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,
    		user_profile.*,
    		user_privacy.*
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (1,2,24,35,23,20,4,5,19,26,34,6,21,7,8,10)) as positive_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (14,13,31,17)) as negative_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (3,15,28,32,36,41,40,37,27,30,16,29,22,33,9,11,12,38,39)) as neutral_rating_count
    	,
    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_user_profile AS user_profile ON
    			(user_profile.user_id = post.user_id)
    		LEFT JOIN xf_user_privacy AS user_privacy ON
    			(user_privacy.user_id = post.user_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 = ?
    Params: 2118459
    Run Time: 0.001699
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYpostconstPRIMARY,thread_id_post_date,thread_id_positionPRIMARY4const1 
    PRIMARYthreadconstPRIMARY,node_id_last_post_date,node_id_sticky_state_last_postPRIMARY4const1 
    PRIMARYnodeconstPRIMARYPRIMARY4const1 
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYuser_profileconstPRIMARYPRIMARY4const1 
    PRIMARYuser_privacyconstPRIMARYPRIMARY4const1 
    PRIMARYpr_cacheconstPRIMARYPRIMARY4const1 
    PRIMARYpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0Unique row not found
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 19Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 4Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 16Using index condition
  7. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 4
    Run Time: 0.000083
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  8. 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,
    		user_profile.*,
    		user_privacy.*
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (1,2,24,35,23,20,4,5,19,26,34,6,21,7,8,10)) as positive_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (14,13,31,17)) as negative_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (3,15,28,32,36,41,40,37,27,30,16,29,22,33,9,11,12,38,39)) as neutral_rating_count
    	,
    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_user_profile AS user_profile ON
    			(user_profile.user_id = post.user_id)
    		LEFT JOIN xf_user_privacy AS user_privacy ON
    			(user_privacy.user_id = post.user_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 = ?
    Params: 2076537
    Run Time: 0.001341
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYpostconstPRIMARY,thread_id_post_date,thread_id_positionPRIMARY4const1 
    PRIMARYthreadconstPRIMARY,node_id_last_post_date,node_id_sticky_state_last_postPRIMARY4const1 
    PRIMARYnodeconstPRIMARYPRIMARY4const1 
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYuser_profileconstPRIMARYPRIMARY4const1 
    PRIMARYuser_privacyconstPRIMARYPRIMARY4const1 
    PRIMARYpr_cacheconstPRIMARYPRIMARY4const1 
    PRIMARYpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0Unique row not found
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 19Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 4Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 16Using index condition
  9. 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,
    		user_profile.*,
    		user_privacy.*
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (1,2,24,35,23,20,4,5,19,26,34,6,21,7,8,10)) as positive_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (14,13,31,17)) as negative_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (3,15,28,32,36,41,40,37,27,30,16,29,22,33,9,11,12,38,39)) as neutral_rating_count
    	,
    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_user_profile AS user_profile ON
    			(user_profile.user_id = post.user_id)
    		LEFT JOIN xf_user_privacy AS user_privacy ON
    			(user_privacy.user_id = post.user_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 = ?
    Params: 2076113
    Run Time: 0.001373
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYpostconstPRIMARY,thread_id_post_date,thread_id_positionPRIMARY4const1 
    PRIMARYthreadconstPRIMARY,node_id_last_post_date,node_id_sticky_state_last_postPRIMARY4const1 
    PRIMARYnodeconstPRIMARYPRIMARY4const1 
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYuser_profileconstPRIMARYPRIMARY4const1 
    PRIMARYuser_privacyconstPRIMARYPRIMARY4const1 
    PRIMARYpr_cacheconstPRIMARYPRIMARY4const1 
    PRIMARYpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0Unique row not found
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 19Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 4Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 16Using index condition
  10. 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,
    		user_profile.*,
    		user_privacy.*
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (1,2,24,35,23,20,4,5,19,26,34,6,21,7,8,10)) as positive_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (14,13,31,17)) as negative_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (3,15,28,32,36,41,40,37,27,30,16,29,22,33,9,11,12,38,39)) as neutral_rating_count
    	,
    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_user_profile AS user_profile ON
    			(user_profile.user_id = post.user_id)
    		LEFT JOIN xf_user_privacy AS user_privacy ON
    			(user_privacy.user_id = post.user_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 = ?
    Params: 2068645
    Run Time: 0.001218
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYpostconstPRIMARY,thread_id_post_date,thread_id_positionPRIMARY4const1 
    PRIMARYthreadconstPRIMARY,node_id_last_post_date,node_id_sticky_state_last_postPRIMARY4const1 
    PRIMARYnodeconstPRIMARYPRIMARY4const1 
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYuser_profileconstPRIMARYPRIMARY4const1 
    PRIMARYuser_privacyconstPRIMARYPRIMARY4const1 
    PRIMARYpr_cacheconstPRIMARYPRIMARY4const1 
    PRIMARYpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0Unique row not found
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 19Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 4Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 16Using index condition
  11. 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,
    		user_profile.*,
    		user_privacy.*
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (1,2,24,35,23,20,4,5,19,26,34,6,21,7,8,10)) as positive_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (14,13,31,17)) as negative_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (3,15,28,32,36,41,40,37,27,30,16,29,22,33,9,11,12,38,39)) as neutral_rating_count
    	,
    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_user_profile AS user_profile ON
    			(user_profile.user_id = post.user_id)
    		LEFT JOIN xf_user_privacy AS user_privacy ON
    			(user_privacy.user_id = post.user_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 = ?
    Params: 2068342
    Run Time: 0.001561
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYpostconstPRIMARY,thread_id_post_date,thread_id_positionPRIMARY4const1 
    PRIMARYthreadconstPRIMARY,node_id_last_post_date,node_id_sticky_state_last_postPRIMARY4const1 
    PRIMARYnodeconstPRIMARYPRIMARY4const1 
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYuser_profileconstPRIMARYPRIMARY4const1 
    PRIMARYuser_privacyconstPRIMARYPRIMARY4const1 
    PRIMARYpr_cacheconstPRIMARYPRIMARY4const0Unique row not found
    PRIMARYpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0Unique row not found
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 19Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 4Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 16Using index condition
  12. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 6
    Run Time: 0.000116
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  13. 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,
    		user_profile.*,
    		user_privacy.*
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (1,2,24,35,23,20,4,5,19,26,34,6,21,7,8,10)) as positive_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (14,13,31,17)) as negative_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (3,15,28,32,36,41,40,37,27,30,16,29,22,33,9,11,12,38,39)) as neutral_rating_count
    	,
    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_user_profile AS user_profile ON
    			(user_profile.user_id = post.user_id)
    		LEFT JOIN xf_user_privacy AS user_privacy ON
    			(user_privacy.user_id = post.user_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 = ?
    Params: 2060823
    Run Time: 0.001383
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYpostconstPRIMARY,thread_id_post_date,thread_id_positionPRIMARY4const1 
    PRIMARYthreadconstPRIMARY,node_id_last_post_date,node_id_sticky_state_last_postPRIMARY4const1 
    PRIMARYnodeconstPRIMARYPRIMARY4const1 
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYuser_profileconstPRIMARYPRIMARY4const1 
    PRIMARYuser_privacyconstPRIMARYPRIMARY4const1 
    PRIMARYpr_cacheconstPRIMARYPRIMARY4const1 
    PRIMARYpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0Unique row not found
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 19Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 4Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 16Using index condition
  14. 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,
    		user_profile.*,
    		user_privacy.*
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (1,2,24,35,23,20,4,5,19,26,34,6,21,7,8,10)) as positive_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (14,13,31,17)) as negative_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (3,15,28,32,36,41,40,37,27,30,16,29,22,33,9,11,12,38,39)) as neutral_rating_count
    	,
    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_user_profile AS user_profile ON
    			(user_profile.user_id = post.user_id)
    		LEFT JOIN xf_user_privacy AS user_privacy ON
    			(user_privacy.user_id = post.user_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 = ?
    Params: 2032753
    Run Time: 0.001244
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYpostconstPRIMARY,thread_id_post_date,thread_id_positionPRIMARY4const1 
    PRIMARYthreadconstPRIMARY,node_id_last_post_date,node_id_sticky_state_last_postPRIMARY4const1 
    PRIMARYnodeconstPRIMARYPRIMARY4const1 
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYuser_profileconstPRIMARYPRIMARY4const1 
    PRIMARYuser_privacyconstPRIMARYPRIMARY4const1 
    PRIMARYpr_cacheconstPRIMARYPRIMARY4const1 
    PRIMARYpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0Unique row not found
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 19Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 4Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 16Using index condition
  15. 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,
    		user_profile.*,
    		user_privacy.*
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (1,2,24,35,23,20,4,5,19,26,34,6,21,7,8,10)) as positive_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (14,13,31,17)) as negative_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (3,15,28,32,36,41,40,37,27,30,16,29,22,33,9,11,12,38,39)) as neutral_rating_count
    	,
    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_user_profile AS user_profile ON
    			(user_profile.user_id = post.user_id)
    		LEFT JOIN xf_user_privacy AS user_privacy ON
    			(user_privacy.user_id = post.user_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 = ?
    Params: 2028085
    Run Time: 0.001207
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYpostconstPRIMARY,thread_id_post_date,thread_id_positionPRIMARY4const1 
    PRIMARYthreadconstPRIMARY,node_id_last_post_date,node_id_sticky_state_last_postPRIMARY4const1 
    PRIMARYnodeconstPRIMARYPRIMARY4const1 
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYuser_profileconstPRIMARYPRIMARY4const1 
    PRIMARYuser_privacyconstPRIMARYPRIMARY4const1 
    PRIMARYpr_cacheconstPRIMARYPRIMARY4const1 
    PRIMARYpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0Unique row not found
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 19Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 4Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 16Using index condition
  16. 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,
    		user_profile.*,
    		user_privacy.*
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (1,2,24,35,23,20,4,5,19,26,34,6,21,7,8,10)) as positive_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (14,13,31,17)) as negative_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (3,15,28,32,36,41,40,37,27,30,16,29,22,33,9,11,12,38,39)) as neutral_rating_count
    	,
    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_user_profile AS user_profile ON
    			(user_profile.user_id = post.user_id)
    		LEFT JOIN xf_user_privacy AS user_privacy ON
    			(user_privacy.user_id = post.user_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 = ?
    Params: 2014794
    Run Time: 0.001158
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYpostconstPRIMARY,thread_id_post_date,thread_id_positionPRIMARY4const1 
    PRIMARYthreadconstPRIMARY,node_id_last_post_date,node_id_sticky_state_last_postPRIMARY4const1 
    PRIMARYnodeconstPRIMARYPRIMARY4const1 
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYuser_profileconstPRIMARYPRIMARY4const1 
    PRIMARYuser_privacyconstPRIMARYPRIMARY4const1 
    PRIMARYpr_cacheconstPRIMARYPRIMARY4const1 
    PRIMARYpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0Unique row not found
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 19Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 4Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 16Using index condition
  17. 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,
    		user_profile.*,
    		user_privacy.*
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (1,2,24,35,23,20,4,5,19,26,34,6,21,7,8,10)) as positive_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (14,13,31,17)) as negative_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (3,15,28,32,36,41,40,37,27,30,16,29,22,33,9,11,12,38,39)) as neutral_rating_count
    	,
    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_user_profile AS user_profile ON
    			(user_profile.user_id = post.user_id)
    		LEFT JOIN xf_user_privacy AS user_privacy ON
    			(user_privacy.user_id = post.user_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 = ?
    Params: 1986001
    Run Time: 0.001194
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYpostconstPRIMARY,thread_id_post_date,thread_id_positionPRIMARY4const1 
    PRIMARYthreadconstPRIMARY,node_id_last_post_date,node_id_sticky_state_last_postPRIMARY4const1 
    PRIMARYnodeconstPRIMARYPRIMARY4const1 
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYuser_profileconstPRIMARYPRIMARY4const1 
    PRIMARYuser_privacyconstPRIMARYPRIMARY4const1 
    PRIMARYpr_cacheconstPRIMARYPRIMARY4const1 
    PRIMARYpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0Unique row not found
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 19Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 4Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 16Using index condition
  18. 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)
    Params: 0, , , XenMods_HashTags_ControllerPublic_Index, Index, valid, phrase=optimistic, 1711649892,
    Run Time: 0.000202
  19. SELECT session_activity.*
    	,
    	user.*
    FROM xf_session_activity AS session_activity
    
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = session_activity.user_id)
    WHERE (session_activity.view_date > 1711648992)
    ORDER BY session_activity.view_date DESC
    Run Time: 0.000779
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangeview_dateview_date4 41Using where
    SIMPLEusereq_refPRIMARYPRIMARY4allthing_xenforo.session_activity.user_id1 
  20. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'bb_code_tag_code', 'bb_code_tag_php', 'bb_code_tag_html', 'bb_code_tag_quote', 'bb_code_tag_attach', 'bb_code_tag_spoiler', 'ragtek_sidebarBlock_mostOnlineUsers', 'ragtek_uaa', 'XM_HashTags', 'XM_HashTags_Nav', 'th_you_are_using_as_user_loginasuser', 'th_moderator_bar_loginasuser', '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', 'ThreadStarter', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 19, 1
    Run Time: 0.000233
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 28Using where
  21.                                 SELECT count(*) as occurances, hashtags.*
    FROM xm_hashtags AS hashtags
                                    GROUP BY hashtag
                                    ORDER BY occurances DESC
                                    LIMIT 5
    Run Time: 0.000144
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEhashtagsindex hashtag202 19867Using temporary; Using filesort

Included Files (137, XenForo Classes: 48)

  1. index.php
  2. library/XenForo/Autoloader.php
  3. library/XenForo/Application.php
  4. library/Zend/Registry.php
  5. library/Lgpl/utf8.php
  6. library/Zend/Config.php
  7. library/config.php
  8. library/XenForo/FrontController.php
  9. library/XenForo/Dependencies/Public.php
  10. library/XenForo/Dependencies/Abstract.php
  11. library/Zend/Controller/Request/Http.php
  12. library/Zend/Controller/Request/Abstract.php
  13. library/Zend/Uri.php
  14. library/Zend/Controller/Response/Http.php
  15. library/Zend/Controller/Response/Abstract.php
  16. library/XenForo/Model/DataRegistry.php
  17. library/XenForo/Model.php
  18. library/Zend/Cache.php
  19. library/Zend/Cache/Backend/File.php
  20. library/Zend/Cache/Backend/ExtendedInterface.php
  21. library/Zend/Cache/Backend/Interface.php
  22. library/Zend/Cache/Backend.php
  23. library/Zend/Cache/Core.php
  24. library/Zend/Db.php
  25. library/Zend/Db/Adapter/Mysqli.php
  26. library/Zend/Db/Adapter/Abstract.php
  27. library/Zend/Db/Select.php
  28. library/Zend/Db/Expr.php
  29. library/Zend/Db/Profiler.php
  30. library/Zend/Db/Statement/Mysqli.php
  31. library/Zend/Db/Statement.php
  32. library/Zend/Db/Statement/Interface.php
  33. library/Zend/Db/Profiler/Query.php
  34. library/XenForo/CodeEvent.php
  35. library/XenForo/Options.php
  36. library/XenForo/Link.php
  37. library/XenForo/Template/Helper/Core.php
  38. library/ThemeHouse/Listener/InitDependencies.php
  39. library/ThemeHouse/Listener/InitDependencies/20151202.php
  40. library/ThemeHouse/Listener/ControllerPreDispatch/20150911.php
  41. library/bdTagMe/Listener.php
  42. library/bdTagMe/Helper/Template.php
  43. library/bdTagMe/ShippableHelper/Updater.php
  44. library/bdTagMe/Option.php
  45. library/KeywordAlert/Listener.php
  46. library/KeywordAlert/Template/Helper.php
  47. library/KeywordAlert/ShippableHelper/Updater.php
  48. library/KeywordAlert/Option.php
  49. library/Waindigo/Listener/InitDependencies.php
  50. library/Waindigo/Listener/InitDependencies/20150212.php
  51. library/Waindigo/Listener/ControllerPreDispatch/20150212.php
  52. library/XenForo/Router.php
  53. library/XenForo/Route/Filter.php
  54. library/XenForo/Route/Interface.php
  55. library/XenForo/Route/ResponseSuffix.php
  56. library/XenForo/Route/Prefix.php
  57. library/XenMods/HashTags/Route/Public.php
  58. library/XenForo/Route/BuilderInterface.php
  59. library/XenForo/RouteMatch.php
  60. library/XenMods/HashTags/ControllerPublic/Index.php
  61. library/XenForo/ControllerPublic/Abstract.php
  62. library/XenForo/Controller.php
  63. library/Dark/PostRating/EventListener.php
  64. library/Ragtek/MOU/StaticMethods.php
  65. library/Borbole/UsernameChange/Listener/Listener.php
  66. library/Tapatalk/Listener/LoadClassModel.php
  67. library/BestAnswer/Listener.php
  68. library/XenForo/Input.php
  69. library/XenForo/Session.php
  70. library/XenForo/Helper/Ip.php
  71. library/XenForo/Visitor.php
  72. library/XenForo/Model/User.php
  73. library/ThemeHouse/LoginAsUser/Listener/LoadClass.php
  74. library/ThemeHouse/Listener/LoadClass.php
  75. library/ThemeHouse/Listener/LoadClass/20150518.php
  76. library/ThemeHouse/LoginAsUser/Extend/XenForo/Model/User.php
  77. library/bdTagMe/XenForo/Model/User.php
  78. library/Dark/PostRating/Model/User.php
  79. library/Borbole/UsernameChange/Model/User.php
  80. library/BestAnswer/Model/User.php
  81. library/XenForo/Permission.php
  82. library/XenForo/Helper/Php.php
  83. library/XenForo/Phrase.php
  84. library/XenForo/Locale.php
  85. library/ThemeHouse/LoginAsUser/Listener/VisitorSetup.php
  86. library/ThemeHouse/Listener/VisitorSetup.php
  87. library/ThemeHouse/Listener/VisitorSetup/20150106.php
  88. library/ThemeHouse/LoginAsUser/Extend/XenForo/Visitor.php
  89. library/XenMods/HashTags/Model/HashTagWatch.php
  90. library/XenMods/HashTags/Model/HashTags.php
  91. library/XenMods/HashTags/XenForo/ContentHandler/Post.php
  92. library/XenMods/HashTags/ContentHandler/Abstract.php
  93. library/XenForo/Model/Post.php
  94. library/Dark/PostRating/Model/Post.php
  95. library/BestAnswer/Model/Post.php
  96. library/Dark/PostRating/Model.php
  97. library/XenForo/Model/PermissionCache.php
  98. library/XenForo/ControllerResponse/View.php
  99. library/XenForo/ControllerResponse/Abstract.php
  100. library/XenForo/Helper/Cookie.php
  101. library/Tapatalk/Listener/ControllerPostDispatch.php
  102. library/XenForo/ViewRenderer/HtmlPublic.php
  103. library/XenForo/ViewRenderer/Abstract.php
  104. library/XenForo/Template/Public.php
  105. library/XenForo/Template/Abstract.php
  106. library/XenMods/HashTags/ViewPublic/Tag.php
  107. library/XenForo/ViewPublic/Base.php
  108. library/XenForo/View.php
  109. library/XenForo/BbCode/Parser.php
  110. library/XenForo/BbCode/Formatter/Base.php
  111. library/XenMods/HashTags/Listener/BbCode.php
  112. library/bdTagMe/XenForo/BbCode/Formatter/Base.php
  113. library/XenMods/HashTags/XenForo/BbCode/Formatter/Base.php
  114. library/XenForo/ViewPublic/Helper/Message.php
  115. library/ThemeHouse/LoginAsUser/Listener/TemplateCreate.php
  116. library/ThemeHouse/Listener/TemplateCreate.php
  117. library/ThemeHouse/Listener/TemplateCreate/20150106.php
  118. library/ThreadStarter/Listener/Listener.php
  119. library/Ragtek/UAA/StaticMethods.php
  120. library/XenForo/Route/Prefix/Members.php
  121. library/bdTagMe/XenForo/Route/Prefix/Members.php
  122. library/XenMods/HashTags/Listener/NavTabs.php
  123. library/Ragtek/MOU/Model/OnlineUsers.php
  124. library/XenForo/Model/Session.php
  125. library/Tapatalk/Listener/TemplatePostRender.php
  126. library/XenForo/Debug.php
  127. library/Tapatalk/EventListener/Hook.php
  128. mobiquo/mbqFrame/3rdLib/classTTConnection.php
  129. mobiquo/smartbanner/head.inc.php
  130. library/ThemeHouse/LoginAsUser/Listener/TemplateHook.php
  131. library/ThemeHouse/Listener/TemplateHook.php
  132. library/ThemeHouse/Listener/TemplateHook/20150106.php
  133. library/ThemeHouse/Listener/Template.php
  134. library/ThemeHouse/Listener/Template/20150106.php
  135. library/XenMods/HashTags/CallBack/Nav.php
  136. library/XenForo/Helper/String.php
  137. library/XenForo/ViewRenderer/Json.php