Page Time: 0.2660s

Memory: 12.7566 MB (Peak: 14.6073 MB)

Queries (19, time: 0.0707s, 26.6%)

  1. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'deferredRun', 'simpleCache', 'addOns', 'defaultStyleProperties', 'routesPublic', 'routeFiltersIn', 'routeFiltersOut', 'nodeTypes', 'bannedIps', 'discouragedIps', 'styles', 'displayStyles', 'userBanners', 'smilies', 'bbCode', 'threadPrefixes', 'trophyUserTitles', 'reportCounts', 'moderationCounts', 'userModerationCounts', 'notices', 'userFieldsInfo')
    Run Time: 0.000264
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 26Using where
  2. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000122
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. SELECT thread.*
    	,
    		user.gender, user.avatar_date, user.gravatar,
    		NULL AS thread_read_date,
    		0 AS thread_is_watched,
    		'' AS draft_message, NULL AS draft_extra
    FROM xf_thread AS thread
    
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = thread.user_id)
    WHERE thread.thread_id = ?
    Params: 4741
    Run Time: 0.000608
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
  4. 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: 5
    Run Time: 0.000379
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  5. SELECT post.*
    	,
    		user.*, IF(user.username IS NULL, post.username, user.username) AS username,
    		user_profile.*,
    		0 AS like_date
    FROM xf_post AS post
    
    		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)
    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: 4741
    Run Time: 0.002823
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostrangethread_id_post_date,thread_id_positionthread_id_position8 15Using where; Using filesort
    SIMPLEusereq_refPRIMARYPRIMARY4terrylove_xenforo.post.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4terrylove_xenforo.post.user_id1 
  6. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (23539, 433676)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000797
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrangecontent_type_id_datecontent_type_id_date31 7Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4terrylove_xenforo.attachment.data_id1 
  7. INSERT DELAYED INTO xf_thread_view
    	(thread_id)
    VALUES
    	(?)
    Params: 4741
    Run Time: 0.000210
  8. SELECT *
    FROM xf_node
    
    ORDER BY lft ASC
    Run Time: 0.000211
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_nodeALL    36Using filesort
  9. SELECT content_id, cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = 'node'
    Params: 1
    Run Time: 0.000163
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentrefPRIMARYPRIMARY31const,const35Using where
  10. SELECT params
    FROM xf_session_activity
    WHERE user_id = '0'
    AND controller_action = 'CreateThread'
    Run Time: 0.001103
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_session_activityALLPRIMARY   3172Using where
  11. SELECT xf_thread.thread_id, xf_thread.title, xf_thread.node_id, xf_node.title AS nodetitle, xf_thread.post_date
    FROM xf_thread
    INNER JOIN xf_node ON xf_node.node_id = xf_thread.node_id
    WHERE xf_thread.title LIKE '%Advice%'
    AND xf_thread.title LIKE '%Help%'
    AND xf_thread.discussion_state = 'visible'
    AND xf_thread.discussion_type <> 'redirect'
    AND (xf_thread.node_id = 25 OR xf_thread.node_id = 6 OR xf_thread.node_id = 3 OR xf_thread.node_id = 36 OR xf_thread.node_id = 37 OR xf_thread.node_id = 38 OR xf_thread.node_id = 39 OR xf_thread.node_id = 5 OR xf_thread.node_id = 4 OR xf_thread.node_id = 22 OR xf_thread.node_id = 21 OR xf_thread.node_id = 15 OR xf_thread.node_id = 16 OR xf_thread.node_id = 17 OR xf_thread.node_id = 18 OR xf_thread.node_id = 19 OR xf_thread.node_id = 7 OR xf_thread.node_id = 26 OR xf_thread.node_id = 27 OR xf_thread.node_id = 28 OR xf_thread.node_id = 30 OR xf_thread.node_id = 31 OR xf_thread.node_id = 29 OR xf_thread.node_id = 9 OR xf_thread.node_id = 13 OR xf_thread.node_id = 12 OR xf_thread.node_id = 10 OR xf_thread.node_id = 35 OR xf_thread.node_id = 32 OR xf_thread.node_id = 24 OR xf_thread.node_id = 11 OR xf_thread.node_id = 34 OR xf_thread.node_id = 23 OR xf_thread.node_id = 33 OR xf_thread.node_id = 8)
    AND xf_thread.thread_id <> '4741'
    AND xf_thread.node_id = '5'
    
    ORDER BY xf_thread.thread_id DESC
    LIMIT 5
    Run Time: 0.060201
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_nodeconstPRIMARYPRIMARY4const1 
    SIMPLExf_threadrangePRIMARY,node_id_last_post_date,node_id_sticky_state_last_postPRIMARY4 33988Using where
  12. SELECT xf_thread.thread_id, xf_thread.title, xf_thread.node_id, xf_node.title AS nodetitle, xf_thread.post_date
    FROM xf_thread
    INNER JOIN xf_node ON xf_node.node_id = xf_thread.node_id
    WHERE xf_thread.title LIKE '%Advice%'
    AND xf_thread.discussion_state = 'visible'
    AND xf_thread.discussion_type <> 'redirect'
    AND (xf_thread.node_id = 25 OR xf_thread.node_id = 6 OR xf_thread.node_id = 3 OR xf_thread.node_id = 36 OR xf_thread.node_id = 37 OR xf_thread.node_id = 38 OR xf_thread.node_id = 39 OR xf_thread.node_id = 5 OR xf_thread.node_id = 4 OR xf_thread.node_id = 22 OR xf_thread.node_id = 21 OR xf_thread.node_id = 15 OR xf_thread.node_id = 16 OR xf_thread.node_id = 17 OR xf_thread.node_id = 18 OR xf_thread.node_id = 19 OR xf_thread.node_id = 7 OR xf_thread.node_id = 26 OR xf_thread.node_id = 27 OR xf_thread.node_id = 28 OR xf_thread.node_id = 30 OR xf_thread.node_id = 31 OR xf_thread.node_id = 29 OR xf_thread.node_id = 9 OR xf_thread.node_id = 13 OR xf_thread.node_id = 12 OR xf_thread.node_id = 10 OR xf_thread.node_id = 35 OR xf_thread.node_id = 32 OR xf_thread.node_id = 24 OR xf_thread.node_id = 11 OR xf_thread.node_id = 34 OR xf_thread.node_id = 23 OR xf_thread.node_id = 33 OR xf_thread.node_id = 8)
    AND xf_thread.thread_id <> '4741'
    AND xf_thread.node_id = '5'
    
    AND xf_thread.thread_id <> 17732
    ORDER BY xf_thread.thread_id DESC
    LIMIT 4
    Run Time: 0.001815
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_nodeconstPRIMARYPRIMARY4const1 
    SIMPLExf_threadrangePRIMARY,node_id_last_post_date,node_id_sticky_state_last_postPRIMARY4 57118Using where
  13. SELECT thread.*
    	
    FROM xf_thread AS thread
    
    WHERE thread.thread_id = ?
    Params: 4741
    Run Time: 0.000332
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
  14. SELECT node.*, forum.*
    	,
    	permission.cache_value AS node_permission_cache
    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: 5
    Run Time: 0.000335
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  15. SELECT thread.*
    	
    FROM xf_thread AS thread
    
    WHERE thread.thread_id = ?
    Params: 4741
    Run Time: 0.000228
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
  16. SELECT node.*, forum.*
    	,
    	permission.cache_value AS node_permission_cache
    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: 5
    Run Time: 0.000334
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  17. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 6ebb2dbf829d632d8ea67dc17c80af0b, a:7:{s:12:"sessionStart";i:1417172652;s:2:"ip";s:4:"6 ";s:11:"sessionCsrf";s:16:"7619qNfzXgBjQ7oX";s:9:"userAgent";s:39:"CCBot/2.0 (http://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:1416927244;}}, 1417259052
    Run Time: 0.000215
  18. 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, 6 , 6 , XenForo_ControllerPublic_Thread, Index, valid, thread_id=4741, 1417172652,
    Run Time: 0.000166
  19. 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', 'thread_view', 'resources_tab_links', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 2, 1
    Run Time: 0.000380
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 10Using 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/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/XenResource/Listener/Proxy.php
  33. library/XenForo/Router.php
  34. library/XenForo/Route/Filter.php
  35. library/XenForo/Route/Interface.php
  36. library/XenForo/Route/ResponseSuffix.php
  37. library/XenForo/Route/Prefix.php
  38. library/XenForo/Route/Prefix/Threads.php
  39. library/XenForo/RouteMatch.php
  40. library/XenForo/ControllerPublic/Thread.php
  41. library/XenForo/ControllerPublic/Abstract.php
  42. library/XenForo/Controller.php
  43. library/Andy/SimilarThreads/Listener.php
  44. library/RainDD/ThreadActivity/Listener.php
  45. library/Andy/SimilarThreads/ControllerPublic/Thread.php
  46. library/RainDD/ThreadActivity/Controller/ViewingThread.php
  47. library/RainDD/ThreadActivity/Controller/ReadThread.php
  48. library/XenForo/Input.php
  49. library/XenForo/Session.php
  50. library/XenForo/Helper/Ip.php
  51. library/XenForo/Visitor.php
  52. library/XenForo/Model/User.php
  53. library/XenResource/Listener/Proxy/ModelUser.php
  54. library/XenForo/Permission.php
  55. library/XenForo/Phrase.php
  56. library/XenForo/Locale.php
  57. library/XenForo/ControllerHelper/ForumThreadPost.php
  58. library/XenForo/ControllerHelper/Abstract.php
  59. library/XenForo/Model/Thread.php
  60. library/XenForo/Model/Forum.php
  61. library/XenForo/Helper/String.php
  62. library/XenForo/Model/Post.php
  63. library/XenForo/Model/Attachment.php
  64. library/XenForo/Route/Prefix/Attachments.php
  65. library/XenForo/Model/Node.php
  66. library/XenForo/Route/Prefix/Forums.php
  67. library/XenForo/ControllerResponse/View.php
  68. library/XenForo/ControllerResponse/Abstract.php
  69. library/Andy/SimilarThreads/Model.php
  70. library/XenForo/NodeHandler/Forum.php
  71. library/XenForo/NodeHandler/Abstract.php
  72. library/XenForo/NodeHandler/Category.php
  73. library/XenForo/Model/Category.php
  74. library/XenForo/Db.php
  75. library/XenForo/Helper/Cookie.php
  76. library/XenResource/Listener/Template.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/Thread/View.php
  82. library/XenForo/ViewPublic/Base.php
  83. library/XenForo/View.php
  84. library/XenForo/BbCode/Parser.php
  85. library/XenForo/BbCode/Formatter/Base.php
  86. library/XenForo/ViewPublic/Helper/Message.php
  87. library/XenForo/BbCode/TextWrapper.php
  88. library/XenForo/Route/Prefix/Members.php
  89. library/XenForo/Route/Prefix/Posts.php
  90. library/XenForo/Model/Avatar.php
  91. library/XenForo/Debug.php
  92. library/XenForo/ViewRenderer/Json.php