Page Time: 0.0474s

Memory: 4.6342 MB (Peak: 4.9565 MB)

Queries (6, time: 0.0047s, 9.9%)

  1. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000175
    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,
    		IF(rate.count IS NULL, 0, rate.count) AS thread_rate_count, IF(rate.sum IS NULL, 0, rate.sum) AS thread_rate_sum, IF(rate.avg IS NULL, 0, rate.avg) AS thread_rate_avg
    FROM xf_thread AS thread
    
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = thread.user_id)
    		LEFT JOIN ns_threadrating_rate AS rate ON (rate.thread_id = thread.thread_id)
    WHERE thread.thread_id = ?
    Params: 22710
    Run Time: 0.000803
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLErateconstPRIMARYPRIMARY4const0Unique row not found
  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: 4
    Run Time: 0.000706
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    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
    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 AND session_activity.unique_key = CAST(post.user_id AS BINARY))
    WHERE post.thread_id = ?
    	 AND (post.position >= 0 AND post.position < 20) 
    	AND (post.message_state IN ('visible'))
    ORDER BY post.position ASC, post.post_date ASC
    Params: 22710
    Run Time: 0.002489
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostrefthread_id_post_date,thread_id_positionthread_id_post_date4const2Using where; Using filesort
    SIMPLEbb_code_parse_cacheeq_refcontent_type_idcontent_type_id31const,user_nextstagerussia.post.post_id1Using where
    SIMPLEusereq_refPRIMARYPRIMARY4user_nextstagerussia.post.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4user_nextstagerussia.post.user_id1 
    SIMPLEuser_privacyeq_refPRIMARYPRIMARY4user_nextstagerussia.post.user_id1 
    SIMPLEsignature_parse_cacheeq_refcontent_type_idcontent_type_id31const,user_nextstagerussia.post.user_id1Using where
    SIMPLEsession_activityeq_refPRIMARYPRIMARY22user_nextstagerussia.post.user_id,func1Using where
  5. INSERT DELAYED INTO xf_thread_view
    	(thread_id)
    VALUES
    	(?)
    Params: 22710
    Run Time: 0.000258
  6. 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_Thread, Index, valid, thread_id=22710, 1710832559,
    Run Time: 0.000261

Included Files (109, XenForo Classes: 61)

  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/NextStage/Feature/Listener/Feature.php
  29. library/XenForo/Router.php
  30. library/XenForo/Route/Filter.php
  31. library/XenForo/Route/Interface.php
  32. library/XenForo/Route/ResponseSuffix.php
  33. library/XenForo/Route/Prefix.php
  34. library/XenForo/Route/Prefix/Threads.php
  35. library/XenForo/RouteMatch.php
  36. library/XenForo/ControllerPublic/Thread.php
  37. library/XenForo/ControllerPublic/Abstract.php
  38. library/XenForo/Controller.php
  39. library/NextStage/ThreadRating/Listener/Class.php
  40. library/NextStage/TaigaChat/Listener.php
  41. library/NextStage/XenForo/Listener/XenForo.php
  42. library/Tapatalk/Listener/LoadClassModel.php
  43. library/NextStage/ThreadRating/ControllerPublic/Thread.php
  44. library/NextStage/XenForo/ControllerPublic/XenForo.php
  45. library/NextStage/XenForo/ControllerPublic/Thread.php
  46. library/XenForo/Input.php
  47. library/XenForo/Session.php
  48. library/Zend/Db.php
  49. library/Zend/Db/Adapter/Mysqli.php
  50. library/Zend/Db/Adapter/Abstract.php
  51. library/Zend/Db/Select.php
  52. library/Zend/Db/Expr.php
  53. library/Zend/Db/Profiler.php
  54. library/Zend/Db/Statement/Mysqli.php
  55. library/Zend/Db/Statement.php
  56. library/Zend/Db/Statement/Interface.php
  57. library/XenForo/Helper/Ip.php
  58. library/XenForo/Visitor.php
  59. library/XenForo/Model/User.php
  60. library/Dark/TaigaChat/EventListener/Listener.php
  61. library/Zend/Db/Profiler/Query.php
  62. library/XenForo/Permission.php
  63. library/XenForo/Helper/Php.php
  64. library/XenForo/Phrase.php
  65. library/XenForo/Locale.php
  66. library/XenForo/ControllerHelper/ForumThreadPost.php
  67. library/XenForo/ControllerHelper/Abstract.php
  68. library/XenForo/Model/Thread.php
  69. library/NextStage/ThreadRating/Model/Thread.php
  70. library/XenForo/Model/Forum.php
  71. library/XenForo/Helper/String.php
  72. library/XenForo/Model/Post.php
  73. library/NextStage/Feature/Model/Post.php
  74. library/NextStage/Feature/Model/Feature.php
  75. library/XenForo/Model/Attachment.php
  76. library/XenForo/Model/Node.php
  77. library/Tapatalk/Model/Node.php
  78. library/XenForo/Route/Prefix/Categories.php
  79. library/XenForo/Route/Prefix/Forums.php
  80. library/XenForo/ControllerResponse/View.php
  81. library/XenForo/ControllerResponse/Abstract.php
  82. library/XenForo/Helper/Cookie.php
  83. library/Tapatalk/Listener/ControllerPostDispatch.php
  84. library/XenForo/ViewRenderer/HtmlPublic.php
  85. library/XenForo/ViewRenderer/Abstract.php
  86. library/XenForo/Template/Public.php
  87. library/XenForo/Template/Abstract.php
  88. library/XenForo/ViewPublic/Thread/View.php
  89. library/XenForo/ViewPublic/Base.php
  90. library/XenForo/View.php
  91. library/XenForo/BbCode/Parser.php
  92. library/XenForo/BbCode/Formatter/Base.php
  93. library/XenForo/ViewPublic/Helper/Message.php
  94. library/XenForo/BbCode/TextWrapper.php
  95. library/XenForo/Route/Prefix/Members.php
  96. library/Dark/TaigaChat/EventListener/NavigationTabs.php
  97. library/NextStage/ThreadRating/Listener/Template.php
  98. library/XenForo/Template/FileHandler.php
  99. library/XenForo/Helper/File.php
  100. internal_data/templates/S.1,L.1,thread_view.php
  101. library/Tapatalk/EventListener/Hook.php
  102. library/XenForo/Route/Prefix/Posts.php
  103. internal_data/templates/S.1,L.1,nextstage_feature_post_private_controls.php
  104. library/Tapatalk/Listener/TemplatePostRender.php
  105. library/XenForo/Model/Avatar.php
  106. library/XenForo/Debug.php
  107. internal_data/templates/S.1,L.1,PAGE_CONTAINER.php
  108. mobiquo/smartbanner/head.inc.php
  109. library/XenForo/ViewRenderer/Json.php