Документ взят из кэша поисковой машины. Адрес оригинального документа : http://osk.msu.ru/forum/members/aaplicagf.1452/?_debug=1
Дата изменения: Sat Apr 9 23:38:04 2016
Дата индексирования: Sat Apr 9 23:38:04 2016
Кодировка:

Page Time: 0.0761s

Memory: 7.3353 MB (Peak: 7.9927 MB)

Queries (10, time: 0.0041s, 5.4%)

  1. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'cron', 'simpleCache', 'routesPublic', 'bannedIps', 'styles', 'nodeTypes', 'smilies', 'bbCode', 'displayStyles', 'trophyUserTitles', 'reportCounts', 'moderationCounts')
    Run Time: 0.000428
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryALLPRIMARY   26Using where
  2. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000169
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. SELECT user.*
    	,
    		user_profile.*,
    		user_option.*,
    		user_privacy.*,
    		IF (session_activity.view_date IS NULL, user.last_activity, session_activity.view_date) AS effective_last_activity,
    		session_activity.view_date, session_activity.controller_name, session_activity.controller_action, session_activity.params,
    		0 AS following_0
    FROM xf_user AS user
    
    		INNER JOIN xf_user_profile AS user_profile ON
    			(user_profile.user_id = user.user_id)
    		INNER JOIN xf_user_option AS user_option ON
    			(user_option.user_id = user.user_id)
    		INNER JOIN xf_user_privacy AS user_privacy ON
    			(user_privacy.user_id = user.user_id)
    		LEFT JOIN xf_session_activity AS session_activity ON
    			(session_activity.user_id = user.user_id AND session_activity.unique_key = user.user_id)
    WHERE user.user_id = ?
    Params: 1452
    Run Time: 0.000957
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEuser_profileconstPRIMARYPRIMARY4const1 
    SIMPLEuser_optionconstPRIMARYPRIMARY4const1 
    SIMPLEuser_privacyconstPRIMARYPRIMARY4const1 
    SIMPLEsession_activitysystemPRIMARY   1 
  4. SELECT COUNT(*)
    FROM xf_profile_post AS profile_post
    
    WHERE (profile_post.profile_user_id = 1452) AND (profile_post.message_state IN ('visible') OR (profile_post.message_state = 'moderated' AND profile_post.user_id = 1452))
    Run Time: 0.000155
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEprofile_postrefprofile_user_id_post_dateprofile_user_id_post_date4const1Using where
  5. SELECT profile_post.*
    	,
    	posting_user.*,
    	IF(posting_user.username IS NULL, profile_post.username, posting_user.username) AS username,
    	0 AS like_date
    FROM xf_profile_post AS profile_post
    
    	LEFT JOIN xf_user AS posting_user ON
    		(posting_user.user_id = profile_post.user_id)
    WHERE (profile_post.profile_user_id = 1452) AND (profile_post.message_state IN ('visible') OR (profile_post.message_state = 'moderated' AND profile_post.user_id = 1452))
    ORDER BY profile_post.post_date DESC
     LIMIT 20
    Run Time: 0.000558
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEprofile_postrefprofile_user_id_post_dateprofile_user_id_post_date4const1Using where
    SIMPLEposting_usereq_refPRIMARYPRIMARY4osk.profile_post.user_id1 
  6. SELECT COUNT(*)
    FROM xf_user_follow
    WHERE follow_user_id = ?
    Params: 1452
    Run Time: 0.000123
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_user_followreffollow_user_idfollow_user_id4const1Using index
  7. SELECT user.*,
    	user_profile.*,
    	user_option.*
    FROM xf_user_follow AS user_follow
    INNER JOIN xf_user AS user ON
    	(user.user_id = user_follow.user_id)
    INNER JOIN xf_user_profile AS user_profile ON
    	(user_profile.user_id = user.user_id)
    INNER JOIN xf_user_option AS user_option ON
    	(user_option.user_id = user.user_id)
    WHERE user_follow.follow_user_id = ?
    ORDER BY RAND()
     LIMIT 6
    Params: 1452
    Run Time: 0.001123
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_followrefPRIMARY,follow_user_idfollow_user_id4const1Using index; Using temporary; Using filesort
    SIMPLEusereq_refPRIMARYPRIMARY4osk.user_follow.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4osk.user_follow.user_id1 
    SIMPLEuser_optioneq_refPRIMARYPRIMARY4osk.user.user_id1Using where
  8. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 7a10a4f5ea750b426cd2e944d2cd0cf0, a:3:{s:12:"sessionStart";i:1460234284;s:2:"ip";i:1572084565;s:16:"previousActivity";i:0;}, 1460237884
    Run Time: 0.000115
  9. INSERT INTO xf_session_activity
    	(user_id, unique_key, controller_name, controller_action, view_state, params, view_date)
    VALUES
    	(?, ?, ?, ?, ?, ?, ?)
    ON DUPLICATE KEY UPDATE
    	controller_name = VALUES(controller_name),
    	controller_action = VALUES(controller_action),
    	view_state = VALUES(view_state),
    	params = VALUES(params),
    	view_date = VALUES(view_date)
    Params: 0, 1572084565, XenForo_ControllerPublic_Member, Member, valid, user_id=1452, 1460234284
    Run Time: 0.000076
  10. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'bb_code_tag_code', 'bb_code_tag_php', 'bb_code_tag_html', 'bb_code_tag_quote', 'bb_code_tag_attach', 'member_view', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 3, 2
    Run Time: 0.000433
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY160 6Using where

