Page Time: 0.3103s

Memory: 7.9268 MB (Peak: 9.6530 MB)

Queries (71, time: 0.0406s, 13.1%)

  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.000773
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 26Using where
  2. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('brListenerClasses', 'brBriviumAddOns')
    Run Time: 0.000101
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 2Using where
  3. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000118
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  4. SELECT node.*, forum.*
    	,
    	permission.cache_value AS node_permission_cache
    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: 49
    Run Time: 0.000685
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  5. SELECT node.*, forum.*
    	,
    	permission.cache_value AS node_permission_cache
    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: 49
    Run Time: 0.000358
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  6. SELECT node.*, forum.*
    	,
    	permission.cache_value AS node_permission_cache,
    		NULL AS forum_read_date,
    		0 AS forum_is_watched
    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: 49
    Run Time: 0.000669
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  7. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: dark_postrating_ratings
    Run Time: 0.000091
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  8. SELECT COUNT(*)
    FROM xf_thread AS thread
    
    	LEFT JOIN xf_user_privacy AS privacy ON
    		(privacy.user_id = thread.user_id)
    WHERE (thread.node_id = 49) AND (thread.sticky = 0) AND (thread.discussion_state IN ('visible'))
    Run Time: 0.000236
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrefnode_id_last_post_date,node_id_sticky_state_last_postnode_id_last_post_date4const1Using where
  9. SELECT thread.*
    	,
    	user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
    	NULL AS thread_read_date,
    	0 AS thread_is_watched,
    	0 AS user_post_count,
    	pr_cache.rating_cache,
    privacy.snog_flag_view
    FROM xf_thread AS thread 
    
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = thread.user_id)
    	left join dark_postrating_post_cache pr_cache ON (thread.first_post_id = pr_cache.post_id)
    LEFT JOIN xf_user_privacy AS privacy ON
    	(privacy.user_id = thread.user_id)
    WHERE (thread.node_id = 49) AND (thread.sticky = 0) AND (thread.discussion_state IN ('visible'))
    ORDER BY thread.last_post_date DESC
     LIMIT 25
    Run Time: 0.000639
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrefnode_id_last_post_date,node_id_sticky_state_last_postnode_id_last_post_date4const1Using where
    SIMPLEusereq_refPRIMARYPRIMARY4sculptan_base.thread.user_id1 
    SIMPLEpr_cacheeq_refPRIMARYPRIMARY4sculptan_base.thread.first_post_id1 
    SIMPLEprivacyeq_refPRIMARYPRIMARY4sculptan_base.thread.user_id1 
  10. SELECT thread.*
    	,
    	user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
    	NULL AS thread_read_date,
    	0 AS thread_is_watched,
    	0 AS user_post_count,
    	pr_cache.rating_cache,
    privacy.snog_flag_view
    FROM xf_thread AS thread 
    
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = thread.user_id)
    	left join dark_postrating_post_cache pr_cache ON (thread.first_post_id = pr_cache.post_id)
    LEFT JOIN xf_user_privacy AS privacy ON
    	(privacy.user_id = thread.user_id)
    WHERE (thread.node_id = 49) AND (thread.sticky = 1) AND (thread.discussion_state IN ('visible'))
    ORDER BY thread.last_post_date DESC
    Run Time: 0.000608
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrefnode_id_last_post_date,node_id_sticky_state_last_postnode_id_last_post_date4const1Using where
    SIMPLEusereq_refPRIMARYPRIMARY4sculptan_base.thread.user_id1 
    SIMPLEpr_cacheeq_refPRIMARYPRIMARY4sculptan_base.thread.first_post_id1 
    SIMPLEprivacyeq_refPRIMARYPRIMARY4sculptan_base.thread.user_id1 
  11. SELECT *
    FROM xf_node
    WHERE lft > ? AND rgt < ?
    	 AND display_in_list = 1
    ORDER BY lft ASC
    Params: 72, 129
    Run Time: 0.000703
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_noderefdisplay_in_list,lftdisplay_in_list1const54Using index condition; Using where
  12. SELECT content_id, cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = 'node'
    Params: 1
    Run Time: 0.000141
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentrefPRIMARYPRIMARY31const,const91Using where
  13. SELECT forum.*
    	,
    		NULL AS forum_read_date
    FROM xf_forum AS forum
    INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
    
    WHERE forum.node_id IN (107, 109, 96, 108, 100, 101, 102, 103, 93, 94, 95, 80, 83, 84, 88, 89, 90, 91, 71, 75, 76, 87, 22, 43, 61, 78, 62, 74)
    Run Time: 0.000613
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumALLPRIMARY   83Using where
    SIMPLEnodeeq_refPRIMARYPRIMARY4sculptan_base.forum.node_id1Using index
  14. SELECT post_id, user.avatar_date, user.gravatar, thread.*,
    	first_post_user.avatar_date AS first_post_user_avatar_date,
    	first_post_user.gravatar AS first_post_user_gravatar
    FROM xf_post AS post
    LEFT JOIN xf_user AS user ON (post.user_id = user.user_id)
    LEFT JOIN xf_thread AS thread ON (post.thread_id = thread.thread_id)
    LEFT JOIN xf_user AS first_post_user ON (thread.user_id = user.user_id)
    WHERE post.post_id IN (90080, 89821, 83519, 30764, 79787, 72885, 68252, 40609, 79024, 33682, 47558, 11314, 13839, 19581, 79233, 72159, 72638, 72070, 56290, 39861, 39110, 50467, 50711, 33003)
    Run Time: 0.022362
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostrangePRIMARYPRIMARY4 24Using where
    SIMPLEusereq_refPRIMARYPRIMARY4sculptan_base.post.user_id1 
    SIMPLEthreadeq_refPRIMARYPRIMARY4sculptan_base.post.thread_id1 
    SIMPLEfirst_post_userALL    905Using where
  15. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN ('')
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000199
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition; Using where; Using temporary; Using filesort
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  16. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 ('', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '')
    Run Time: 0.000606
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostrangePRIMARYPRIMARY4 1Using where
    SIMPLEpr_cacheeq_refPRIMARYPRIMARY4sculptan_base.post.post_id1 
    SIMPLEpr2eq_refpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8sculptan_base.post.post_id,const1 
  17. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 (89915)
    Run Time: 0.000223
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const0unique row not found
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  18. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (89915)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000154
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  19. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 (54672)
    Run Time: 0.000207
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const0unique row not found
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  20. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (54672)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000142
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const3Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  21. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 (83285)
    Run Time: 0.000181
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const1 
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  22. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (83285)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000157
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const2Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  23. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 (26340)
    Run Time: 0.000321
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const0unique row not found
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  24. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (26340)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000156
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  25. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 (79358)
    Run Time: 0.000195
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const0unique row not found
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  26. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (79358)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000145
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  27. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 (72227)
    Run Time: 0.000190
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const0unique row not found
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  28. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (72227)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000162
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  29. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 (53114)
    Run Time: 0.000162
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const1 
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  30. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (53114)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000243
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  31. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 (40342)
    Run Time: 0.000323
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const1 
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  32. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (40342)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000180
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  33. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 (47391)
    Run Time: 0.000162
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const0unique row not found
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  34. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (47391)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000150
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  35. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 (32119)
    Run Time: 0.000219
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const0unique row not found
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  36. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (32119)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000172
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  37. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 (47368)
    Run Time: 0.000240
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const0unique row not found
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  38. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (47368)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000140
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  39. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 (11314)
    Run Time: 0.000213
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const0unique row not found
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  40. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (11314)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000153
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const7Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  41. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 (2217)
    Run Time: 0.000209
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const0unique row not found
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  42. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (2217)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000172
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const4Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  43. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 (11929)
    Run Time: 0.000203
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const0unique row not found
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  44. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (11929)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000243
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const3Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  45. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 (76675)
    Run Time: 0.000195
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const0unique row not found
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  46. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (76675)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000151
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  47. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 (68505)
    Run Time: 0.000181
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const0unique row not found
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  48. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (68505)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000294
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  49. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 (68514)
    Run Time: 0.000239
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const0unique row not found
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  50. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (68514)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000186
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  51. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 (68534)
    Run Time: 0.000222
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const0unique row not found
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  52. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (68534)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000192
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  53. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 (52857)
    Run Time: 0.000261
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const0unique row not found
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  54. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (52857)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000155
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  55. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 (35276)
    Run Time: 0.000250
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const0unique row not found
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  56. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (35276)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000152
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  57. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 (31705)
    Run Time: 0.000197
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const0unique row not found
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  58. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (31705)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000154
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  59. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 (45957)
    Run Time: 0.000232
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const0unique row not found
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  60. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (45957)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000194
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  61. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 (45971)
    Run Time: 0.000175
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const0unique row not found
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  62. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (45971)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000182
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  63. SELECT
    	post.*
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    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 (32118)
    Run Time: 0.000206
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARYPRIMARY4const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const0unique row not found
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  64. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (32118)
                    AND (data.filename LIKE '%.png' OR
                        data.filename LIKE '%.jpg' OR
                        data.filename LIKE '%.jpeg' OR
                        data.filename LIKE '%.jpe' OR
                        data.filename LIKE '%.gif')
    GROUP BY attachment.content_id
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000217
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4sculptan_base.attachment.data_id1Using where
  65. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 8bf6abe152b332ef03b247c2e26ad0da, , 1713257816
    Run Time: 0.000283
  66. 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, , , XenForo_ControllerPublic_Forum, Forum, valid, node_id=49, 1713254216,
    Run Time: 0.000148
  67. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'xengallery_bb_code_tag_gallery', 'node_forum_level_n', 'node_forum_level_2', 'thread_list_item', 'th_forum_list_thumbnail_thumbnails', 'th_thread_list_avatar_replace_thumbnails', 'th_thread_list_thumbnail_thumbnails', 'th_thread_list_avatar_last_post_avatar', 'forum_view', 'notice_cookies', 'oxy_news_nav_tab', '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', 'xengallery_comments_block', 'xengallery_media_block_items', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 14, 2
    Run Time: 0.001261
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 28Using where
  68. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('MMOCS_my_buys')
    Params: 2
    Run Time: 0.000092
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledconstPRIMARYPRIMARY106const,const1 
  69. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('th_forum_list_replace_thumbnails')
    	AND style_id = ?
    	AND language_id = ?
    Params: 14, 2
    Run Time: 0.000124
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  70. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('notices')
    	AND style_id = ?
    	AND language_id = ?
    Params: 14, 2
    Run Time: 0.000235
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  71. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('wf_widget_wrapper')
    	AND style_id = ?
    	AND language_id = ?
    Params: 14, 2
    Run Time: 0.000116
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (154, XenForo Classes: 59)

  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/Db.php
  19. library/Zend/Db/Adapter/Mysqli.php
  20. library/Zend/Db/Adapter/Abstract.php
  21. library/Zend/Db/Select.php
  22. library/Zend/Db/Expr.php
  23. library/Zend/Db/Profiler.php
  24. library/Zend/Db/Statement/Mysqli.php
  25. library/Zend/Db/Statement.php
  26. library/Zend/Db/Statement/Interface.php
  27. library/Zend/Db/Profiler/Query.php
  28. library/XenForo/CodeEvent.php
  29. library/XenForo/Options.php
  30. library/XenForo/Link.php
  31. library/XenForo/Template/Helper/Core.php
  32. library/ThemeHouse/Listener/InitDependencies.php
  33. library/ThemeHouse/Listener/InitDependencies/20151202.php
  34. library/ThemeHouse/Listener/ControllerPreDispatch/20150911.php
  35. library/XenGallery/Listener.php
  36. library/Snog/CountryFlags/Listener/Dependencies.php
  37. library/Brivium/BriviumHelper/EventListeners.php
  38. library/Brivium/BriviumHelper/1010071/EventListeners.php
  39. library/Dark/PostRating/EventListener.php
  40. library/HDJuegos/WaterMarkAdd/Listener.php
  41. library/bdMedal/Listener.php
  42. library/Esthetic/CS/Listener/Model.php
  43. library/WidgetFramework/Listener.php
  44. library/WidgetFramework/Option.php
  45. library/Nobita/AvatarAlive/Listener.php
  46. library/XenForo/Router.php
  47. library/XenForo/Route/Filter.php
  48. library/XenForo/Route/Interface.php
  49. library/XenForo/Route/ResponseSuffix.php
  50. library/XenForo/Route/Prefix.php
  51. library/XenForo/Route/Prefix/Forums.php
  52. library/XenForo/RouteMatch.php
  53. library/XenForo/ControllerPublic/Forum.php
  54. library/XenForo/ControllerPublic/Abstract.php
  55. library/XenForo/Controller.php
  56. library/ThemeHouse/Thumbnails/Listener/LoadClass.php
  57. library/ThemeHouse/Listener/LoadClass.php
  58. library/ThemeHouse/Listener/LoadClass/20150518.php
  59. library/Esthetic/CS/Listener/Controller.php
  60. library/Snog/CountryFlags/Listener/Forum.php
  61. library/LiamW/StickyFirstPost/Listener.php
  62. library/rellect/NodesGrid/Listener/Proxy.php
  63. library/ThemeHouse/Thumbnails/Extend/XenForo/ControllerPublic/Forum.php
  64. library/Esthetic/CS/ControllerPublic/Forum.php
  65. library/Snog/CountryFlags/ControllerPublic/Forum.php
  66. library/LiamW/StickyFirstPost/Extend/ControllerPublic/Forum.php
  67. library/rellect/NodesGrid/XenForo/ControllerPublic/Forum.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/Dark/PostRating/Model/User.php
  74. library/Esthetic/CS/Model/User.php
  75. library/XenGallery/Model/User.php
  76. library/XenForo/Permission.php
  77. library/XenForo/Helper/Php.php
  78. library/XenForo/Phrase.php
  79. library/XenForo/Locale.php
  80. library/Snog/CountryFlags/Listener/Visitor.php
  81. library/Snog/CountryFlags/Listener/Includes/Reader.php
  82. library/Snog/CountryFlags/Listener/Includes/Reader/Decoder.php
  83. library/Snog/CountryFlags/Listener/Includes/Reader/InvalidDatabaseException.php
  84. library/Snog/CountryFlags/Listener/Includes/Reader/Metadata.php
  85. library/Snog/CountryFlags/Listener/Includes/Reader/Util.php
  86. library/XenForo/ControllerHelper/ForumThreadPost.php
  87. library/XenForo/ControllerHelper/Abstract.php
  88. library/XenForo/Model/Forum.php
  89. library/Esthetic/CS/Model/Forum.php
  90. library/LiamW/StickyFirstPost/Extend/Model/Forum.php
  91. library/XenForo/ControllerResponse/Reroute.php
  92. library/XenForo/ControllerResponse/Abstract.php
  93. library/XenForo/Model/Thread.php
  94. library/Snog/CountryFlags/Listener/Thread.php
  95. library/Dark/PostRating/Model/Thread.php
  96. library/Esthetic/CS/Model/Thread.php
  97. library/Snog/CountryFlags/Model/Thread.php
  98. library/Dark/PostRating/Model.php
  99. library/XenForo/Model/Node.php
  100. library/ThemeHouse/Thumbnails/Extend/XenForo/Model/Node.php
  101. library/XenForo/NodeHandler/Forum.php
  102. library/XenForo/NodeHandler/Abstract.php
  103. library/XenForo/Helper/String.php
  104. library/XenForo/Route/Prefix/Categories.php
  105. library/XenForo/ControllerResponse/View.php
  106. library/ThemeHouse/Thumbnails/Model/Thumbnails.php
  107. library/XenForo/Model/Attachment.php
  108. library/ThemeHouse/Thumbnails/Extend/XenForo/Model/Attachment.php
  109. library/XenForo/Model/Post.php
  110. library/Snog/CountryFlags/Listener/Post.php
  111. library/Dark/PostRating/Model/Post.php
  112. library/ThemeHouse/Helper/Php.php
  113. library/ThemeHouse/Helper/Php/20160301.php
  114. library/XenForo/Helper/Cookie.php
  115. library/XenForo/ViewRenderer/HtmlPublic.php
  116. library/XenForo/ViewRenderer/Abstract.php
  117. library/XenForo/Template/Public.php
  118. library/XenForo/Template/Abstract.php
  119. library/WidgetFramework/Core.php
  120. library/XenForo/Model/Moderator.php
  121. library/WhoHasVisited/Listener.php
  122. library/WidgetFramework/Model/Widget.php
  123. library/WidgetFramework/Helper/Sort.php
  124. library/XenForo/ViewPublic/Forum/View.php
  125. library/XenForo/ViewPublic/Base.php
  126. library/XenForo/View.php
  127. library/Esthetic/CS/Listener/View.php
  128. library/Esthetic/CS/ViewPublic/Forum/View.php
  129. library/XenForo/ViewPublic/Helper/Node.php
  130. library/ThemeHouse/Thumbnails/Listener/TemplateCreate.php
  131. library/ThemeHouse/Listener/TemplateCreate.php
  132. library/ThemeHouse/Listener/TemplateCreate/20150106.php
  133. library/XenForo/Route/Prefix/Members.php
  134. library/SvgRadioRecord/RadioRecordNavigation.php
  135. library/Esthetic/CS/Listener/Navigation.php
  136. library/OXY/News/Listener.php
  137. library/bdMedal/Option.php
  138. library/WidgetFramework/Template/Extended.php
  139. library/YoutubeVideo/Listener/Listener.php
  140. library/ThemeHouse/Thumbnails/Listener/TemplateHook.php
  141. library/ThemeHouse/Listener/TemplateHook.php
  142. library/ThemeHouse/Listener/TemplateHook/20150106.php
  143. library/ThemeHouse/Listener/Template.php
  144. library/ThemeHouse/Listener/Template/20150106.php
  145. library/Esthetic/CS/Listener/Hook.php
  146. library/ThemesCorp/Slider/Listener.php
  147. library/ThemeHouse/Thumbnails/Listener/TemplatePostRender.php
  148. library/ThemeHouse/Listener/TemplatePostRender.php
  149. library/ThemeHouse/Listener/TemplatePostRender/20150106.php
  150. library/Esthetic/CS/Listener/PostRender.php
  151. library/XenForo/Route/Prefix/Posts.php
  152. library/XenForo/Route/Prefix/Threads.php
  153. library/XenForo/Debug.php
  154. library/XenForo/ViewRenderer/Json.php