Page Time: 1.2448s

Memory: 13.8525 MB (Peak: 14.7815 MB)

Queries (81, time: 0.9697s, 77.9%)

  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.001105
    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.000321
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 2Using where
  3. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: brmsModernStatisticCache
    Run Time: 0.000299
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  4. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000245
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  5. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: e60d4097f90c5ef8bab241a422673243, , 1511043558
    Run Time: 0.000248
  6. 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, , 1511039958,
    Run Time: 0.000151
  7. SELECT *
    	FROM EWRporta_layouts
    WHERE layout_id = ?
    Params: portal
    Run Time: 0.000399
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_layoutsconstPRIMARYPRIMARY77const1 
  8. SELECT *, 'disabled' AS position
    	FROM EWRporta_blocks
    WHERE active = 1
    ORDER BY block_id ASC
    Run Time: 0.000469
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_blocksindex PRIMARY77 27Using where
  9. SELECT * FROM EWRporta_caches
    Run Time: 0.002856
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_cachesALL    19 
  10. SELECT * FROM EWRporta_options
    Run Time: 0.001086
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_optionsALL    178 
  11. 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 ('108', '35', '54', '56', '216', '70', '182', '217', '166', '96', '129', '74', '173', '185', '151', '171', '58', '152', '188', '190', '191', '192', '193', '194', '218', '219', '242', '243', '244', '149', '197', '199', '202', '203', '204', '143', '144', '145', '146', '187', '240', '241', '238', '181', '135', '18', '178', '179', '225', '230', '183', '136', '4', '5', '6', '8', '147') OR EWRporta_promotes.promote_date < ?)
    	AND xf_thread.discussion_state = 'visible'
    	AND (? - xf_thread.post_date) < ?*86400
    	AND IF(EWRporta_promotes.promote_date IS NULL, xf_thread.post_date, EWRporta_promotes.promote_date) < ?
    ORDER BY  view_count DESC, promote_date DESC
    LIMIT ?, ?
    Params: 1511039958, 1511039958, 2, 1511039958, 0, 10
    Run Time: 0.039375
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_nodeALLPRIMARY   101Using temporary; Using filesort
    SIMPLExf_threadrefnode_id_last_post_date,node_id_sticky_state_last_postnode_id_sticky_state_last_post4hoangmai_data.xf_node.node_id67Using index condition; Using where
    SIMPLEEWRporta_promoteseq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.thread_id1Using where
    SIMPLExf_usereq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.user_id1 
    SIMPLExf_posteq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.first_post_id1 
  12. 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 ('108', '35', '54', '56', '216', '70', '182', '217', '166', '96', '129', '74', '173', '185', '151', '171', '58', '152', '188', '190', '191', '192', '193', '194', '218', '219', '242', '243', '244', '149', '197', '199', '202', '203', '204', '143', '144', '145', '146', '187', '240', '241', '238', '181', '135', '18', '178', '179', '225', '230', '183', '136', '4', '5', '6', '8', '147') 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: 1511039958, 1511039958
    Run Time: 0.026493
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_threadALLnode_id_last_post_date,node_id_sticky_state_last_post   13988Using where
    SIMPLEEWRporta_promoteseq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.thread_id1Using where
  13. 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)
    	LEFT 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 ('54') 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: 1511039958, 1511039958, 0, 4
    Run Time: 0.355757
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_nodeALLPRIMARY   101Using temporary; Using filesort
    SIMPLExf_threadrefnode_id_last_post_date,node_id_sticky_state_last_postnode_id_sticky_state_last_post4hoangmai_data.xf_node.node_id67Using index condition
    SIMPLEEWRporta_promoteseq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.thread_id1Using where
    SIMPLExf_usereq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.user_id1 
    SIMPLExf_posteq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.first_post_id1 
  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: 22635
    Run Time: 0.000463
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  15. 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: 22632
    Run Time: 0.000289
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  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: 22631
    Run Time: 0.000261
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  17. 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: 22623
    Run Time: 0.000295
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  18. SELECT *
    	FROM EWRporta_caches
    WHERE block_id = ?
    Params: Block1
    Run Time: 0.000278
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_cachesconstPRIMARYPRIMARY77const1 
  19. SELECT *
    	FROM EWRporta_caches
    WHERE block_id = ?
    Params: Block1
    Run Time: 0.000229
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_cachesconstPRIMARYPRIMARY77const1 
  20. begin
    Run Time: 0.000109
  21. UPDATE `EWRporta_caches` SET `date` = ? WHERE (block_id = 'Block1')
    Params: 1511039958
    Run Time: 0.000309
  22. commit
    Run Time: 0.000606
  23. 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)
    	LEFT 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 ('216') 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: 1511039958, 1511039958, 0, 5
    Run Time: 0.099854
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_nodeALLPRIMARY   101Using temporary; Using filesort
    SIMPLExf_threadrefnode_id_last_post_date,node_id_sticky_state_last_postnode_id_sticky_state_last_post4hoangmai_data.xf_node.node_id67Using index condition
    SIMPLEEWRporta_promoteseq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.thread_id1Using where
    SIMPLExf_usereq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.user_id1 
    SIMPLExf_posteq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.first_post_id1 
  24. 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: 22647
    Run Time: 0.000344
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  25. 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: 22634
    Run Time: 0.000269
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  26. 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: 22608
    Run Time: 0.000270
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  27. 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: 22606
    Run Time: 0.000292
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  28. 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: 22601
    Run Time: 0.000292
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  29. 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)
    	LEFT 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 ('174', '173') 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: 1511039958, 1511039958, 0, 5
    Run Time: 0.089666
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_nodeALLPRIMARY   101Using temporary; Using filesort
    SIMPLExf_threadrefnode_id_last_post_date,node_id_sticky_state_last_postnode_id_sticky_state_last_post4hoangmai_data.xf_node.node_id67Using index condition
    SIMPLEEWRporta_promoteseq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.thread_id1Using where
    SIMPLExf_usereq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.user_id1 
    SIMPLExf_posteq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.first_post_id1 
  30. 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: 22618
    Run Time: 0.000336
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  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: 22597
    Run Time: 0.000275
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.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: 22592
    Run Time: 0.000272
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  33. 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: 22583
    Run Time: 0.000282
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  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: 22485
    Run Time: 0.000288
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  35. SELECT *
    	FROM EWRporta_caches
    WHERE block_id = ?
    Params: Block7
    Run Time: 0.000265
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_cachesconstPRIMARYPRIMARY77const1 
  36. SELECT *
    	FROM EWRporta_caches
    WHERE block_id = ?
    Params: Block7
    Run Time: 0.000220
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_cachesconstPRIMARYPRIMARY77const1 
  37. begin
    Run Time: 0.000089
  38. UPDATE `EWRporta_caches` SET `date` = ? WHERE (block_id = 'Block7')
    Params: 1511039958
    Run Time: 0.000448
  39. commit
    Run Time: 0.000505
  40. 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)
    	LEFT 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 ('185', '243') 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: 1511039958, 1511039958, 0, 4
    Run Time: 0.078347
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_nodeALLPRIMARY   101Using temporary; Using filesort
    SIMPLExf_threadrefnode_id_last_post_date,node_id_sticky_state_last_postnode_id_sticky_state_last_post4hoangmai_data.xf_node.node_id67Using index condition
    SIMPLEEWRporta_promoteseq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.thread_id1Using where
    SIMPLExf_usereq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.user_id1 
    SIMPLExf_posteq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.first_post_id1 
  41. 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: 22474
    Run Time: 0.000345
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  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: 22317
    Run Time: 0.000288
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  43. 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: 22165
    Run Time: 0.000273
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  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: 22130
    Run Time: 0.000269
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  45. 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)
    	LEFT 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 ('166') 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: 1511039958, 1511039958, 0, 5
    Run Time: 0.083691
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_nodeALLPRIMARY   101Using temporary; Using filesort
    SIMPLExf_threadrefnode_id_last_post_date,node_id_sticky_state_last_postnode_id_sticky_state_last_post4hoangmai_data.xf_node.node_id67Using index condition
    SIMPLEEWRporta_promoteseq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.thread_id1Using where
    SIMPLExf_usereq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.user_id1 
    SIMPLExf_posteq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.first_post_id1 
  46. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, 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 (25430)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000452
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition; Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4hoangmai_data.attachment.data_id1 
  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: 22600
    Run Time: 0.000335
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  48. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, 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 (25407)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000343
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition; Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4hoangmai_data.attachment.data_id1 
  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: 22579
    Run Time: 0.000288
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  50. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, 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 (25299)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000365
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition; Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4hoangmai_data.attachment.data_id1 
  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: 22476
    Run Time: 0.000271
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  52. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, 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 (25243)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000343
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition; Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4hoangmai_data.attachment.data_id1 
  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: 22422
    Run Time: 0.000289
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  54. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, 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 (25239)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.000344
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using index condition; Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4hoangmai_data.attachment.data_id1 
  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: 22418
    Run Time: 0.000290
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  56. 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 ('166') 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: 1511039958, 1511039958
    Run Time: 0.023018
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_threadALLnode_id_last_post_date,node_id_sticky_state_last_post   13988Using where
    SIMPLEEWRporta_promoteseq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.thread_id1Using where
  57. SELECT *
    	FROM EWRporta_caches
    WHERE block_id = ?
    Params: Block11
    Run Time: 0.000358
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_cachesconstPRIMARYPRIMARY77const1 
  58. SELECT *
    	FROM EWRporta_caches
    WHERE block_id = ?
    Params: Block11
    Run Time: 0.000259
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_cachesconstPRIMARYPRIMARY77const1 
  59. begin
    Run Time: 0.000092
  60. UPDATE `EWRporta_caches` SET `date` = ? WHERE (block_id = 'Block11')
    Params: 1511039958
    Run Time: 0.000359
  61. commit
    Run Time: 0.000623
  62. 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)
    	LEFT 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 ('129') 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: 1511039958, 1511039958, 0, 5
    Run Time: 0.075189
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_nodeALLPRIMARY   101Using temporary; Using filesort
    SIMPLExf_threadrefnode_id_last_post_date,node_id_sticky_state_last_postnode_id_sticky_state_last_post4hoangmai_data.xf_node.node_id67Using index condition
    SIMPLEEWRporta_promoteseq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.thread_id1Using where
    SIMPLExf_usereq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.user_id1 
    SIMPLExf_posteq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.first_post_id1 
  63. 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: 22483
    Run Time: 0.000354
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  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: 22413
    Run Time: 0.000276
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.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: 22375
    Run Time: 0.000301
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  66. 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: 22207
    Run Time: 0.000300
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  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: 22139
    Run Time: 0.000296
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  68. 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)
    	LEFT 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 ('73', '74', '219') 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: 1511039958, 1511039958, 0, 5
    Run Time: 0.071930
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_nodeALLPRIMARY   101Using temporary; Using filesort
    SIMPLExf_threadrefnode_id_last_post_date,node_id_sticky_state_last_postnode_id_sticky_state_last_post4hoangmai_data.xf_node.node_id67Using index condition
    SIMPLEEWRporta_promoteseq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.thread_id1Using where
    SIMPLExf_usereq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.user_id1 
    SIMPLExf_posteq_refPRIMARYPRIMARY4hoangmai_data.xf_thread.first_post_id1 
  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: 22293
    Run Time: 0.000346
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.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: 22115
    Run Time: 0.000277
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.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: 21949
    Run Time: 0.000266
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.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: 21865
    Run Time: 0.000259
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.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: 21669
    Run Time: 0.000259
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_categoriesALLPRIMARY   1Using filesort
    SIMPLEEWRporta_catlinkseq_refcategory_idcategory_id8hoangmai_data.EWRporta_categories.category_id,const1Using index
  74. SELECT *
    	FROM EWRporta_caches
    WHERE block_id = ?
    Params: Block8
    Run Time: 0.000229
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_cachesconstPRIMARYPRIMARY77const1 
  75. SELECT *
    	FROM EWRporta_caches
    WHERE block_id = ?
    Params: Block8
    Run Time: 0.000208
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_cachesconstPRIMARYPRIMARY77const1 
  76. begin
    Run Time: 0.000086
  77. UPDATE `EWRporta_caches` SET `date` = ? WHERE (block_id = 'Block8')
    Params: 1511039958
    Run Time: 0.000543
  78. commit
    Run Time: 0.000563
  79. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('home', 'events', 'media')
    Params: 2
    Run Time: 0.000279
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledrangePRIMARYPRIMARY106 3Using where
  80. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('wfc__1_EWRporta_Portal')
    Run Time: 0.000670
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  81. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('tinhte_xentag_tag_cloud')
    Params: 2
    Run Time: 0.000243
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledconstPRIMARYPRIMARY106const,const1 