Included Files (73, 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.php
  17. library/XenForo/Model/DataRegistry.php
  18. library/XenForo/CodeEvent.php
  19. library/Zend/Cache.php
  20. library/Zend/Cache/Backend/File.php
  21. library/Zend/Cache/Backend/ExtendedInterface.php
  22. library/Zend/Cache/Backend/Interface.php
  23. library/Zend/Cache/Backend.php
  24. library/Zend/Cache/Core.php
  25. library/Zend/Db.php
  26. library/Zend/Db/Adapter/Mysqli.php
  27. library/Zend/Db/Adapter/Abstract.php
  28. library/Zend/Db/Select.php
  29. library/Zend/Db/Expr.php
  30. library/Zend/Db/Profiler.php
  31. library/Zend/Db/Statement/Mysqli.php
  32. library/Zend/Db/Statement.php
  33. library/Zend/Db/Statement/Interface.php
  34. library/Zend/Db/Profiler/Query.php
  35. library/XenForo/Options.php
  36. library/XenForo/Link.php
  37. library/XenForo/Template/Helper/Core.php
  38. library/XenForo/Router.php
  39. library/XenForo/Route/ResponseSuffix.php
  40. library/XenForo/Route/Interface.php
  41. library/XenForo/Route/Prefix.php
  42. library/XenForo/Route/Prefix/Members.php
  43. library/XenForo/RouteMatch.php
  44. library/XenForo/ControllerPublic/Member.php
  45. library/XenForo/ControllerPublic/Abstract.php
  46. library/XenForo/Controller.php
  47. library/XenForo/Input.php
  48. library/XenForo/Session.php
  49. library/XenForo/Visitor.php
  50. library/XenForo/Model/User.php
  51. library/XenForo/Permission.php
  52. library/XenForo/Phrase.php
  53. library/XenForo/Locale.php
  54. library/XenForo/ControllerResponse/Reroute.php
  55. library/XenForo/ControllerResponse/Abstract.php
  56. library/XenForo/ControllerHelper/UserProfile.php
  57. library/XenForo/ControllerHelper/Abstract.php
  58. library/XenForo/Model/UserProfile.php
  59. library/XenForo/Model/ProfilePost.php
  60. library/XenForo/Model/Conversation.php
  61. library/XenForo/ControllerResponse/View.php
  62. library/XenForo/Helper/Cookie.php
  63. library/XenForo/ViewRenderer/HtmlPublic.php
  64. library/XenForo/ViewRenderer/Abstract.php
  65. library/XenForo/Template/Public.php
  66. library/XenForo/Template/Abstract.php
  67. library/XenForo/ViewPublic/Member/View.php
  68. library/XenForo/ViewPublic/Base.php
  69. library/XenForo/View.php
  70. library/XenForo/BbCode/Parser.php
  71. library/XenForo/BbCode/Formatter/Base.php
  72. library/XenForo/BbCode/TextWrapper.php
  73. library/XenForo/Debug.php