Page Time: 0.1908s

Memory: 7.6636 MB (Peak: 9.1181 MB)

Queries (32, time: 0.0329s, 17.2%)

  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.001436
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 26Using index condition
  2. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: moods
    Run Time: 0.000356
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  3. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('brListenerClasses', 'brBriviumAddOns')
    Run Time: 0.000296
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 2Using index condition
  4. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000324
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  5. 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 > 1710664266) AND (forum.find_new = 1)
    ORDER BY thread.last_post_date DESC
     LIMIT 10
    Run Time: 0.001744
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangelast_post_datelast_post_date4 106Using index condition; Using where; Backward index scan
    SIMPLEforumeq_refPRIMARYPRIMARY4xf.thread.node_id1Using where
    SIMPLElast_post_usereq_refPRIMARYPRIMARY4xf.thread.last_post_user_id1 
    SIMPLEnodeeq_refPRIMARYPRIMARY4xf.thread.node_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,xf.thread.node_id1Using where
  6. SELECT *
    FROM xf_node
    WHERE display_in_list = 1
    ORDER BY lft ASC
    Run Time: 0.001549
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_noderefdisplay_in_listdisplay_in_list1const115 
  7. SELECT content_id, cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = 'node'
    Params: 1
    Run Time: 0.001490
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentrefPRIMARYPRIMARY31const,const124Using index condition
  8. 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 (42, 75, 382, 9, 10, 12, 13, 14, 286, 50, 51, 199, 91, 117, 242, 381, 375, 153, 282, 370, 371, 376, 377, 378, 379, 380, 56, 384, 385, 324, 15, 76, 263, 227, 228, 229, 230, 46, 357, 89, 18, 21, 239, 25, 148, 152, 17, 169, 28, 147, 72, 73, 23, 94, 32, 41, 194, 195, 196, 208, 133, 101, 30, 74, 237, 280, 29, 40, 78, 22, 43, 37, 45, 86, 70, 126, 128, 19, 48, 146, 181, 20, 24, 183, 330, 170, 176, 223, 224, 226, 187, 225, 291, 288, 171, 172, 175, 173, 284, 193, 155, 99, 100, 93)
    Run Time: 0.002341
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumALLPRIMARY   113Using where
    SIMPLEnodeeq_refPRIMARYPRIMARY4xf.forum.node_id1Using index
  9. 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 > 1713255366)
    ORDER BY session_activity.view_date DESC
    Run Time: 0.000958
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangeview_dateview_date4 26Using where; Backward index scan
    SIMPLEusereq_refPRIMARYPRIMARY4xf.session_activity.user_id1 
  10. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: boardTotals
    Run Time: 0.000315
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  11. SELECT user_id FROM xf_user as user WHERE last_activity BETWEEN '1713180666' AND '1713267066' AND is_banned NOT IN (1) AND visible IN (1) ORDER BY last_activity DESC
    Run Time: 0.000297
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuserrangelast_activitylast_activity4 1Using index condition; Using where; Backward index scan
  12. SELECT COUNT(*)
    FROM xf_user as user WHERE last_activity BETWEEN '1713180666' AND '1713267066' AND is_banned NOT IN (1) AND visible IN (1)
    Run Time: 0.000218
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuserrangelast_activitylast_activity4 1Using index condition; Using where
  13. SELECT user.*
    	
    FROM xf_user AS user
    
    WHERE user.user_id IN (17037)
    ORDER BY user.username
    Run Time: 0.000460
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuserconstPRIMARYPRIMARY4const1 
  14. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: b855a2f78f5ab96e2e4db0c2079ddcc8, , 1713259866
    Run Time: 0.004626
  15. 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, Index, valid, node_name=, 1713256266,
    Run Time: 0.003493
  16. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'BRQCT_forum_list_nodes', 'BRQCT_ad_sidebar_top', 'BRQCT_navigation_tabs_forums', 'stylium_setting_value', 'stylium_page_container_head', 'stylium_settings', 'stylium_setting_toggle_footer', 'node_forum_level_n', 'node_forum_level_2', 'node_category_level_1', 'forum_list', 'VietXfAdvStats_wrapper', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 2, 2
    Run Time: 0.000978
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 14Using index condition
  17. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('xen_tr_com_who_has_visited')
    	AND style_id = ?
    	AND language_id = ?
    Params: 2, 2
    Run Time: 0.000452
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  18. SELECT
      up.dob_year,
      u.*,
      uo.show_dob_year, uo.show_dob_date
    FROM
      `xf_user_profile` AS up
    LEFT JOIN `xf_user` AS u ON u.user_id=up.user_id
    LEFT JOIN `xf_user_option` AS uo ON uo.user_id=u.user_id
    WHERE
      up.dob_day > 0
     AND (up.dob_day = 16 AND up.dob_month = 4) AND uo.show_dob_date = 1 AND is_banned = 0 ORDER BY user_id
    Run Time: 0.001298
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuprefPRIMARY,dobdob2const,const2Using temporary; Using filesort
    SIMPLEueq_refPRIMARYPRIMARY4xf.up.user_id1Using where
    SIMPLEuoeq_refPRIMARYPRIMARY4xf.up.user_id1Using where
  19. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('age')
    Params: 2
    Run Time: 0.000273
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledconstPRIMARYPRIMARY106const,const1 
  20. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('xfr_birthdays_sidebar_user_list')
    	AND style_id = ?
    	AND language_id = ?
    Params: 2, 2
    Run Time: 0.000228
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  21. SELECT user.*
    	
    FROM xf_user AS user
    
    WHERE user.user_state = 'valid' AND user.is_banned = 0
    ORDER BY user.register_date DESC
     LIMIT 10
    Run Time: 0.000978
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuserindexuser_stateregister_date4 10Using where; Backward index scan
  22. SELECT *
    FROM xf_node
    
    ORDER BY lft ASC
    Run Time: 0.001723
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_nodeALL    120Using filesort
  23. SELECT content_id, cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = 'node'
    Params: 1
    Run Time: 0.001836
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentrefPRIMARYPRIMARY31const,const124Using index condition
  24. SELECT thread.*
    	,
    	NULL AS thread_read_date,
    node.node_id AS forum_id, node.title AS forum_title,
    	user.*
    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)
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = thread.last_post_user_id)
    WHERE (1=1) AND (thread.node_id IN ('186', '42', '75', '382', '9', '10', '12', '13', '14', '286', '50', '51', '199', '91', '117', '243', '242', '281', '381', '375', '153', '282', '370', '371', '376', '377', '378', '379', '380', '56', '384', '385', '324', '4', '15', '76', '263', '227', '228', '229', '230', '46', '357', '89', '18', '21', '239', '25', '148', '152', '17', '169', '28', '147', '72', '73', '23', '94', '32', '41', '194', '195', '196', '208', '133', '101', '123', '30', '74', '237', '280', '29', '40', '78', '22', '43', '37', '45', '86', '70', '126', '128', '19', '177', '48', '146', '181', '182', '20', '24', '183', '330', '170', '176', '223', '224', '226', '187', '225', '291', '288', '171', '172', '175', '173', '284', '193', '53', '155', '99', '100', '93')) AND ((thread.discussion_type != 'redirect' AND thread.discussion_state != 'deleted' AND thread.discussion_state != 'moderated'))
    ORDER BY thread.last_post_date DESC
     LIMIT 10
    Run Time: 0.003065
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadindexnode_id_last_post_date,node_id_sticky_state_last_postlast_post_date4 11Using where; Backward index scan
    SIMPLEforumeq_refPRIMARYPRIMARY4xf.thread.node_id1Using index
    SIMPLEnodeeq_refPRIMARYPRIMARY4xf.thread.node_id1 
    SIMPLEusereq_refPRIMARYPRIMARY4xf.thread.last_post_user_id1 
  25. 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.000323
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  26. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 72
    Run Time: 0.000223
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  27. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 133
    Run Time: 0.000213
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  28. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 173
    Run Time: 0.000214
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  29. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 20
    Run Time: 0.000193
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  30. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, node, 21
    Run Time: 0.000181
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  31. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('VietXfAdvStats_section_users_new', 'VietXfAdvStats_section_users_top_posters', 'VietXfAdvStats_section_users_top_trophy_points', 'VietXfAdvStats_section_users_top_liked', 'VietXfAdvStats_section_threads_recent', 'VietXfAdvStats_section_threads_latest', 'VietXfAdvStats_section_threads_hot')
    Params: 2
    Run Time: 0.000425
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledrangePRIMARYPRIMARY106 7Using index condition
  32. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('VietxfAdvStats_users_new', 'VietXfAdvStats_users', 'VietxfAdvStats_threads_recent', 'VietXfAdvStats_threads')
    	AND style_id = ?
    	AND language_id = ?
    Params: 2, 2
    Run Time: 0.000384
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 4Using index condition

