Page Time: 0.1556s

Memory: 7.1565 MB (Peak: 8.4062 MB)

Queries (15, time: 0.0075s, 4.8%)

  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.000851
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryALLPRIMARY   33Using where
  2. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000251
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3.                 			                  SELECT user_point.*
                                                    
                                                    FROM xf_user_point AS user_point
                                                    
                                            WHERE 1=1
    Run Time: 0.000266
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_pointALL    2 
  4. SELECT *
    FROM xf_tag
    WHERE tag_url = ?
    Params: cambridge
    Run Time: 0.000467
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_tagconsttag_urltag_url302const1 
  5. SELECT *
    FROM xf_tag_result_cache
    WHERE tag_id = ?
    	AND user_id = ?
    	AND expiry_date > ?
    Params: 6, 0, 1638742891
    Run Time: 0.000205
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_tag_result_cacheconsttag_id_user_id,expiration_datetag_id_user_id8const,const1 
  6. SELECT tag_content_id, content_type, content_id
    FROM xf_tag_content
    WHERE tag_id = ?
    	AND visible = 1
    ORDER BY content_date DESC
     LIMIT 200
    Params: 6
    Run Time: 0.000544
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_tag_contentreftag_id_content_datetag_id_content_date4const37Using where
  7. SELECT thread.*
    	,
    		user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
    		node.title AS node_title, node.node_name,
    		post.message, post.attach_count,
    		NULL AS thread_read_date,
    		0 AS user_post_count,
    	permission.cache_value AS node_permission_cache
    FROM xf_thread AS thread
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = thread.user_id)
    		LEFT JOIN xf_node AS node ON
    			(node.node_id = thread.node_id)
    		LEFT JOIN xf_post AS post ON
    			(post.post_id = thread.first_post_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 IN (468, 467, 466, 437, 435, 434, 384, 383, 172, 162, 55, 53, 48, 47, 44, 40, 32, 28, 27, 26, 25, 24, 23, 22, 21, 20, 18, 17, 14, 13, 12, 9, 8, 6, 5, 4, 3)
    Run Time: 0.001807
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARYPRIMARY4 37Using where
    SIMPLEusereq_refPRIMARYPRIMARY4diendan_sach.thread.user_id1 
    SIMPLEnodeeq_refPRIMARYPRIMARY4diendan_sach.thread.node_id1 
    SIMPLEposteq_refPRIMARYPRIMARY4diendan_sach.thread.first_post_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,diendan_sach.thread.node_id1Using where
  8. INSERT INTO xf_tag_result_cache
    	(tag_id, user_id, cache_date, expiry_date, results)
    VALUES
    	(?, ?, ?, ?, ?)
    ON DUPLICATE KEY UPDATE
    	cache_date = VALUES(cache_date),
    	expiry_date = VALUES(expiry_date),
    	results = VALUES(results)
    Params: 6, 0, 1638742891, 1638746491, [["thread",468],["thread",467],["thread",466],["thread",437],["thread",435],["thread",434],["thread",384],["thread",383],["thread",172],["thread",162],["thread",55],["thread",53],["thread",48],["thread",47],["thread",44],["thread",40],["thread",32],["thread",28],["thread",27],["thread",26],["thread",25],["thread",24],["thread",23],["thread",22],["thread",21],["thread",20],["thread",18],["thread",17],["thread",14],["thread",13],["thread",12],["thread",9],["thread",8],["thread",6],["thread",5],["thread",4],["thread",3]]
    Run Time: 0.000974
  9. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 42a91cb1b885d6a1c92222fa60076e81, a:7:{s:12:"sessionStart";i:1638742891;s:2:"ip";s:4:"4ͧh";s:11:"sessionCsrf";s:16:"Kfk28JTm32RKOM0C";s:9:"userAgent";s:40:"CCBot/2.0 (https://commoncrawl.org/faq/)";s:7:"robotId";s:0:"";s:16:"previousActivity";i:0;s:10:"isIpBanned";a:2:{s:6:"result";b:0;s:7:"version";i:1629727364;}}, 1638746491
    Run Time: 0.000314
  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, 4ͧh, 4ͧh, XenForo_ControllerPublic_Tag, Tag, valid, tag_url=cambridge, 1638742891,
    Run Time: 0.000148
  11. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'search_result_thread', 'tag_view', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 2, 1
    Run Time: 0.000690
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 4Using where
  12.                 			                  SELECT adv.*
                                                    
                                                    FROM xf_advertisement AS adv
                                                    
                                            WHERE (adv.active = 1) AND (adv.positive = 1)
    Run Time: 0.000306
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    1Using where
  13. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('tailieu_advertisement_top')
    	AND style_id = ?
    	AND language_id = ?
    Params: 2, 1
    Run Time: 0.000212
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  14.                 			                  SELECT adv.*
                                                    
                                                    FROM xf_advertisement AS adv
                                                    
                                            WHERE (adv.active = 1) AND (adv.positive = 3)
    Run Time: 0.000270
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    1Using where
  15. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('tailieu_advertisement_bottom')
    	AND style_id = ?
    	AND language_id = ?
    Params: 2, 1
    Run Time: 0.000195
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (82, XenForo Classes: 53)

  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/XenForo/Router.php
  33. library/XenForo/Route/Filter.php
  34. library/XenForo/Route/Interface.php
  35. library/XenForo/Route/ResponseSuffix.php
  36. library/XenForo/Route/Prefix.php
  37. library/XenForo/Route/Prefix/Tags.php
  38. library/XenForo/RouteMatch.php
  39. library/XenForo/ControllerPublic/Tag.php
  40. library/XenForo/ControllerPublic/Abstract.php
  41. library/XenForo/Controller.php
  42. library/XenForo/Input.php
  43. library/XenForo/Session.php
  44. library/XenForo/Helper/Ip.php
  45. library/XenForo/Visitor.php
  46. library/XenForo/Model/User.php
  47. library/VietXfAdvStats/Listener.php
  48. library/VietXfAdvStats/XenForo/Model/User.php
  49. library/XenForo/Permission.php
  50. library/XenForo/Helper/Php.php
  51. library/XenForo/Phrase.php
  52. library/XenForo/Locale.php
  53. library/TaiLieu/CustomPost/Listener.php
  54. library/TaiLieu/CustomPost/Model/UserPoint.php
  55. library/XenForo/ControllerResponse/Reroute.php
  56. library/XenForo/ControllerResponse/Abstract.php
  57. library/XenForo/Model/Tag.php
  58. library/XenForo/TagHandler/Thread.php
  59. library/XenForo/TagHandler/Abstract.php
  60. library/XenForo/Model/Thread.php
  61. library/VietXfAdvStats/XenForo/Model/Thread.php
  62. library/XenForo/Model/Forum.php
  63. library/XenForo/Helper/String.php
  64. library/XenForo/ControllerResponse/View.php
  65. library/XenForo/Helper/Cookie.php
  66. library/XenForo/ViewRenderer/HtmlPublic.php
  67. library/XenForo/ViewRenderer/Abstract.php
  68. library/XenForo/Template/Public.php
  69. library/XenForo/Template/Abstract.php
  70. library/XenForo/ViewPublic/Tag/View.php
  71. library/XenForo/ViewPublic/Base.php
  72. library/XenForo/View.php
  73. library/VietXfAdvStats/Model/GetUserGroup.php
  74. library/XenForo/Route/Prefix/Members.php
  75. library/XenForo/Model/Avatar.php
  76. library/XenForo/Route/Prefix/Threads.php
  77. library/XenForo/Route/Prefix/Forums.php
  78. library/XenForo/Debug.php
  79. library/TaiLieu/Advertisement/Listener.php
  80. library/VietXfAdvStats/Option.php
  81. library/TaiLieu/Advertisement/Model/Advertisement.php
  82. library/XenForo/ViewRenderer/Json.php