Page Time: 0.0682s

Memory: 4.9237 MB (Peak: 6.3475 MB)

Queries (11, time: 0.0042s, 6.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.000851
    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.000156
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. 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: 18829
    Run Time: 0.000334
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
  4. 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: 37
    Run Time: 0.000421
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  5. SELECT post.*
    	,
    		user.*, IF(user.username IS NULL, post.username, user.username) AS username,
    		user_profile.*,
    		user_privacy.*,
    		session_activity.view_date AS last_view_date,
    		0 AS like_date
    FROM xf_post AS post
    
    		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_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 < 15) 
    	AND (post.message_state IN ('visible'))
    ORDER BY post.position ASC, post.post_date ASC
    Params: 18829
    Run Time: 0.000942
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostrefthread_id_post_date,thread_id_positionthread_id_post_date4const1Using where; Using filesort
    SIMPLEusereq_refPRIMARYPRIMARY4tocbienc_bamvn.post.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4tocbienc_bamvn.post.user_id1 
    SIMPLEuser_privacyeq_refPRIMARYPRIMARY4tocbienc_bamvn.post.user_id1 
    SIMPLEsession_activityeq_refPRIMARYPRIMARY22tocbienc_bamvn.post.user_id,func1Using where
  6. INSERT DELAYED INTO xf_thread_view
    	(thread_id)
    VALUES
    	(?)
    Params: 18829
    Run Time: 0.000103
  7. SELECT thread_id, title, last_post_id , post_date 
    FROM `xf_thread` 
    WHERE node_id='37' 
    and thread_id <> '18829'
    and post_date < '1394986456'
    ORDER BY post_date DESC 
    LIMIT 5  OFFSET 0
    Run Time: 0.000400
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_threadrangePRIMARY,node_id_last_post_date,node_id_sticky_state_last_post,post_datepost_date4 12912Using where
  8. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: d32205415bbc87c9b5f6a13dce5c6500, , 1508538122
    Run Time: 0.000169
  9. 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=18829, 1508534522,
    Run Time: 0.000108
  10. 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', 'quattro_bbcode_xtable', 'wf_widget_wrapper', 'wf_widget_threads', '_widget_renderer_template_23', 'MoreThread_main', 'thread_view', '_widget_renderer_template_24', '_widget_renderer_template_26', 'wf_widget_group_wrapper', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 14, 3
    Run Time: 0.000519
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 17Using where
  11.                 SELECT *
                    FROM `xf_widgetframework_cache`
                    WHERE cache_id IN ('thread_view_pc1')
    Run Time: 0.000168
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_widgetframework_cacheconstPRIMARYPRIMARY767const1 

Included Files (119, 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/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/WidgetFramework/Listener.php
  33. library/WidgetFramework/Option.php
  34. library/Sedo/TinyQuattro/Listener/AllInOne.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/XenForo/Route/Prefix/Threads.php
  41. library/XenForo/RouteMatch.php
  42. library/XenForo/ControllerPublic/Thread.php
  43. library/XenForo/ControllerPublic/Abstract.php
  44. library/XenForo/Controller.php
  45. library/LilTee/LimitPostLink/Listener/Listener.php
  46. library/VNXF/Download/Listener.php
  47. library/VietXf/MoreThread/Listener.php
  48. library/LilTee/LimitPostLink/ControllerPublic/Thread.php
  49. library/VietXf/MoreThread/ControllerPublic/Thread.php
  50. library/WidgetFramework/XenForo/ControllerPublic/Thread.php
  51. library/XenForo/Input.php
  52. library/XenForo/Session.php
  53. library/XenForo/Helper/Ip.php
  54. library/XenForo/Visitor.php
  55. library/XenForo/Model/User.php
  56. library/XenForo/Permission.php
  57. library/XenForo/Helper/Php.php
  58. library/XenForo/Phrase.php
  59. library/XenForo/Locale.php
  60. library/XenForo/ControllerHelper/ForumThreadPost.php
  61. library/XenForo/ControllerHelper/Abstract.php
  62. library/XenForo/Model/Thread.php
  63. library/XenForo/Model/Forum.php
  64. library/XenForo/Helper/String.php
  65. library/XenForo/Model/Post.php
  66. library/XenForo/Model/Attachment.php
  67. library/XenForo/Model/Node.php
  68. library/XenForo/Route/Prefix/Categories.php
  69. library/XenForo/Route/Prefix/Forums.php
  70. library/XenForo/ControllerResponse/View.php
  71. library/XenForo/ControllerResponse/Abstract.php
  72. library/VietXf/MoreThread/Model/MoreThread.php
  73. library/XenForo/Helper/Cookie.php
  74. library/XenForo/ViewRenderer/HtmlPublic.php
  75. library/XenForo/ViewRenderer/Abstract.php
  76. library/XenForo/Template/Public.php
  77. library/XenForo/Template/Abstract.php
  78. library/WidgetFramework/Core.php
  79. library/XenForo/Model/Moderator.php
  80. library/WidgetFramework/Model/Widget.php
  81. library/WidgetFramework/Helper/Sort.php
  82. library/XenForo/ViewPublic/Thread/View.php
  83. library/XenForo/ViewPublic/Base.php
  84. library/XenForo/View.php
  85. library/Dark/ParseHTML/EventListener.php
  86. library/Dark/ParseHTML/ViewPublic/Thread/View.php
  87. library/Dark/ParseHTML/BbCode/Formatter/Ritsu.php
  88. library/XenForo/BbCode/Formatter/Base.php
  89. library/WidgetFramework/XenForo/BbCode/Formatter/Base.php
  90. library/Sedo/TinyQuattro/BbCode/Formatter/Base.php
  91. library/Sedo/TinyQuattro/Helper/Quattro.php
  92. library/Sedo/TinyQuattro/Helper/BbCodes.php
  93. library/Dark/ParseHTML/BbCode/Parser.php
  94. library/XenForo/BbCode/Parser.php
  95. library/Dark/ParseHTML/ViewPublic/Helper/Message.php
  96. library/XenForo/BbCode/TextWrapper.php
  97. library/Dark/ParseHTML/BbCode/TextWrapper.php
  98. library/WidgetFramework/WidgetRenderer.php
  99. library/WidgetFramework/WidgetRenderer/Threads.php
  100. library/WidgetFramework/Helper/PermissionCombination.php
  101. library/WidgetFramework/Model/Cache.php
  102. library/WidgetFramework/WidgetRenderer/TemplateWithoutWrapper.php
  103. library/WidgetFramework/WidgetRenderer/Template.php
  104. library/WidgetFramework/Model/WidgetRenderer/Template.php
  105. library/XenForo/Route/Prefix/Members.php
  106. library/WidgetFramework/WidgetGroup.php
  107. library/WidgetFramework/Template/Extended.php
  108. library/Sedo/TinyQuattro/Listener/Templates/Preloader.php
  109. library/XenForo/Route/Prefix/Posts.php
  110. library/WidgetFramework/Helper/String.php
  111. library/XenForo/Helper/File.php
  112. library/WidgetFramework/DataWriter/Widget.php
  113. library/XenForo/DataWriter.php
  114. library/XenForo/Helper/Criteria.php
  115. library/XenForo/Debug.php
  116. library/WidgetFramework/Helper/Conditional.php
  117. library/XenForo/Template/Compiler/Function/Helper.php
  118. library/XenForo/Template/Compiler/Function/Interface.php
  119. library/XenForo/ViewRenderer/Json.php