Included Files (120, XenForo Classes: 62)

  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/XenMoods/Listener/InitDependencies.php
  33. library/Brivium/BriviumHelper/EventListeners.php
  34. library/Brivium/BriviumHelper/1010071/EventListeners.php
  35. library/Tapatalk/Listener/LoadClassModel.php
  36. library/EWRutiles/Listener/Model.php
  37. library/Ragtek/FPM/StaticMethods.php
  38. library/TMS/Listener.php
  39. library/VietXfAdvStats/Listener.php
  40. library/XenMoods/Listener/LoadClassModel.php
  41. library/BookmarkPosts/Listener.php
  42. library/Brivium/StyliumFramework/EventListeners/Listener.php
  43. library/Brivium/Tellurium/EventListeners/Listener.php
  44. library/XenForo/Router.php
  45. library/XenForo/Route/Filter.php
  46. library/XenForo/Route/Interface.php
  47. library/XenForo/Route/ResponseSuffix.php
  48. library/XenForo/Route/Prefix.php
  49. library/XenForo/Route/Prefix/Index.php
  50. library/XenForo/RouteMatch.php
  51. library/XenForo/ControllerPublic/Index.php
  52. library/XenForo/ControllerPublic/Abstract.php
  53. library/XenForo/Controller.php
  54. library/EWRutiles/Listener/Controller.php
  55. library/bdReputation/Listener.php
  56. library/SigRestrict/Listener.php
  57. library/XenTrCom/WhoHasVisited/Listener/Listener.php
  58. library/XenForo/Input.php
  59. library/XenForo/Session.php
  60. library/XenForo/Helper/Ip.php
  61. library/XenForo/Visitor.php
  62. library/XenForo/Model/User.php
  63. library/VietXfAdvStats/XenForo/Model/User.php
  64. library/XenMoods/XFCP/Model/User.php
  65. library/XenForo/Permission.php
  66. library/XenForo/Helper/Php.php
  67. library/XenForo/Phrase.php
  68. library/XenForo/Locale.php
  69. library/XenForo/ControllerResponse/ReroutePath.php
  70. library/XenForo/ControllerResponse/Abstract.php
  71. library/XenForo/Route/Prefix/Forums.php
  72. library/XenForo/ControllerPublic/Forum.php
  73. library/XenTrCom/WhoHasVisited/Controller/Public.php
  74. library/Brivium/Tellurium/ControllerPublic/Forum.php
  75. library/XenForo/Model/Thread.php
  76. library/VietXfAdvStats/XenForo/Model/Thread.php
  77. library/XenForo/Model/Forum.php
  78. library/XenForo/Helper/String.php
  79. library/XenForo/Helper/Discussion.php
  80. library/XenForo/Model/Node.php
  81. library/Tapatalk/Model/Node.php
  82. library/XenForo/NodeHandler/Category.php
  83. library/XenForo/NodeHandler/Abstract.php
  84. library/XenForo/NodeHandler/Forum.php
  85. library/XenForo/Model/Category.php
  86. library/XenForo/Model/Session.php
  87. library/XenForo/ControllerResponse/View.php
  88. library/XenTrCom/WhoHasVisited/Model/XWhoHasVisited.php
  89. library/XenTrCom/WhoHasVisited/Model/SetDate.php
  90. library/XenForo/Helper/Cookie.php
  91. library/XenForo/ViewRenderer/HtmlPublic.php
  92. library/XenForo/ViewRenderer/Abstract.php
  93. library/XenForo/Template/Public.php
  94. library/XenForo/Template/Abstract.php
  95. library/BookmarkPosts/Model/BookmarkPosts.php
  96. library/XenMoods/Listener/FrontControllerPreView.php
  97. library/XenMoods/Model/Mood.php
  98. library/XenForo/ViewPublic/Forum/List.php
  99. library/XenForo/ViewPublic/Base.php
  100. library/XenForo/View.php
  101. library/XenForo/ViewPublic/Helper/Node.php
  102. library/VietXfAdvStats/Model/GetUserGroup.php
  103. library/Sedo/QuoteME/Listener/PreloadTemplates.php
  104. library/XenForo/Route/Prefix/Members.php
  105. library/XenForo/Route/Prefix/Categories.php
  106. library/Sedo/QuoteME/Listener/Templates.php
  107. library/EWRutiles/Listener/Template.php
  108. library/Tapatalk/EventListener/Hook.php
  109. library/xtop/js/xtop.php
  110. library/XenMoods/Listener/TemplateHook.php
  111. library/XfRu/Birthdays/EventListener/Template.php
  112. library/XenForo/Route/Prefix/Posts.php
  113. library/VietXfAdvStats/Option.php
  114. library/XenForo/Model/Avatar.php
  115. library/XfRu/Birthdays/Model/Birthday.php
  116. library/XenForo/Debug.php
  117. library/XenForo/ViewRenderer/Json.php
  118. library/VietXfAdvStats/Renderer.php
  119. library/XenForo/Model/PermissionCache.php
  120. library/XenForo/Route/Prefix/Threads.php