Page Time: 0.1158s

Memory: 3.6933 MB (Peak: 5.2411 MB)

Queries (18, time: 0.0149s, 12.9%)

  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.000835
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryALLPRIMARY   33Using where
  2. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000401
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3.                 			                  SELECT user_point.*
                                                    
                                                    FROM xf_user_point AS user_point
                                                    
                                            WHERE 1=1
    Run Time: 0.000720
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_pointALL    67 
  4. SELECT *
    FROM xf_node
    
    ORDER BY lft ASC
    Run Time: 0.000407
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_nodeALL    79Using 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.000362
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentrefPRIMARYPRIMARY31const,const79Using 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 
    
    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)
    WHERE (1=1) AND (thread.node_id IN (35, 6, 8, 9, 10, 11, 12, 59, 70, 77, 79, 84, 85, 86, 87, 13, 14, 49, 15, 16, 62, 17, 18, 44, 50, 66, 81, 82, 5, 38, 52, 53, 64, 67, 39, 40, 43, 51, 80, 89, 41, 76, 19, 45, 46, 47, 54, 55, 58, 65, 88, 20, 21, 22, 60, 23, 71, 72, 73, 75, 24, 25, 63, 26, 27, 28, 37, 42, 48, 57, 61, 68, 69, 74, 78, 83, 56, 36)) AND (thread.post_date > 1710910164) 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.006626
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangenode_id_last_post_date,node_id_sticky_state_last_post,post_datepost_date4 97Using index condition; Using where; Using filesort
    SIMPLEnodeeq_refPRIMARYPRIMARY4diendan_sach.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, 85
    Run Time: 0.000574
    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, 22
    Run Time: 0.000351
    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, 45
    Run Time: 0.001204
    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, 88
    Run Time: 0.000414
    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, 40
    Run Time: 0.000413
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  12. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: d333ef4dc18b9b12dc81339af1b1372e, , 1713505764
    Run Time: 0.000698
  13. 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, , 1713502164,
    Run Time: 0.000475
  14. 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: 2, 1
    Run Time: 0.000661
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 4Using where
  15.                 			                  SELECT adv.*
                                                    
                                                    FROM xf_advertisement AS adv
                                                    
                                            WHERE (adv.active = 1) AND (adv.positive = 1)
    Run Time: 0.000198
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    1Using where
  16. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('tailieu_advertisement_top')
    	AND style_id = ?
    	AND language_id = ?
    Params: 2, 1
    Run Time: 0.000199
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  17.                 			                  SELECT adv.*
                                                    
                                                    FROM xf_advertisement AS adv
                                                    
                                            WHERE (adv.active = 1) AND (adv.positive = 3)
    Run Time: 0.000193
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    1Using where
  18. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('tailieu_advertisement_bottom')
    	AND style_id = ?
    	AND language_id = ?
    Params: 2, 1
    Run Time: 0.000156
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (81, XenForo Classes: 48)

  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/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/Helper/Php.php
  51. library/XenForo/Phrase.php
  52. library/XenForo/Locale.php
  53. library/TaiLieu/CustomPost/Listener.php
  54. library/TaiLieu/CustomPost/Model/UserPoint.php
  55. library/VietXfAdvStats/Renderer.php
  56. library/VietXfAdvStats/Option.php
  57. library/XenForo/Model/Node.php
  58. library/XenForo/NodeHandler/Forum.php
  59. library/XenForo/NodeHandler/Abstract.php
  60. library/XenForo/Model/Forum.php
  61. library/XenForo/Model/Thread.php
  62. library/VietXfAdvStats/XenForo/Model/Thread.php
  63. library/XenForo/Model/PermissionCache.php
  64. library/XenForo/ControllerResponse/View.php
  65. library/XenForo/ControllerResponse/Abstract.php
  66. library/XenForo/Helper/Cookie.php
  67. library/XenForo/ViewRenderer/HtmlPublic.php
  68. library/XenForo/ViewRenderer/Abstract.php
  69. library/XenForo/Template/Public.php
  70. library/XenForo/Template/Abstract.php
  71. library/VietXfAdvStats/ViewPublic/AdvStats/Threads.php
  72. library/XenForo/ViewPublic/Base.php
  73. library/XenForo/View.php
  74. library/XenForo/Helper/String.php
  75. library/VietXfAdvStats/Model/GetUserGroup.php
  76. library/XenForo/Route/Prefix/Members.php
  77. library/XenForo/Route/Prefix/Threads.php
  78. library/XenForo/Debug.php
  79. library/TaiLieu/Advertisement/Listener.php
  80. library/TaiLieu/Advertisement/Model/Advertisement.php
  81. library/XenForo/ViewRenderer/Json.php