Page Time: 0.0614s

Memory: 3.2594 MB (Peak: 3.9146 MB)

Queries (9, time: 0.0123s, 20.1%)

  1. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000457
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  2. SELECT media.*
    	,
    		album.*, albumviewperm.*,
    		category.*,
    		user.*, user_profile.*, IF(user.username IS NULL, media.username, user.username) AS username,
                        attachment.attachment_id, attachment.data_id, attachment.attach_date,data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xengallery_media AS media
    	
    		LEFT JOIN xengallery_album AS album ON
    			(album.album_id = media.album_id)
    		LEFT JOIN xengallery_album_permission as albumviewperm ON
    			(album.album_id = albumviewperm.album_id AND albumviewperm.permission = 'view')
    		
    		LEFT JOIN xengallery_category AS category ON
    			(category.category_id = media.category_id)
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = media.user_id)
    		LEFT JOIN xf_user_profile AS user_profile ON
    			(user_profile.user_id = media.user_id)
                        LEFT JOIN xf_attachment AS attachment ON
                            (attachment.content_type = 'xengallery_media' AND attachment.attachment_id = media.attachment_id)
                        LEFT JOIN xf_attachment_data AS data ON
                            (data.data_id = attachment.data_id)
    	WHERE (
    			
    			media.media_privacy = 'public'
    			) AND (media.album_id = 0) AND (media.media_state IN ('visible')) AND (IF(media.album_id > 0, album.album_state = 'visible', 1=1))
    	ORDER BY media.likes DESC, media.media_date DESC, media.media_id DESC			
     LIMIT 9
    Run Time: 0.005206
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEmediaALLalbum_id_media_date   109Using where; Using temporary; Using filesort
    SIMPLEalbumconstPRIMARYPRIMARY4const1Using where
    SIMPLEalbumviewpermeq_refPRIMARYPRIMARY5admin_xenforo.album.album_id,const1 
    SIMPLEcategoryALLPRIMARY   1Using where; Using join buffer (Block Nested Loop)
    SIMPLEusereq_refPRIMARYPRIMARY4admin_xenforo.media.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4admin_xenforo.media.user_id1 
    SIMPLEattachmenteq_refPRIMARY,content_type_id_datePRIMARY4admin_xenforo.media.attachment_id1Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4admin_xenforo.attachment.data_id1 
  3. SELECT COUNT(*)
    FROM xengallery_media AS media
    
    		LEFT JOIN xengallery_album AS album ON
    			(album.album_id = media.album_id)
    		LEFT JOIN xengallery_album_permission as albumviewperm ON
    			(album.album_id = albumviewperm.album_id AND albumviewperm.permission = 'view')
    		
    		LEFT JOIN xengallery_category AS category ON
    			(category.category_id = media.category_id)
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = media.user_id)
    		LEFT JOIN xf_user_profile AS user_profile ON
    			(user_profile.user_id = media.user_id)
                        LEFT JOIN xf_attachment AS attachment ON
                            (attachment.content_type = 'xengallery_media' AND attachment.attachment_id = media.attachment_id)
                        LEFT JOIN xf_attachment_data AS data ON
                            (data.data_id = attachment.data_id)
    WHERE (
    			
    			media.media_privacy = 'public'
    			) AND (media.album_id = 0) AND (media.media_state IN ('visible')) AND (IF(media.album_id > 0, album.album_state = 'visible', 1=1))
    Run Time: 0.001970
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEmediaALLalbum_id_media_date   109Using where
    SIMPLEalbumconstPRIMARYPRIMARY4const1Using where
    SIMPLEalbumviewpermeq_refPRIMARYPRIMARY5admin_xenforo.album.album_id,const1Using index
    SIMPLEcategoryeq_refPRIMARYPRIMARY4admin_xenforo.media.category_id1Using index
    SIMPLEusereq_refPRIMARYPRIMARY4admin_xenforo.media.user_id1Using index
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4admin_xenforo.media.user_id1Using index
    SIMPLEattachmenteq_refPRIMARY,content_type_id_datePRIMARY4admin_xenforo.media.attachment_id1Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4admin_xenforo.attachment.data_id1Using index
  4. SELECT *
    FROM xengallery_category
    ORDER BY display_order
    Run Time: 0.000488
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExengallery_categoryALL    1Using filesort
  5. SELECT user.user_id, user.username,
    	user.xengallery_media_count, user.avatar_date,
    	user.gravatar, user.avatar_width,
    	user.avatar_height, user.display_style_group_id
    FROM xf_user AS user
    WHERE xengallery_media_count > 0
    ORDER BY xengallery_media_count DESC
    LIMIT ?
    Params: 5
    Run Time: 0.001143
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuserALL    553Using where; Using filesort
  6. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 5f731749bdb2892738ed2fab4e0cd991, , 1568529496
    Run Time: 0.000503
  7. 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, , , XenGallery_ControllerPublic_Media, Index, valid, , 1568525896,
    Run Time: 0.000215
  8. SELECT COUNT(*) AS total
    FROM EWRrio_streams
    	LEFT JOIN EWRrio_games ON (EWRrio_games.game_id = EWRrio_streams.game_id)
    Run Time: 0.000680
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRrio_streamsALL    2 
    SIMPLEEWRrio_gameseq_refPRIMARYPRIMARY4admin_xenforo.EWRrio_streams.game_id1Using index
  9. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'xengallery_category_wrapper', 'xengallery_bb_code_tag_gallery', 'xengallery_media_index', 'xengallery_tab_links', 'EWRrio_Navtabs', 'EWRporta2_Navtabs', 'xengallery_comments_block', 'xengallery_media_block_items', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 2, 6
    Run Time: 0.001656
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 10Using index condition

