mysql> SHOW FULL PROCESSLIST;
+------+------+-----------+--------------------+---------+------+--------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Id | User | Host | db | Command | Time | State | Info |
+------+------+-----------+--------------------+---------+------+--------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 67 | root | localhost | NULL | Sleep | 556 | | NULL |
| 576 | root | localhost | NULL | Sleep | 409 | | NULL |
| 1847 | root | localhost | NULL | Query | 0 | starting | SHOW FULL PROCESSLIST |
| 1851 | root | localhost | forum_site_ru | Execute | 13 | Sending data | SELECT thread.thread_id, post.post_id
FROM xf_post AS post
INNER JOIN xf_thread AS thread ON
(post.thread_id = thread.thread_id AND thread.node_id IN (60, 285, 252, 247, 333, 361, 248, 249, 250, 251, 356, 230, 257, 318, 97, 279, 55, 337, 57, 362, 109, 154, 153, 100, 357, 317, 103, 108, 228, 118, 274, 275, 310, 334, 276, 363, 277, 278, 306, 350, 5, 299, 301, 352, 360, 305, 41, 351, 123, 293, 289, 291, 292, 6, 294, 316, 45, 304, 71, 11, 243, 42, 263, 184, 326, 217, 264, 137, 138, 136, 336, 127, 130, 128, 129, 132, 280, 281, 283, 111, 212, 102, 134, 141, 140, 119, 125, 162, 163, 124, 145, 146, 206, 148, 155, 156, 159, 339, 158, 224, 226, 227, 233, 225, 254, 255, 256, 344, 345, 347, 348, 297, 358, 211, 218, 164, 267, 151, 143, 189, 150, 160, 245, 74, 92, 93, 94, 122, 76, 81, 82, 83, 84, 312, 85, 86, 87, 88, 89, 90, 244, 91, 75, 25, 95, 96, 104, 78, 77, 79, 80, 101, 290, 300, 220, 32, 325, 313, 338, 321, 314, 234, 268, 236, 239, 240, 262, 178, 213, 214, 204, 205, 216, 171, 192, 266, 172, 215, 173, 193, 174, 265, 194, 195, 169, 180, 181, 183, 182, 203, 190, 196, 197, 200, 201, 327, 328, 329, 273, 269, 179, 166, 167, 191, 73))
INNER JOIN xf_forum AS forum ON
(forum.node_id = thread.node_id AND forum.find_new = 1)
LEFT JOIN xf_thread_read AS thread_read ON
(thread_read.thread_id = thread.thread_id AND thread_read.user_id = ?)
LEFT JOIN xf_forum_read AS forum_read ON
(forum_read.node_id = thread.node_id AND forum_read.user_id = ?)
WHERE post.post_date > ?
AND post.message_state = 'visible'
AND thread.discussion_state = 'visible'
AND post.post_date > GREATEST(
IF (thread_read.thread_read_date IS NULL, 0, thread_read.thread_read_date),
IF (forum_read.forum_read_date IS NULL, 0, forum_read.forum_read_date)
) |
| 1852 | root | localhost | forum_site_ru | Execute | 11 | Sending data | SELECT thread.thread_id, post.post_id
FROM xf_post AS post
INNER JOIN xf_thread AS thread ON
(post.thread_id = thread.thread_id AND thread.node_id IN (60, 285, 252, 247, 333, 361, 248, 249, 250, 251, 356, 230, 257, 318, 97, 279, 55, 337, 57, 362, 109, 154, 153, 100, 357, 317, 103, 108, 228, 118, 274, 275, 310, 334, 276, 363, 277, 278, 306, 350, 5, 299, 301, 352, 360, 305, 41, 351, 123, 293, 289, 291, 292, 6, 294, 316, 45, 304, 71, 11, 243, 42, 263, 184, 326, 217, 264, 137, 138, 136, 336, 127, 130, 128, 129, 132, 280, 281, 283, 111, 212, 102, 134, 141, 140, 119, 125, 162, 163, 124, 145, 146, 206, 148, 155, 156, 159, 339, 158, 224, 226, 227, 233, 225, 254, 255, 256, 344, 345, 347, 348, 297, 358, 211, 218, 164, 267, 151, 143, 189, 150, 160, 245, 74, 92, 93, 94, 122, 76, 81, 82, 83, 84, 312, 85, 86, 87, 88, 89, 90, 244, 91, 75, 25, 95, 96, 104, 78, 77, 79, 80, 101, 290, 300, 220, 32, 325, 313, 338, 321, 314, 234, 268, 236, 239, 240, 262, 178, 213, 214, 204, 205, 216, 171, 192, 266, 172, 215, 173, 193, 174, 265, 194, 195, 169, 180, 181, 183, 182, 203, 190, 196, 197, 200, 201, 327, 328, 329, 273, 269, 179, 166, 167, 191, 73))
INNER JOIN xf_forum AS forum ON
(forum.node_id = thread.node_id AND forum.find_new = 1)
LEFT JOIN xf_thread_read AS thread_read ON
(thread_read.thread_id = thread.thread_id AND thread_read.user_id = ?)
LEFT JOIN xf_forum_read AS forum_read ON
(forum_read.node_id = thread.node_id AND forum_read.user_id = ?)
WHERE post.post_date > ?
AND post.message_state = 'visible'
AND thread.discussion_state = 'visible'
AND post.post_date > GREATEST(
IF (thread_read.thread_read_date IS NULL, 0, thread_read.thread_read_date),
IF (forum_read.forum_read_date IS NULL, 0, forum_read.forum_read_date)
) |
| 1855 | root | localhost | forum_site_ru | Execute | 9 | Sending data | SELECT thread.thread_id, post.post_id
FROM xf_post AS post
INNER JOIN xf_thread AS thread ON
(post.thread_id = thread.thread_id AND thread.node_id IN (60, 285, 252, 247, 333, 361, 248, 249, 250, 251, 356, 230, 257, 318, 97, 279, 55, 337, 57, 362, 109, 154, 153, 100, 357, 317, 103, 108, 228, 118, 274, 275, 310, 334, 276, 363, 277, 278, 306, 350, 5, 299, 301, 352, 360, 305, 41, 351, 123, 293, 289, 291, 292, 6, 294, 316, 45, 304, 71, 11, 243, 42, 263, 184, 326, 217, 264, 137, 138, 136, 336, 127, 130, 128, 129, 132, 280, 281, 283, 111, 212, 102, 134, 141, 140, 119, 125, 162, 163, 124, 145, 146, 206, 148, 155, 156, 159, 339, 158, 224, 226, 227, 233, 225, 254, 255, 256, 344, 345, 347, 348, 297, 358, 211, 218, 164, 267, 151, 143, 189, 150, 160, 245, 74, 92, 93, 94, 122, 76, 81, 82, 83, 84, 312, 85, 86, 87, 88, 89, 90, 244, 91, 75, 25, 95, 96, 104, 78, 77, 79, 80, 101, 290, 300, 220, 32, 325, 313, 338, 321, 314, 234, 268, 236, 239, 240, 262, 178, 213, 214, 204, 205, 216, 171, 192, 266, 172, 215, 173, 193, 174, 265, 194, 195, 169, 180, 181, 183, 182, 203, 190, 196, 197, 200, 201, 327, 328, 329, 273, 269, 179, 166, 167, 191, 73))
INNER JOIN xf_forum AS forum ON
(forum.node_id = thread.node_id AND forum.find_new = 1)
LEFT JOIN xf_thread_read AS thread_read ON
(thread_read.thread_id = thread.thread_id AND thread_read.user_id = ?)
LEFT JOIN xf_forum_read AS forum_read ON
(forum_read.node_id = thread.node_id AND forum_read.user_id = ?)
WHERE post.post_date > ?
AND post.message_state = 'visible'
AND thread.discussion_state = 'visible'
AND post.post_date > GREATEST(
IF (thread_read.thread_read_date IS NULL, 0, thread_read.thread_read_date),
IF (forum_read.forum_read_date IS NULL, 0, forum_read.forum_read_date)
) |
| 1857 | root | localhost | forum_site_ru | Execute | 7 | Sending data | SELECT thread.thread_id, post.post_id
FROM xf_post AS post
INNER JOIN xf_thread AS thread ON
(post.thread_id = thread.thread_id AND thread.node_id IN (60, 285, 252, 247, 333, 361, 248, 249, 250, 251, 356, 230, 257, 318, 97, 279, 55, 337, 57, 362, 109, 154, 153, 100, 357, 317, 103, 108, 228, 118, 274, 275, 310, 334, 276, 363, 277, 278, 306, 350, 5, 299, 301, 352, 360, 305, 41, 351, 123, 293, 289, 291, 292, 6, 294, 316, 45, 304, 71, 11, 243, 42, 263, 184, 326, 217, 264, 137, 138, 136, 336, 127, 130, 128, 129, 132, 280, 281, 283, 111, 212, 102, 134, 141, 140, 119, 125, 162, 163, 124, 145, 146, 206, 148, 155, 156, 159, 339, 158, 224, 226, 227, 233, 225, 254, 255, 256, 344, 345, 347, 348, 297, 358, 211, 218, 164, 267, 151, 143, 189, 150, 160, 245, 74, 92, 93, 94, 122, 76, 81, 82, 83, 84, 312, 85, 86, 87, 88, 89, 90, 244, 91, 75, 25, 95, 96, 104, 78, 77, 79, 80, 101, 290, 300, 220, 32, 325, 313, 338, 321, 314, 234, 268, 236, 239, 240, 262, 178, 213, 214, 204, 205, 216, 171, 192, 266, 172, 215, 173, 193, 174, 265, 194, 195, 169, 180, 181, 183, 182, 203, 190, 196, 197, 200, 201, 327, 328, 329, 273, 269, 179, 166, 167, 191, 73))
INNER JOIN xf_forum AS forum ON
(forum.node_id = thread.node_id AND forum.find_new = 1)
LEFT JOIN xf_thread_read AS thread_read ON
(thread_read.thread_id = thread.thread_id AND thread_read.user_id = ?)
LEFT JOIN xf_forum_read AS forum_read ON
(forum_read.node_id = thread.node_id AND forum_read.user_id = ?)
WHERE post.post_date > ?
AND post.message_state = 'visible'
AND thread.discussion_state = 'visible'
AND post.post_date > GREATEST(
IF (thread_read.thread_read_date IS NULL, 0, thread_read.thread_read_date),
IF (forum_read.forum_read_date IS NULL, 0, forum_read.forum_read_date)
) |
| 1858 | root | localhost | forum_site_ru | Execute | 7 | Sending data | SELECT thread.thread_id, post.post_id
FROM xf_post AS post
INNER JOIN xf_thread AS thread ON
(post.thread_id = thread.thread_id AND thread.node_id IN (60, 285, 252, 247, 333, 361, 248, 249, 250, 251, 356, 230, 257, 318, 97, 279, 55, 337, 57, 362, 109, 154, 153, 100, 357, 317, 103, 108, 228, 118, 274, 275, 310, 334, 276, 363, 277, 278, 306, 350, 5, 299, 301, 352, 360, 305, 41, 351, 123, 293, 289, 291, 292, 202, 126, 161, 6, 287, 288, 294, 316, 45, 304, 71, 11, 243, 42, 263, 184, 326, 217, 264, 137, 138, 136, 336, 127, 130, 128, 129, 132, 280, 281, 283, 111, 212, 102, 134, 141, 140, 119, 125, 162, 163, 124, 145, 146, 206, 148, 155, 156, 159, 339, 158, 224, 226, 227, 233, 225, 254, 255, 256, 344, 345, 347, 348, 297, 358, 211, 218, 164, 267, 151, 143, 189, 150, 160, 245, 74, 92, 93, 94, 122, 76, 81, 82, 83, 84, 312, 85, 86, 87, 88, 89, 90, 244, 91, 75, 25, 95, 96, 104, 78, 77, 79, 80, 101, 290, 300, 220, 32, 325, 313, 338, 321, 314, 234, 268, 236, 239, 240, 262, 178, 213, 214, 204, 205, 216, 171, 192, 266, 172, 215, 173, 193, 174, 265, 194, 195, 169, 180, 181, 183, 182, 203, 190, 196, 197, 200, 201, 327, 328, 329, 273, 269, 179, 166, 167, 191, 73))
INNER JOIN xf_forum AS forum ON
(forum.node_id = thread.node_id AND forum.find_new = 1)
LEFT JOIN xf_thread_read AS thread_read ON
(thread_read.thread_id = thread.thread_id AND thread_read.user_id = ?)
LEFT JOIN xf_forum_read AS forum_read ON
(forum_read.node_id = thread.node_id AND forum_read.user_id = ?)
WHERE post.post_date > ?
AND post.message_state = 'visible'
AND thread.discussion_state = 'visible'
AND post.post_date > GREATEST(
IF (thread_read.thread_read_date IS NULL, 0, thread_read.thread_read_date),
IF (forum_read.forum_read_date IS NULL, 0, forum_read.forum_read_date)
) |
| 1864 | root | localhost | forum_site_ru | Execute | 4 | Sending data | SELECT thread.thread_id, post.post_id
FROM xf_post AS post
INNER JOIN xf_thread AS thread ON
(post.thread_id = thread.thread_id AND thread.node_id IN (60, 285, 252, 247, 333, 361, 248, 249, 250, 251, 356, 230, 257, 318, 97, 279, 55, 337, 57, 362, 109, 154, 153, 100, 357, 317, 103, 108, 228, 118, 274, 275, 310, 334, 276, 363, 277, 278, 306, 350, 5, 299, 301, 352, 360, 305, 41, 351, 123, 293, 289, 291, 292, 6, 294, 316, 45, 304, 71, 11, 243, 42, 263, 184, 326, 217, 264, 137, 138, 136, 336, 127, 130, 128, 129, 132, 280, 281, 283, 111, 212, 102, 134, 141, 140, 119, 125, 162, 163, 124, 145, 146, 206, 148, 155, 156, 159, 339, 158, 224, 226, 227, 233, 225, 254, 255, 256, 344, 345, 347, 348, 297, 358, 211, 218, 164, 267, 151, 143, 189, 150, 160, 245, 74, 92, 93, 94, 122, 76, 81, 82, 83, 84, 312, 85, 86, 87, 88, 89, 90, 244, 91, 75, 25, 95, 96, 104, 78, 77, 79, 80, 101, 290, 300, 220, 32, 325, 313, 338, 321, 314, 234, 268, 236, 239, 240, 262, 178, 213, 214, 204, 205, 216, 171, 192, 266, 172, 215, 173, 193, 174, 265, 194, 195, 169, 180, 181, 183, 182, 203, 190, 196, 197, 200, 201, 327, 328, 329, 273, 269, 179, 166, 167, 191, 73))
INNER JOIN xf_forum AS forum ON
(forum.node_id = thread.node_id AND forum.find_new = 1)
LEFT JOIN xf_thread_read AS thread_read ON
(thread_read.thread_id = thread.thread_id AND thread_read.user_id = ?)
LEFT JOIN xf_forum_read AS forum_read ON
(forum_read.node_id = thread.node_id AND forum_read.user_id = ?)
WHERE post.post_date > ?
AND post.message_state = 'visible'
AND thread.discussion_state = 'visible'
AND post.post_date > GREATEST(
IF (thread_read.thread_read_date IS NULL, 0, thread_read.thread_read_date),
IF (forum_read.forum_read_date IS NULL, 0, forum_read.forum_read_date)
) |
| 1865 | root | localhost | forum_site_ru | Execute | 3 | Sending data | SELECT thread.thread_id, post.post_id
FROM xf_post AS post
INNER JOIN xf_thread AS thread ON
(post.thread_id = thread.thread_id AND thread.node_id IN (60, 285, 252, 247, 333, 361, 248, 249, 250, 251, 356, 230, 257, 318, 97, 279, 55, 337, 57, 362, 109, 154, 153, 100, 357, 317, 103, 108, 228, 118, 274, 275, 310, 334, 276, 363, 277, 278, 306, 350, 5, 299, 301, 352, 360, 305, 41, 351, 123, 293, 289, 291, 292, 6, 294, 316, 45, 304, 71, 11, 243, 42, 263, 184, 326, 217, 264, 137, 138, 136, 336, 127, 130, 128, 129, 132, 280, 281, 283, 111, 212, 102, 134, 141, 140, 119, 125, 162, 163, 124, 145, 146, 206, 148, 155, 156, 159, 339, 158, 224, 226, 227, 233, 225, 254, 255, 256, 344, 345, 347, 348, 297, 358, 211, 218, 164, 267, 151, 143, 189, 150, 160, 245, 74, 92, 93, 94, 122, 76, 81, 82, 83, 84, 312, 85, 86, 87, 88, 89, 90, 244, 91, 75, 25, 95, 96, 104, 78, 77, 79, 80, 101, 290, 300, 220, 32, 325, 313, 338, 321, 314, 234, 268, 236, 239, 240, 262, 178, 213, 214, 204, 205, 216, 171, 192, 266, 172, 215, 173, 193, 174, 265, 194, 195, 169, 180, 181, 183, 182, 203, 190, 196, 197, 200, 201, 327, 328, 329, 273, 269, 179, 166, 167, 191, 73))
INNER JOIN xf_forum AS forum ON
(forum.node_id = thread.node_id AND forum.find_new = 1)
LEFT JOIN xf_thread_read AS thread_read ON
(thread_read.thread_id = thread.thread_id AND thread_read.user_id = ?)
LEFT JOIN xf_forum_read AS forum_read ON
(forum_read.node_id = thread.node_id AND forum_read.user_id = ?)
WHERE post.post_date > ?
AND post.message_state = 'visible'
AND thread.discussion_state = 'visible'
AND post.post_date > GREATEST(
IF (thread_read.thread_read_date IS NULL, 0, thread_read.thread_read_date),
IF (forum_read.forum_read_date IS NULL, 0, forum_read.forum_read_date)
) |
| 1869 | root | localhost | forum_site_ru | Execute | 2 | Sending data | SELECT thread.thread_id, post.post_id
FROM xf_post AS post
INNER JOIN xf_thread AS thread ON
(post.thread_id = thread.thread_id AND thread.node_id IN (60, 285, 252, 247, 333, 361, 248, 249, 250, 251, 356, 230, 257, 318, 97, 279, 55, 337, 57, 362, 109, 154, 153, 100, 357, 317, 103, 108, 228, 118, 274, 275, 310, 334, 276, 363, 277, 278, 306, 350, 5, 299, 301, 352, 360, 305, 41, 351, 123, 293, 289, 291, 292, 6, 294, 316, 45, 304, 71, 11, 243, 42, 263, 184, 326, 217, 264, 137, 138, 136, 336, 127, 130, 128, 129, 132, 280, 281, 283, 111, 212, 102, 134, 141, 140, 119, 125, 162, 163, 124, 145, 146, 206, 148, 155, 156, 159, 339, 158, 224, 226, 227, 233, 225, 254, 255, 256, 344, 345, 347, 348, 297, 358, 211, 218, 164, 267, 151, 143, 189, 150, 160, 245, 74, 92, 93, 94, 122, 76, 81, 82, 83, 84, 312, 85, 86, 87, 88, 89, 90, 244, 91, 75, 25, 95, 96, 104, 78, 77, 79, 80, 101, 290, 300, 220, 32, 325, 313, 338, 321, 314, 234, 268, 236, 239, 240, 262, 178, 213, 214, 204, 205, 216, 171, 192, 266, 172, 215, 173, 193, 174, 265, 194, 195, 169, 180, 181, 183, 182, 203, 190, 196, 197, 200, 201, 327, 328, 329, 273, 269, 179, 166, 167, 191, 73))
INNER JOIN xf_forum AS forum ON
(forum.node_id = thread.node_id AND forum.find_new = 1)
LEFT JOIN xf_thread_read AS thread_read ON
(thread_read.thread_id = thread.thread_id AND thread_read.user_id = ?)
LEFT JOIN xf_forum_read AS forum_read ON
(forum_read.node_id = thread.node_id AND forum_read.user_id = ?)
WHERE post.post_date > ?
AND post.message_state = 'visible'
AND thread.discussion_state = 'visible'
AND post.post_date > GREATEST(
IF (thread_read.thread_read_date IS NULL, 0, thread_read.thread_read_date),
IF (forum_read.forum_read_date IS NULL, 0, forum_read.forum_read_date)
) |
+------+------+-----------+--------------------+---------+------+--------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
11 rows in set (0,00 sec)
mysql>