Page Time: 3.1326s

Memory: 2.0892 MB (Peak: 2.1717 MB)

Queries (9, time: 3.1163s, 99.5%)

  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.002843
    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.000244
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: dark_postrating_ratings
    Run Time: 0.000301
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  4. SELECT user.*
    	
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,2,4,5,15,16,6,7,8,10)) as positive_rating_count
    
    		, ((select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,2,4,5,15,16,6,7,8,10)) + user.like_count) as positive_rating_count_incl_likes
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (11,12,13)) as negative_rating_count
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (14,20,3,23,22,9,21)) as neutral_rating_count
    
    ,(select sum(count_received) from dark_postrating_count where user_id = user.user_id) as total_rating_count
    
    FROM xf_user AS user
    
    WHERE user.user_id = ?
    Params: 32436
    Run Time: 0.000571
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4const11 
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 7Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 3Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 10Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 10Using index condition
  5. SELECT search_index.content_type, search_index.content_id
    FROM xf_search_index AS search_index
    
    WHERE MATCH(search_index.title, search_index.metadata) AGAINST (? IN BOOLEAN MODE)
    	
    
    ORDER BY search_index.item_date desc
    LIMIT 200
    Params: +(_md_user_32436) +_md_content_thread
    Run Time: 3.109842
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsearch_indexfulltexttitle_metadatatitle_metadata0 1Using where; Using filesort
  6. SELECT ignore_thread.*
    FROM xf_ignore_thread AS ignore_thread
    WHERE ignore_thread.user_id = ?
    ORDER BY ignore_time DESC
    Params: 0
    Run Time: 0.000181
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEignore_threadrefuser_threaduser_thread4const1Using where; Using filesort
  7. SELECT thread.*
    	,
    		user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
    		node.title AS node_title, node.node_name,
    		post.message, post.attach_count,
    		NULL AS thread_read_date,
    		0 AS user_post_count,
    	permission.cache_value AS node_permission_cache, (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 1) as dark_postrating_1_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 14) as dark_postrating_14_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 20) as dark_postrating_20_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 2) as dark_postrating_2_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 3) as dark_postrating_3_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 4) as dark_postrating_4_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 5) as dark_postrating_5_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 15) as dark_postrating_15_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 16) as dark_postrating_16_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 6) as dark_postrating_6_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 7) as dark_postrating_7_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 8) as dark_postrating_8_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 23) as dark_postrating_23_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 22) as dark_postrating_22_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 9) as dark_postrating_9_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 21) as dark_postrating_21_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 10) as dark_postrating_10_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 11) as dark_postrating_11_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 12) as dark_postrating_12_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 13) as dark_postrating_13_count, 1 as dark_postrating_has_fetched_max
    
    FROM xf_thread AS thread
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = thread.user_id)
    		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 (1150158)
    	AND 1=1
    Run Time: 0.001579
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYthreadconstPRIMARYPRIMARY4const1 
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYnodeconstPRIMARYPRIMARY4const1 
    PRIMARYpostconstPRIMARYPRIMARY4const1 
    PRIMARYpermissionconstPRIMARYPRIMARY35const,const,const1 
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const3Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
  8. INSERT INTO `xf_search` (`search_results`, `result_count`, `search_type`, `search_query`, `search_constraints`, `search_order`, `search_grouping`, `user_results`, `warnings`, `user_id`, `search_date`, `query_hash`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
    Params: [["thread",1150158]], 1, user, , {"user_id":32436,"content":"thread"}, date, 0, , [], 0, 1573579137, a8e3e985c946253cf9aebe850c7df24d
    Run Time: 0.000458
  9. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 194d62331594f644bb93256142f4df13, , 1573582737
    Run Time: 0.000268

Included Files (78, XenForo Classes: 46)

  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/Phrase.php
  29. library/XenForo/CodeEvent.php
  30. library/XenForo/Options.php
  31. library/XenForo/Link.php
  32. library/XenForo/Template/Helper/Core.php
  33. library/Siropu/Chat/Listener.php
  34. library/XenForo/Router.php
  35. library/XenForo/Route/Filter.php
  36. library/XenForo/Route/Interface.php
  37. library/XenForo/Route/ResponseSuffix.php
  38. library/XenForo/Route/Prefix.php
  39. library/XenForo/Route/Prefix/Search.php
  40. library/XenForo/RouteMatch.php
  41. library/XenForo/ControllerPublic/Search.php
  42. library/XenForo/ControllerPublic/Abstract.php
  43. library/XenForo/Controller.php
  44. library/Dark/PostRating/EventListener.php
  45. library/Nobita/IgnoreThread/Listener.php
  46. library/XenES/Listener.php
  47. library/XenES/Proxy/ControllerSearch.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/Dark/PostRating/Model/User.php
  54. library/XenForo/Permission.php
  55. library/XenForo/Helper/Php.php
  56. library/XenForo/Locale.php
  57. library/PatsFans/Picks/pfpreferences.php
  58. /home/httpd/vhosts/patsfans.com/httpdocs/library/pf_forum/pdo/config.php
  59. library/Dark/PostRating/Model.php
  60. library/XenForo/Model/Search.php
  61. library/XenForo/Search/Searcher.php
  62. library/XenForo/Search/SourceHandler/Abstract.php
  63. library/XenForo/Search/SourceHandler/MySqlFt.php
  64. library/XenForo/Search/DataHandler/Thread.php
  65. library/XenForo/Search/DataHandler/Abstract.php
  66. library/XenForo/Model/Thread.php
  67. library/Dark/PostRating/Model/Thread.php
  68. library/Nobita/IgnoreThread/Model/Thread.php
  69. library/Nobita/IgnoreThread/Model/IgnoreThread.php
  70. library/XenForo/Model/Forum.php
  71. library/XenForo/ControllerResponse/Redirect.php
  72. library/XenForo/ControllerResponse/Abstract.php
  73. library/XenForo/Helper/Cookie.php
  74. library/XenForo/ViewRenderer/HtmlPublic.php
  75. library/XenForo/ViewRenderer/Abstract.php
  76. library/XenForo/Template/Public.php
  77. library/XenForo/Template/Abstract.php
  78. library/XenForo/Debug.php