Page Time: 0.0613s

Memory: 8.4149 MB (Peak: 10.2043 MB)

Queries (11, time: 0.0073s, 11.9%)

  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.000739
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 26Using where
  2. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('brListenerClasses', 'brBriviumAddOns')
    Run Time: 0.000168
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 2Using where
  3. SELECT *
    FROM xf_brivium_addon
    ORDER BY addon_id
    Run Time: 0.000150
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_brivium_addonindex PRIMARY77 1 
  4. INSERT INTO xf_data_registry
    	(data_key, data_value)
    VALUES
    	(?, ?)
    ON DUPLICATE KEY UPDATE
    	data_value = VALUES(data_value)
    Params: brBriviumAddOns, a:0:{}
    Run Time: 0.000150
  5. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000152
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  6. SELECT *
    FROM xf_search
    WHERE search_id = ?
    Params: 6757673
    Run Time: 0.000211
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLE       Impossible WHERE noticed after reading const tables
  7. SELECT category_id
    FROM xengallery_category_map
    WHERE view_user_group_id IN (1)
    Run Time: 0.000137
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExengallery_category_mapindex PRIMARY8 16Using where; Using index
  8. 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 FORCE INDEX (PRIMARY) 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'
    			OR IF(media.category_id > 0, media.category_id IN (1, 2), NULL)) AND (media.media_state IN ('visible')) AND (IF(media.album_id > 0, album.album_state = 'visible', 1=1))
    	ORDER BY media.media_date DESC, media.media_id DESC			
     LIMIT 60
    Run Time: 0.002206
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEmediaALL    162Using where; Using filesort
    SIMPLEalbumeq_refPRIMARYPRIMARY4xenforo.cc.media.album_id1Using where
    SIMPLEalbumviewpermeq_refPRIMARYPRIMARY5xenforo.cc.album.album_id,const1Using where
    SIMPLEcategoryeq_refPRIMARYPRIMARY4xenforo.cc.media.category_id1 
    SIMPLEusereq_refPRIMARYPRIMARY4xenforo.cc.media.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4xenforo.cc.media.user_id1 
    SIMPLEattachmenteq_refPRIMARY,content_type_id_datePRIMARY4xenforo.cc.media.attachment_id1Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4xenforo.cc.attachment.data_id1 
  9. 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 FORCE INDEX (media_date)
    	
    		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 FORCE INDEX (PRIMARY) 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_id IN (170, 169, 168, 166, 163, 162, 161, 160, 159, 158, 157, 154, 153, 152, 151, 150, 149, 148, 147, 146, 145, 144, 143, 142, 141, 140, 139, 138, 137, 136, 135, 134, 133, 132, 131, 130, 129, 128, 127, 126, 125, 124, 123, 122, 121, 120, 119, 118, 117, 116, 115, 114, 113, 112, 111, 110, 109, 108, 107, 106)) AND (media.media_state = 'visible') AND (IF(media.album_id > 0, album.album_state = 'visible', 1=1))
    Run Time: 0.001809
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEmediaALL    162Using where
    SIMPLEalbumeq_refPRIMARYPRIMARY4xenforo.cc.media.album_id1Using where
    SIMPLEalbumviewpermeq_refPRIMARYPRIMARY5xenforo.cc.album.album_id,const1Using where
    SIMPLEcategoryeq_refPRIMARYPRIMARY4xenforo.cc.media.category_id1 
    SIMPLEusereq_refPRIMARYPRIMARY4xenforo.cc.media.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4xenforo.cc.media.user_id1 
    SIMPLEattachmenteq_refPRIMARY,content_type_id_datePRIMARY4xenforo.cc.media.attachment_id1Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4xenforo.cc.attachment.data_id1 
  10. 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: [["xengallery_media",170],["xengallery_media",169],["xengallery_media",168],["xengallery_media",166],["xengallery_media",163],["xengallery_media",162],["xengallery_media",161],["xengallery_media",160],["xengallery_media",159],["xengallery_media",158],["xengallery_media",157],["xengallery_media",154],["xengallery_media",153],["xengallery_media",152],["xengallery_media",151],["xengallery_media",150],["xengallery_media",149],["xengallery_media",148],["xengallery_media",147],["xengallery_media",146],["xengallery_media",145],["xengallery_media",144],["xengallery_media",143],["xengallery_media",142],["xengallery_media",141],["xengallery_media",140],["xengallery_media",139],["xengallery_media",138],["xengallery_media",137],["xengallery_media",136],["xengallery_media",135],["xengallery_media",134],["xengallery_media",133],["xengallery_media",132],["xengallery_media",131],["xengallery_media",130],["xengallery_media",129],["xengallery_media",128],["xengallery_media",127],["xengallery_media",126],["xengallery_media",125],["xengallery_media",124],["xengallery_media",123],["xengallery_media",122],["xengallery_media",121],["xengallery_media",120],["xengallery_media",119],["xengallery_media",118],["xengallery_media",117],["xengallery_media",116],["xengallery_media",115],["xengallery_media",114],["xengallery_media",113],["xengallery_media",112],["xengallery_media",111],["xengallery_media",110],["xengallery_media",109],["xengallery_media",108],["xengallery_media",107],["xengallery_media",106]], 60, xengallery_media, , ["findNew"], date, 0, , [], 0, 1711636285, 36479db84cc074f46b51a4d21e63f89a
    Run Time: 0.001046
  11. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 99f4f52992f3476c367ef71c7cc2fdc3, , 1711639885
    Run Time: 0.000557

