SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000077
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT node.*, forum.*
,
permission.cache_value AS node_permission_cache,
NULL AS forum_read_date,
0 AS forum_is_watched
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.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 = forum.node_id)
WHERE node.node_id = ?
Params: 197
Run Time: 0.000306
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | forum | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | permission | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT COUNT(*)
FROM xf_thread AS thread
WHERE (thread.node_id = 197) AND (thread.sticky = 0) AND (thread.discussion_state IN ('visible'))
Run Time: 0.000216
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ref | node_id_last_post_date,node_id_sticky_state_last_post | node_id_sticky_state_last_post | 6 | const,const,const | 61 | Using where; Using index |
SELECT node.*
FROM xf_node AS node
WHERE node.node_id = ?
Params: 197
Run Time: 0.000075
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT thread.*
,
user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
NULL AS thread_read_date,
0 AS thread_is_watched,
0 AS user_post_count,
IF(rate.count IS NULL, 0, rate.count) AS thread_rate_count, IF(rate.sum IS NULL, 0, rate.sum) AS thread_rate_sum, IF(rate.avg IS NULL, 0, rate.avg) AS thread_rate_avg
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
LEFT JOIN tr_thread_rate AS rate ON (rate.thread_id = thread.thread_id)
WHERE (thread.node_id = 197) AND (thread.sticky = 0) AND (thread.discussion_state IN ('visible'))
ORDER BY thread.last_post_date ASC
LIMIT 30
Run Time: 0.000676
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ref | node_id_last_post_date,node_id_sticky_state_last_post | node_id_sticky_state_last_post | 6 | const,const,const | 61 | Using index condition; Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | dembuon_vn_d58b.thread.user_id | 1 | |
SIMPLE | rate | eq_ref | PRIMARY | PRIMARY | 4 | dembuon_vn_d58b.thread.thread_id | 1 | |
SELECT node.*
FROM xf_node AS node
WHERE node.node_id = ?
Params: 197
Run Time: 0.000050
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT thread.*
,
user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
NULL AS thread_read_date,
0 AS thread_is_watched,
0 AS user_post_count,
IF(rate.count IS NULL, 0, rate.count) AS thread_rate_count, IF(rate.sum IS NULL, 0, rate.sum) AS thread_rate_sum, IF(rate.avg IS NULL, 0, rate.avg) AS thread_rate_avg
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
LEFT JOIN tr_thread_rate AS rate ON (rate.thread_id = thread.thread_id)
WHERE (thread.node_id = 197) AND (thread.sticky = 1) AND (thread.discussion_state IN ('visible'))
ORDER BY thread.last_post_date ASC
Run Time: 0.000353
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ref | node_id_last_post_date,node_id_sticky_state_last_post | node_id_sticky_state_last_post | 6 | const,const,const | 2 | Using index condition; Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | dembuon_vn_d58b.thread.user_id | 1 | |
SIMPLE | rate | eq_ref | PRIMARY | PRIMARY | 4 | dembuon_vn_d58b.thread.thread_id | 1 | |
SELECT breadcrumb_data
FROM xf_node
WHERE node_id = ?
Params: 197
Run Time: 0.000044
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_node | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT xf_user.*
FROM xf_moderator_content
INNER JOIN xf_user ON xf_user.user_id = xf_moderator_content.user_id
WHERE xf_moderator_content.content_id = ?
AND xf_moderator_content.content_type = 'node'
OR (xf_moderator_content.content_id = 6 OR xf_moderator_content.content_id = 193)
ORDER BY xf_user.username ASC
Params: 197
Run Time: 0.000421
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_moderator_content | index | content_user_id,user_id | content_user_id | 35 | | 35 | Using where; Using index; Using temporary; Using filesort |
SIMPLE | xf_user | eq_ref | PRIMARY | PRIMARY | 4 | dembuon_vn_d58b.xf_moderator_content.user_id | 1 | |
SELECT xf_user.*
FROM xf_moderator
INNER JOIN xf_user ON xf_user.user_id = xf_moderator.user_id
WHERE xf_moderator.is_super_moderator = '1'
AND (xf_moderator.user_id != 1 AND xf_moderator.user_id != 4 AND xf_moderator.user_id != 6)
ORDER BY username ASC
Run Time: 0.000283
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_moderator | ALL | PRIMARY | | | | 26 | Using where; Using temporary; Using filesort |
SIMPLE | xf_user | eq_ref | PRIMARY | PRIMARY | 4 | dembuon_vn_d58b.xf_moderator.user_id | 1 | |
SELECT node.*, forum.*
,
permission.cache_value AS node_permission_cache,
NULL AS forum_read_date,
0 AS forum_is_watched
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.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 = forum.node_id)
WHERE node.node_id = ?
Params: 197
Run Time: 0.000087
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | forum | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | permission | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT prefix.*
FROM xf_thread_prefix AS prefix
WHERE (prefix.prefix_id IN(17, 18, 19, 37, 38, 39))
ORDER BY prefix.materialized_order
Run Time: 0.000046
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | prefix | range | PRIMARY | PRIMARY | 4 | | 6 | Using where; Using filesort |
SELECT COUNT(thread_id)
FROM xf_thread
WHERE user_id = ?
AND post_date > ?
AND discussion_state = 'visible'
AND (xf_thread.node_id = 0 OR xf_thread.node_id = 8 OR xf_thread.node_id = 9 OR xf_thread.node_id = 10 OR xf_thread.node_id = 11 OR xf_thread.node_id = 12 OR xf_thread.node_id = 13 OR xf_thread.node_id = 14 OR xf_thread.node_id = 15 OR xf_thread.node_id = 16 OR xf_thread.node_id = 17 OR xf_thread.node_id = 18 OR xf_thread.node_id = 19 OR xf_thread.node_id = 20 OR xf_thread.node_id = 21 OR xf_thread.node_id = 22 OR xf_thread.node_id = 23 OR xf_thread.node_id = 24 OR xf_thread.node_id = 25 OR xf_thread.node_id = 26 OR xf_thread.node_id = 27 OR xf_thread.node_id = 28 OR xf_thread.node_id = 29 OR xf_thread.node_id = 30 OR xf_thread.node_id = 31 OR xf_thread.node_id = 32 OR xf_thread.node_id = 33 OR xf_thread.node_id = 34 OR xf_thread.node_id = 35 OR xf_thread.node_id = 36 OR xf_thread.node_id = 37 OR xf_thread.node_id = 38 OR xf_thread.node_id = 39 OR xf_thread.node_id = 40 OR xf_thread.node_id = 41 OR xf_thread.node_id = 42 OR xf_thread.node_id = 43 OR xf_thread.node_id = 44 OR xf_thread.node_id = 45 OR xf_thread.node_id = 46 OR xf_thread.node_id = 47 OR xf_thread.node_id = 48 OR xf_thread.node_id = 49 OR xf_thread.node_id = 50 OR xf_thread.node_id = 51 OR xf_thread.node_id = 52 OR xf_thread.node_id = 206 OR xf_thread.node_id = 210 OR xf_thread.node_id = 211 OR xf_thread.node_id = 213 OR xf_thread.node_id = 244 OR xf_thread.node_id = 208 OR xf_thread.node_id = 220 OR xf_thread.node_id = 221 OR xf_thread.node_id = 222 OR xf_thread.node_id = 223 OR xf_thread.node_id = 224 OR xf_thread.node_id = 225 OR xf_thread.node_id = 226 OR xf_thread.node_id = 63 OR xf_thread.node_id = 64 OR xf_thread.node_id = 65 OR xf_thread.node_id = 66 OR xf_thread.node_id = 67 OR xf_thread.node_id = 73 OR xf_thread.node_id = 74 OR xf_thread.node_id = 75 OR xf_thread.node_id = 76 OR xf_thread.node_id = 77 OR xf_thread.node_id = 78 OR xf_thread.node_id = 79 OR xf_thread.node_id = 80 OR xf_thread.node_id = 81 OR xf_thread.node_id = 82 OR xf_thread.node_id = 83 OR xf_thread.node_id = 84 OR xf_thread.node_id = 85 OR xf_thread.node_id = 86 OR xf_thread.node_id = 87 OR xf_thread.node_id = 88 OR xf_thread.node_id = 89 OR xf_thread.node_id = 90 OR xf_thread.node_id = 91 OR xf_thread.node_id = 92 OR xf_thread.node_id = 103 OR xf_thread.node_id = 104 OR xf_thread.node_id = 105 OR xf_thread.node_id = 106 OR xf_thread.node_id = 107 OR xf_thread.node_id = 246 OR xf_thread.node_id = 247 OR xf_thread.node_id = 248 OR xf_thread.node_id = 249 OR xf_thread.node_id = 250 OR xf_thread.node_id = 108 OR xf_thread.node_id = 109 OR xf_thread.node_id = 110 OR xf_thread.node_id = 111 OR xf_thread.node_id = 112 OR xf_thread.node_id = 113 OR xf_thread.node_id = 114 OR xf_thread.node_id = 115 OR xf_thread.node_id = 116 OR xf_thread.node_id = 117 OR xf_thread.node_id = 123 OR xf_thread.node_id = 124 OR xf_thread.node_id = 125 OR xf_thread.node_id = 126 OR xf_thread.node_id = 127 OR xf_thread.node_id = 128 OR xf_thread.node_id = 129 OR xf_thread.node_id = 130 OR xf_thread.node_id = 131 OR xf_thread.node_id = 132 OR xf_thread.node_id = 133 OR xf_thread.node_id = 134 OR xf_thread.node_id = 135 OR xf_thread.node_id = 136 OR xf_thread.node_id = 137 OR xf_thread.node_id = 138 OR xf_thread.node_id = 139 OR xf_thread.node_id = 140 OR xf_thread.node_id = 141 OR xf_thread.node_id = 142 OR xf_thread.node_id = 143 OR xf_thread.node_id = 144 OR xf_thread.node_id = 145 OR xf_thread.node_id = 146 OR xf_thread.node_id = 147 OR xf_thread.node_id = 148 OR xf_thread.node_id = 149 OR xf_thread.node_id = 150 OR xf_thread.node_id = 151 OR xf_thread.node_id = 152 OR xf_thread.node_id = 153 OR xf_thread.node_id = 154 OR xf_thread.node_id = 155 OR xf_thread.node_id = 156 OR xf_thread.node_id = 157 OR xf_thread.node_id = 168 OR xf_thread.node_id = 169 OR xf_thread.node_id = 170 OR xf_thread.node_id = 171 OR xf_thread.node_id = 172 OR xf_thread.node_id = 173 OR xf_thread.node_id = 174 OR xf_thread.node_id = 175 OR xf_thread.node_id = 176 OR xf_thread.node_id = 177 OR xf_thread.node_id = 178 OR xf_thread.node_id = 179 OR xf_thread.node_id = 180 OR xf_thread.node_id = 181 OR xf_thread.node_id = 182 OR xf_thread.node_id = 183 OR xf_thread.node_id = 184 OR xf_thread.node_id = 185 OR xf_thread.node_id = 186 OR xf_thread.node_id = 187 OR xf_thread.node_id = 188 OR xf_thread.node_id = 189 OR xf_thread.node_id = 190 OR xf_thread.node_id = 191 OR xf_thread.node_id = 192 OR xf_thread.node_id = 193 OR xf_thread.node_id = 194 OR xf_thread.node_id = 195 OR xf_thread.node_id = 196 OR xf_thread.node_id = 197 OR xf_thread.node_id = 198 OR xf_thread.node_id = 199 OR xf_thread.node_id = 200 OR xf_thread.node_id = 201 OR xf_thread.node_id = 202 OR xf_thread.node_id = 68 OR xf_thread.node_id = 69 OR xf_thread.node_id = 70 OR xf_thread.node_id = 71 OR xf_thread.node_id = 72 OR xf_thread.node_id = 118 OR xf_thread.node_id = 119 OR xf_thread.node_id = 120 OR xf_thread.node_id = 121 OR xf_thread.node_id = 122 OR xf_thread.node_id = 158 OR xf_thread.node_id = 159 OR xf_thread.node_id = 160 OR xf_thread.node_id = 161 OR xf_thread.node_id = 162 OR xf_thread.node_id = 163 OR xf_thread.node_id = 164 OR xf_thread.node_id = 165 OR xf_thread.node_id = 166 OR xf_thread.node_id = 167 OR xf_thread.node_id = 209 OR xf_thread.node_id = 94 OR xf_thread.node_id = 233 OR xf_thread.node_id = 234 OR xf_thread.node_id = 236 OR xf_thread.node_id = 245 OR xf_thread.node_id = 254 OR xf_thread.node_id = 235 OR xf_thread.node_id = 240 OR xf_thread.node_id = 53 OR xf_thread.node_id = 203 OR xf_thread.node_id = 54 OR xf_thread.node_id = 55 OR xf_thread.node_id = 56 OR xf_thread.node_id = 57 OR xf_thread.node_id = 95 OR xf_thread.node_id = 96 OR xf_thread.node_id = 97 OR xf_thread.node_id = 99 OR xf_thread.node_id = 100 OR xf_thread.node_id = 93 OR xf_thread.node_id = 98 OR xf_thread.node_id = 101 OR xf_thread.node_id = 102 OR xf_thread.node_id = 237 OR xf_thread.node_id = 58 OR xf_thread.node_id = 59 OR xf_thread.node_id = 60 OR xf_thread.node_id = 61 OR xf_thread.node_id = 62)
Params: 0, 1714232925
Run Time: 0.001963
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_thread | ref | node_id_last_post_date,node_id_sticky_state_last_post,post_date,user_id | user_id | 4 | const | 1 | Using where |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 12b7eca8f794f7e0102bec2a63026b3d, a:6:{s:12:"sessionStart";i:1714319325;s:2:"ip";s:4:""