Page Time: 5.1201s

Memory: 2.6335 MB (Peak: 3.7229 MB)

Queries (8, time: 5.0940s, 99.5%)

  1. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.001130
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  2. SELECT profile_post.*
    	,
    	posting_user.*,
    	IF(posting_user.username IS NULL, profile_post.username, posting_user.username) AS username,
    	receiving_user.username
    		AS profile_username,
    	receiving_user.gender
    		AS profile_gender,
    	receiving_user.user_state
    		AS profile_user_state,
    	receiving_user.user_group_id
    		AS profile_user_group_id,
    	receiving_user.secondary_group_ids
    		AS profile_secondary_group_ids,
    	receiving_user.display_style_group_id
    		AS profile_display_style_group_id,
    	receiving_user.is_banned
    		AS profile_is_banned,
    	receiving_user.is_admin
    		AS profile_is_admin,
    	receiving_user.is_moderator
    		AS profile_is_moderator,
    	receiving_user.avatar_date
    		AS profile_avatar_date,
    	receiving_user.gravatar
    		AS profile_gravatar,
    	receiving_user.warning_points
    		AS profile_warning_points,
    	receiving_user.permission_combination_id
    		AS profile_permission_combination_id,
    	receiving_user_privacy.allow_view_profile
    		AS profile_allow_view_profile,
    	receiving_user_privacy.allow_post_profile
    		AS profile_allow_post_profile,
    	receiving_user_privacy.allow_send_personal_conversation
    		AS profile_allow_send_personal_conversation,
    	receiving_user_privacy.allow_view_identities
    		AS profile_allow_view_identities,
    	receiving_user_privacy.allow_receive_news_feed
    		AS profile_allow_allow_receive_news_feed,
    	IF (receiving_user_follow.follow_user_id, 1, 0)
    		AS following_0
    FROM xf_profile_post AS profile_post
    
    	LEFT JOIN xf_user AS posting_user ON
    		(posting_user.user_id = profile_post.user_id)
    	LEFT JOIN xf_user AS receiving_user ON
    		(receiving_user.user_id = profile_post.profile_user_id)
    	LEFT JOIN xf_user_privacy AS receiving_user_privacy ON
    		(receiving_user_privacy.user_id = profile_post.profile_user_id)
    	LEFT JOIN xf_user_follow AS receiving_user_follow ON
    		(receiving_user_follow.user_id = profile_post.profile_user_id AND follow_user_id = 0)
    WHERE (profile_post.message_state IN ('visible'))
    ORDER BY profile_post.post_date DESC
     LIMIT 10
    Run Time: 5.086736
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEprofile_postALL    22610Using where; Using temporary; Using filesort
    SIMPLEposting_usereq_refPRIMARYPRIMARY4chanpro.profile_post.user_id1 
    SIMPLEreceiving_usereq_refPRIMARYPRIMARY4chanpro.profile_post.profile_user_id1 
    SIMPLEreceiving_user_privacyeq_refPRIMARYPRIMARY4chanpro.profile_post.profile_user_id1 
    SIMPLEreceiving_user_followrangePRIMARY,follow_user_idfollow_user_id4 1Using where; Using index; Using join buffer (flat, BNL join)
  3. SELECT thread.*
    	,
    	last_post_user.gender AS last_post_gender,
    	last_post_user.avatar_date AS last_post_avatar_date,
    	last_post_user.gravatar AS last_post_gravatar,
    	IF(last_post_user.username IS NULL, thread.last_post_username, last_post_user.username) AS last_post_username,
    	node.title AS node_title, node.node_name,
    	forum.*,
    	forum.last_post_id AS forum_last_post_id,
    	forum.last_post_date AS forum_last_post_date,
    	forum.last_post_user_id AS forum_last_post_user_id,
    	forum.last_post_username AS forum_last_post_username,
    	forum.last_thread_title AS forum_last_thread_title,
    	thread.last_post_id,
    	thread.last_post_date,
    	thread.last_post_user_id,
    	thread.last_post_username,
    	NULL AS thread_read_date,
    permission.cache_value AS node_permission_cache
    FROM xf_thread AS thread FORCE INDEX (last_post_date)
    
    	LEFT JOIN xf_user AS last_post_user ON
    		(last_post_user.user_id = thread.last_post_user_id)
    	LEFT JOIN xf_node AS node ON
    		(node.node_id = thread.node_id)
    	LEFT JOIN xf_forum AS forum ON
    		(forum.node_id = thread.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 = thread.node_id)
    WHERE (thread.discussion_type <> 'redirect') AND (thread.discussion_state IN ('visible')) AND (thread.last_post_date > 1709104039) AND (forum.find_new = 1)
    ORDER BY thread.last_post_date DESC
     LIMIT 10
    Run Time: 0.001240
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangelast_post_datelast_post_date4 9Using where
    SIMPLEforumeq_refPRIMARYPRIMARY4chanpro.thread.node_id1Using where
    SIMPLElast_post_usereq_refPRIMARYPRIMARY4chanpro.thread.last_post_user_id1 
    SIMPLEnodeeq_refPRIMARYPRIMARY4chanpro.thread.node_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,chanpro.thread.node_id1Using where
  4. SELECT *
    FROM xf_node
    WHERE display_in_list = 1
    ORDER BY lft ASC
    Run Time: 0.001370
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_nodeALLdisplay_in_list   62Using where; Using filesort
  5. SELECT content_id, cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = 'node'
    Params: 1
    Run Time: 0.001025
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentrefPRIMARYPRIMARY31const,const62Using where
  6. SELECT forum.*
    	,
    		NULL AS forum_read_date
    FROM xf_forum AS forum
    INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
    
    WHERE forum.node_id IN (85, 30, 87, 129, 29, 89, 116, 135, 33, 121, 137, 38, 99, 131, 39, 40, 114, 37, 81, 82, 111, 118, 127, 128)
    Run Time: 0.000643
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumALLPRIMARY   30Using where
    SIMPLEnodeeq_refPRIMARYPRIMARY4chanpro.forum.node_id1Using index
  7. 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 > 1711692439)
    ORDER BY session_activity.view_date DESC
    Run Time: 0.001538
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangeview_dateview_date4 340Using where
    SIMPLEusereq_refPRIMARYPRIMARY4chanpro.session_activity.user_id1 
  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, , , SD_ControllerPublic_Game, DienDan, valid, , 1711696039,
    Run Time: 0.000299

Included Files (123, XenForo Classes: 66)

  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/SD/Visitor/Autoloader.php
  9. library/SD/Visitor/VS_Controller.php
  10. library/SD/Visitor/VS_Model.php
  11. library/XenForo/Model.php
  12. library/SD/Visitor/VS_Helper.php
  13. library/SD/Visitor/VS_User_Agent.php
  14. library/SD/Visitor/config/user_agents.php
  15. library/XenForo/FrontController.php
  16. library/XenForo/Dependencies/Public.php
  17. library/XenForo/Dependencies/Abstract.php
  18. library/Zend/Controller/Request/Http.php
  19. library/Zend/Controller/Request/Abstract.php
  20. library/Zend/Uri.php
  21. library/Zend/Controller/Response/Http.php
  22. library/Zend/Controller/Response/Abstract.php
  23. library/XenForo/Model/DataRegistry.php
  24. library/Zend/Cache.php
  25. library/Zend/Cache/Backend/Apcu.php
  26. library/Zend/Cache/Backend/ExtendedInterface.php
  27. library/Zend/Cache/Backend/Interface.php
  28. library/Zend/Cache/Backend.php
  29. library/Zend/Cache/Core.php
  30. library/XenForo/CodeEvent.php
  31. library/XenForo/Options.php
  32. library/XenForo/Link.php
  33. library/XenForo/Template/Helper/Core.php
  34. library/Tinhte/AttachImageOptimization/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/XenForo/RouteMatch.php
  41. library/SD/Route/Prefix/Game.php
  42. library/KingK/BbCodeManager/Protection/Helper/ContentProtection.php
  43. library/SD/ControllerPublic/Game.php
  44. library/XenForo/ControllerPublic/Abstract.php
  45. library/XenForo/Controller.php
  46. library/KingK/BbCodeManager/EventListener/BbCode.php
  47. library/KingK/BbCodeManager/EventListener/Controller.php
  48. library/XenForo/Input.php
  49. library/XenForo/Session.php
  50. library/Zend/Db.php
  51. library/Zend/Db/Adapter/Mysqli.php
  52. library/Zend/Db/Adapter/Abstract.php
  53. library/Zend/Db/Select.php
  54. library/Zend/Db/Expr.php
  55. library/Zend/Db/Profiler.php
  56. library/Zend/Db/Statement/Mysqli.php
  57. library/Zend/Db/Statement.php
  58. library/Zend/Db/Statement/Interface.php
  59. library/XenForo/Helper/Ip.php
  60. library/XenForo/Visitor.php
  61. library/XenForo/Model/User.php
  62. library/KingK/BbCodeManager/Protection/Listener/Models.php
  63. library/Zend/Db/Profiler/Query.php
  64. library/XenForo/Permission.php
  65. library/XenForo/Helper/Php.php
  66. library/XenForo/Phrase.php
  67. library/XenForo/Locale.php
  68. library/Sedo/DetectBrowser/Listener/Visitor.php
  69. library/Sedo/DetectBrowser/Helper/MobileDetect.php
  70. library/XenForo/Model/ProfilePost.php
  71. library/XenForo/Model/UserProfile.php
  72. library/XenForo/Model/Thread.php
  73. library/XenForo/Model/Forum.php
  74. library/XenForo/Helper/String.php
  75. library/XenForo/Model/Node.php
  76. library/XenForo/NodeHandler/Category.php
  77. library/XenForo/NodeHandler/Abstract.php
  78. library/XenForo/NodeHandler/Forum.php
  79. library/XenForo/NodeHandler/Page.php
  80. library/XenForo/NodeHandler/LinkForum.php
  81. library/XenForo/Model/Category.php
  82. library/XenForo/Model/Page.php
  83. library/XenForo/Model/LinkForum.php
  84. library/XenForo/Model/Session.php
  85. library/XenForo/ControllerResponse/View.php
  86. library/XenForo/ControllerResponse/Abstract.php
  87. library/XenForo/Helper/Cookie.php
  88. library/XenForo/ViewRenderer/HtmlPublic.php
  89. library/XenForo/ViewRenderer/Abstract.php
  90. library/XenForo/Template/Public.php
  91. library/XenForo/Template/Abstract.php
  92. library/KingK/BbCodeManager/EventListener/GetBbcmEditor.php
  93. library/XenForo/ViewPublic/Forum/List.php
  94. library/XenForo/ViewPublic/Base.php
  95. library/XenForo/View.php
  96. library/XenForo/ViewPublic/Helper/Node.php
  97. library/KingK/BbCodeManager/EventListener/Templates/Preloader.php
  98. library/XenForo/Route/Prefix/Members.php
  99. library/SD/Listener/Chanpro.php
  100. library/XenForo/Template/FileHandler.php
  101. library/XenForo/Helper/File.php
  102. internal_data/templates/S.2,L.3,forum_list.php
  103. library/KingK/BbCodeManager/EventListener/Templates/InitEditorGrid.php
  104. library/KingK/BbCodeManager/EventListener/Templates/Admin.php
  105. library/Tinhte/Html5Uploader/Listener.php
  106. internal_data/templates/S.2,L.3,node_category_level_1.php
  107. library/XenForo/Route/Prefix/Categories.php
  108. internal_data/templates/S.2,L.3,node_forum_level_2.php
  109. library/XenForo/Route/Prefix/Forums.php
  110. library/XenForo/Route/Prefix/Posts.php
  111. internal_data/templates/S.2,L.3,node_page_level_n.php
  112. library/XenForo/Route/Prefix/Pages.php
  113. internal_data/templates/S.2,L.3,node_forum_level_1.php
  114. internal_data/templates/S.2,L.3,node_link_level_2.php
  115. library/XenForo/Route/Prefix/LinkForums.php
  116. internal_data/templates/S.2,L.3,node_page_level_2.php
  117. library/XenForo/Model/Avatar.php
  118. library/XenForo/Route/Prefix/ProfilePosts.php
  119. library/XenForo/Debug.php
  120. internal_data/templates/S.2,L.3,PAGE_CONTAINER.php
  121. internal_data/templates/S.2,L.3,bbcm_js.php
  122. library/Tinhte/Html5Uploader/Template.php
  123. library/XenForo/ViewRenderer/Json.php