Page Time: 2.5520s

Memory: 5.4247 MB (Peak: 6.3270 MB)

Queries (8, time: 2.4816s, 97.2%)

  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.001787
    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.000316
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. SELECT node.*, forum.*
    	,
    permission.cache_value AS node_permission_cache,
    	IF(forum_read.forum_read_date > 1631282207, forum_read.forum_read_date, 1631282207) AS forum_read_date
    FROM sf_xenkingdir_dir AS forum
    INNER JOIN sf_xenkingdir_directory_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)
    	LEFT JOIN xf_forum_read AS forum_read ON
    		(forum_read.node_id = forum.node_id
    		AND forum_read.user_id = 1)
    order by title
    Run Time: 0.003746
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumALLPRIMARY   7Using temporary; Using filesort
    SIMPLEnodeALLPRIMARY   7Using where; Using join buffer (hash join)
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,fierceboard.forum.node_id1Using where
    SIMPLEforum_readeq_refuser_id_node_id,node_iduser_id_node_id8const,fierceboard.forum.node_id1 
  4. SELECT catagory_count, sub_catagory_count, active_count, non_active_count, review_count FROM ( SELECT count(title) AS catagory_count FROM sf_xenkingdir_directory_node WHERE parent_node_id =0) AS a, ( SELECT count(title) AS sub_catagory_count FROM sf_xenkingdir_directory_node WHERE parent_node_id !=0) AS b, ( SELECT count(node_id) AS active_count FROM xf_thread WHERE node_id = '147' AND discussion_state = 'visible') AS c, ( SELECT count(node_id) AS non_active_count FROM xf_thread WHERE node_id = '147' AND discussion_state != 'visible') AS d, ( SELECT count(xf_post.thread_id) AS review_count FROM xf_post LEFT JOIN xf_thread ON xf_post.thread_id = xf_thread.thread_id WHERE xf_thread.node_id = '147' AND xf_post.position > 0 AND xf_thread.discussion_state = 'visible') AS e
    Run Time: 0.225011
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARY<derived2>system    1 
    PRIMARY<derived3>system    1 
    PRIMARY<derived4>system    1 
    PRIMARY<derived5>system    1 
    PRIMARY<derived6>system    1 
    DERIVEDxf_threadrefPRIMARY,node_id_last_post_date,node_id_sticky_state_last_postnode_id_sticky_state_last_post4const2928Using where; Using index
    DERIVEDxf_postrefthread_id_post_date,thread_id_positionthread_id_position4fierceboard.xf_thread.thread_id35Using where; Using index
    DERIVEDxf_threadrefnode_id_last_post_date,node_id_sticky_state_last_postnode_id_sticky_state_last_post4const2928Using where; Using index
    DERIVEDxf_threadrefnode_id_last_post_date,node_id_sticky_state_last_postnode_id_sticky_state_last_post4const2928Using where; Using index
    DERIVEDsf_xenkingdir_directory_noderangeparent_directory_idparent_directory_id4 2Using index condition
    DERIVEDsf_xenkingdir_directory_nodeALLparent_directory_id   7Using where
  5. SELECT review . * , user.username, user.avatar_date, user.avatar_width, user.avatar_height, user.gravatar, thread.title
    FROM xf_post AS review
    LEFT JOIN xf_user AS user ON ( user.user_id = review.user_id )
    LEFT JOIN xf_thread AS thread ON ( review.thread_id = thread.thread_id )
    WHERE thread.discussion_state = 'visible'
    AND thread.node_id = '147'
    AND review.position >0
    ORDER BY review.post_date DESC
     LIMIT 5
    Run Time: 2.244465
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrefPRIMARY,node_id_last_post_date,node_id_sticky_state_last_postnode_id_last_post_date4const2928Using index condition; Using where; Using temporary; Using filesort
    SIMPLEreviewrefthread_id_post_date,thread_id_positionthread_id_post_date4fierceboard.thread.thread_id25Using where
    SIMPLEusereq_refPRIMARYPRIMARY4fierceboard.review.user_id1 
  6. SELECT listing . * , user.username, user.avatar_date, user.avatar_width, user.avatar_height, user.gravatar
    FROM xf_thread AS listing
    LEFT JOIN xf_user AS user ON ( user.user_id = listing.user_id )
    WHERE listing.discussion_state = 'visible'
    AND listing.node_id = '147'
    ORDER BY listing.post_date DESC
     LIMIT 5
    Run Time: 0.003233
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLElistingindexnode_id_last_post_date,node_id_sticky_state_last_postpost_date4 67Using where; Backward index scan
    SIMPLEusereq_refPRIMARYPRIMARY4fierceboard.listing.user_id1 
  7. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: ede85b733468ec1822d4a2031e864f02, , 1632149807
    Run Time: 0.001585
  8. 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, , , XenKingDir_ControllerPublic_Directory, Index, valid, , 1632146207,
    Run Time: 0.001441

Included Files (74, XenForo Classes: 47)

  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/Options.php
  29. library/XenForo/Link.php
  30. library/XenForo/Template/Helper/Core.php
  31. library/XenForo/CodeEvent.php
  32. library/XenForo/Router.php
  33. library/XenForo/Route/Filter.php
  34. library/XenForo/Route/Interface.php
  35. library/XenForo/Route/ResponseSuffix.php
  36. library/XenForo/Route/Prefix.php
  37. library/XenForo/RouteMatch.php
  38. library/XenKingDir/Route/Prefix/Directory.php
  39. library/XenKingDir/ControllerPublic/Directory.php
  40. library/XenForo/ControllerPublic/Forum.php
  41. library/XenForo/ControllerPublic/Abstract.php
  42. library/XenForo/Controller.php
  43. library/XenForo/Input.php
  44. library/XenForo/Session.php
  45. library/XenForo/Helper/Ip.php
  46. library/XenForo/Visitor.php
  47. library/XenForo/Model/User.php
  48. library/XenForo/Permission.php
  49. library/XenForo/Helper/Php.php
  50. library/XenForo/Phrase.php
  51. library/XenForo/Locale.php
  52. library/XenKingDir/Model/Perms.php
  53. library/XenKingDir/Model/Dir.php
  54. library/XenForo/Model/Forum.php
  55. library/XenForo/ControllerResponse/View.php
  56. library/XenForo/ControllerResponse/Abstract.php
  57. library/XenForo/Helper/Cookie.php
  58. library/XenForo/ViewRenderer/HtmlPublic.php
  59. library/XenForo/ViewRenderer/Abstract.php
  60. library/XenForo/Template/Public.php
  61. library/XenForo/Template/Abstract.php
  62. library/XenForo/ViewPublic/Base.php
  63. library/XenForo/View.php
  64. library/XenForo/Route/Prefix/Members.php
  65. library/XenForo/Template/FileHandler.php
  66. library/XenForo/Helper/File.php
  67. internal_data/templates/S.28,L.1,sfdirectory_index.php
  68. library/XenForo/Model/Avatar.php
  69. library/XenKingDir/Route/Prefix/Reviews.php
  70. library/XenForo/Helper/String.php
  71. library/XenForo/Helper/Criteria.php
  72. library/XenForo/Debug.php
  73. internal_data/templates/S.28,L.1,PAGE_CONTAINER.php
  74. library/XenForo/ViewRenderer/Json.php