Page Time: 1.0611s

Memory: 10.6432 MB (Peak: 35.7066 MB)

Queries (17, time: 0.1170s, 11.0%)

  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.004399
    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.004970
    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,
    		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 tr_thread_rate AS rate ON (rate.thread_id = thread.thread_id)
    WHERE thread.thread_id = ?
    Params: 274806
    Run Time: 0.004878
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLErateconstPRIMARYPRIMARY4const0unique row not found
  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: 133
    Run Time: 0.005320
    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)
    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: 274806
    Run Time: 0.005242
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostrefthread_id_post_date,thread_id_positionthread_id_post_date4const1Using where; Using filesort
    SIMPLEusereq_refPRIMARYPRIMARY4hainamco_bds.post.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4hainamco_bds.post.user_id1 
    SIMPLEuser_privacyeq_refPRIMARYPRIMARY4hainamco_bds.post.user_id1 
    SIMPLEsession_activityrefPRIMARYPRIMARY4hainamco_bds.post.user_id28Using where
  6. INSERT DELAYED INTO xf_thread_view
    	(thread_id)
    VALUES
    	(?)
    Params: 274806
    Run Time: 0.000234
  7. SELECT `thread_id`, `title`, `view_count`, `post_date`
    FROM `xf_thread`
    WHERE `node_id` = 133
    ORDER BY `post_date` DESC
    LIMIT 0, 10
    Run Time: 0.000225
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_threadindexnode_id_last_post_date,node_id_sticky_state_last_postpost_date4 948Using where
  8. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('chip_morethread_latest')
    Params: 2
    Run Time: 0.000311
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledconstPRIMARYPRIMARY106const,const1 
  9. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 1cd13ca77bd0f42a1bf4901f4347d43d, , 1560906466
    Run Time: 0.000410
  10. 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=274806, 1560902866,
    Run Time: 0.042449
  11. select value, hits 
    from dark_azucloud_terms_pages pages 
    left join dark_azucloud_terms terms on pages.term_id = terms.id 
    where route = ? and terms.block = 0 and terms.value is not null and last_clicked > ? 
    order by hits desc, last_clicked desc
    limit ?
    Params: threads/lakmobile-binh-duong-bao-gia-thang-5-2019.274806/, 1558310867, 10
    Run Time: 0.004985
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpagesrefterm_id_route,route,route_hits_last_clickedroute_hits_last_clicked452const1Using where
    SIMPLEtermseq_refPRIMARY,value,blockPRIMARY4hainamco_bds.pages.term_id1Using where
  12. 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', 'chip_morethreads', 'wf_widget_wrapper', 'wf_widget_threads', 'wf_widget_online_users', 'wf_widget_stats', 'thread_view', 'xenCODE_Meta_Keywords', 'wf_hook_moderator_bar', 'wf_revealer', 'threadrating_rate', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 13, 2
    Run Time: 0.001176
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 18Using where
  13. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('wfc__1_thread_view')
    Run Time: 0.006255
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  14. SELECT session_activity.*
    	,
    	user.*
    FROM xf_session_activity AS session_activity
    
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = session_activity.user_id)
    WHERE (session_activity.view_date > 1560730066)
    ORDER BY session_activity.view_date DESC
    Run Time: 0.035670
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangeview_dateview_date4 2844Using where
    SIMPLEusereq_refPRIMARYPRIMARY4hainamco_bds.session_activity.user_id1 
  15. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: boardTotals
    Run Time: 0.000176
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  16. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('members_online_now', 'forum_statistics')
    Params: 2
    Run Time: 0.000137
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledrangePRIMARYPRIMARY106 2Using where
  17. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('dark_azucloud')
    	AND style_id = ?
    	AND language_id = ?
    Params: 13, 2
    Run Time: 0.000157
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (123, XenForo Classes: 60)

  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. hn/cf/cfhn.php
  9. library/XenForo/FrontController.php
  10. library/XenForo/Dependencies/Public.php
  11. library/XenForo/Dependencies/Abstract.php
  12. library/Zend/Controller/Request/Http.php
  13. library/Zend/Controller/Request/Abstract.php
  14. library/Zend/Uri.php
  15. library/Zend/Controller/Response/Http.php
  16. library/Zend/Controller/Response/Abstract.php
  17. library/XenForo/Model/DataRegistry.php
  18. library/XenForo/Model.php
  19. library/Zend/Db.php
  20. library/Zend/Db/Adapter/Mysqli.php
  21. library/Zend/Db/Adapter/Abstract.php
  22. library/Zend/Db/Select.php
  23. library/Zend/Db/Expr.php
  24. library/Zend/Db/Profiler.php
  25. library/Zend/Db/Statement/Mysqli.php
  26. library/Zend/Db/Statement.php
  27. library/Zend/Db/Statement/Interface.php
  28. library/Zend/Db/Profiler/Query.php
  29. library/XenForo/CodeEvent.php
  30. library/XenForo/Options.php
  31. library/XenForo/Link.php
  32. library/XenForo/Template/Helper/Core.php
  33. library/WidgetFramework/Listener.php
  34. library/WidgetFramework/Option.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/ChipXF/MoreThread/Listener.php
  47. library/Brivium/CaptchaPosting/EventListeners/Listener.php
  48. library/Brivium/BriviumLibrary/EventListeners.php
  49. library/xenCODE/AutoPing/Listener.php
  50. library/ThreadRating/Listener/Class.php
  51. library/ChipXF/MoreThread/ControllerPublic/Thread.php
  52. library/WidgetFramework/XenForo/ControllerPublic/Thread.php
  53. library/Brivium/CaptchaPosting/ControllerPublic/Thread.php
  54. library/ThreadRating/ControllerPublic/Thread.php
  55. library/XenForo/Input.php
  56. library/XenForo/Session.php
  57. library/XenForo/Helper/Ip.php
  58. library/XenForo/Visitor.php
  59. library/XenForo/Model/User.php
  60. library/VietXfAdvStats/Listener.php
  61. library/WidgetFramework/XenForo/Model/User.php
  62. library/VietXfAdvStats/XenForo/Model/User.php
  63. library/XenForo/Permission.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/WidgetFramework/XenForo/Model/Thread.php
  70. library/VietXfAdvStats/XenForo/Model/Thread.php
  71. library/ThreadRating/Model/Thread.php
  72. library/XenForo/Model/Forum.php
  73. library/XenForo/Helper/String.php
  74. library/XenForo/Model/Post.php
  75. library/XenForo/Model/Attachment.php
  76. library/XenForo/Model/Node.php
  77. library/XenForo/Route/Prefix/Categories.php
  78. library/XenForo/Route/Prefix/Forums.php
  79. library/Brivium/CaptchaPosting/Model/Captcha.php
  80. library/XenForo/ControllerResponse/View.php
  81. library/XenForo/ControllerResponse/Abstract.php
  82. library/ChipXF/MoreThread/Model/Thread.php
  83. library/XenForo/Helper/Cookie.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/WidgetFramework/Core.php
  89. library/XenForo/Model/Moderator.php
  90. library/WidgetFramework/Model/Widget.php
  91. library/WidgetFramework/Helper/Sort.php
  92. library/WidgetFramework/WidgetRenderer.php
  93. library/Dark/AzuCloud/EventListener/FrontControllerPreView.php
  94. library/Dark/AzuCloud/Model/Nakano.php
  95. library/XenForo/ViewPublic/Thread/View.php
  96. library/XenForo/ViewPublic/Base.php
  97. library/XenForo/View.php
  98. library/WidgetFramework/XenForo/View1.php
  99. library/XenForo/BbCode/Parser.php
  100. library/XenForo/BbCode/Formatter/Base.php
  101. library/WidgetFramework/XenForo/BbCode/Formatter/Base.php
  102. library/XenForo/ViewPublic/Helper/Message.php
  103. library/XenForo/BbCode/TextWrapper.php
  104. library/xenCODE/MetaKeywords/Listener.php
  105. library/WidgetFramework/WidgetRenderer/Threads.php
  106. library/WidgetFramework/Model/Cache.php
  107. library/WidgetFramework/WidgetRenderer/Html.php
  108. library/WidgetFramework/WidgetRenderer/OnlineUsers.php
  109. library/WidgetFramework/WidgetRenderer/Stats.php
  110. library/VietXfAdvStats/Model/GetUserGroup.php
  111. library/XenForo/Route/Prefix/Members.php
  112. library/WidgetFramework/Template/Extended.php
  113. library/ThreadRating/Listener/Template.php
  114. library/Dark/AzuCloud/EventListener/TemplateHook.php
  115. library/XenForo/Route/Prefix/Posts.php
  116. library/XenForo/Model/Avatar.php
  117. library/WidgetFramework/Helper/String.php
  118. library/Zend/Exception.php
  119. library/XenForo/Model/Session.php
  120. library/WidgetFramework/WidgetRenderer/Empty.php
  121. library/XenForo/Debug.php
  122. library/VietXfAdvStats/Option.php
  123. library/XenForo/ViewRenderer/Json.php