SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'cron', 'simpleCache', 'routesPublic', 'nodeTypes', 'bannedIps', 'discouragedIps', 'styles', 'displayStyles', 'smilies', 'bbCode', 'threadPrefixes', 'trophyUserTitles', 'reportCounts', 'moderationCounts', 'notices', 'userFieldsInfo')Run Time: 0.000618
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 77 | | 20 | Using where |
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000145
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: ca605221e84c5b144a51fe5683e3602b, a:5:{s:12:"sessionStart";i:1368958675;s:2:"ip";i:921315856;s:9:"userAgent";s:9:"CCBot/2.0";s:7:"isRobot";b:0;s:16:"previousActivity";i:0;}, 1368962275
Run Time: 0.000111
INSERT INTO xf_session_activity
(user_id, unique_key, ip, controller_name, controller_action, view_state, params, view_date)
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)
Params: 0, 921315856, 921315856, EWRporta_ControllerPublic_Portal, Index, valid, , 1368958675
Run Time: 0.000056
SELECT *
FROM EWRporta_layouts
WHERE layout_id = ?
Params: portal
Run Time: 0.000128
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | EWRporta_layouts | const | PRIMARY | PRIMARY | 77 | const | 1 | |
SELECT *, 'disabled' AS position
FROM EWRporta_blocks
WHERE active = 1
ORDER BY block_id ASC
Run Time: 0.000202
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | EWRporta_blocks | index | | PRIMARY | 77 | | 3 | Using where |
SELECT * FROM EWRporta_caches
Run Time: 0.000089
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | EWRporta_caches | ALL | | | | | 1 | |
SELECT * FROM EWRporta_options
Run Time: 0.000133
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | EWRporta_options | ALL | | | | | 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 ('19') 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: 1368958675, 1368958675, 12, 4
Run Time: 0.001801
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_thread | ALL | node_id_last_post_date,node_id_sticky_last_post_date | | | | 89 | Using where; Using temporary; Using filesort |
| SIMPLE | xf_node | eq_ref | PRIMARY | PRIMARY | 4 | prosport_site.xf_thread.node_id | 1 | |
| SIMPLE | EWRporta_promotes | eq_ref | PRIMARY | PRIMARY | 4 | prosport_site.xf_thread.thread_id | 1 | Using where |
| SIMPLE | xf_user | eq_ref | PRIMARY | PRIMARY | 4 | prosport_site.xf_thread.user_id | 1 | |
| SIMPLE | xf_post | eq_ref | PRIMARY | PRIMARY | 4 | prosport_site.xf_thread.first_post_id | 1 | |
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 (79)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.000263
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | attachment | ref | content_type_id_date | content_type_id_date | 81 | const,const | 1 | Using where |
| SIMPLE | data | eq_ref | PRIMARY | PRIMARY | 4 | prosport_site.attachment.data_id | 1 | |
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 (78)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.000195
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | attachment | ref | content_type_id_date | content_type_id_date | 81 | const,const | 1 | Using where |
| SIMPLE | data | eq_ref | PRIMARY | PRIMARY | 4 | prosport_site.attachment.data_id | 1 | |
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 ('19') 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: 1368958675, 1368958675
Run Time: 0.000186
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_thread | ALL | node_id_last_post_date,node_id_sticky_last_post_date | | | | 89 | Using where |
| SIMPLE | EWRporta_promotes | eq_ref | PRIMARY | PRIMARY | 4 | prosport_site.xf_thread.thread_id | 1 | Using where |
SELECT *
FROM kingk_bbcm
ORDER BY tag
Run Time: 0.000131
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | kingk_bbcm | ALL | | | | | 8 | Using filesort |
SELECT *
FROM kingk_bbcm
ORDER BY tag
Run Time: 0.000138
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | kingk_bbcm | ALL | | | | | 8 | Using filesort |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'bb_code_tag_code', 'bb_code_tag_php', 'bb_code_tag_html', 'bb_code_tag_quote', 'bb_code_tag_attach', 'EWRblock_RecentNews', 'EWRblock_AdsRightSide', 'EWRporta_Portal', 'sfdirectory_nav', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?Params: 7, 1
Run Time: 0.000173
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 160 | | 11 | Using where |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('directory')Params: 1
Run Time: 0.000083
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| SIMPLE | xf_phrase_compiled | const | PRIMARY | PRIMARY | 231 | const,const | 1 | |