Page Time: 0.1549s

Memory: 6.4722 MB (Peak: 7.8316 MB)

Queries (21, time: 0.1034s, 66.7%)

  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.000627
    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.000237
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3.                 			                  SELECT user_point.*
                                                    
                                                    FROM xf_user_point AS user_point
                                                    
                                            WHERE 1=1
    Run Time: 0.007492
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_pointALL    10787 
  4. SELECT *
    FROM xf_node
    
    ORDER BY lft ASC
    Run Time: 0.002074
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_nodeALL    374Using 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.002074
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentrefPRIMARYPRIMARY31const,const788Using where
  6. SELECT thread.*
    	,
    	NULL AS thread_read_date,
    node.node_id AS forum_id, node.title AS forum_title
    FROM xf_thread AS thread 
    
    INNER JOIN xf_node AS node ON
    	(node.node_id = thread.node_id)
    INNER JOIN xf_forum AS forum ON
    	(forum.node_id = thread.node_id)
    WHERE (1=1) AND (thread.node_id IN (263, 12, 18, 296, 56, 293, 299, 300, 362, 129, 186, 187, 58, 244, 59, 277, 225, 235, 226, 227, 228, 229, 60, 371, 61, 62, 259, 260, 268, 285, 301, 326, 339, 358, 359, 360, 367, 181, 185, 202, 205, 203, 204, 81, 175, 208, 237, 85, 239, 165, 280, 352, 182, 199, 232, 236, 171, 247, 179, 272, 273, 274, 7, 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, 287, 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, 15, 206, 16, 331, 87, 132, 233, 133, 148, 149, 150, 151, 153, 197, 134, 283, 144, 145, 146, 147, 196, 209, 135, 284, 349, 152, 154, 155, 136, 303, 307, 314, 321, 322, 338, 341, 166, 170, 276, 305, 306, 313, 361, 363, 364, 365, 366, 172, 25, 63, 74, 75, 48, 19, 71, 125, 126, 267, 270, 242, 275, 20, 21, 55, 79, 23, 27, 96, 200, 28, 308, 140, 54, 49, 176, 178, 180, 210, 252, 89, 320, 249, 131, 162, 250, 168, 198, 245, 248, 22, 94, 167, 30, 29, 86, 159, 142, 161, 90, 17, 323, 324, 327, 127, 128, 130, 141, 157, 158, 26, 119, 137, 221, 38, 39, 279, 82, 111, 42, 44, 45, 238, 50, 139, 278, 53, 66, 67, 68, 69, 177, 5, 6, 24, 36, 47, 84, 97, 98, 65, 99, 100, 101, 102, 103, 104, 105, 106, 107, 109, 110, 112, 114, 31, 32, 33, 34, 41, 35, 1, 2, 258, 319, 174, 93, 3, 4, 10, 11, 37)) AND (thread.post_date > 1710963410) AND ((thread.discussion_type != 'redirect' AND thread.discussion_state != 'deleted' AND thread.discussion_state != 'moderated'))
    ORDER BY thread.view_count DESC
     LIMIT 10
    Run Time: 0.039995
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangenode_id_last_post_date,node_id_sticky_state_last_post,post_datepost_date4 169Using index condition; Using where; Using filesort
    SIMPLEforumeq_refPRIMARYPRIMARY4dien7104_tailieu.thread.node_id1Using index
    SIMPLEnodeeq_refPRIMARYPRIMARY4dien7104_tailieu.thread.node_id1 
  7. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 51
    Run Time: 0.000261
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  8. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 19
    Run Time: 0.000197
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  9. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 54
    Run Time: 0.000170
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  10. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 220
    Run Time: 0.000169
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  11. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 170
    Run Time: 0.000168
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  12. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 215
    Run Time: 0.000167
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  13. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 210
    Run Time: 0.000166
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  14. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 156
    Run Time: 0.000206
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  15. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 5abeff794af9d034085f26a1dcc41ea6, , 1713559010
    Run Time: 0.000234
  16. 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, , , VietXfAdvStats_ControllerPublic_AdvStats, ThreadsHot, valid, , 1713555410,
    Run Time: 0.000130
  17. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'VietxfAdvStats_threads_hot', 'VietXfAdvStats_threads', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 3, 2
    Run Time: 0.048155
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 4Using where
  18.                 			                  SELECT adv.*
                                                    
                                                    FROM xf_advertisement AS adv
                                                    
                                            WHERE (adv.active = 1) AND (adv.positive = 1)
    Run Time: 0.000266
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    5Using where
  19. 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.000212
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  20.                 			                  SELECT adv.*
                                                    
                                                    FROM xf_advertisement AS adv
                                                    
                                            WHERE (adv.active = 1) AND (adv.positive = 3)
    Run Time: 0.000205
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    5Using where
  21. 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.000177
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (90, XenForo Classes: 52)

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