Page Time: 1.0608s

Memory: 3.3141 MB (Peak: 4.0454 MB)

Queries (9, time: 0.0156s, 1.5%)

  1. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'deferredRun', 'simpleCache', 'addOns', 'defaultStyleProperties', 'routesPublic', 'routeFiltersIn', 'routeFiltersOut', 'nodeTypes', 'bannedIps', 'discouragedIps', 'styles', 'displayStyles', 'userBanners', 'smilies', 'bbCode', 'threadPrefixes', 'trophyUserTitles', 'reportCounts', 'moderationCounts', 'userModerationCounts', 'notices', 'userFieldsInfo')
    Run Time: 0.000000
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryALLPRIMARY   28Using where
  2. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000000
    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_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: 17147
    Run Time: 0.000000
    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: 228
    Run Time: 0.000000
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  5. SELECT post.*
    	,
    		user.*, IF(user.username IS NULL, post.username, user.username) AS username,
    		user_profile.*,
    		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)
    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: 17147
    Run Time: 0.015600
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostrefthread_id_post_date,thread_id_positionthread_id_post_date4const1Using where; Using filesort
    SIMPLEusereq_refPRIMARYPRIMARY4diendan.post.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4diendan.post.user_id1 
  6. INSERT DELAYED INTO xf_thread_view
    	(thread_id)
    VALUES
    	(?)
    Params: 17147
    Run Time: 0.000000
  7. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 8bf6115d4e94e80302df284b93e65bde, , 1571872200
    Run Time: 0.000000
  8. 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=17147, 1571868600,
    Run Time: 0.000000
  9. 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', 'rotating_ads_second_post', 'thread_view', 'rotating_ads_slider', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 1, 2
    Run Time: 0.000000
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 11Using where

Included Files (85, XenForo Classes: 58)

  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\XenForo\Router.php
  33. library\XenForo\Route\Filter.php
  34. library\XenForo\Route\Interface.php
  35. library\XenForo\Route\ResponseSuffix.php
  36. library\XenForo\Route\Prefix.php
  37. library\XenForo\Route\Prefix\Threads.php
  38. library\XenForo\RouteMatch.php
  39. library\XenForo\ControllerPublic\Thread.php
  40. library\XenForo\ControllerPublic\Abstract.php
  41. library\XenForo\Controller.php
  42. library\XenForo\Input.php
  43. library\XenForo\Session.php
  44. library\XenForo\Helper\Ip.php
  45. library\XenForo\Visitor.php
  46. library\XenForo\Model\User.php
  47. library\VietXfAdvStats\Listener.php
  48. library\VietXfAdvStats\XenForo\Model\User.php
  49. library\XenForo\Permission.php
  50. library\XenForo\Phrase.php
  51. library\XenForo\Locale.php
  52. library\XenForo\ControllerHelper\ForumThreadPost.php
  53. library\XenForo\ControllerHelper\Abstract.php
  54. library\XenForo\Model\Thread.php
  55. library\VietXfAdvStats\XenForo\Model\Thread.php
  56. library\XenForo\Model\Forum.php
  57. library\XenForo\Helper\String.php
  58. library\XenForo\Model\Post.php
  59. library\XenForo\Model\Attachment.php
  60. library\XenForo\Model\Node.php
  61. library\XenForo\Route\Prefix\Categories.php
  62. library\XenForo\Route\Prefix\Forums.php
  63. library\XenForo\ControllerResponse\View.php
  64. library\XenForo\ControllerResponse\Abstract.php
  65. library\XenForo\Helper\Cookie.php
  66. library\XenForo\ViewRenderer\HtmlPublic.php
  67. library\XenForo\ViewRenderer\Abstract.php
  68. library\XenForo\Template\Public.php
  69. library\XenForo\Template\Abstract.php
  70. library\XenForo\ViewPublic\Thread\View.php
  71. library\XenForo\ViewPublic\Base.php
  72. library\XenForo\View.php
  73. library\XenForo\BbCode\Parser.php
  74. library\XenForo\BbCode\Formatter\Base.php
  75. library\XenForo\ViewPublic\Helper\Message.php
  76. library\XenForo\BbCode\TextWrapper.php
  77. library\RotatingAds\Listener.php
  78. library\XenForo\Route\Prefix\Members.php
  79. library\VietXfAdvStats\Option.php
  80. library\RotatingAds\Engine.php
  81. library\RotatingAds\Model.php
  82. library\XenForo\Route\Prefix\Posts.php
  83. library\XenForo\Model\Avatar.php
  84. library\XenForo\Debug.php
  85. library\XenForo\ViewRenderer\Json.php