Page Time: 0.3208s

Memory: 3.7622 MB (Peak: 7.2256 MB)

Queries (15, time: 0.2318s, 72.3%)

  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.000625
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryALLPRIMARY   34Using where
  2. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000264
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3.                 			                  SELECT user_point.*
                                                    
                                                    FROM xf_user_point AS user_point
                                                    
                                            WHERE 1=1
    Run Time: 0.008541
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_pointALL    10611 
  4. SELECT *
    FROM xf_tag
    WHERE tag_url = ?
    Params: tieng-viet
    Run Time: 0.005432
    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: 572, 0, 1711696629
    Run Time: 0.003620
    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 1000
    Params: 572
    Run Time: 0.085933
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_tag_contentreftag_id_content_datetag_id_content_date4const194Using 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 (25222, 25211, 25101, 25049, 25048, 25021, 24793, 24780, 24701, 24647, 24634, 24587, 24455, 24263, 24174, 23859, 23815, 23814, 23668, 23541, 23540, 23539, 23296, 23021, 22987, 22842, 22822, 22819, 22815, 22757, 22636, 22635, 22547, 21939, 21938, 21922, 21883, 21638, 21474, 21440, 21388, 21358, 21333, 21136, 21106, 21092, 21079, 21013, 20945, 20938, 20891, 20876, 20735, 20734, 20699, 20611, 20364, 20362, 20344, 20342, 20324, 19998, 19893, 19891, 19736, 19672, 19592, 19578, 19527, 19521, 19473, 19468, 19463, 19434, 19147, 18850, 18845, 18829, 18823, 18745, 18626, 18291, 18244, 18117, 18092, 18090, 17967, 17790, 17768, 17589, 17547, 17541, 17539, 17538, 17492, 17489, 17488, 17485, 17484, 17438, 17437, 17436, 17434, 17433, 17273, 17133, 17048, 16974, 16966, 16961, 16916, 16751, 16619, 16434, 16407, 16406, 16383, 16287, 16245, 16244, 16086, 16035, 15981, 15978, 15862, 15833, 15672, 15525, 15429, 15404, 15403, 15386, 15273, 15266, 15168, 15016, 14917, 14916, 14915, 14914, 14913, 14912, 14911, 14910, 14847, 14475, 14431, 14414, 14377, 14341, 14230, 14196, 14189, 14188, 14187, 14186, 13940, 13647, 13539, 13525, 13521, 13502, 13316, 13258, 12860, 12855, 12669, 12588, 12526, 12335, 12334, 12124, 11857, 11749, 11748, 11590, 11060, 10795, 10760, 10623, 10316, 10311, 10221, 9465, 9452, 8694, 7076, 3693, 2912, 1585, 1537, 942, 725, 307)
    Run Time: 0.118017
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARYPRIMARY4 194Using where
    SIMPLEusereq_refPRIMARYPRIMARY4dien7104_tailieu.thread.user_id1 
    SIMPLEnodeeq_refPRIMARYPRIMARY4dien7104_tailieu.thread.node_id1 
    SIMPLEposteq_refPRIMARYPRIMARY4dien7104_tailieu.thread.first_post_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,dien7104_tailieu.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: 572, 0, 1711696629, 1711700229, {"0":["thread",25222],"1":["thread",25211],"2":["thread",25101],"3":["thread",25049],"4":["thread",25048],"5":["thread",25021],"7":["thread",24780],"8":["thread",24701],"9":["thread",24647],"10":["thread",24634],"11":["thread",24587],"12":["thread",24455],"13":["thread",24263],"14":["thread",24174],"15":["thread",23859],"16":["thread",23815],"17":["thread",23814],"18":["thread",23668],"19":["thread",23541],"20":["thread",23540],"21":["thread",23539],"22":["thread",23296],"23":["thread",23021],"24":["thread",22987],"25":["thread",22842],"26":["thread",22822],"27":["thread",22819],"28":["thread",22815],"29":["thread",22757],"30":["thread",22636],"31":["thread",22635],"32":["thread",22547],"33":["thread",21939],"34":["thread",21938],"35":["thread",21922],"36":["thread",21883],"37":["thread",21638],"38":["thread",21474],"39":["thread",21440],"40":["thread",21388],"41":["thread",21358],"42":["thread",21333],"43":["thread",21136],"44":["thread",21106],"45":["thread",21092],"46":["thread",21079],"47":["thread",21013],"48":["thread",20945],"49":["thread",20938],"50":["thread",20891],"51":["thread",20876],"52":["thread",20735],"53":["thread",20734],"54":["thread",20699],"55":["thread",20611],"56":["thread",20364],"57":["thread",20362],"58":["thread",20344],"59":["thread",20342],"60":["thread",20324],"61":["thread",19998],"62":["thread",19893],"63":["thread",19891],"64":["thread",19736],"65":["thread",19672],"66":["thread",19592],"67":["thread",19578],"68":["thread",19527],"69":["thread",19521],"70":["thread",19473],"71":["thread",19468],"72":["thread",19463],"73":["thread",19434],"74":["thread",19147],"75":["thread",18850],"76":["thread",18845],"77":["thread",18829],"78":["thread",18823],"79":["thread",18745],"80":["thread",18626],"81":["thread",18291],"82":["thread",18244],"83":["thread",18117],"84":["thread",18092],"85":["thread",18090],"86":["thread",17967],"87":["thread",17790],"88":["thread",17768],"89":["thread",17589],"90":["thread",17547],"91":["thread",17541],"92":["thread",17539],"93":["thread",17538],"94":["thread",17492],"95":["thread",17489],"96":["thread",17488],"97":["thread",17485],"98":["thread",17484],"99":["thread",17438],"100":["thread",17437],"101":["thread",17436],"102":["thread",17434],"103":["thread",17433],"104":["thread",17273],"105":["thread",17133],"106":["thread",17048],"107":["thread",16974],"108":["thread",16966],"109":["thread",16961],"110":["thread",16916],"111":["thread",16751],"112":["thread",16619],"113":["thread",16434],"114":["thread",16407],"115":["thread",16406],"116":["thread",16383],"117":["thread",16287],"118":["thread",16245],"119":["thread",16244],"120":["thread",16086],"121":["thread",16035],"122":["thread",15981],"123":["thread",15978],"124":["thread",15862],"125":["thread",15833],"126":["thread",15672],"127":["thread",15525],"128":["thread",15429],"129":["thread",15404],"130":["thread",15403],"131":["thread",15386],"132":["thread",15273],"133":["thread",15266],"134":["thread",15168],"135":["thread",15016],"136":["thread",14917],"137":["thread",14916],"138":["thread",14915],"139":["thread",14914],"140":["thread",14913],"141":["thread",14912],"142":["thread",14911],"143":["thread",14910],"144":["thread",14847],"145":["thread",14475],"146":["thread",14431],"147":["thread",14414],"148":["thread",14377],"149":["thread",14341],"150":["thread",14230],"151":["thread",14196],"152":["thread",14189],"153":["thread",14188],"154":["thread",14187],"155":["thread",14186],"156":["thread",13940],"157":["thread",13647],"158":["thread",13539],"159":["thread",13525],"160":["thread",13521],"161":["thread",13502],"162":["thread",13316],"163":["thread",13258],"164":["thread",12860],"165":["thread",12855],"166":["thread",12669],"167":["thread",12588],"168":["thread",12526],"169":["thread",12335],"170":["thread",12334],"171":["thread",12124],"172":["thread",11857],"173":["thread",11749],"174":["thread",11748],"175":["thread",11590],"176":["thread",11060],"177":["thread",10795],"178":["thread",10760],"179":["thread",10623],"180":["thread",10316],"181":["thread",10311],"182":["thread",10221],"183":["thread",9465],"184":["thread",9452],"185":["thread",8694],"186":["thread",7076],"187":["thread",3693],"188":["thread",2912],"189":["thread",1585],"190":["thread",1537],"191":["thread",942],"192":["thread",725],"193":["thread",307]}
    Run Time: 0.006622
  9. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 0e811ccafffb3e6035cfd8ed84102d6b, , 1711700229
    Run Time: 0.000256
  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, , , XenForo_ControllerPublic_Tag, Tag, valid, tag_url=tieng-viet, 1711696629,
    Run Time: 0.000185
  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: 3, 2
    Run Time: 0.001071
    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.000373
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    5Using where
  13. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('tailieu_advertisement_top')
    	AND style_id = ?
    	AND language_id = ?
    Params: 3, 2
    Run Time: 0.000289
    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.000342
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEadvALL    5Using where
  15. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('tailieu_advertisement_bottom')
    	AND style_id = ?
    	AND language_id = ?
    Params: 3, 2
    Run Time: 0.000206
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (86, 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/Brivium/ExtraThreadItem/EventListeners/Listener.php
  43. library/Brivium/BriviumLibrary/EventListeners.php
  44. library/XenForo/Input.php
  45. library/XenForo/Session.php
  46. library/XenForo/Helper/Ip.php
  47. library/XenForo/Visitor.php
  48. library/XenForo/Model/User.php
  49. library/VietXfAdvStats/Listener.php
  50. library/VietXfAdvStats/XenForo/Model/User.php
  51. library/XenForo/Permission.php
  52. library/XenForo/Helper/Php.php
  53. library/XenForo/Phrase.php
  54. library/XenForo/Locale.php
  55. library/TaiLieu/CustomPost/Listener.php
  56. library/TaiLieu/CustomPost/Model/UserPoint.php
  57. library/XenForo/ControllerResponse/Reroute.php
  58. library/XenForo/ControllerResponse/Abstract.php
  59. library/XenForo/Model/Tag.php
  60. library/XenForo/TagHandler/Thread.php
  61. library/XenForo/TagHandler/Abstract.php
  62. library/XenForo/Model/Thread.php
  63. library/VietXfAdvStats/XenForo/Model/Thread.php
  64. library/Brivium/ExtraThreadItem/Model/Thread.php
  65. library/XenForo/Model/Forum.php
  66. library/Brivium/ExtraThreadItem/Model/Forum.php
  67. library/XenForo/Helper/String.php
  68. library/XenForo/ControllerResponse/View.php
  69. library/XenForo/Helper/Cookie.php
  70. library/XenForo/ViewRenderer/HtmlPublic.php
  71. library/XenForo/ViewRenderer/Abstract.php
  72. library/XenForo/Template/Public.php
  73. library/XenForo/Template/Abstract.php
  74. library/XenForo/ViewPublic/Tag/View.php
  75. library/XenForo/ViewPublic/Base.php
  76. library/XenForo/View.php
  77. library/VietXfAdvStats/Model/GetUserGroup.php
  78. library/XenForo/Route/Prefix/Members.php
  79. library/XenForo/Model/Avatar.php
  80. library/XenForo/Route/Prefix/Threads.php
  81. library/XenForo/Route/Prefix/Forums.php
  82. library/XenForo/Debug.php
  83. library/TaiLieu/Advertisement/Listener.php
  84. library/TaiLieu/Advertisement/Model/Advertisement.php
  85. library/VietXfAdvStats/Option.php
  86. library/XenForo/ViewRenderer/Json.php