Page Time: 0.1596s

Memory: 3.9403 MB (Peak: 5.4445 MB)

Queries (15, time: 0.0074s, 4.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.000350
    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.000195
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. SELECT user.*
    	
    FROM xf_user AS user
    
    WHERE user.user_id = ?
    Params: 359
    Run Time: 0.000414
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuserconstPRIMARYPRIMARY4const1 
  4. SELECT COUNT(*) AS total
    	FROM EWRmedio_media
    WHERE EWRmedio_media.user_id = 359
    	AND EWRmedio_media.media_state = 'visible'
    Run Time: 0.000362
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRmedio_mediaALL    1389Using where
  5. SELECT EWRmedio_media.*, EWRmedio_categories.*, EWRmedio_services.*, xf_user.*, EWRmedio_media.service_value2 AS service_value2,
    	ROUND((EWRmedio_media.media_comments * ?) + (EWRmedio_media.media_likes * ?) + (EWRmedio_media.media_views * ?)) AS popular_score,
    	ROUND(((EWRmedio_media.media_comments * ?) + (EWRmedio_media.media_likes * ?) + (EWRmedio_media.media_views * ?)) / CEIL((? - EWRmedio_media.media_date) / ?), 2) AS trending_score,
    	IF(NOT ISNULL(xf_user.user_id), xf_user.username, EWRmedio_media.username) AS username
    FROM EWRmedio_media
    	LEFT JOIN EWRmedio_categories ON (EWRmedio_categories.category_id = EWRmedio_media.category_id)
    	LEFT JOIN EWRmedio_services ON (EWRmedio_services.service_id = EWRmedio_media.service_id)
    	LEFT JOIN xf_user ON (xf_user.user_id = EWRmedio_media.user_id)
    WHERE EWRmedio_media.user_id = 359
    	
    	AND EWRmedio_media.media_state = 'visible'
    ORDER BY EWRmedio_media.media_date DESC, EWRmedio_media.media_date DESC, EWRmedio_media.media_id DESC
    LIMIT ?, ?
    Params: 500, 100, 1, 500, 100, 1, 1511006213, 86400, 0, 20
    Run Time: 0.004461
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRmedio_mediaALL    1389Using where; Using filesort
    SIMPLEEWRmedio_categorieseq_refPRIMARYPRIMARY4xenforod3.EWRmedio_media.category_id1 
    SIMPLEEWRmedio_serviceseq_refPRIMARYPRIMARY4xenforod3.EWRmedio_media.service_id1 
    SIMPLExf_userconstPRIMARYPRIMARY4const1 
  6. SELECT EWRmedio_categories.*, COUNT(EWRmedio_media.media_id) AS count
    	FROM EWRmedio_categories
    	LEFT JOIN EWRmedio_media ON (EWRmedio_media.category_id = EWRmedio_categories.category_id)
    GROUP BY EWRmedio_categories.category_id
    ORDER BY category_order, category_name ASC
    Run Time: 0.000151
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRmedio_categoriesALL    31Using temporary; Using filesort
    SIMPLEEWRmedio_mediaALL    1389Using where; Using join buffer (flat, BNL join)
  7. SELECT COUNT(EWRmedio_media.media_id) AS count, xf_user.*
    	FROM EWRmedio_media
    	LEFT JOIN xf_user ON (xf_user.user_id = EWRmedio_media.user_id)
    WHERE NOT ISNULL(xf_user.user_id)
    GROUP BY EWRmedio_media.user_id
    ORDER BY count DESC
    LIMIT ?
    Params: 10
    Run Time: 0.000319
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRmedio_mediaALL    1389Using where; Using temporary; Using filesort
    SIMPLExf_usereq_refPRIMARYPRIMARY4xenforod3.EWRmedio_media.user_id1 
  8. SELECT COUNT(*) AS count, EWRmedio_keywords.* 
    	FROM EWRmedio_keylinks
    	LEFT JOIN EWRmedio_keywords ON (EWRmedio_keywords.keyword_id = EWRmedio_keylinks.keyword_id)
    GROUP BY EWRmedio_keywords.keyword_id
    ORDER BY count DESC
    LIMIT ?
    Params: 20
    Run Time: 0.000128
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRmedio_keylinksindex UNIQUE8 276Using index; Using temporary; Using filesort
    SIMPLEEWRmedio_keywordseq_refPRIMARYPRIMARY4xenforod3.EWRmedio_keylinks.keyword_id1 
  9. SELECT COUNT(*) AS media, SUM(media_comments) AS comments, SUM(media_likes) AS likes, SUM(media_views) AS views
    	FROM EWRmedio_media
    Run Time: 0.000103
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRmedio_mediaALL    1389 
  10. SELECT COUNT(*) AS playlists, SUM(playlist_likes) AS likes, SUM(playlist_views) AS views
    	FROM EWRmedio_playlists
    Run Time: 0.000095
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRmedio_playlistsALL    1 
  11. SELECT COUNT(*) AS total
    	FROM EWRmedio_categories
    Run Time: 0.000084
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLE       Select tables optimized away
  12. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 7b38b7a7dc4b7493588c6e1ba37ca47e, , 1511009813
    Run Time: 0.000246
  13. 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, , , EWRmedio_ControllerPublic_Media_User, User, valid, action_id=359, 1511006213,
    Run Time: 0.000145
  14. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'EWRmedio_UserView', 'pp_tab_links', 'EWRmedio_Navtabs', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 4, 1
    Run Time: 0.000260
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 5Using where
  15. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('media')
    Params: 1
    Run Time: 0.000127
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledconstPRIMARYPRIMARY106const,const1 

Included Files (87, 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/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/Waindigo/Listener/InitDependencies.php
  33. library/Waindigo/Listener/InitDependencies/20140612.php
  34. library/Waindigo/Listener/ControllerPreDispatch/20140603.php
  35. library/EWRmedio/Listener/Init.php
  36. library/XenForo/DataWriter/User.php
  37. library/XenForo/DataWriter.php
  38. library/XenForo/Router.php
  39. library/XenForo/Route/Filter.php
  40. library/XenForo/Route/Interface.php
  41. library/XenForo/Route/ResponseSuffix.php
  42. library/XenForo/Route/Prefix.php
  43. library/EWRmedio/Route/Media.php
  44. library/XenForo/RouteMatch.php
  45. library/EWRmedio/ControllerPublic/Media/User.php
  46. library/XenForo/ControllerPublic/Abstract.php
  47. library/XenForo/Controller.php
  48. library/ResetPasswordFromACP/Listener.php
  49. library/EWRmedio/Listener/Controller.php
  50. library/XenForo/Input.php
  51. library/XenForo/Session.php
  52. library/XenForo/Helper/Ip.php
  53. library/XenForo/Visitor.php
  54. library/XenForo/Model/User.php
  55. library/EWRmedio/Listener/Model.php
  56. library/EWRmedio/Model/User.php
  57. library/XenForo/Permission.php
  58. library/XenForo/Helper/Php.php
  59. library/XenForo/Phrase.php
  60. library/XenForo/Locale.php
  61. library/EWRmedio/Model/Perms.php
  62. library/Waindigo/Listener/Template/20140612.php
  63. library/Waindigo/Listener/TemplateHook/20130522.php
  64. library/EWRmedio/Model/Lists.php
  65. library/EWRmedio/Model/Parser.php
  66. library/EWRmedio/Model/Media.php
  67. library/EWRmedio/Model/Custom.php
  68. library/EWRmedio/Model/Keywords.php
  69. library/EWRmedio/Model/Categories.php
  70. library/XenForo/ControllerResponse/View.php
  71. library/XenForo/ControllerResponse/Abstract.php
  72. library/XenForo/Helper/Cookie.php
  73. library/XenForo/ViewRenderer/HtmlPublic.php
  74. library/XenForo/ViewRenderer/Abstract.php
  75. library/XenForo/Template/Public.php
  76. library/XenForo/Template/Abstract.php
  77. library/XenForo/ViewPublic/Base.php
  78. library/XenForo/View.php
  79. library/XenForo/Route/Prefix/Members.php
  80. library/PhotoPost/Listener.php
  81. library/EWRmedio/Listener/NavTabs.php
  82. library/EWRmedio/Template/Helper.php
  83. library/SolveMedia/Listener/Captcha.php
  84. library/EWRmedio/Listener/Template.php
  85. library/XenForo/Debug.php
  86. library/XenForo/Helper/String.php
  87. library/XenForo/ViewRenderer/Json.php