Included Files (76, XenForo Classes: 40)

  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/XenGallery/Listener.php
  34. library/Brivium/BriviumHelper/EventListeners.php
  35. library/Brivium/BriviumHelper/1000271/EventListeners.php
  36. library/SV/RedisCache/Listener.php
  37. library/BestAnswer/Listener.php
  38. library/SV/RedisCache/XenForo/Model/DataRegistry.php
  39. library/Brivium/BriviumHelper/Model/ListenerClass.php
  40. library/Brivium/BriviumHelper/1000271/Model/ListenerClass.php
  41. library/XenForo/Router.php
  42. library/XenForo/Route/Filter.php
  43. library/XenForo/Route/Interface.php
  44. library/XenForo/Route/ResponseSuffix.php
  45. library/XenForo/Route/Prefix.php
  46. library/XenForo/Route/Prefix/FindNew.php
  47. library/XenForo/RouteMatch.php
  48. library/XenForo/ControllerPublic/FindNew.php
  49. library/XenForo/ControllerPublic/Abstract.php
  50. library/XenForo/Controller.php
  51. library/XenGallery/ControllerPublic/FindNew.php
  52. library/XenResource/Listener/Proxy/ControllerFindNew.php
  53. library/XenForo/Input.php
  54. library/XenForo/Session.php
  55. library/XenForo/Helper/Ip.php
  56. library/XenForo/Visitor.php
  57. library/XenForo/Model/User.php
  58. library/BestAnswer/Model/User.php
  59. library/XenResource/Listener/Proxy/ModelUser.php
  60. library/XenGallery/Model/User.php
  61. library/XenForo/Permission.php
  62. library/XenForo/Helper/Php.php
  63. library/XenForo/Phrase.php
  64. library/XenForo/Locale.php
  65. library/XenGallery/Model/Media.php
  66. library/XenForo/Model/Search.php
  67. library/XenGallery/Model/Category.php
  68. library/XenForo/Model/Attachment.php
  69. library/XenForo/ControllerResponse/Redirect.php
  70. library/XenForo/ControllerResponse/Abstract.php
  71. library/XenForo/Helper/Cookie.php
  72. library/XenForo/ViewRenderer/HtmlPublic.php
  73. library/XenForo/ViewRenderer/Abstract.php
  74. library/XenForo/Template/Public.php
  75. library/XenForo/Template/Abstract.php
  76. library/XenForo/Debug.php