Included Files (213, XenForo Classes: 57)

  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/ZangF/Listener.php
  33. library/XenForo/CacheRebuilder/Abstract.php
  34. library/EWRmedio/Listener/Init.php
  35. library/XenForo/DataWriter/User.php
  36. library/XenForo/DataWriter.php
  37. library/Kid/Listener/Model.php
  38. library/Tinhte/XenTag/Listener.php
  39. library/Brivium/BriviumHelper/EventListeners.php
  40. library/Brivium/BriviumHelper/1010071/EventListeners.php
  41. library/Brivium/DoFollowforUsergroup/EventListeners/Listener.php
  42. library/Brivium/BriviumLibrary/EventListeners.php
  43. library/bdSocialShare/Listener.php
  44. library/EWRporta/Listener/Model.php
  45. library/EWRmedio/Listener/Model.php
  46. library/Brivium/SpamCleanerInAdmin/EventListeners/Listener.php
  47. library/WidgetFramework/Listener.php
  48. library/Brivium/ModernStatistic/EventListeners/Listener.php
  49. library/Brivium/ModernStatistic/ModernStatistic.php
  50. library/EWRatendo/Listener/Init.php
  51. library/WidgetFramework/Option.php
  52. library/XenForo/Router.php
  53. library/XenForo/Route/Filter.php
  54. library/XenForo/Route/Interface.php
  55. library/XenForo/Route/ResponseSuffix.php
  56. library/XenForo/Route/Prefix.php
  57. library/WidgetFramework/Route/Filter/PageX.php
  58. library/XenForo/Route/Prefix/Index.php
  59. library/EWRporta/Listener/Route.php
  60. library/WidgetFramework/XenForo/Route/Prefix/Index.php
  61. library/XenForo/RouteMatch.php
  62. library/XenForo/ControllerPublic/Index.php
  63. library/XenForo/ControllerPublic/Abstract.php
  64. library/XenForo/Controller.php
  65. library/EWRporta/Listener/Controller.php
  66. library/EWRmedio/Listener/Controller.php
  67. library/xomsam/CustomNodeIcon/Listener.php
  68. library/VietXF/MoreThread/Listener.php
  69. library/Vxf/GalleriaBBCode/EventListeners/Listener.php
  70. library/atdvn/ShowThread/Listener.php
  71. library/EWRatendo/Listener/Controller.php
  72. library/atdvn/LimitPostLink/Listener/Listener.php
  73. library/MaxDailyBaiViet/EventListener/BaiViet.php
  74. library/MaxDailyBaiViet/EventListener/ChuDe.php
  75. library/WidgetFramework/XenForo/ControllerPublic/Index.php
  76. library/XenForo/Input.php
  77. library/XenForo/Session.php
  78. library/XenForo/Helper/Ip.php
  79. library/XenForo/Visitor.php
  80. library/XenForo/Model/User.php
  81. library/bdSocialShare/XenForo/Model/User.php
  82. library/EWRmedio/Model/User.php
  83. library/Brivium/SpamCleanerInAdmin/Model/User.php
  84. library/Brivium/ModernStatistic/Model/User.php
  85. library/WidgetFramework/XenForo/Model/User.php
  86. library/XenForo/Permission.php
  87. library/XenForo/Phrase.php
  88. library/XenForo/Locale.php
  89. library/WidgetFramework/Helper/Index.php
  90. library/XenForo/ControllerResponse/ReroutePath.php
  91. library/XenForo/ControllerResponse/Abstract.php
  92. library/EWRporta/Route/Portal.php
  93. library/EWRporta/ControllerPublic/Portal.php
  94. library/EWRporta/Model/Perms.php
  95. library/XenForo/ControllerResponse/View.php
  96. library/XenForo/Helper/Cookie.php
  97. library/XenForo/ViewRenderer/HtmlPublic.php
  98. library/XenForo/ViewRenderer/Abstract.php
  99. library/XenForo/Template/Public.php
  100. library/XenForo/Template/Abstract.php
  101. library/WidgetFramework/Core.php
  102. library/XenForo/Model/Moderator.php
  103. library/Dark/TaigaChat/EventListener/Listener.php
  104. library/WidgetFramework/Model/Widget.php
  105. library/WidgetFramework/Helper/Sort.php
  106. library/WidgetFramework/WidgetRenderer.php
  107. library/EWRporta/ViewPublic/Portal.php
  108. library/XenForo/ViewPublic/Base.php
  109. library/XenForo/View.php
  110. library/EWRporta/Listener/ViewPublic.php
  111. library/Kid/Listener/View.php
  112. library/EWRporta/ViewPublic/Custom.php
  113. library/WidgetFramework/XenForo/View1.php
  114. library/EWRporta/Model/Blocks.php
  115. library/EWRporta/Model/Layouts.php
  116. library/EWRporta/Model/Caches.php
  117. library/EWRporta/Model/Options.php
  118. library/EWRporta/Block/FrontPage.php
  119. library/XenForo/BbCode/Parser.php
  120. library/XenForo/BbCode/Formatter/Base.php
  121. library/EWRporta/Listener/BbCode.php
  122. library/EWRmedio/Listener/BbCode.php
  123. library/Brivium/DoFollowforUsergroup/BbCode/Formatter/Base.php
  124. library/EWRporta/BbCode/Formatter.php
  125. library/EWRmedio/BbCode/Formatter.php
  126. library/Vxf/GalleriaBBCode/BbCode/Formatter/Base.php
  127. library/Tinhte/XenTag/XenForo/BbCode/Formatter/Base.php
  128. library/WidgetFramework/XenForo/BbCode/Formatter/Base.php
  129. library/XenForo/ViewPublic/Helper/Message.php
  130. library/atdvn/MetaKeywords/Listener.php
  131. library/Tinhte/SimilarThreadCheck/Listener/Main.php
  132. library/rrssb/Listener.php
  133. library/EWRporta/Block/Block15.php
  134. library/XenForo/BbCode/TextWrapper.php
  135. library/EWRporta/Block/Block1.php
  136. library/EWRporta/Model/Categories.php
  137. library/XenForo/Helper/String.php
  138. library/EWRporta/DataWriter/Caches.php
  139. library/EWRporta/Listener/DataWriter.php
  140. library/EWRatendo/Listener/DataWriter.php
  141. library/XenForo/Db.php
  142. library/EWRporta/Block/Block3.php
  143. library/EWRporta/Block/Block5.php
  144. library/EWRporta/Block/Block7.php
  145. library/EWRporta/Block/Block9.php
  146. library/EWRporta/Block/Block11.php
  147. library/XenForo/Model/Attachment.php
  148. library/EWRporta/Block/Block2.php
  149. library/EWRporta/Block/Block4.php
  150. library/EWRporta/Block/Block6.php
  151. library/EWRporta/Block/Block8.php
  152. library/EWRporta/Block/Block10.php
  153. library/EWRporta/Block/Block12.php
  154. library/EWRporta/Block/Block13.php
  155. library/EWRporta/Block/Block14.php
  156. library/EWRporta/Block/Block16.php
  157. library/EWRporta/Block/Block17.php
  158. library/EWRporta/Block/Block18.php
  159. library/WidgetFramework/WidgetRenderer/Html.php
  160. library/WidgetFramework/WidgetRenderer/Threads.php
  161. library/WidgetFramework/Model/Cache.php
  162. library/Tinhte/XenTag/WidgetRenderer/Cloud.php
  163. library/XenForo/Route/Prefix/Members.php
  164. library/EWRporta/Listener/NavTabs.php
  165. library/Dark/TaigaChat/EventListener/NavigationTabs.php
  166. library/EWRatendo/Listener/NavTabs.php
  167. library/EWRatendo/Model/Perms.php
  168. library/EWRmedio/Listener/NavTabs.php
  169. library/EWRmedio/Model/Perms.php
  170. library/WidgetFramework/Template/Extended.php
  171. library/XenForo/Template/FileHandler.php
  172. library/XenForo/Helper/File.php
  173. internal_data/templates/S.3,L.2,EWRporta_Portal.php
  174. internal_data/templates/S.3,L.2,EWRblock_FrontPage.php
  175. library/EWRatendo/Listener/Template.php
  176. internal_data/templates/S.3,L.2,EWRblock_Block15.php
  177. library/XenForo/Route/Prefix/Threads.php
  178. library/EWRporta/Route/Thread.php
  179. internal_data/templates/S.3,L.2,EWRblock_Block1.php
  180. internal_data/templates/S.3,L.2,EWRblock_Block3.php
  181. internal_data/templates/S.3,L.2,EWRblock_Block5.php
  182. internal_data/templates/S.3,L.2,EWRblock_Block7.php
  183. internal_data/templates/S.3,L.2,EWRblock_Block9.php
  184. internal_data/templates/S.3,L.2,EWRblock_Block11.php
  185. internal_data/templates/S.3,L.2,EWRblock_Block2.php
  186. internal_data/templates/S.3,L.2,EWRblock_Block4.php
  187. internal_data/templates/S.3,L.2,EWRblock_Block6.php
  188. internal_data/templates/S.3,L.2,EWRblock_Block8.php
  189. internal_data/templates/S.3,L.2,EWRblock_Block10.php
  190. internal_data/templates/S.3,L.2,EWRblock_Block12.php
  191. internal_data/templates/S.3,L.2,EWRblock_Block13.php
  192. internal_data/templates/S.3,L.2,EWRblock_Block14.php
  193. internal_data/templates/S.3,L.2,EWRblock_Block16.php
  194. internal_data/templates/S.3,L.2,EWRblock_Block17.php
  195. internal_data/templates/S.3,L.2,EWRblock_Block18.php
  196. library/WidgetFramework/Helper/String.php
  197. library/WidgetFramework/WidgetRenderer/Empty.php
  198. internal_data/templates/S.3,L.2,wf_widget_wrapper.php
  199. library/XenForo/Helper/Criteria.php
  200. library/XenForo/Debug.php
  201. internal_data/templates/S.3,L.2,PAGE_CONTAINER.php
  202. library/xenCODE/Anonymizer/Listener.php
  203. internal_data/templates/S.3,L.2,atdvn_Meta_Keywords.php
  204. library/EWRporta/Listener/Template.php
  205. library/EWRmedio/Listener/Template.php
  206. library/EWRmedio/Model/Lists.php
  207. internal_data/templates/S.3,L.2,Tinhte_SimilarThreadCheck_add_js_file.php
  208. library/CemZoo/EasyBan/Template/Hook.php
  209. library/Brivium/ModernStatistic/Model/ModernStatistic.php
  210. library/atdvn/MessagePrefix/Listener.php
  211. library/XenForo/ViewRenderer/Json.php
  212. internal_data/templates/S.3,L.2,Tinhte_SimilarThreadCheck_thread.js.php
  213. library/xomsam/CustomNodeIcon/Icon.php