Page Time: 0.0360s

Memory: 2.7691 MB (Peak: 3.8357 MB)

Queries (9, time: 0.0106s, 29.3%)

  1. SELECT
    	user.*,
    	user_profile.*,
    	user_privacy.*,
    	news_feed.*
    FROM xf_news_feed AS news_feed FORCE INDEX (event_date)
    INNER JOIN xf_user AS user ON
    	(user.user_id = news_feed.user_id)
    INNER JOIN xf_user_profile AS user_profile ON
    	(user_profile.user_id = user.user_id)
    LEFT JOIN xf_user_follow AS user_follow ON
    	(user_follow.user_id = user.user_id
    	AND user_follow.follow_user_id = 0)
    INNER JOIN xf_user_privacy AS user_privacy ON
    	(user_privacy.user_id = user.user_id
    		
    			AND (user.user_id = 0
    				OR (
    					user_privacy.allow_receive_news_feed <> 'none'
    					AND IF(user_privacy.allow_receive_news_feed = 'members', 0, 1)
    					AND IF(user_privacy.allow_receive_news_feed = 'followed', user_follow.user_id IS NOT NULL, 1)
    				)
    			)
    		
    	)
    WHERE (user.user_state IN ('valid', 'email_confirm_edit')) AND (user.is_banned = 0)
    ORDER BY news_feed.event_date DESC
     LIMIT 15
    Run Time: 0.004508
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEnews_feedindex event_date4 299 
    SIMPLEuser_privacyeq_refPRIMARYPRIMARY4dirty.news_feed.user_id1Using where
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4dirty.news_feed.user_id1 
    SIMPLEusereq_refPRIMARY,user_statePRIMARY4dirty.news_feed.user_id1Using where
    SIMPLEuser_followeq_refPRIMARY,follow_user_idPRIMARY8dirty.news_feed.user_id,const1Using where; Using index
  2. SELECT thread.*
    	,
    		node.title AS node_title, node.node_name,
    		post.message, post.attach_count,
    	permission.cache_value AS node_permission_cache
    FROM xf_thread AS thread
    		LEFT JOIN xf_node AS node ON
    			(node.node_id = thread.node_id)
    		LEFT JOIN xf_post AS post ON
    			(post.post_id = thread.first_post_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.thread_id IN (2026026, 2026025, 2026009, 2026007, 2026006, 2026005, 2026004, 2026003, 2026002, 2026001, 2026000, 2025999, 2025998, 2025991)
    Run Time: 0.001232
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARYPRIMARY4 14Using where
    SIMPLEnodeeq_refPRIMARYPRIMARY4dirty.thread.node_id1 
    SIMPLEposteq_refPRIMARYPRIMARY4dirty.thread.first_post_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,dirty.thread.node_id1Using where
  3. SELECT profile_post.*
    	,
    		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
    FROM xf_profile_post AS profile_post
    
    		LEFT JOIN xf_user AS receiving_user ON
    			(receiving_user.user_id = profile_post.profile_user_id)
    WHERE profile_post.profile_post_id IN(132494)
    Run Time: 0.000356
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEprofile_postconstPRIMARYPRIMARY4const1 
    SIMPLEreceiving_userconstPRIMARYPRIMARY4const1 
  4. SELECT user.*
    	,
    	user_privacy.*,
    	0 AS following_0
    FROM xf_user AS user
    
    	LEFT JOIN xf_user_privacy AS user_privacy ON
    		(user_privacy.user_id = user.user_id)
    WHERE user.user_id IN (91443)
    ORDER BY user.username
    Run Time: 0.000240
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEuser_privacyconstPRIMARYPRIMARY4const1 
  5. 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 > 1714022892)
    ORDER BY session_activity.view_date DESC
    Run Time: 0.001983
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangeview_dateview_date4 186Using where
    SIMPLEusereq_refPRIMARYPRIMARY4dirty.session_activity.user_id1 
  6. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 6553715040993c65a184f7d63fa4d05b, , 1714027392
    Run Time: 0.000245
  7. 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_RecentActivity, Index, valid, , 1714023792,
    Run Time: 0.000102
  8. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'xengallery_bb_code_tag_gallery', 'news_feed_item_thread_insert', 'news_feed_page_global', 'xengallery_tab_links', 'bdcache_moderator_bar', 'xengallery_comments_block', 'xengallery_media_block_items', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 3, 1
    Run Time: 0.001603
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 9Using where
  9. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('BRME_page_container_head')
    	AND style_id = ?
    	AND language_id = ?
    Params: 3, 1
    Run Time: 0.000282
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (101, XenForo Classes: 59)

  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/XenGallery/Listener.php
  29. library/Brivium/BriviumHelper/EventListeners.php
  30. library/Brivium/BriviumHelper/1010071/EventListeners.php
  31. library/bdCache/Listener.php
  32. library/bdCache/Option.php
  33. library/bdCache/ShippableHelper/Updater.php
  34. library/GFNKraken/Application.php
  35. library/XenForo/Router.php
  36. library/XenForo/Route/Filter.php
  37. library/XenForo/Route/Interface.php
  38. library/XenForo/Route/ResponseSuffix.php
  39. library/XenForo/Route/Prefix.php
  40. library/XenForo/Route/Prefix/RecentActivity.php
  41. library/XenForo/RouteMatch.php
  42. library/bdCache/Core.php
  43. library/bdCache/Model/Cache.php
  44. library/XenForo/ControllerPublic/RecentActivity.php
  45. library/XenForo/ControllerPublic/Abstract.php
  46. library/XenForo/Controller.php
  47. library/XenForo/Input.php
  48. library/XenForo/Session.php
  49. library/Zend/Db.php
  50. library/Zend/Db/Adapter/Mysqli.php
  51. library/Zend/Db/Adapter/Abstract.php
  52. library/Zend/Db/Select.php
  53. library/Zend/Db/Expr.php
  54. library/Zend/Db/Profiler.php
  55. library/Zend/Db/Statement/Mysqli.php
  56. library/Zend/Db/Statement.php
  57. library/Zend/Db/Statement/Interface.php
  58. library/XenForo/Helper/Ip.php
  59. library/XenForo/Visitor.php
  60. library/XenForo/Model/User.php
  61. library/bdCache/XenForo/Model/User.php
  62. library/XenGallery/Model/User.php
  63. library/XenForo/Model/Permission.php
  64. library/bdCache/XenForo/Model/Permission.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/Model/NewsFeed.php
  70. library/Zend/Db/Profiler/Query.php
  71. library/XenForo/NewsFeedHandler/Discussion/Thread.php
  72. library/XenForo/NewsFeedHandler/Discussion.php
  73. library/XenForo/NewsFeedHandler/Abstract.php
  74. library/XenForo/Model/Thread.php
  75. library/STO/Listener.php
  76. library/STO/XenForo/Model/Thread.php
  77. library/bdCache/XenForo/Model/Thread.php
  78. library/XenForo/NewsFeedHandler/DiscussionMessage/ProfilePost.php
  79. library/XenForo/NewsFeedHandler/DiscussionMessage.php
  80. library/XenForo/Model/ProfilePost.php
  81. library/XenForo/Model/Forum.php
  82. library/XenForo/Model/UserProfile.php
  83. library/XenForo/Helper/String.php
  84. library/XenForo/Model/Session.php
  85. library/XenForo/ControllerResponse/View.php
  86. library/XenForo/ControllerResponse/Abstract.php
  87. library/XenForo/Helper/Cookie.php
  88. library/XenForo/ViewRenderer/HtmlPublic.php
  89. library/XenForo/ViewRenderer/Abstract.php
  90. library/XenForo/Template/Public.php
  91. library/XenForo/Template/Abstract.php
  92. library/XenForo/ViewPublic/NewsFeed/View.php
  93. library/XenForo/ViewPublic/Base.php
  94. library/XenForo/View.php
  95. library/XenForo/ViewPublic/Helper/NewsFeed.php
  96. library/Brivium/MetadataEssential/EventListeners/Listener.php
  97. library/XenForo/Route/Prefix/Members.php
  98. library/XenForo/Route/Prefix/Threads.php
  99. library/XenForo/Route/Prefix/Forums.php
  100. library/XenForo/Debug.php
  101. library/XenForo/ViewRenderer/Json.php