SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000223
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT tag.*
,
0 AS tag_is_watched
FROM `xf_tinhte_xentag_tag` AS tag
WHERE (tag.tag_text = 'áo khoác nam')
Run Time: 0.000529
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | tag | ref | tag_text | tag_text | 302 | const | 3 | Using index condition |
SELECT *
FROM xf_search
WHERE search_id = ?
Params: 63573307
Run Time: 0.000284
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
SELECT node.*, forum.*
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
WHERE node.node_id = ?
Params: 87
Run Time: 0.000893
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 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 87
Run Time: 0.000158
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT thread.*
,
user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
node.title AS node_title, node.node_name,
post.message, post.attach_count,
NULL AS thread_read_date,
0 AS user_post_count,
permission.cache_value AS node_permission_cache
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
LEFT JOIN xf_node AS node ON
(node.node_id = thread.node_id)
LEFT JOIN xf_post AS post ON
(post.post_id = thread.first_post_id)
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'node'
AND permission.content_id = thread.node_id)
WHERE thread.thread_id IN (9695024, 9694567, 9693152, 9693150, 9693149, 9691795, 9690601, 9690600, 9690570, 9688510, 9687132, 9686131, 9685457, 9670517, 9664576, 9655621, 9655041, 9655040, 9648317, 9648046, 9646934, 9646653, 9646196, 9645968, 9645710, 9645703, 9645238, 9643428, 9643423, 9643400, 9642757, 9642650, 9642649, 9638613, 9637996, 9635626, 9632962, 9631729, 9630077, 9626497, 9626496, 9625137, 9623417, 9622033, 9621105, 9619967, 9614529, 9614281, 9614247, 9613865, 9613783, 9613294, 9610897, 9609850, 9608202, 9604638, 9604637, 9604432, 9600956, 9600853, 9586370, 9584530, 9583966, 9576315, 9576314, 9559432, 9554477, 9550462, 9546355, 9543354, 9542939, 9542368, 9541971, 9541807, 9539717, 9539146, 9538598, 9537871, 9537868, 9531934, 9531170, 9531169, 9531168, 9531167, 9527485, 9523771, 9521765, 9516482, 9513878, 9506672, 9503845, 9501258, 9501000, 9499719, 9492161, 9490644, 9489919, 9488920, 9482013, 9482012, 9482011, 9481722, 9479450, 9478792, 9478781, 9478740, 9478167, 9477661, 9476962, 9476322, 9474024, 9473750, 9472600, 9472031, 9470929, 9470928, 9470840, 9468939, 9466692, 9462452, 9459217, 9459215, 9456538, 9455004, 9453672, 9453671, 9453670, 9453669, 9453668, 9452437, 9450244, 9450005, 9450004, 9449988, 9449987, 9443577, 9438190, 9434160, 9433695, 9427357, 9425207, 9424859, 9424353, 9423126, 9421635, 9418356, 9417265, 9415274, 9415273, 9414584, 9413549, 9412362, 9411813, 9411478, 9410258, 9408614, 9408611, 9405276, 9402880, 9402879, 9400110, 9399843, 9399842, 9399841, 9399840, 9387607, 9387307, 9381804, 9377690, 9377282, 9376413, 9376412, 9374850, 9374845, 9373885, 9373882, 9373880, 9373877, 9366834, 9365886, 9363574, 9362292, 9360978, 9360925, 9360924, 9360923, 9360922, 9359261, 9359014, 9359013, 9357341, 9357332, 9357331, 9357330, 9356628, 9355495, 9354611, 9347334, 9344585, 9344174, 9344173, 9341864, 9339501, 9336073, 9336072, 9332927, 9332629, 9332627, 9332626, 9325848, 9325359, 9325326, 9315548, 9314342, 9313843, 9313242, 9312438, 9308959, 9303492, 9301520, 9299372, 9297621, 9294947, 9291858, 9291651, 9291650, 9290039, 9290031, 9289725, 9289218, 9289217, 9286809, 9285969, 9285109, 9285108, 9283989, 9281843, 9281602, 9281009, 9280226, 9279540, 9279441, 9279440, 9277500, 9275705, 9274067, 9273090, 9270294, 9268836, 9267710, 9265793, 9256427, 9255291, 9255290, 9255239, 9249419, 9249418, 9248659, 9248503, 9248501, 9246742, 9245257, 9243944, 9243694, 9243693, 9242764, 9242760, 9242753, 9242073, 9240072, 9233374, 9231149, 9230874, 9230498, 9229933, 9228805, 9222795, 9222794, 9216868, 9200491, 9200147, 9199797, 9198363, 9198284, 9198283, 9196651, 9196649, 9192321, 9189183, 9188613, 9183332, 9183279, 9176643, 9175934, 9175826, 9175221, 9175174, 9168386, 9166357, 9161713, 9156636, 9152981, 9150320, 9150319, 9148593, 9148592, 9146647, 9141026, 9140915, 9140903, 9139304, 9137108, 9136710, 9133083, 9133069, 9131161, 9130305, 9123540, 9123539, 9119960, 9114699, 9114690, 9114689, 9112345, 9112344, 9112343, 9112342, 9110683, 9107581, 9106419, 9105585, 9103683, 9100785, 9099844, 9097972, 9097168, 9095173, 9095172, 9089358, 9089345, 9086621, 9083363, 9078943, 9077707, 9076199, 9074188, 9069846, 9069443, 9069096, 9068660, 9068463, 9063151, 9062846, 9062122, 9054471, 9053868, 9050822, 9049284, 9046455, 9046012, 9045239, 9044608, 9044607, 9043773, 9043560, 9041173, 9041172, 9039250, 9038422, 9038183, 9037588, 9035979, 9033565, 9033564, 9033563, 9033281, 9031458, 9031056, 9030903, 9029378, 9027193, 9027192, 9026933, 9026415, 9026413, 9025052, 9025051, 9023922, 9016546, 9013060, 9009883, 9008157, 9008156, 9007094, 9006333, 9004572, 9003586, 9003580, 9003548, 9002427, 9002364, 9002363, 9001950, 9001252, 9001156, 9001153, 9001152, 9001151, 9001150, 9000758, 8999186, 8999170, 8997045, 8996985, 8996984, 8996873, 8994989, 8994333, 8989513, 8989022, 8988770, 8988769, 8986387, 8986386, 8985021, 8984457, 8982390, 8979955, 8978303, 8975101, 8972711, 8972710, 8965329, 8958792, 8957088, 8956090, 8955555, 8954422, 8954421, 8950953, 8948668, 8948667, 8947617, 8947094, 8946394, 8946393, 8942733, 8942732, 8940906, 8940905, 8939102, 8938343, 8936971, 8936969, 8936968, 8936875, 8932166, 8928471, 8928470, 8926331, 8926029, 8925832, 8925143, 8923159, 8922043, 8921448, 8916175, 8911754, 8911327, 8910517, 8910511, 8910494, 8910087, 8906080, 8904298, 8903425, 8902730, 8899218, 8892758, 8888714, 8886497, 8886099, 8884819, 8882908, 8882906, 8881996, 8881994, 8880789, 8880788, 8880787, 8880786, 8877265, 8873668, 8873667, 8873659, 8873658, 8871613, 8871291, 8868969, 8866069, 8864948, 8864536, 8864535, 8862929, 8861321, 8854929, 8853548, 8853486, 8852999, 8851192, 8851191, 8851189, 8851188, 8851186, 8851185, 8850154, 8849893, 8849716, 8849715, 8849000, 8848086, 8847625, 8846675, 8842024, 8837873, 8837369, 8837363, 8833929, 8833254, 8832067, 8831405, 8831142, 8831140, 8831139, 8829373, 8829372, 8827212, 8827163, 8827162, 8827161, 8827160, 8825387, 8822371, 8817185, 8817184, 8816475, 8815244, 8811884, 8811883, 8811598, 8810302, 8809060, 8807658, 8807063, 8806696, 8806694, 8805516, 8804734, 8804733, 8801730, 8800655, 8800576, 8799605, 8799497, 8799479, 8798817, 8797820, 8797805, 8797508, 8797506, 8797504, 8797500, 8796602, 8796260, 8795443, 8793591, 8793237, 8793236, 8791836, 8791832, 8791831, 8791805, 8791798, 8791792, 8791622, 8791614, 8790809, 8790184, 8790183, 8789188, 8788204, 8784963, 8784639, 8782956, 8781434, 8781433, 8779092, 8778752, 8778662, 8778417, 8778361, 8778360, 8778207, 8777854, 8777540, 8776777, 8776521, 8775533, 8775529, 8775116, 8775058, 8773487, 8772101, 8771935, 8771870, 8771453, 8771452, 8770153, 8769159, 8766880, 8766324, 8764538, 8763325, 8761714, 8761712, 8761202, 8757047, 8755062, 8754548, 8754547, 8752217, 8751907, 8751701, 8751341, 8751295, 8751263, 8751045, 8749018, 8747263, 8747215, 8746374, 8746364, 8746361, 8742925, 8741443, 8738377, 8738376, 8738375, 8738374, 8738373, 8738372, 8738371, 8736818, 8732297, 8729892, 8729891, 8729800, 8728463, 8728442, 8727869, 8727753, 8727212, 8727211, 8726351, 8726350, 8723717, 8722854, 8722083, 8721836, 8721834, 8720507, 8719551, 8718250, 8718203, 8716996, 8716498, 8715966, 8715948, 8715946, 8714721, 8712086, 8710153, 8708026, 8705516, 8703026, 8701767, 8701459, 8699380, 8699379, 8699378, 8699377, 8699375, 8697704, 8697701, 8696718, 8696717, 8696386, 8696384, 8695499, 8693220, 8689545, 8685191, 8684780, 8684116, 8683196, 8681968, 8681046, 8679937, 8678485, 8677291, 8676965, 8676142, 8675638, 8673690, 8673078, 8672730, 8672718, 8669079, 8667909, 8667896, 8662533, 8661549, 8657293, 8657231, 8657225, 8657181, 8656971, 8656618, 8655644, 8655459, 8654108, 8653822, 8652049, 8651802, 8651434, 8649898, 8649896, 8648380, 8648160, 8645377, 8641676, 8640957, 8636859, 8636563, 8635342, 8634701, 8633256, 8629023, 8628206, 8628056, 8627971, 8627210, 8626409, 8624797, 8624171, 8623854, 8623853, 8623319, 8621879, 8621204, 8621203, 8621202, 8621201, 8620553, 8620552, 8620195, 8620192, 8620188, 8620186, 8620180, 8620179, 8620146, 8615937, 8614138, 8613863, 8611203, 8608449, 8606421, 8604738, 8603603, 8603601, 8601887, 8601886, 8601628, 8601440, 8598508, 8597629, 8597626, 8597403, 8596361, 8595628, 8594327, 8593420, 8592277, 8592126, 8591750, 8591285, 8590564, 8590560, 8589051, 8589013, 8588954, 8588953, 8584842, 8584245, 8582465, 8581742, 8581484, 8577293, 8576069, 8576065, 8574954, 8574944, 8574138, 8572470, 8570564, 8568818, 8568640, 8565843, 8565390, 8565389, 8565388, 8565286, 8565285, 8565284, 8563626, 8562860, 8561604, 8560151, 8558821, 8558820, 8557703, 8557701, 8553278, 8553277, 8552386, 8552025, 8548103, 8545726, 8545723, 8545720, 8545319, 8544797, 8543169, 8542861, 8542558, 8541774, 8540348, 8538805, 8536340, 8536195, 8532582, 8532529, 8528659, 8528658, 8527739, 8527385, 8527384, 8526067, 8523707, 8523705, 8522206, 8518652, 8518648, 8511545, 8510350, 8504347, 8503569, 8495375, 8490972, 8486799, 8483301, 8473058, 8458747, 8455686, 8455435, 8455104, 8455041, 8454735, 8422348, 8422227, 8419561, 8415388, 8412229, 8412080, 8409166, 8409140, 8408920, 8408785, 8408644, 8407569, 8406276, 8406124, 8406100, 8392678, 8381294, 8372734, 8372171, 8372049, 8371893, 8368775, 8368311, 8368288, 8366985, 8363553, 8363002, 8361240, 8357934, 8357503, 8356327, 8351965, 8344460, 8343448, 8343444, 8338913, 8338031, 8333320, 8324845, 8324354, 8321123, 8320213, 8317059, 8308093, 8305642, 8305640, 8305624, 8302442, 8299465, 8298879, 8295785, 8295784, 8293550, 8292712, 8278933, 8278931, 8278852, 8278731, 8277548, 8274371, 8266472, 8256969, 8254815, 8253414, 8252360, 8245930, 8241746, 8239484, 8239457, 8239456, 8238103, 8238101, 8235239, 8235236, 8227360, 8223776, 8223032, 8222826, 8209137, 8207969, 8207968, 8207967, 8207966, 8206304, 8206302, 8203055, 8199419, 8199177, 8198838, 8181419, 8178402, 8178044, 8163936, 8163935, 8163934, 8163700, 8163699, 8163646, 8163082, 8162258, 8161960, 8161712, 8161425, 8161314, 8160822, 8158058, 8156176, 8156042, 8156040, 8154716, 8154713, 8154712, 8154711, 8154710, 8154708, 8152784, 8036174, 7994977, 7341535, 7122241, 7075064, 3311347)
Run Time: 0.022723
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
PRIMARY | <subquery2> | ALL | distinct_key | | | | 1001 | |
PRIMARY | thread | eq_ref | PRIMARY | PRIMARY | 4 | tvc_0._col_1 | 1 | Using where |
PRIMARY | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.thread.user_id | 1 | |
PRIMARY | node | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.thread.node_id | 1 | |
PRIMARY | post | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.thread.first_post_id | 1 | |
PRIMARY | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,5s_db1.thread.node_id | 1 | Using where |
MATERIALIZED | <derived3> | ALL | | | | | 1001 | |
DERIVED | | | | | | | | No tables used |
SELECT node.*, forum.*
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
WHERE node.node_id = ?
Params: 87
Run Time: 0.000653
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 | |
INSERT INTO `xf_search` (`search_results`, `result_count`, `search_type`, `search_query`, `search_constraints`, `search_order`, `search_grouping`, `user_results`, `warnings`, `user_id`, `search_date`, `query_hash`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Params: [["tinhte_xentag_forum",87],["thread",9695024],["thread",9693152],["thread",9690601],["thread",9690570],["thread",9664576],["thread",9655621],["thread",9655041],["thread",9648046],["thread",9646934],["thread",9646653],["thread",9646196],["thread",9645968],["thread",9645703],["thread",9645238],["thread",9643428],["thread",9643423],["thread",9643400],["thread",9642757],["thread",9642650],["thread",9637996],["thread",9635626],["thread",9631729],["thread",9630077],["thread",9626497],["thread",9622033],["thread",9621105],["thread",9614529],["thread",9614281],["thread",9614247],["thread",9613865],["thread",9613783],["thread",9613294],["thread",9610897],["thread",9609850],["thread",9608202],["thread",9604432],["thread",9600853],["thread",9586370],["thread",9584530],["thread",9583966],["thread",9576315],["thread",9559432],["thread",9554477],["thread",9550462],["thread",9546355],["thread",9543354],["thread",9542939],["thread",9541807],["thread",9537868],["thread",9531934],["thread",9531170],["thread",9527485],["thread",9523771],["thread",9521765],["thread",9516482],["thread",9513878],["thread",9503845],["thread",9501258],["thread",9501000],["thread",9499719],["thread",9492161],["thread",9490644],["thread",9489919],["thread",9488920],["thread",9481722],["thread",9479450],["thread",9478792],["thread",9478781],["thread",9478740],["thread",9478167],["thread",9477661],["thread",9476322],["thread",9470929],["thread",9470840],["thread",9450244],["thread",9443577],["thread",9438190],["thread",9424353],["thread",9423126],["thread",9421635],["thread",9417265],["thread",9415274],["thread",9413549],["thread",9410258],["thread",9408614],["thread",9408611],["thread",9402880],["thread",9399843],["thread",9381804],["thread",9373885],["thread",9366834],["thread",9360925],["thread",9359014],["thread",9355495],["thread",9347334],["thread",9344585],["thread",9344174],["thread",9341864],["thread",9336073],["thread",9332629],["thread",9325359],["thread",9325326],["thread",9308959],["thread",9299372],["thread",9297621],["thread",9294947],["thread",9291651],["thread",9289218],["thread",9286809],["thread",9285969],["thread",9285109],["thread",9281843],["thread",9281009],["thread",9280226],["thread",9277500],["thread",9273090],["thread",9270294],["thread",9268836],["thread",9265793],["thread",9256427],["thread",9249419],["thread",9248659],["thread",9248503],["thread",9246742],["thread",9245257],["thread",9242764],["thread",9242760],["thread",9242753],["thread",9228805],["thread",9216868],["thread",9200491],["thread",9200147],["thread",9199797],["thread",9198363],["thread",9188613],["thread",9176643],["thread",9166357],["thread",9148593],["thread",9146647],["thread",9141026],["thread",9140903],["thread",9139304],["thread",9137108],["thread",9136710],["thread",9131161],["thread",9114690],["thread",9110683],["thread",9106419],["thread",9105585],["thread",9099844],["thread",9097168],["thread",9089345],["thread",9078943],["thread",9077707],["thread",9076199],["thread",9074188],["thread",9053868],["thread",9049284],["thread",9046012],["thread",9045239],["thread",9035979],["thread",9033565],["thread",9027193],["thread",9026933],["thread",9026415],["thread",9016546],["thread",9007094],["thread",9006333],["thread",9004572],["thread",9001252],["thread",8994333],["thread",8985021],["thread",8984457],["thread",8982390],["thread",8979955],["thread",8965329],["thread",8957088],["thread",8956090],["thread",8955555],["thread",8954422],["thread",8950953],["thread",8948668],["thread",8946394],["thread",8942733],["thread",8940906],["thread",8938343],["thread",8936875],["thread",8932166],["thread",8928471],["thread",8926029],["thread",8925832],["thread",8925143],["thread",8923159],["thread",8921448],["thread",8916175],["thread",8911327],["thread",8910087],["thread",8906080],["thread",8888714],["thread",8886099],["thread",8882908],["thread",8881996],["thread",8862929],["thread",8861321],["thread",8853486],["thread",8851192],["thread",8848086],["thread",8837873],["thread",8833929],["thread",8832067],["thread",8831139],["thread",8829373],["thread",8827163],["thread",8825387],["thread",8811598],["thread",8810302],["thread",8801730],["thread",8800576],["thread",8799605],["thread",8799497],["thread",8799479],["thread",8798817],["thread",8797820],["thread",8797504],["thread",8796260],["thread",8790184],["thread",8789188],["thread",8784639],["thread",8782956],["thread",8781434],["thread",8778752],["thread",8778662],["thread",8778417],["thread",8778361],["thread",8778207],["thread",8777854],["thread",8777540],["thread",8776777],["thread",8775533],["thread",8773487],["thread",8771935],["thread",8771870],["thread",8769159],["thread",8761714],["thread",8761202],["thread",8757047],["thread",8755062],["thread",8752217],["thread",8751263],["thread",8751045],["thread",8749018],["thread",8738377],["thread",8736818],["thread",8728463],["thread",8728442],["thread",8727753],["thread",8726351],["thread",8721836],["thread",8716498],["thread",8715966],["thread",8714721],["thread",8712086],["thread",8710153],["thread",8708026],["thread",8705516],["thread",8701767],["thread",8701459],["thread",8699380],["thread",8697704],["thread",8696718],["thread",8696386],["thread",8693220],["thread",8689545],["thread",8685191],["thread",8684116],["thread",8683196],["thread",8681968],["thread",8681046],["thread",8679937],["thread",8678485],["thread",8677291],["thread",8676965],["thread",8676142],["thread",8675638],["thread",8673078],["thread",8672718],["thread",8669079],["thread",8667909],["thread",8667896],["thread",8662533],["thread",8661549],["thread",8656618],["thread",8655459],["thread",8654108],["thread",8653822],["thread",8652049],["thread",8651802],["thread",8651434],["thread",8649898],["thread",8648160],["thread",8645377],["thread",8641676],["thread",8636859],["thread",8636563],["thread",8635342],["thread",8634701],["thread",8633256],["thread",8628206],["thread",8628056],["thread",8627971],["thread",8627210],["thread",8626409],["thread",8624797],["thread",8624171],["thread",8623854],["thread",8623319],["thread",8621879],["thread",8621204],["thread",8621203],["thread",8621202],["thread",8621201],["thread",8620146],["thread",8615937],["thread",8611203],["thread",8608449],["thread",8603603],["thread",8601887],["thread",8601628],["thread",8601440],["thread",8597629],["thread",8597403],["thread",8596361],["thread",8595628],["thread",8594327],["thread",8593420],["thread",8592277],["thread",8592126],["thread",8591750],["thread",8591285],["thread",8590564],["thread",8589013],["thread",8588954],["thread",8584842],["thread",8584245],["thread",8582465],["thread",8581484],["thread",8576069],["thread",8574954],["thread",8574138],["thread",8572470],["thread",8570564],["thread",8568818],["thread",8568640],["thread",8565843],["thread",8565390],["thread",8565286],["thread",8563626],["thread",8562860],["thread",8561604],["thread",8560151],["thread",8558821],["thread",8552386],["thread",8545726],["thread",8545319],["thread",8544797],["thread",8543169],["thread",8538805],["thread",8536195],["thread",8528659],["thread",8527739],["thread",8526067],["thread",8523707],["thread",8522206],["thread",8518652],["thread",8518648],["thread",8511545],["thread",8510350],["thread",8504347],["thread",8503569],["thread",8490972],["thread",8486799],["thread",8483301],["thread",8473058],["thread",8458747],["thread",8455686],["thread",8455435],["thread",8455104],["thread",8455041],["thread",8454735],["thread",8422348],["thread",8422227],["thread",8415388],["thread",8412080],["thread",8409166],["thread",8408920],["thread",8407569],["thread",8406124],["thread",8406100],["thread",8392678],["thread",8381294],["thread",8372734],["thread",8372171],["thread",8372049],["thread",8371893],["thread",8368311],["thread",8368288],["thread",8366985],["thread",8363553],["thread",8363002],["thread",8361240],["thread",8356327],["thread",8351965],["thread",8344460],["thread",8343448],["thread",8343444],["thread",8338913],["thread",8338031],["thread",8333320],["thread",8324845],["thread",8324354],["thread",8321123],["thread",8320213],["thread",8317059],["thread",8308093],["thread",8305642],["thread",8305624],["thread",8302442],["thread",8299465],["thread",8298879],["thread",8295785],["thread",8292712],["thread",8278933],["thread",8278852],["thread",8278731],["thread",8274371],["thread",8245930],["thread",8239484],["thread",8239457],["thread",8238103],["thread",8223776],["thread",8223032],["thread",8222826],["thread",8209137],["thread",8207969],["thread",8203055],["thread",8199419],["thread",8199177],["thread",8198838],["thread",8181419],["thread",8178402],["thread",8178044],["thread",8163646],["thread",8163082],["thread",8161960],["thread",8161712],["thread",8161425],["thread",8161314],["thread",8160822],["thread",8152784],["thread",8036174],["thread",7994977],["thread",7341535],["thread",7122241],["thread",7075064]], 465, tinhte_xentag_tag, , {"tags":["\u00e1o kho\u00e1c nam"]}, date, 0, , [], 0, 1660007428, 25141160d678e2a2ad2d33d994cac6bb
Run Time: 0.000823
SELECT thread.*
,
user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
node.title AS node_title, node.node_name,
post.message, post.attach_count,
NULL AS thread_read_date,
0 AS user_post_count,
permission.cache_value AS node_permission_cache
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
LEFT JOIN xf_node AS node ON
(node.node_id = thread.node_id)
LEFT JOIN xf_post AS post ON
(post.post_id = thread.first_post_id)
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'node'
AND permission.content_id = thread.node_id)
WHERE thread.thread_id IN (9637996, 9635626, 9631729, 9630077, 9626497, 9622033, 9621105, 9614529, 9614281, 9614247, 9613865, 9613783, 9613294, 9610897, 9609850, 9608202, 9604432, 9600853, 9586370, 9584530)
Run Time: 0.001897
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 20 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.thread.user_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.thread.node_id | 1 | |
SIMPLE | post | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.thread.first_post_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,5s_db1.thread.node_id | 1 | Using where |
INSERT INTO xf_tinhte_xentag_tag_view
(tag_id)
VALUES
(?)
Params: 504713
Run Time: 0.000449
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, , , Tinhte_XenTag_ControllerPublic_Tag, View, valid, t=%C3%A1o+kho%C3%A1c+nam&page=2, 1660007428,
Run Time: 0.000374
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000248
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_widget | ALL | | | | | 17 | Using where; Using filesort |
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 > 1660006528)
ORDER BY session_activity.view_date DESC
Run Time: 0.000970
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 2297 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |