Page Time: 0.1282s

Memory: 7.2431 MB (Peak: 8.9056 MB)

Queries (16, time: 0.0273s, 21.3%)

  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.000489
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryALLPRIMARY   34Using where
  2. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000203
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3.                 			                  SELECT user_point.*
                                                    
                                                    FROM xf_user_point AS user_point
                                                    
                                            WHERE 1=1
    Run Time: 0.008820
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_pointALL    10952 
  4. SELECT node.*, forum.*
    	,
    	permission.cache_value AS node_permission_cache,
    		NULL AS forum_read_date,
    		0 AS forum_is_watched
    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: 7
    Run Time: 0.000557
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  5. SELECT COUNT(*)
    FROM xf_thread AS thread
    
    WHERE (thread.node_id = 7) AND (thread.sticky = 0) AND (thread.discussion_state IN ('visible'))
    Run Time: 0.003271
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrefnode_id_last_post_date,node_id_sticky_state_last_postnode_id_sticky_state_last_post6const,const,const976Using where; Using index
  6. SELECT thread.*
    	,
    	user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
    	NULL AS thread_read_date,
    	0 AS thread_is_watched,
    	0 AS user_post_count
    FROM xf_thread AS thread 
    
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = thread.user_id)
    WHERE (thread.node_id = 7) AND (thread.sticky = 0) AND (thread.discussion_state IN ('visible'))
    ORDER BY thread.last_post_date DESC
     LIMIT 20 OFFSET 600
    Run Time: 0.004232
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrefnode_id_last_post_date,node_id_sticky_state_last_postnode_id_sticky_state_last_post6const,const,const976Using where
    SIMPLEusereq_refPRIMARYPRIMARY4dien7104_tailieu.thread.user_id1 
  7. SELECT *
    FROM xf_node
    WHERE lft > ? AND rgt < ?
    	 AND display_in_list = 1
    ORDER BY lft ASC
    Params: 124, 331
    Run Time: 0.001452
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_nodeALLdisplay_in_list,lft   374Using where; Using filesort
  8. SELECT content_id, cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = 'node'
    Params: 1
    Run Time: 0.001164
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentrefPRIMARYPRIMARY31const,const788Using where
  9. 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 (76, 240, 156, 213, 214, 241, 215, 216, 261, 295, 332, 217, 218, 298, 318, 224, 253, 266, 288, 289, 297, 310, 311, 312, 328, 329, 333, 335, 340, 343, 344, 345, 347, 372, 373, 374, 375, 378, 379, 254, 255, 262, 43, 281, 282, 290, 291, 292, 294, 304, 315, 316, 334, 336, 337, 346, 350, 351, 353, 355, 376, 380, 381, 251, 80, 256, 183, 234, 91, 201, 348, 188, 195, 377, 189, 190, 191, 192, 193, 194, 230, 231, 243, 46, 302, 57, 317, 220, 77, 51, 64, 207, 211, 212, 138, 160, 163, 309, 219, 169, 286, 222)
    Run Time: 0.002237
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumALLPRIMARY   364Using where
    SIMPLEnodeeq_refPRIMARYPRIMARY4dien7104_tailieu.forum.node_id1Using index
  10. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: fde55cc7015c6d9181af1c0b66c3c9cc, , 1714845896
    Run Time: 0.000355
  11. 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_Forum, Forum, valid, node_id=7&page=31, 1714842296,
    Run Time: 0.000197
  12. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'node_forum_level_n', 'node_forum_level_2', 'forum_view', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 3, 2
    Run Time: 0.003107
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 5Using where
  13.                 			                  SELECT adv.*
                                                    
                                                    FROM xf_advertisement AS adv
                                                    
                                            WHERE (adv.active = 1) AND (adv.positive = 1)
    Run Time: 0.000404
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    5Using where
  14. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('tailieu_advertisement_top')
    	AND style_id = ?
    	AND language_id = ?
    Params: 3, 2
    Run Time: 0.000258
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  15.                 			                  SELECT adv.*
                                                    
                                                    FROM xf_advertisement AS adv
                                                    
                                            WHERE (adv.active = 1) AND (adv.positive = 3)
    Run Time: 0.000296
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    5Using where
  16. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('tailieu_advertisement_bottom')
    	AND style_id = ?
    	AND language_id = ?
    Params: 3, 2
    Run Time: 0.000246
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (92, XenForo Classes: 57)

  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/Forums.php
  38. library/XenForo/RouteMatch.php
  39. library/XenForo/ControllerPublic/Forum.php
  40. library/XenForo/ControllerPublic/Abstract.php
  41. library/XenForo/Controller.php
  42. library/Brivium/ExtraThreadItem/EventListeners/Listener.php
  43. library/Brivium/BriviumLibrary/EventListeners.php
  44. library/TaiLieu/CustomPost/Listener.php
  45. library/TaiLieu/CustomPost/ControllerPublic/Forum.php
  46. library/XenForo/Input.php
  47. library/XenForo/Session.php
  48. library/XenForo/Helper/Ip.php
  49. library/XenForo/Visitor.php
  50. library/XenForo/Model/User.php
  51. library/VietXfAdvStats/Listener.php
  52. library/VietXfAdvStats/XenForo/Model/User.php
  53. library/XenForo/Permission.php
  54. library/XenForo/Helper/Php.php
  55. library/XenForo/Phrase.php
  56. library/XenForo/Locale.php
  57. library/TaiLieu/CustomPost/Model/UserPoint.php
  58. library/XenForo/ControllerResponse/Reroute.php
  59. library/XenForo/ControllerResponse/Abstract.php
  60. library/XenForo/ControllerHelper/ForumThreadPost.php
  61. library/XenForo/ControllerHelper/Abstract.php
  62. library/XenForo/Model/Forum.php
  63. library/Brivium/ExtraThreadItem/Model/Forum.php
  64. library/XenForo/Model/Thread.php
  65. library/VietXfAdvStats/XenForo/Model/Thread.php
  66. library/Brivium/ExtraThreadItem/Model/Thread.php
  67. library/XenForo/Helper/String.php
  68. library/XenForo/Model/Node.php
  69. library/Brivium/ExtraThreadItem/Model/Node.php
  70. library/XenForo/NodeHandler/Forum.php
  71. library/XenForo/NodeHandler/Abstract.php
  72. library/XenForo/Route/Prefix/Categories.php
  73. library/XenForo/ControllerResponse/View.php
  74. library/XenForo/Helper/Cookie.php
  75. library/XenForo/ViewRenderer/HtmlPublic.php
  76. library/XenForo/ViewRenderer/Abstract.php
  77. library/XenForo/Template/Public.php
  78. library/XenForo/Template/Abstract.php
  79. library/XenForo/ViewPublic/Forum/View.php
  80. library/XenForo/ViewPublic/Base.php
  81. library/XenForo/View.php
  82. library/XenForo/ViewPublic/Helper/Node.php
  83. library/VietXfAdvStats/Model/GetUserGroup.php
  84. library/XenForo/Route/Prefix/Members.php
  85. library/TaiLieu/Advertisement/Listener.php
  86. library/XenForo/Route/Prefix/Posts.php
  87. library/XenForo/Model/Avatar.php
  88. library/XenForo/Route/Prefix/Threads.php
  89. library/XenForo/Debug.php
  90. library/TaiLieu/Advertisement/Model/Advertisement.php
  91. library/VietXfAdvStats/Option.php
  92. library/XenForo/ViewRenderer/Json.php