Included Files (103, XenForo Classes: 43)

  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/Memcached.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/EWRrio/Listener/Init.php
  29. library/EWRporta2/Listener/Init.php
  30. library/XenGallery/Listener.php
  31. library/XenForo/Router.php
  32. library/XenForo/Route/Filter.php
  33. library/XenForo/Route/Interface.php
  34. library/XenForo/Route/ResponseSuffix.php
  35. library/XenForo/Route/Prefix.php
  36. library/XenForo/RouteMatch.php
  37. library/XenGallery/Route/Prefix/Media.php
  38. library/XenGallery/ControllerPublic/Media.php
  39. library/XenGallery/ControllerPublic/Abstract.php
  40. library/XenForo/ControllerPublic/Abstract.php
  41. library/XenForo/Controller.php
  42. library/Vinavb/CustomNodeIcon/Listener.php
  43. library/LiquidPro/SimpleForms/EventListener.php
  44. library/XenForo/Input.php
  45. library/XenForo/Session.php
  46. library/Zend/Db.php
  47. library/Zend/Db/Adapter/Mysqli.php
  48. library/Zend/Db/Adapter/Abstract.php
  49. library/Zend/Db/Select.php
  50. library/Zend/Db/Expr.php
  51. library/Zend/Db/Profiler.php
  52. library/Zend/Db/Statement/Mysqli.php
  53. library/Zend/Db/Statement.php
  54. library/Zend/Db/Statement/Interface.php
  55. library/XenForo/Helper/Ip.php
  56. library/XenForo/Visitor.php
  57. library/XenForo/Model/User.php
  58. library/LiquidPro/Core/EventListener/LoadClassModel.php
  59. library/EWRporta2/Listener/Model.php
  60. library/XenGallery/Model/User.php
  61. library/EWRporta2/Model/User.php
  62. library/Zend/Db/Profiler/Query.php
  63. library/XenForo/Permission.php
  64. library/XenForo/Helper/Php.php
  65. library/XenForo/Phrase.php
  66. library/XenForo/Locale.php
  67. library/XenGallery/Model/Media.php
  68. library/UnreadPostCount/Listener.php
  69. library/XenGallery/Model/Category.php
  70. library/XenForo/Model/Attachment.php
  71. library/XenGallery/Model/Comment.php
  72. library/XenGallery/Model/Album.php
  73. library/XenForo/ControllerResponse/View.php
  74. library/XenForo/ControllerResponse/Abstract.php
  75. library/XenForo/Helper/Cookie.php
  76. library/XenForo/ViewRenderer/HtmlPublic.php
  77. library/XenForo/ViewRenderer/Abstract.php
  78. library/XenForo/Template/Public.php
  79. library/XenForo/Template/Abstract.php
  80. library/EWRporta2/Listener/ViewPublic.php
  81. library/XenForo/ViewPublic/Base.php
  82. library/XenForo/View.php
  83. library/XfRu/UserAlbums/EventListener/Template.php
  84. library/Dark/TaigaChat/EventListener/Listener.php
  85. library/XenGallery/ViewPublic/Media/Wrapper.php
  86. library/XenForo/Route/Prefix/Members.php
  87. library/XfRu/UserAlbums/EventListener/Tab.php
  88. library/XfRu/UserAlbums/Permissions.php
  89. library/Ragtek/NBM/StaticMethods.php
  90. library/Dark/TaigaChat/EventListener/NavigationTabs.php
  91. library/EWRporta2/Listener/NavTabs.php
  92. library/EWRporta2/Model/Perms.php
  93. library/EWRrio/Listener/NavTabs.php
  94. library/EWRrio/Model/Perms.php
  95. library/EWRrio/Model/Streams.php
  96. library/XenGallery/Template/Helper/Core.php
  97. library/XenGallery/Callback.php
  98. library/XenForo/Helper/Criteria.php
  99. library/XenForo/Debug.php
  100. library/XenForo/Helper/String.php
  101. library/EWRporta2/Listener/Template.php
  102. library/XenForo/ViewRenderer/Json.php
  103. library/Vinavb/CustomNodeIcon/Icon.php