Page Time: 1.1444s

Memory: 3.0592 MB (Peak: 4.2139 MB)

Queries (10, time: 1.1185s, 97.7%)

  1. SELECT thread.*
    	,
    		user.gender, user.avatar_date, user.gravatar,
    		NULL AS thread_read_date,
    		0 AS thread_reply_banned,
    		0 AS thread_is_watched,
    		'' AS draft_message, NULL AS draft_extra,
                    IF(sticky_thread_order.display_order IS NULL, 1000, sticky_thread_order.display_order) AS sticky_display_order
    FROM xf_thread AS thread
    
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = thread.user_id)
                    LEFT JOIN sticky_thread_order AS sticky_thread_order ON(sticky_thread_order.thread_id = thread.thread_id)
    WHERE thread.thread_id = ?
    Params: 51507
    Run Time: 0.000459
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEsticky_thread_orderrefPRIMARYPRIMARY4const1Using index
  2. SELECT node.*, forum.*
    	,
    	permission.cache_value AS node_permission_cache,
    		NULL AS forum_read_date
    FROM xf_forum AS forum
    INNER JOIN xf_node AS node ON (node.node_id = forum.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 = forum.node_id)
    WHERE node.node_id = ?
    Params: 7
    Run Time: 0.000410
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  3. SELECT post.*
    	,
    		bb_code_parse_cache.parse_tree AS message_parsed, bb_code_parse_cache.cache_version AS message_cache_version,
    		user.*, IF(user.username IS NULL, post.username, user.username) AS username,
    		user_profile.*,
    		user_privacy.*,
    		signature_parse_cache.parse_tree AS signature_parsed, bb_code_parse_cache.cache_version AS signature_cache_version,
    		session_activity.view_date AS last_view_date,
    		0 AS like_date
    FROM xf_post AS post
    
    		LEFT JOIN xf_bb_code_parse_cache AS bb_code_parse_cache ON
    			(bb_code_parse_cache.content_type = 'post' AND bb_code_parse_cache.content_id = post.post_id)
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = post.user_id)
    		LEFT JOIN xf_user_profile AS user_profile ON
    			(user_profile.user_id = post.user_id)
    		LEFT JOIN xf_user_privacy AS user_privacy ON
    			(user_privacy.user_id = post.user_id)
    		LEFT JOIN xf_bb_code_parse_cache AS signature_parse_cache ON
    			(signature_parse_cache.content_type = 'signature' AND signature_parse_cache.content_id = post.user_id)
    		LEFT JOIN xf_session_activity AS session_activity ON
    			(post.user_id > 0 AND session_activity.user_id = post.user_id AND session_activity.unique_key = CAST(post.user_id AS BINARY))
    WHERE post.thread_id = ?
    	 AND (post.position >= 0 AND post.position < 20) 
    	AND (post.message_state IN ('visible'))
    ORDER BY post.position ASC, post.post_date ASC
    Params: 51507
    Run Time: 0.004021
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostrefthread_id_post_date,thread_id_positionthread_id_post_date4const1Using index condition; Using where; Using filesort
    SIMPLEbb_code_parse_cacheeq_refcontent_type_idcontent_type_id31const,dirty.post.post_id1Using where
    SIMPLEusereq_refPRIMARYPRIMARY4dirty.post.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4dirty.post.user_id1 
    SIMPLEuser_privacyeq_refPRIMARYPRIMARY4dirty.post.user_id1 
    SIMPLEsignature_parse_cacheeq_refcontent_type_idcontent_type_id31const,dirty.post.user_id1Using where
    SIMPLEsession_activityeq_refPRIMARYPRIMARY22dirty.post.user_id,func1Using where
  4. INSERT DELAYED INTO xf_thread_view
    	(thread_id)
    VALUES
    	(?)
    Params: 51507
    Run Time: 0.000106
  5. SELECT node.*
    	
    FROM xf_node AS node
    
    WHERE node.node_id = ?
    Params: 7
    Run Time: 0.000201
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
  6. SELECT *
    FROM xf_brivium_metadata
    WHERE  content_type = ? AND content_id = ?
    Params: thread, 51507
    Run Time: 0.608124
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_brivium_metadataALL    1810465Using where
  7. SELECT *
    FROM xf_brivium_metadata
    WHERE  content_type = ? AND content_id = ?
    Params: forum, 7
    Run Time: 0.504155
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_brivium_metadataALL    1810465Using where
  8. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 16111ab2773c5226bd7f8996eb414b0e, a:8:{s:12:"sessionStart";i:1560927348;s:2:"ip";s:4:"U >";s:11:"sessionCsrf";s:16:"3tyUWJ1rKfqLOvLo";s:9:"userAgent";s:40:"CCBot/2.0 (https://commoncrawl.org/faq/)";s:7:"robotId";s:0:"";s:16:"previousActivity";i:0;s:10:"isIpBanned";a:2:{s:6:"result";b:0;s:7:"version";i:1558072335;}s:15:"isIpDiscouraged";a:2:{s:6:"result";b:0;s:7:"version";i:1558419278;}}, 1560930948
    Run Time: 0.000242
  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, U >, U >, XenForo_ControllerPublic_Thread, Index, valid, thread_id=51507, 1560927348,
    Run Time: 0.000204
  10. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'bb_code_tag_code', 'bb_code_tag_php', 'bb_code_tag_html', 'bb_code_tag_quote', 'bb_code_tag_attach', 'bb_code_tag_spoiler', 'xengallery_bb_code_tag_gallery', 'BRME_page_container_head', 'thread_view', '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.000548
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 15Using where

