Page Time: 0.1846s

Memory: 5.6052 MB (Peak: 6.5389 MB)

Queries (89, time: 0.0702s, 38.0%)

  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.000615
    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.000249
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 2Using where
  3. SELECT *
    FROM xf_brivium_addon
    ORDER BY addon_id
    Run Time: 0.000194
    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.000151
  5. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000197
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  6. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 9f0ee8a968b0877f97a3da127587d5ec, , 1714139087
    Run Time: 0.000168
  7. 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, , , EWRporta_ControllerPublic_Portal, Index, valid, , 1714135487,
    Run Time: 0.000105
  8. SELECT *
    	FROM EWRporta_layouts
    WHERE layout_id = ?
    Params: portal
    Run Time: 0.000180
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_layoutsconstPRIMARYPRIMARY77const1 
  9. SELECT *, 'disabled' AS position
    	FROM EWRporta_blocks
    WHERE active = 1
    ORDER BY block_id ASC
    Run Time: 0.000314
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_blocksindex PRIMARY77 16Using where
  10. SELECT * FROM EWRporta_caches
    Run Time: 0.000231
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_cachesALL    6 
  11. SELECT * FROM EWRporta_options
    Run Time: 0.000420
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_optionsALL    73 
  12. SELECT xf_thread.*, xf_user.*, xf_post.message, xf_post.attach_count, xf_node.title AS node_title, 
    	IF(xf_user.username IS NULL, xf_thread.username, xf_user.username) AS username,
    	IF(EWRporta_promotes.promote_date IS NULL, xf_thread.post_date, EWRporta_promotes.promote_date) AS promote_date,
    	EWRporta_promotes.promote_icon, EWRporta_promotes.promote_data
    FROM xf_thread
    	LEFT JOIN xf_user ON (xf_user.user_id = xf_thread.user_id)
    	INNER JOIN xf_post ON (xf_post.post_id = xf_thread.first_post_id)
    	INNER JOIN xf_node ON (xf_node.node_id = xf_thread.node_id)
    	LEFT JOIN EWRporta_promotes ON (EWRporta_promotes.thread_id = xf_thread.thread_id)
    
    WHERE ( xf_thread.node_id IN ('1', '2', '3', '4', '50', '5', '6', '7', '8', '51', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27') OR EWRporta_promotes.promote_date < ? )
    	AND xf_thread.discussion_state = 'visible'
    	AND IF(EWRporta_promotes.promote_date IS NULL, xf_thread.post_date, EWRporta_promotes.promote_date) < ?
    ORDER BY  promote_date DESC
    LIMIT ?, ?
    Params: 1714135487, 1714135487, 0, 5
    Run Time: 0.017512
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_threadALLnode_id_last_post_date,node_id_sticky_state_last_post   889Using where; Using temporary; Using filesort
    SIMPLEEWRporta_promotesALLPRIMARY   1Using where; Using join buffer (Block Nested Loop)
    SIMPLExf_nodeeq_refPRIMARYPRIMARY4vungtauc_br.xf_thread.node_id1 
    SIMPLExf_posteq_refPRIMARYPRIMARY4vungtauc_br.xf_thread.first_post_id1 
    SIMPLExf_usereq_refPRIMARYPRIMARY4vungtauc_br.xf_thread.user_id1 
  13. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3129
    Run Time: 0.000209
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  14. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3119
    Run Time: 0.000174
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  15. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (3507)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000284
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4vungtauc_br.attachment.data_id1 
  16. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3118
    Run Time: 0.000184
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  17. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (3506)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000251
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4vungtauc_br.attachment.data_id1 
  18. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3117
    Run Time: 0.000158
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  19. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (3505)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000222
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4vungtauc_br.attachment.data_id1 
  20. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3116
    Run Time: 0.000152
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  21. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (3504)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000217
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4vungtauc_br.attachment.data_id1 
  22. SELECT COUNT(*) AS total
    	FROM xf_thread
    	LEFT JOIN EWRporta_promotes ON (EWRporta_promotes.thread_id = xf_thread.thread_id)
    
    WHERE (xf_thread.node_id IN ('1', '2', '3', '4', '50', '5', '6', '7', '8', '51', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27') OR EWRporta_promotes.promote_date < ?)
    	AND xf_thread.discussion_state = 'visible'
    	AND IF(EWRporta_promotes.promote_date IS NULL, xf_thread.post_date, EWRporta_promotes.promote_date) < ?
    Params: 1714135487, 1714135487
    Run Time: 0.000978
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_threadALLnode_id_last_post_date,node_id_sticky_state_last_post   889Using where
    SIMPLEEWRporta_promotesALLPRIMARY   1Using where; Using join buffer (Block Nested Loop)
  23. SELECT *
    	FROM EWRporta_caches
    WHERE block_id = ?
    Params: RecentNews
    Run Time: 0.000176
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_cachesconstPRIMARYPRIMARY77const1 
  24. SELECT *
    	FROM EWRporta_caches
    WHERE block_id = ?
    Params: RecentNews
    Run Time: 0.000125
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_cachesconstPRIMARYPRIMARY77const1 
  25. begin
    Run Time: 0.000154
  26. UPDATE `EWRporta_caches` SET `date` = ? WHERE (block_id = 'RecentNews')
    Params: 1714135487
    Run Time: 0.000144
  27. commit
    Run Time: 0.000973
  28. SELECT thread.*
    	,
    	user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
    	node.title AS node_title, node.node_name,
    	NULL AS thread_read_date,
    	0 AS thread_is_watched,
    	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_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.discussion_state IN ('visible')) AND (thread.last_post_date > 1714049087)
    ORDER BY thread.last_post_date DESC
     LIMIT 3
    Run Time: 0.000618
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangelast_post_datelast_post_date4 1Using index condition; Using where
    SIMPLEusereq_refPRIMARYPRIMARY4vungtauc_br.thread.user_id1 
    SIMPLEnodeeq_refPRIMARYPRIMARY4vungtauc_br.thread.node_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,vungtauc_br.thread.node_id1Using where
  29. SELECT session_activity.*
    	,
    	user.*
    FROM xf_session_activity AS session_activity
    
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = session_activity.user_id)
    WHERE (session_activity.view_date > 1714134587)
    ORDER BY session_activity.view_date DESC
    Run Time: 0.000450
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangeview_dateview_date4 6Using where
    SIMPLEusereq_refPRIMARYPRIMARY4vungtauc_br.session_activity.user_id1 
  30. SELECT xf_thread.*, xf_user.*, xf_post.message, xf_post.attach_count, xf_node.title AS node_title, 
    	IF(xf_user.username IS NULL, xf_thread.username, xf_user.username) AS username,
    	IF(EWRporta_promotes.promote_date IS NULL, xf_thread.post_date, EWRporta_promotes.promote_date) AS promote_date,
    	EWRporta_promotes.promote_icon, EWRporta_promotes.promote_data
    FROM xf_thread
    	LEFT JOIN xf_user ON (xf_user.user_id = xf_thread.user_id)
    	INNER JOIN xf_post ON (xf_post.post_id = xf_thread.first_post_id)
    	INNER JOIN xf_node ON (xf_node.node_id = xf_thread.node_id)
    	LEFT JOIN EWRporta_promotes ON (EWRporta_promotes.thread_id = xf_thread.thread_id)
    
    WHERE ( xf_thread.node_id IN ('1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29') OR EWRporta_promotes.promote_date < ? )
    	AND xf_thread.discussion_state = 'visible'
    	AND IF(EWRporta_promotes.promote_date IS NULL, xf_thread.post_date, EWRporta_promotes.promote_date) < ?
    ORDER BY sticky DESC,  promote_date DESC
    LIMIT ?, ?
    Params: 1714135487, 1714135487, 0, 20
    Run Time: 0.020679
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_threadALLnode_id_last_post_date,node_id_sticky_state_last_post   889Using where; Using temporary; Using filesort
    SIMPLEEWRporta_promotesALLPRIMARY   1Using where; Using join buffer (Block Nested Loop)
    SIMPLExf_nodeeq_refPRIMARYPRIMARY4vungtauc_br.xf_thread.node_id1 
    SIMPLExf_posteq_refPRIMARYPRIMARY4vungtauc_br.xf_thread.first_post_id1 
    SIMPLExf_usereq_refPRIMARYPRIMARY4vungtauc_br.xf_thread.user_id1 
  31. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3129
    Run Time: 0.000195
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  32. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3121
    Run Time: 0.000165
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  33. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (3509)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000253
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4vungtauc_br.attachment.data_id1 
  34. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3120
    Run Time: 0.000151
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  35. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (3508)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000226
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4vungtauc_br.attachment.data_id1 
  36. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3119
    Run Time: 0.000149
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  37. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (3507)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000221
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4vungtauc_br.attachment.data_id1 
  38. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3118
    Run Time: 0.000148
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  39. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (3506)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000237
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4vungtauc_br.attachment.data_id1 
  40. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3116
    Run Time: 0.000147
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  41. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (3504)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000213
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4vungtauc_br.attachment.data_id1 
  42. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3115
    Run Time: 0.000153
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  43. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (3503)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000207
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4vungtauc_br.attachment.data_id1 
  44. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3107
    Run Time: 0.000171
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  45. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3106
    Run Time: 0.000151
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  46. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3092
    Run Time: 0.000175
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  47. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3091
    Run Time: 0.000139
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  48. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3090
    Run Time: 0.000139
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  49. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3089
    Run Time: 0.000145
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  50. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3048
    Run Time: 0.000156
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  51. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3027
    Run Time: 0.000144
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  52. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3026
    Run Time: 0.000139
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  53. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3023
    Run Time: 0.000156
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  54. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3019
    Run Time: 0.000143
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  55. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3018
    Run Time: 0.000142
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  56. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3015
    Run Time: 0.000151
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  57. SELECT COUNT(*) AS total
    	FROM xf_thread
    	LEFT JOIN EWRporta_promotes ON (EWRporta_promotes.thread_id = xf_thread.thread_id)
    
    WHERE (xf_thread.node_id IN ('1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29') OR EWRporta_promotes.promote_date < ?)
    	AND xf_thread.discussion_state = 'visible'
    	AND IF(EWRporta_promotes.promote_date IS NULL, xf_thread.post_date, EWRporta_promotes.promote_date) < ?
    Params: 1714135487, 1714135487
    Run Time: 0.001009
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_threadALLnode_id_last_post_date,node_id_sticky_state_last_post   889Using where
    SIMPLEEWRporta_promotesALLPRIMARY   1Using where; Using join buffer (Block Nested Loop)
  58. SELECT *
    	FROM EWRporta_caches
    WHERE block_id = ?
    Params: RecentNews2
    Run Time: 0.000304
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_cachesconstPRIMARYPRIMARY77const1 
  59. SELECT *
    	FROM EWRporta_caches
    WHERE block_id = ?
    Params: RecentNews2
    Run Time: 0.000268
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_cachesconstPRIMARYPRIMARY77const1 
  60. begin
    Run Time: 0.000223
  61. UPDATE `EWRporta_caches` SET `date` = ? WHERE (block_id = 'RecentNews2')
    Params: 1714135487
    Run Time: 0.000224
  62. commit
    Run Time: 0.001125
  63. SELECT xf_thread.*, xf_user.*, xf_post.message, xf_post.attach_count, xf_node.title AS node_title, 
    	IF(xf_user.username IS NULL, xf_thread.username, xf_user.username) AS username,
    	IF(EWRporta_promotes.promote_date IS NULL, xf_thread.post_date, EWRporta_promotes.promote_date) AS promote_date,
    	EWRporta_promotes.promote_icon, EWRporta_promotes.promote_data
    FROM xf_thread
    	LEFT JOIN xf_user ON (xf_user.user_id = xf_thread.user_id)
    	INNER JOIN xf_post ON (xf_post.post_id = xf_thread.first_post_id)
    	INNER JOIN xf_node ON (xf_node.node_id = xf_thread.node_id)
    	LEFT JOIN EWRporta_promotes ON (EWRporta_promotes.thread_id = xf_thread.thread_id)
    
    WHERE ( xf_thread.node_id IN ('46', '40', '41', '42', '43') OR EWRporta_promotes.promote_date < ? )
    	AND xf_thread.discussion_state = 'visible'
    	AND IF(EWRporta_promotes.promote_date IS NULL, xf_thread.post_date, EWRporta_promotes.promote_date) < ?
    ORDER BY sticky DESC,  promote_date DESC
    LIMIT ?, ?
    Params: 1714135487, 1714135487, 0, 20
    Run Time: 0.006841
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_threadALLnode_id_last_post_date,node_id_sticky_state_last_post   889Using where; Using temporary; Using filesort
    SIMPLEEWRporta_promotesALLPRIMARY   1Using where; Using join buffer (Block Nested Loop)
    SIMPLExf_nodeeq_refPRIMARYPRIMARY4vungtauc_br.xf_thread.node_id1 
    SIMPLExf_posteq_refPRIMARYPRIMARY4vungtauc_br.xf_thread.first_post_id1 
    SIMPLExf_usereq_refPRIMARYPRIMARY4vungtauc_br.xf_thread.user_id1 
  64. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 3097
    Run Time: 0.000475
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  65. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 2981
    Run Time: 0.000246
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  66. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (3359)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000472
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition
    SIMPLEdataeq_refPRIMARYPRIMARY4vungtauc_br.attachment.data_id1 
  67. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 2963
    Run Time: 0.000215
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  68. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 2827
    Run Time: 0.000250
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  69. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 2794
    Run Time: 0.000385
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  70. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 2792
    Run Time: 0.000269
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  71. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 2762
    Run Time: 0.000242
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  72. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 2591
    Run Time: 0.000243
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  73. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 2524
    Run Time: 0.000239
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  74. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 2490
    Run Time: 0.000241
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  75. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 2465
    Run Time: 0.000468
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  76. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 2377
    Run Time: 0.000837
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  77. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 2337
    Run Time: 0.000217
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  78. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 2224
    Run Time: 0.000198
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  79. SELECT *
    FROM EWRporta_categories
    	INNER JOIN EWRporta_catlinks ON (EWRporta_catlinks.category_id = EWRporta_categories.category_id)
    WHERE thread_id = ?
    ORDER BY EWRporta_categories.category_type ASC, EWRporta_categories.category_name ASC
    Params: 2219
    Run Time: 0.000194
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8vungtauc_br.EWRporta_categories.category_id,const1Using index
  80. SELECT COUNT(*) AS total
    	FROM xf_thread
    	LEFT JOIN EWRporta_promotes ON (EWRporta_promotes.thread_id = xf_thread.thread_id)
    
    WHERE (xf_thread.node_id IN ('46', '40', '41', '42', '43') OR EWRporta_promotes.promote_date < ?)
    	AND xf_thread.discussion_state = 'visible'
    	AND IF(EWRporta_promotes.promote_date IS NULL, xf_thread.post_date, EWRporta_promotes.promote_date) < ?
    Params: 1714135487, 1714135487
    Run Time: 0.001554
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_threadALLnode_id_last_post_date,node_id_sticky_state_last_post   889Using where
    SIMPLEEWRporta_promotesALLPRIMARY   1Using where; Using join buffer (Block Nested Loop)
  81. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'BRQCT_forum_list_nodes', 'BRQCT_ad_sidebar_top', 'BRQCT_button_top_ctrl', 'EWRblock_Cat2', 'bb_code_tag_code', 'bb_code_tag_php', 'bb_code_tag_html', 'bb_code_tag_quote', 'bb_code_tag_attach', 'bb_code_tag_spoiler', 'EWRblock_RecentNews', 'EWRblock_RecentThreads', 'EWRblock_OnlineUsers', 'EWRblock_RecentNews2', 'EWRblock_RecentNews1', 'wf_widget_wrapper', 'wf_widget_online_staff', 'wf_widget_online_users', 'wf_widget_stats', 'wf_widget_threads', 'EWRporta_Portal', 'xenCODE_Meta_Keywords', 'wf_hook_moderator_bar', 'wf_revealer', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 1, 2
    Run Time: 0.000728
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 26Using where
  82. SELECT session_activity.*
    	,
    	user.*
    FROM xf_session_activity AS session_activity
    
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = session_activity.user_id)
    WHERE (session_activity.view_date > 1714134587)
    ORDER BY session_activity.view_date DESC
    Run Time: 0.000549
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangeview_dateview_date4 6Using where
    SIMPLEusereq_refPRIMARYPRIMARY4vungtauc_br.session_activity.user_id1 
  83. SELECT session_activity.*
    	,
    	user.*
    FROM xf_session_activity AS session_activity
    
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = session_activity.user_id)
    WHERE (session_activity.view_date > 1714134587)
    ORDER BY session_activity.view_date DESC
    Run Time: 0.000370
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangeview_dateview_date4 6Using where
    SIMPLEusereq_refPRIMARYPRIMARY4vungtauc_br.session_activity.user_id1 
  84. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: boardTotals
    Run Time: 0.000139
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  85. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('wfc__1_EWRporta_Portal', 'wfc_fad44cd50aebe48a543de')
    Run Time: 0.000153
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 2Using where
  86. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('members_online_now', 'forum_statistics')
    Params: 2
    Run Time: 0.000156
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledrangePRIMARYPRIMARY106 2Using where
  87. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('BRQCT_button_top_ctrl', 'vnxf_ads_footer')
    	AND style_id = ?
    	AND language_id = ?
    Params: 1, 2
    Run Time: 0.000165
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 2Using where
  88. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('BRQCT_button_top_ctrl', 'BRQCT_navigation_tabs_forums')
    	AND style_id = ?
    	AND language_id = ?
    Params: 1, 2
    Run Time: 0.000150
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 2Using where
  89. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('BRQCT_button_top_ctrl', 'nat_bodyjs')
    	AND style_id = ?
    	AND language_id = ?
    Params: 1, 2
    Run Time: 0.000133
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 2Using where

