Page Time: 0.1551s

Memory: 11.6497 MB (Peak: 34.7715 MB)

Queries (11, time: 0.0801s, 51.7%)

  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.043639
    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.000301
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. SELECT resource.*
    	,
    		version.version_string,
    		version.release_date,
    		version.download_url,
    		version.rating_count AS version_rating_count,
    		version.rating_sum AS version_rating_sum,
    		version.download_count AS version_download_count,
    		user.*, user_profile.*, IF(user.username IS NULL, resource.username, user.username) AS username,
    		attachment.attachment_id,
    		attachment.view_count AS attachment_view_count,
    		attachment_data.filename AS attachment_filename,
    		attachment_data.file_size AS attachment_file_size,
    		feature.feature_date,
    		0 AS is_watched,
    		0 AS last_download_date
    FROM xf_resource AS resource
    	
    		LEFT JOIN xf_resource_version AS version ON
    			(version.resource_version_id = resource.current_version_id)
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = resource.user_id)
    		LEFT JOIN xf_user_profile AS user_profile ON
    			(user_profile.user_id = resource.user_id)
    		LEFT JOIN xf_attachment AS attachment ON
    			(attachment.content_type = 'resource_version' AND attachment.content_id = version.resource_version_id)
    		LEFT JOIN xf_attachment_data AS attachment_data ON
    			(attachment_data.data_id = attachment.data_id)
    		LEFT JOIN xf_resource_feature AS feature ON
    			(feature.resource_id = resource.resource_id)
    WHERE resource.resource_id = ?
    Params: 1
    Run Time: 0.001133
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEresourceconstPRIMARYPRIMARY4const1 
    SIMPLEversionconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEuser_profileconstPRIMARYPRIMARY4const1 
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using where
    SIMPLEattachment_dataeq_refPRIMARYPRIMARY4nulumia_demoxen.attachment.data_id1 
    SIMPLEfeatureconstPRIMARYPRIMARY4const1 
  4. SELECT resource_category.*
    	,
    	permission.cache_value AS category_permission_cache
    FROM xf_resource_category AS resource_category
    
    	LEFT JOIN xf_permission_cache_content AS permission
    		ON (permission.permission_combination_id = 1
    			AND permission.content_type = 'resource_category'
    			AND permission.content_id = resource_category.resource_category_id)
    WHERE resource_category.resource_category_id = ?
    Params: 2
    Run Time: 0.000316
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEresource_categoryconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  5. SELECT resource_update.*
    	,
    		0 AS like_date,
    	1 AS user_id
    FROM xf_resource_update AS resource_update
    	
    WHERE resource_update.resource_update_id = ?
    Params: 1
    Run Time: 0.000516
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEresource_updateconstPRIMARYPRIMARY4const1 
  6. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, 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 (1)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: resource_update
    Run Time: 0.000535
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const10Using index condition; Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4nulumia_demoxen.attachment.data_id1 
  7. SELECT resource.*
    	,
    	version.version_string,
    	version.release_date,
    	version.download_url,
    	version.rating_count AS version_rating_count,
    	version.rating_sum AS version_rating_sum,
    	version.download_count AS version_download_count,
    permission.cache_value AS category_permission_cache
    FROM xf_resource AS resource
    
    	LEFT JOIN xf_resource_version AS version ON
    		(version.resource_version_id = resource.current_version_id)
    LEFT JOIN xf_permission_cache_content AS permission
    	ON (permission.permission_combination_id = 1
    		AND permission.content_type = 'resource_category'
    		AND permission.content_id = resource.resource_category_id)
    WHERE (resource.user_id = 1) AND (resource.resource_id <> 1) AND (resource.resource_state = 'visible')
    ORDER BY resource.last_update DESC
     LIMIT 5
    Run Time: 0.001576
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEresourcerefPRIMARY,user_id_last_updateuser_id_last_update4const5Using index condition; Using where; Using temporary; Using filesort
    SIMPLEversionALLPRIMARY   5Using where; Using join buffer (Block Nested Loop)
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,nulumia_demoxen.resource.resource_category_id1Using where
  8. SELECT thread.*
    	,
    		node.title AS node_title, node.node_name,
    	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_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 = ?
    Params: 45
    Run Time: 0.000320
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLE       Impossible WHERE noticed after reading const tables
  9. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 3de4b77b05a7b1dd814a523550f296a8, , 1606641125
    Run Time: 0.014736
  10. 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, , , XenResource_ControllerPublic_Resource, View, valid, resource_id=1, 1606637525,
    Run Time: 0.000205
  11. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'resource_view', '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', 'resource_description', 'xengallery_tab_links', 'resources_tab_links', 'xengallery_comments_block', 'xengallery_media_block_items', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 11, 1
    Run Time: 0.016870
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 15Using where