Included Files (110, XenForo Classes: 60)

  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/Threads.php
  41. library/XenForo/RouteMatch.php
  42. library/bdCache/Core.php
  43. library/bdCache/Model/Cache.php
  44. library/XenForo/Session.php
  45. library/Zend/Db.php
  46. library/Zend/Db/Adapter/Mysqli.php
  47. library/Zend/Db/Adapter/Abstract.php
  48. library/Zend/Db/Select.php
  49. library/Zend/Db/Expr.php
  50. library/Zend/Db/Profiler.php
  51. library/Zend/Db/Statement/Mysqli.php
  52. library/Zend/Db/Statement.php
  53. library/Zend/Db/Statement/Interface.php
  54. library/XenForo/Helper/Ip.php
  55. library/XenForo/Visitor.php
  56. library/XenForo/Model/User.php
  57. library/bdCache/XenForo/Model/User.php
  58. library/XenGallery/Model/User.php
  59. library/XenForo/Model/Permission.php
  60. library/bdCache/XenForo/Model/Permission.php
  61. library/XenForo/Permission.php
  62. library/XenForo/Helper/Php.php
  63. library/XenForo/Phrase.php
  64. library/XenForo/Locale.php
  65. library/XenForo/ControllerPublic/Thread.php
  66. library/XenForo/ControllerPublic/Abstract.php
  67. library/XenForo/Controller.php
  68. library/STO/Listener.php
  69. library/STO/XenForo/ControllerPublic/Thread.php
  70. library/Brivium/MetadataEssential/ControllerPublic/Thread.php
  71. library/bdCache/XenForo/ControllerPublic/Thread.php
  72. library/XenForo/Input.php
  73. library/XenForo/ControllerHelper/ForumThreadPost.php
  74. library/XenForo/ControllerHelper/Abstract.php
  75. library/XenForo/Model/Thread.php
  76. library/STO/XenForo/Model/Thread.php
  77. library/bdCache/XenForo/Model/Thread.php
  78. library/Zend/Db/Profiler/Query.php
  79. library/XenForo/Model/Forum.php
  80. library/XenForo/Helper/String.php
  81. library/XenForo/Model/Post.php
  82. library/XenForo/Model/Attachment.php
  83. library/GFNKraken/Listener/LoadClass.php
  84. library/GFNKraken/Extend/XenForo/Model/Attachment.php
  85. library/XenForo/Model/Node.php
  86. library/XenForo/Route/Prefix/Categories.php
  87. library/XenForo/Route/Prefix/Forums.php
  88. library/Brivium/MetadataEssential/Model/Metadata.php
  89. library/XenForo/ControllerResponse/View.php
  90. library/XenForo/ControllerResponse/Abstract.php
  91. library/XenForo/Helper/Cookie.php
  92. library/XenForo/ViewRenderer/HtmlPublic.php
  93. library/XenForo/ViewRenderer/Abstract.php
  94. library/XenForo/Template/Public.php
  95. library/XenForo/Template/Abstract.php
  96. library/XenForo/ViewPublic/Thread/View.php
  97. library/XenForo/ViewPublic/Base.php
  98. library/XenForo/View.php
  99. library/Brivium/MetadataEssential/ViewPublic/Thread/View.php
  100. library/XenForo/BbCode/Parser.php
  101. library/XenForo/BbCode/Formatter/Base.php
  102. library/Brivium/MetadataEssential/BbCode/Formatter/Base.php
  103. library/XenForo/ViewPublic/Helper/Message.php
  104. library/XenForo/BbCode/TextWrapper.php
  105. library/Brivium/MetadataEssential/EventListeners/Listener.php
  106. library/XenForo/Route/Prefix/Members.php
  107. library/XenForo/Route/Prefix/Posts.php
  108. library/XenForo/Model/Avatar.php
  109. library/XenForo/Debug.php
  110. library/XenForo/ViewRenderer/Json.php