Page Time: 0.3427s

Memory: 8.1081 MB (Peak: 8.6110 MB)

Queries (13, time: 0.0792s, 23.1%)

  1. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000402
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  2. SELECT thread.*
    	,
    		user.gender, user.avatar_date, user.gravatar,
    		NULL AS thread_read_date,
    		0 AS thread_reply_banned,
    		0 AS thread_is_watched,
    		'' AS draft_message, NULL AS draft_extra
    FROM xf_thread AS thread
    
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = thread.user_id)
    WHERE thread.thread_id = ?
    Params: 189499
    Run Time: 0.001239
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
  3. SELECT node.*, forum.*
    	,
    	permission.cache_value AS node_permission_cache,
    		NULL AS forum_read_date
    FROM xf_forum AS forum
    INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
    
    	LEFT JOIN xf_permission_cache_content AS permission
    		ON (permission.permission_combination_id = 1
    			AND permission.content_type = 'node'
    			AND permission.content_id = forum.node_id)
    WHERE node.node_id = ?
    Params: 32
    Run Time: 0.000724
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  4. SELECT post.*
    	,
    		bb_code_parse_cache.parse_tree AS message_parsed, bb_code_parse_cache.cache_version AS message_cache_version,
    		user.*, IF(user.username IS NULL, post.username, user.username) AS username,
    		user_profile.*,
    		user_privacy.*,
    		signature_parse_cache.parse_tree AS signature_parsed, bb_code_parse_cache.cache_version AS signature_cache_version,
    		session_activity.view_date AS last_view_date,
    		0 AS like_date
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (1,2,4,6,8)) as positive_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (14,12,13)) as negative_rating_count
    	
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (3)) as neutral_rating_count
    	,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    
    		LEFT JOIN xf_bb_code_parse_cache AS bb_code_parse_cache ON
    			(bb_code_parse_cache.content_type = 'post' AND bb_code_parse_cache.content_id = post.post_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 xf_bb_code_parse_cache AS signature_parse_cache ON
    			(signature_parse_cache.content_type = 'signature' AND signature_parse_cache.content_id = post.user_id)
    		LEFT JOIN xf_session_activity AS session_activity ON
    			(post.user_id > 0 AND session_activity.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.thread_id = ?
    	 AND (post.position >= 0 AND post.position < 40) 
    	AND (post.message_state IN ('visible'))
    ORDER BY post.position ASC, post.post_date ASC
    Params: 189499
    Run Time: 0.051087
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYpostrangethread_id_post_date,thread_id_positionthread_id_position8 3Using index condition; Using where; Using filesort
    PRIMARYbb_code_parse_cacheeq_refcontent_type_idcontent_type_id31const,valvetime_forums.post.post_id1Using where
    PRIMARYusereq_refPRIMARYPRIMARY4valvetime_forums.post.user_id1 
    PRIMARYuser_profileeq_refPRIMARYPRIMARY4valvetime_forums.post.user_id1 
    PRIMARYuser_privacyeq_refPRIMARYPRIMARY4valvetime_forums.post.user_id1 
    PRIMARYsignature_parse_cacheeq_refcontent_type_idcontent_type_id31const,valvetime_forums.post.user_id1Using where
    PRIMARYsession_activityrefPRIMARYPRIMARY4valvetime_forums.post.user_id11Using where
    PRIMARYpr_cacheeq_refPRIMARYPRIMARY4valvetime_forums.post.post_id1 
    PRIMARYpr2eq_refpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8valvetime_forums.post.post_id,const1 
    DEPENDENT SUBQUERYdark_postrating_counteq_refuser_id_ratinguser_id_rating8valvetime_forums.post.user_id,const1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4valvetime_forums.post.user_id1Using index condition
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4valvetime_forums.post.user_id1Using index condition
  5. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, 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 (3331108)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.021797
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition; Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4valvetime_forums.attachment.data_id1 
  6. INSERT DELAYED INTO xf_thread_view
    	(thread_id)
    VALUES
    	(?)
    Params: 189499
    Run Time: 0.001713
  7. 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, 6!, 6!, XenForo_ControllerPublic_Thread, Index, valid, thread_id=189499, 1455003218,
    Run Time: 0.000678
  8. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: uix_nodeCache
    Run Time: 0.000237
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLE       Impossible WHERE noticed after reading const tables
  9. SELECT *
    FROM uix_node_layout
    Run Time: 0.000196
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuix_node_layoutALL    2 
  10. SELECT node.*,
    	node_field.uix_node_icons,
    	node_field.uix_styling,
    	node_field.collapsed
    FROM xf_node AS node
    LEFT JOIN uix_node_fields AS node_field ON (node.node_id = node_field.node_id)
    Run Time: 0.000462
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEnodeALL    57 
    SIMPLEnode_fieldeq_refPRIMARYPRIMARY4valvetime_forums.node.node_id1 
  11. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 91
    Run Time: 0.000220
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  12. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 2
    Run Time: 0.000234
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  13. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 99
    Run Time: 0.000233
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 

Included Files (135, XenForo Classes: 63)

  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/Memcached.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/XenForo/CodeEvent.php
  25. library/XenForo/Options.php
  26. library/XenForo/Link.php
  27. library/XenForo/Template/Helper/Core.php
  28. library/Audentio/UIX/Listener/CodeEvent.php
  29. library/CTA/FeaturedThreads/Listener.php
  30. library/XenDevTools/Listener.php
  31. library/Steam/Listener.php
  32. library/WidgetFramework/Listener.php
  33. library/WidgetFramework/Option.php
  34. library/HtmlCustomTitles/Listener.php
  35. library/XenForo/Router.php
  36. library/XenForo/Route/Filter.php
  37. library/XenForo/Route/Interface.php
  38. library/XenForo/Route/ResponseSuffix.php
  39. library/XenForo/Route/Prefix.php
  40. library/WidgetFramework/Route/Filter/PageX.php
  41. library/XenForo/Route/Prefix/Threads.php
  42. library/XenForo/RouteMatch.php
  43. library/XenForo/ControllerPublic/Thread.php
  44. library/XenForo/ControllerPublic/Abstract.php
  45. library/XenForo/Controller.php
  46. library/Dark/PostRating/EventListener.php
  47. library/WidgetFramework/XenForo/ControllerPublic/Thread.php
  48. library/CTA/FeaturedThreads/ControllerPublic/Thread.php
  49. library/XenForo/Input.php
  50. library/XenForo/Session.php
  51. library/Zend/Db.php
  52. library/Zend/Db/Adapter/Mysqli.php
  53. library/Zend/Db/Adapter/Abstract.php
  54. library/Zend/Db/Select.php
  55. library/Zend/Db/Expr.php
  56. library/Zend/Db/Profiler.php
  57. library/Zend/Db/Statement/Mysqli.php
  58. library/Zend/Db/Statement.php
  59. library/Zend/Db/Statement/Interface.php
  60. library/XenForo/Helper/Ip.php
  61. library/XenForo/Visitor.php
  62. library/XenForo/Model/User.php
  63. library/Audentio/UIX/Model/User.php
  64. library/Dark/PostRating/Model/User.php
  65. library/WidgetFramework/XenForo/Model/User.php
  66. library/CTA/FeaturedThreads/Model/User.php
  67. library/Zend/Db/Profiler/Query.php
  68. library/XenForo/Permission.php
  69. library/XenForo/Phrase.php
  70. library/XenForo/Locale.php
  71. library/XenForo/ControllerHelper/ForumThreadPost.php
  72. library/XenForo/ControllerHelper/Abstract.php
  73. library/XenForo/Model/Thread.php
  74. library/Audentio/UIX/Model/Thread.php
  75. library/Dark/PostRating/Model/Thread.php
  76. library/WidgetFramework/XenForo/Model/Thread.php
  77. library/CTA/FeaturedThreads/Model/Thread.php
  78. library/Dark/PostRating/Model.php
  79. library/XenForo/Model/Forum.php
  80. library/XenForo/Helper/String.php
  81. library/XenForo/Model/Post.php
  82. library/Dark/PostRating/Model/Post.php
  83. library/XenForo/Model/Attachment.php
  84. library/XenForo/Route/Prefix/Attachments.php
  85. library/XenForo/Model/Node.php
  86. library/Audentio/UIX/Model/Node.php
  87. library/XenForo/Route/Prefix/Categories.php
  88. library/XenForo/Route/Prefix/Forums.php
  89. library/XenForo/ControllerResponse/View.php
  90. library/XenForo/ControllerResponse/Abstract.php
  91. library/CTA/FeaturedThreads/Model/Featured.php
  92. library/XenForo/Helper/Cookie.php
  93. library/XenForo/ViewRenderer/HtmlPublic.php
  94. library/XenForo/ViewRenderer/Abstract.php
  95. library/XenForo/Template/Public.php
  96. library/XenForo/Template/Abstract.php
  97. library/WidgetFramework/Core.php
  98. library/XenForo/Model/Moderator.php
  99. library/WidgetFramework/Model/Widget.php
  100. library/WidgetFramework/Helper/Sort.php
  101. library/WidgetFramework/WidgetRenderer.php
  102. library/XenForo/ViewPublic/Thread/View.php
  103. library/XenForo/ViewPublic/Base.php
  104. library/XenForo/View.php
  105. library/ControlNoFollow/Listener.php
  106. library/ControlNoFollow/ViewPublic/Thread/View.php
  107. library/WidgetFramework/XenForo/View1.php
  108. library/XenForo/BbCode/Parser.php
  109. library/XenForo/BbCode/Formatter/Base.php
  110. library/WidgetFramework/XenForo/BbCode/Formatter/Base.php
  111. library/XenForo/ViewPublic/Helper/Message.php
  112. library/XenForo/BbCode/TextWrapper.php
  113. library/Audentio/UIX/Model/NodeLayout.php
  114. library/XenForo/Route/Prefix/Members.php
  115. library/XenForo/Model/StyleProperty.php
  116. library/WidgetFramework/Template/Extended.php
  117. library/XenForo/Template/FileHandler.php
  118. library/XenForo/Helper/File.php
  119. internal_data/templates/S.16,L.1,thread_view.php
  120. library/XenForo/Model/Avatar.php
  121. library/XenForo/Route/Prefix/Posts.php
  122. library/HtmlCustomTitles/Template/Helper/Core.php
  123. library/HtmlCustomTitles/Model/Permission.php
  124. internal_data/templates/S.16,L.1,dark_postrating_message_user_info.php
  125. internal_data/templates/S.16,L.1,dark_postrating.php
  126. internal_data/templates/S.16,L.1,bb_code_tag_quote.php
  127. library/WidgetFramework/WidgetRenderer/Empty.php
  128. library/XenForo/Debug.php
  129. internal_data/templates/S.16,L.1,PAGE_CONTAINER.php
  130. internal_data/templates/S.16,L.1,cta_featuredthreads_navigation_tab_links.php
  131. internal_data/templates/S.16,L.1,dark_postrating_navigation_visitor_tab.php
  132. library/YouTubeBlock/Callback/YouTube.php
  133. internal_data/templates/S.16,L.1,youtubeblock_sidebar_content.php
  134. library/Zend/Exception.php
  135. library/XenForo/ViewRenderer/Json.php