Included Files (172, XenForo Classes: 58)

  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/NodesAsTabs/Listen.php
  33. library/Sedo/AgentTracer/Listener/InitDependencies.php
  34. library/Waindigo/Listener/InitDependencies.php
  35. library/Waindigo/Listener/InitDependencies/20150212.php
  36. library/VNXF/MoreThread/Listener.php
  37. library/Brivium/BriviumHelper/EventListeners.php
  38. library/Brivium/BriviumHelper/1010071/EventListeners.php
  39. library/VNXF/ImageView/Listener.php
  40. library/VNXF/FacebookGraph/Listener.php
  41. library/Waindigo/Listener/ControllerPreDispatch/20150212.php
  42. library/WidgetFramework/Listener.php
  43. library/WidgetFramework/Option.php
  44. library/EWRporta/Listener/Model.php
  45. library/Tinhte/NodeConverter/Listener.php
  46. library/Brivium/BriviumHelper/Model/ListenerClass.php
  47. library/Brivium/BriviumHelper/1010071/Model/ListenerClass.php
  48. library/XenForo/Router.php
  49. library/XenForo/Route/Filter.php
  50. library/XenForo/Route/Interface.php
  51. library/XenForo/Route/ResponseSuffix.php
  52. library/XenForo/Route/Prefix.php
  53. library/Waindigo/ShorterRoutes/Listener/InitRouterPublic.php
  54. library/Waindigo/ShorterRoutes/Route/ShorterRoute.php
  55. library/WidgetFramework/Route/Filter/PageX.php
  56. library/XenForo/Route/Prefix/Index.php
  57. library/EWRporta/Listener/Route.php
  58. library/vtLai/UrlKhongDau/Listener.php
  59. library/WidgetFramework/XenForo/Route/Prefix/Index.php
  60. library/XenForo/RouteMatch.php
  61. library/XenForo/ControllerPublic/Index.php
  62. library/XenForo/ControllerPublic/Abstract.php
  63. library/XenForo/Controller.php
  64. library/Vinavb/CustomNodeIcon/Listener.php
  65. library/Sedo/AgentTracer/Listener/ControllerPublic.php
  66. library/xenCODE/AutoPing/Listener.php
  67. library/EWRporta/Listener/Controller.php
  68. library/WidgetFramework/XenForo/ControllerPublic/Index.php
  69. library/XenForo/Input.php
  70. library/XenForo/Session.php
  71. library/XenForo/Helper/Ip.php
  72. library/XenForo/Visitor.php
  73. library/XenForo/Model/User.php
  74. library/WidgetFramework/XenForo/Model/User.php
  75. library/XenForo/Permission.php
  76. library/XenForo/Helper/Php.php
  77. library/XenForo/Phrase.php
  78. library/XenForo/Locale.php
  79. library/WidgetFramework/Helper/Index.php
  80. library/XenForo/ControllerResponse/ReroutePath.php
  81. library/XenForo/ControllerResponse/Abstract.php
  82. library/EWRporta/Route/Portal.php
  83. library/EWRporta/ControllerPublic/Portal.php
  84. library/EWRporta/Model/Perms.php
  85. library/XenForo/ControllerResponse/View.php
  86. library/XenForo/Helper/Cookie.php
  87. library/XenForo/ViewRenderer/HtmlPublic.php
  88. library/XenForo/ViewRenderer/Abstract.php
  89. library/XenForo/Template/Public.php
  90. library/XenForo/Template/Abstract.php
  91. library/WidgetFramework/Core.php
  92. library/XenForo/Model/Moderator.php
  93. library/Brivium/QuickCreateThread/EventListeners/Listener.php
  94. library/Brivium/BriviumLibrary/EventListeners.php
  95. library/WidgetFramework/Model/Widget.php
  96. library/WidgetFramework/Helper/Sort.php
  97. library/WidgetFramework/WidgetRenderer.php
  98. library/EWRporta/ViewPublic/Portal.php
  99. library/XenForo/ViewPublic/Base.php
  100. library/XenForo/View.php
  101. library/EWRporta/Listener/ViewPublic.php
  102. library/WidgetFramework/XenForo/View1.php
  103. library/EWRporta/ViewPublic/Custom.php
  104. library/EWRporta/Model/Blocks.php
  105. library/EWRporta/Model/Layouts.php
  106. library/EWRporta/Model/Caches.php
  107. library/EWRporta/Model/Options.php
  108. library/xenCODE/MetaKeywords/Listener.php
  109. library/Sedo/AgentTracer/Listener/Preloader.php
  110. library/rrssb/Listener.php
  111. library/vtLai/TopX/Listener.php
  112. library/EWRporta/Block/RecentNews.php
  113. library/EWRporta/Model/Categories.php
  114. library/XenForo/Helper/String.php
  115. library/XenForo/Model/Attachment.php
  116. library/VNXF/ImageView/Attachment.php
  117. library/EWRporta/Model/Attachment.php
  118. library/XenForo/Route/Prefix/Attachments.php
  119. library/XenForo/DataWriter.php
  120. library/EWRporta/DataWriter/Caches.php
  121. library/Sedo/AgentTracer/Listener/Datawriter.php
  122. library/EWRporta/Listener/DataWriter.php
  123. library/XenForo/Db.php
  124. library/XenForo/BbCode/Parser.php
  125. library/XenForo/BbCode/Formatter/Base.php
  126. library/EWRporta/Listener/BbCode.php
  127. library/WidgetFramework/XenForo/BbCode/Formatter/Base.php
  128. library/EWRporta/BbCode/Formatter.php
  129. library/XenForo/ViewPublic/Helper/Message.php
  130. library/XenForo/BbCode/TextWrapper.php
  131. library/EWRporta/Block/RecentThreads.php
  132. library/XenForo/Model/Thread.php
  133. library/WidgetFramework/XenForo/Model/Thread.php
  134. library/EWRporta/Block/OnlineUsers.php
  135. library/XenForo/Model/Session.php
  136. library/EWRporta/Block/RecentNews2.php
  137. library/EWRporta/Block/RecentNews1.php
  138. library/WidgetFramework/WidgetRenderer/HtmlWithoutWrapper.php
  139. library/WidgetFramework/WidgetRenderer/Html.php
  140. library/WidgetFramework/WidgetRenderer/OnlineStaff.php
  141. library/WidgetFramework/WidgetRenderer/OnlineUsers.php
  142. library/WidgetFramework/WidgetRenderer/Stats.php
  143. library/WidgetFramework/WidgetRenderer/Threads.php
  144. library/WidgetFramework/Model/Cache.php
  145. library/XenForo/Route/Prefix/Members.php
  146. library/vtLai/UrlKhongDau/Members.php
  147. library/EWRporta/Listener/NavTabs.php
  148. library/NodesAsTabs/NavTabs.php
  149. library/NodesAsTabs/Model/Options.php
  150. library/XenForo/Model/Node.php
  151. library/Tinhte/NodeConverter/XenForo/Model/Node.php
  152. library/XenForo/Route/Prefix/LinkForums.php
  153. library/WidgetFramework/Template/Extended.php
  154. library/XenForo/Route/Prefix/Threads.php
  155. library/Waindigo/ShorterRoutes/Listener/LoadClass.php
  156. library/Waindigo/Listener/LoadClass.php
  157. library/Waindigo/Listener/LoadClass/20150106.php
  158. library/Waindigo/ShorterRoutes/Extend/XenForo/Route/Prefix/Threads.php
  159. library/EWRporta/Route/Thread.php
  160. library/vtLai/UrlKhongDau/Threads.php
  161. library/vtLai/UrlKhongDau/Converter.php
  162. library/Waindigo/ShorterRoutes/Link.php
  163. library/WidgetFramework/Helper/String.php
  164. library/Zend/Exception.php
  165. library/WidgetFramework/WidgetRenderer/Empty.php
  166. library/XenForo/Debug.php
  167. library/Sedo/AgentTracer/Listener/Templates.php
  168. library/EWRporta/Listener/Template.php
  169. library/VNXF/AdsFooter/Listener.php
  170. library/Brivium/QuickCreateThread/Route/Prefix/CreateThread.php
  171. library/XenForo/ViewRenderer/Json.php
  172. library/Vinavb/CustomNodeIcon/Icon.php