Page Time: 0.0354s

Memory: 2.8009 MB (Peak: 3.4848 MB)

Queries (10, time: 0.0039s, 11.0%)

  1. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000173
    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: 0.000641
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEprofile_postindex post_date4 10Using where
    SIMPLEposting_usereq_refPRIMARYPRIMARY4terrcouk_ssxenforo.profile_post.user_id1 
    SIMPLEreceiving_usereq_refPRIMARYPRIMARY4terrcouk_ssxenforo.profile_post.profile_user_id1 
    SIMPLEreceiving_user_privacyeq_refPRIMARYPRIMARY4terrcouk_ssxenforo.profile_post.profile_user_id1 
    SIMPLEreceiving_user_followeq_refPRIMARY,follow_user_idPRIMARY8terrcouk_ssxenforo.profile_post.profile_user_id,const1Using index
  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 
    
    	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 > 1710968516) AND (forum.find_new = 1)
    ORDER BY thread.last_post_date DESC
     LIMIT 10
    Run Time: 0.000597
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangenode_id_last_post_date,last_post_date,node_id_sticky_state_last_postlast_post_date4 21Using where
    SIMPLEforumeq_refPRIMARYPRIMARY4terrcouk_ssxenforo.thread.node_id1Using where
    SIMPLElast_post_usereq_refPRIMARYPRIMARY4terrcouk_ssxenforo.thread.last_post_user_id1 
    SIMPLEnodeeq_refPRIMARYPRIMARY4terrcouk_ssxenforo.thread.node_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,terrcouk_ssxenforo.thread.node_id1Using where
  4. SELECT *
    FROM xf_node
    WHERE display_in_list = 1
    ORDER BY lft ASC
    Run Time: 0.000286
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_nodeALLdisplay_in_list   33Using 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.000212
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentrefPRIMARYPRIMARY31const,const33Using 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 (4, 5, 7, 8, 10, 11, 12, 13, 16, 19, 17, 18, 20, 22, 23, 26, 24, 35, 36, 38, 39)
    Run Time: 0.000328
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumALLPRIMARY   22Using where
    SIMPLEnodeeq_refPRIMARYPRIMARY4terrcouk_ssxenforo.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 > 1713559616)
    ORDER BY session_activity.view_date DESC
    Run Time: 0.000981
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangeview_dateview_date4 89Using where
    SIMPLEusereq_refPRIMARYPRIMARY4terrcouk_ssxenforo.session_activity.user_id1 
  8. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 7e213a561320f3f62515cb94a65f6cf0, , 1713564116
    Run Time: 0.000186
  9. 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=, 1713560516,
    Run Time: 0.000120
  10. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'node_forum_level_2', 'node_category_level_1', 'node_page_level_n', 'node_page_level_2', 'forum_list', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 11, 1
    Run Time: 0.000361
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 7Using where

Included Files (92, XenForo Classes: 63)

  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/Cache.php
  19. library/Zend/Cache/Backend/File.php
  20. library/Zend/Cache/Backend/ExtendedInterface.php
  21. library/Zend/Cache/Backend/Interface.php
  22. library/Zend/Cache/Backend.php
  23. library/Zend/Cache/Core.php
  24. library/XenForo/CodeEvent.php
  25. library/XenForo/Options.php
  26. library/XenForo/Link.php
  27. library/XenForo/Template/Helper/Core.php
  28. library/XenForo/Router.php
  29. library/XenForo/Route/Filter.php
  30. library/XenForo/Route/Interface.php
  31. library/XenForo/Route/ResponseSuffix.php
  32. library/XenForo/Route/Prefix.php
  33. library/XenForo/Route/Prefix/Index.php
  34. library/EWRutiles/Sitemap/Listener/Route.php
  35. library/XenForo/RouteMatch.php
  36. library/XenForo/ControllerPublic/Index.php
  37. library/XenForo/ControllerPublic/Abstract.php
  38. library/XenForo/Controller.php
  39. library/EWRutiles/Sitemap/Listener/Controller.php
  40. library/XenForo/Input.php
  41. library/XenForo/Session.php
  42. library/Zend/Db.php
  43. library/Zend/Db/Adapter/Mysqli.php
  44. library/Zend/Db/Adapter/Abstract.php
  45. library/Zend/Db/Select.php
  46. library/Zend/Db/Expr.php
  47. library/Zend/Db/Profiler.php
  48. library/Zend/Db/Statement/Mysqli.php
  49. library/Zend/Db/Statement.php
  50. library/Zend/Db/Statement/Interface.php
  51. library/XenForo/Helper/Ip.php
  52. library/XenForo/Visitor.php
  53. library/XenForo/Model/User.php
  54. library/Zend/Db/Profiler/Query.php
  55. library/XenForo/Permission.php
  56. library/XenForo/Phrase.php
  57. library/XenForo/Locale.php
  58. library/XenForo/ControllerResponse/ReroutePath.php
  59. library/XenForo/ControllerResponse/Abstract.php
  60. library/XenForo/Route/Prefix/Forums.php
  61. library/XenForo/ControllerPublic/Forum.php
  62. library/XenForo/Model/ProfilePost.php
  63. library/XenForo/Model/UserProfile.php
  64. library/XenForo/Model/Thread.php
  65. library/XenForo/Model/Forum.php
  66. library/XenForo/Helper/String.php
  67. library/XenForo/Model/Node.php
  68. library/XenForo/NodeHandler/Category.php
  69. library/XenForo/NodeHandler/Abstract.php
  70. library/XenForo/NodeHandler/Forum.php
  71. library/XenForo/NodeHandler/Page.php
  72. library/XenForo/Model/Category.php
  73. library/XenForo/Model/Page.php
  74. library/XenForo/Model/Session.php
  75. library/XenForo/ControllerResponse/View.php
  76. library/XenForo/Helper/Cookie.php
  77. library/XenForo/ViewRenderer/HtmlPublic.php
  78. library/XenForo/ViewRenderer/Abstract.php
  79. library/XenForo/Template/Public.php
  80. library/XenForo/Template/Abstract.php
  81. library/XenForo/ViewPublic/Forum/List.php
  82. library/XenForo/ViewPublic/Base.php
  83. library/XenForo/View.php
  84. library/XenForo/ViewPublic/Helper/Node.php
  85. library/XenForo/Route/Prefix/Members.php
  86. library/EWRutiles/Sitemap/Listener/Params.php
  87. library/XenForo/Route/Prefix/Categories.php
  88. library/XenForo/Route/Prefix/Posts.php
  89. library/XenForo/Route/Prefix/Pages.php
  90. library/XenForo/Model/Avatar.php
  91. library/XenForo/Debug.php
  92. library/XenForo/ViewRenderer/Json.php