Included Files (88, XenForo Classes: 0)

  1. index.php
  2. /home/nulumia/subdomain/demo/xenforo/index.php
  3. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Autoloader.php
  4. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Application.php
  5. /home/nulumia/subdomain/demo/xenforo/library/Zend/Registry.php
  6. /home/nulumia/subdomain/demo/xenforo/library/Lgpl/utf8.php
  7. /home/nulumia/subdomain/demo/xenforo/library/Zend/Config.php
  8. /home/nulumia/subdomain/demo/xenforo/library/config.php
  9. /home/nulumia/subdomain/demo/xenforo/library/XenForo/FrontController.php
  10. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Dependencies/Public.php
  11. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Dependencies/Abstract.php
  12. /home/nulumia/subdomain/demo/xenforo/library/Zend/Controller/Request/Http.php
  13. /home/nulumia/subdomain/demo/xenforo/library/Zend/Controller/Request/Abstract.php
  14. /home/nulumia/subdomain/demo/xenforo/library/Zend/Uri.php
  15. /home/nulumia/subdomain/demo/xenforo/library/Zend/Controller/Response/Http.php
  16. /home/nulumia/subdomain/demo/xenforo/library/Zend/Controller/Response/Abstract.php
  17. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Model/DataRegistry.php
  18. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Model.php
  19. /home/nulumia/subdomain/demo/xenforo/library/Zend/Db.php
  20. /home/nulumia/subdomain/demo/xenforo/library/Zend/Db/Adapter/Mysqli.php
  21. /home/nulumia/subdomain/demo/xenforo/library/Zend/Db/Adapter/Abstract.php
  22. /home/nulumia/subdomain/demo/xenforo/library/Zend/Db/Select.php
  23. /home/nulumia/subdomain/demo/xenforo/library/Zend/Db/Expr.php
  24. /home/nulumia/subdomain/demo/xenforo/library/Zend/Db/Profiler.php
  25. /home/nulumia/subdomain/demo/xenforo/library/Zend/Db/Statement/Mysqli.php
  26. /home/nulumia/subdomain/demo/xenforo/library/Zend/Db/Statement.php
  27. /home/nulumia/subdomain/demo/xenforo/library/Zend/Db/Statement/Interface.php
  28. /home/nulumia/subdomain/demo/xenforo/library/Zend/Db/Profiler/Query.php
  29. /home/nulumia/subdomain/demo/xenforo/library/XenForo/CodeEvent.php
  30. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Options.php
  31. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Link.php
  32. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Template/Helper/Core.php
  33. /home/nulumia/subdomain/demo/xenforo/library/XenResource/Listener/Proxy.php
  34. /home/nulumia/subdomain/demo/xenforo/library/XenGallery/Listener.php
  35. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Router.php
  36. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Route/Filter.php
  37. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Route/Interface.php
  38. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Route/ResponseSuffix.php
  39. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Route/Prefix.php
  40. /home/nulumia/subdomain/demo/xenforo/library/XenResource/Route/Prefix/Resources.php
  41. /home/nulumia/subdomain/demo/xenforo/library/XenForo/RouteMatch.php
  42. /home/nulumia/subdomain/demo/xenforo/library/XenResource/ControllerPublic/Resource.php
  43. /home/nulumia/subdomain/demo/xenforo/library/XenForo/ControllerPublic/Abstract.php
  44. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Controller.php
  45. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Input.php
  46. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Session.php
  47. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Helper/Ip.php
  48. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Visitor.php
  49. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Model/User.php
  50. /home/nulumia/subdomain/demo/xenforo/library/XenResource/Listener/Proxy/ModelUser.php
  51. /home/nulumia/subdomain/demo/xenforo/library/XenGallery/Model/User.php
  52. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Permission.php
  53. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Helper/Php.php
  54. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Phrase.php
  55. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Locale.php
  56. /home/nulumia/subdomain/demo/xenforo/library/XenResource/Model/Resource.php
  57. /home/nulumia/subdomain/demo/xenforo/library/XenForo/ControllerResponse/Reroute.php
  58. /home/nulumia/subdomain/demo/xenforo/library/XenForo/ControllerResponse/Abstract.php
  59. /home/nulumia/subdomain/demo/xenforo/library/XenResource/ControllerHelper/Resource.php
  60. /home/nulumia/subdomain/demo/xenforo/library/XenForo/ControllerHelper/Abstract.php
  61. /home/nulumia/subdomain/demo/xenforo/library/XenResource/Model/Category.php
  62. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Helper/String.php
  63. /home/nulumia/subdomain/demo/xenforo/library/XenResource/Model/Update.php
  64. /home/nulumia/subdomain/demo/xenforo/library/XenResource/Model/Version.php
  65. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Model/Attachment.php
  66. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Route/Prefix/Attachments.php
  67. /home/nulumia/subdomain/demo/xenforo/library/XenForo/ControllerResponse/View.php
  68. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Model/Thread.php
  69. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Helper/Cookie.php
  70. /home/nulumia/subdomain/demo/xenforo/library/XenForo/ViewRenderer/HtmlPublic.php
  71. /home/nulumia/subdomain/demo/xenforo/library/XenForo/ViewRenderer/Abstract.php
  72. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Template/Public.php
  73. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Template/Abstract.php
  74. /home/nulumia/subdomain/demo/xenforo/library/XenResource/ViewPublic/Resource/Description.php
  75. /home/nulumia/subdomain/demo/xenforo/library/XenForo/ViewPublic/Base.php
  76. /home/nulumia/subdomain/demo/xenforo/library/XenForo/View.php
  77. /home/nulumia/subdomain/demo/xenforo/library/XenForo/BbCode/Parser.php
  78. /home/nulumia/subdomain/demo/xenforo/library/XenForo/BbCode/Formatter/Base.php
  79. /home/nulumia/subdomain/demo/xenforo/library/XenForo/ViewPublic/Helper/Message.php
  80. /home/nulumia/subdomain/demo/xenforo/library/XenForo/BbCode/TextWrapper.php
  81. /home/nulumia/subdomain/demo/xenforo/library/XenResource/Listener/Template.php
  82. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Route/Prefix/Members.php
  83. /home/nulumia/subdomain/demo/xenforo/library/XenResource/ViewPublic/Helper/Resource.php
  84. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Route/Prefix/Tags.php
  85. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Model/Avatar.php
  86. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Helper/Criteria.php
  87. /home/nulumia/subdomain/demo/xenforo/library/XenForo/Debug.php
  88. /home/nulumia/subdomain/demo/xenforo/library/XenForo/ViewRenderer/Json.php