- 论坛徽章:
- 0
|
slow.log里面
提示信息为
/usr/local/mysql/libexec/mysqld, Version: 5.0.56-log (Source distribution). started with:
Tcp port: 3306 Unix socket: /tmp/mysql.sock
Time Id Command Argument
# Time: 080727 0:15:17
# User@Host: szxnmysql[szxnmysql] @ localhost []
# Query_time: 68 Lock_time: 0 Rows_sent: 10 Rows_examined: 30459
use szxndiscuz;
SELECT t.*, f.name FROM cdb_threads t, cdb_forums f where f.fid=t.fid AND f.fid not in (41) AND t.displayorder not in (-1,-2) ORDER BY t.dateline DESC LIMIT 0, 10;
# Time: 080727 0:15:18
# User@Host: szxnmysql[szxnmysql] @ localhost []
# Query_time: 73 Lock_time: 0 Rows_sent: 10 Rows_examined: 30459
SELECT t.*, f.name FROM cdb_threads t, cdb_forums f where f.fid=t.fid AND f.fid not in (41) AND t.displayorder not in (-1,-2) ORDER BY t.dateline DESC LIMIT 0, 10;
# User@Host: szxnmysql[szxnmysql] @ localhost []
# Query_time: 57 Lock_time: 0 Rows_sent: 10 Rows_examined: 30459
SELECT t.*, f.name FROM cdb_threads t, cdb_forums f where f.fid=t.fid AND f.fid not in (41) AND t.displayorder not in (-1,-2) ORDER BY t.dateline DESC LIMIT 0, 10;
# User@Host: szxnmysql[szxnmysql] @ localhost []
# Query_time: 32 Lock_time: 0 Rows_sent: 10 Rows_examined: 30459
SELECT t.*, f.name FROM cdb_threads t, cdb_forums f where f.fid=t.fid AND f.fid not in (41) AND t.displayorder not in (-1,-2) ORDER BY t.dateline DESC LIMIT 0, 10;
# User@Host: szxnmysql[szxnmysql] @ localhost []
# Query_time: 87 Lock_time: 0 Rows_sent: 10 Rows_examined: 30459
SELECT t.*, f.name FROM cdb_threads t, cdb_forums f where f.fid=t.fid AND f.fid not in (41) AND t.displayorder not in (-1,-2) ORDER BY t.dateline DESC LIMIT 0, 10;
# User@Host: szxnmysql[szxnmysql] @ localhost []
# Query_time: 69 Lock_time: 0 Rows_sent: 10 Rows_examined: 30459
SELECT t.*, f.name FROM cdb_threads t, cdb_forums f where f.fid=t.fid AND f.fid not in (41) AND t.displayorder not in (-1,-2) ORDER BY t.dateline DESC LIMIT 0, 10;
# User@Host: szxnmysql[szxnmysql] @ localhost []
# Query_time: 84 Lock_time: 0 Rows_sent: 10 Rows_examined: 30459
SELECT t.*, f.name FROM cdb_threads t, cdb_forums f where f.fid=t.fid AND f.fid not in (41) AND t.displayorder not in (-1,-2) ORDER BY t.dateline DESC LIMIT 0, 10;
# User@Host: szxnmysql[szxnmysql] @ localhost []
# Query_time: 62 Lock_time: 0 Rows_sent: 10 Rows_examined: 30459
SELECT t.*, f.name FROM cdb_threads t, cdb_forums f where f.fid=t.fid AND f.fid not in (41) AND t.displayorder not in (-1,-2) ORDER BY t.dateline DESC LIMIT 0, 10;
# User@Host: szxnmysql[szxnmysql] @ localhost []
# Query_time: 57 Lock_time: 0 Rows_sent: 10 Rows_examined: 30459
SELECT t.*, f.name FROM cdb_threads t, cdb_forums f where f.fid=t.fid AND f.fid not in (41) AND t.displayorder not in (-1,-2) ORDER BY t.dateline DESC LIMIT 0, 10;
# User@Host: szxnmysql[szxnmysql] @ localhost []
# Query_time: 31 Lock_time: 0 Rows_sent: 10 Rows_examined: 30459
SELECT t.*, f.name FROM cdb_threads t, cdb_forums f where f.fid=t.fid AND f.fid not in (41) AND t.displayorder not in (-1,-2) ORDER BY t.dateline DESC LIMIT 0, 10;
# Time: 080727 0:15:19
# User@Host: szxnmysql[szxnmysql] @ localhost []
# Query_time: 63 Lock_time: 0 Rows_sent: 10 Rows_examined: 30459
SELECT t.*, f.name FROM cdb_threads t, cdb_forums f where f.fid=t.fid AND f.fid not in (41) AND t.displayorder not in (-1,-2) ORDER BY t.dateline DESC LIMIT 0, 10;
# Time: 080727 0:15:40
# User@Host: szxnmysql[szxnmysql] @ localhost []
# Query_time: 53 Lock_time: 0 Rows_sent: 10 Rows_examined: 30459
SELECT t.*, f.name FROM cdb_threads t, cdb_forums f where f.fid=t.fid AND f.fid not in (41) AND t.displayorder not in (-1,-2) ORDER BY t.dateline DESC LIMIT 0, 10;
# User@Host: szxnmysql[szxnmysql] @ localhost []
# Query_time: 103 Lock_time: 0 Rows_sent: 10 Rows_examined: 30459
SELECT t.*, f.name FROM cdb_threads t, cdb_forums f where f.fid=t.fid AND f.fid not in (41) AND t.displayorder not in (-1,-2) ORDER BY t.dateline DESC LIMIT 0, 10;
# User@Host: szxnmysql[szxnmysql] @ localhost []
# Query_time: 103 Lock_time: 0 Rows_sent: 10 Rows_examined: 30459
SELECT t.*, f.name FROM cdb_threads t, cdb_forums f where f.fid=t.fid AND f.fid not in (41) AND t.displayorder not in (-1,-2) ORDER BY t.dateline DESC LIMIT 0, 10;
# User@Host: szxnmysql[szxnmysql] @ localhost []
# Query_time: 103 Lock_time: 0 Rows_sent: 10 Rows_examined: 30459
SELECT t.*, f.name FROM cdb_threads t, cdb_forums f where f.fid=t.fid AND f.fid not in (41) AND t.displayorder not in (-1,-2) ORDER BY t.dateline DESC LIMIT 0, 10;
# User@Host: szxnmysql[szxnmysql] @ localhost []
# Query_time: 53 Lock_time: 0 Rows_sent: 10 Rows_examined: 30459
SELECT t.*, f.name FROM cdb_threads t, cdb_forums f where f.fid=t.fid AND f.fid not in (41) AND t.displayorder not in (-1,-2) ORDER BY t.dateline DESC LIMIT 0, 10;
# User@Host: szxnmysql[szxnmysql] @ localhost []
# Query_time: 95 Lock_time: 0 Rows_sent: 10 Rows_examined: 30459
SELECT t.*, f.name FROM cdb_threads t, cdb_forums f where f.fid=t.fid AND f.fid not in (41) AND t.displayorder not in (-1,-2) ORDER BY t.dateline DESC LIMIT 0, 10;
# User@Host: szxnmysql[szxnmysql] @ localhost []
# Query_time: 98 Lock_time: 0 Rows_sent: 10 Rows_examined: 30459
SELECT t.*, f.name FROM cdb_threads t, cdb_forums f where f.fid=t.fid AND f.fid not in (41) AND t.displayorder not in (-1,-2) ORDER BY t.dateline DESC LIMIT 0, 10;
# Time: 080727 0:15:49
# User@Host: szxnmysql[szxnmysql] @ localhost []
# Query_time: 32 Lock_time: 0 Rows_sent: 10 Rows_examined: 180
SELECT p.*, m.uid, m.username, m.groupid, m.adminid, m.regdate, m.lastactivity, m.posts, m.digestposts, m.oltime,^M
m.pageviews, m.credits, m.extcredits1, m.extcredits2, m.extcredits3, m.extcredits4, m.extcredits5, m.extcredits6,^M
m.extcredits7, m.extcredits8, m.email, m.gender, m.showemail, m.invisible, mf.nickname, mf.site,^M
mf.icq, mf.qq, mf.yahoo, mf.msn, mf.taobao, mf.alipay, mf.location, mf.fromcity, mf.fromtown, mf.nowcity, mf.nowtown, mf.medals,^M
mf.sightml AS signature, mf.customstatus, mf.spacename ^M
FROM cdb_posts p^M
LEFT JOIN cdb_members m ON m.uid=p.authorid^M
LEFT JOIN cdb_memberfields mf ON mf.uid=m.uid^M
WHERE p.tid='6559' AND p.invisible='0' ORDER BY dateline LIMIT 50, 10;
# Time: 080727 0:20:12
# User@Host: szxnmysql[szxnmysql] @ localhost []
# Query_time: 156 Lock_time: 0 Rows_sent: 10 Rows_examined: 60
SELECT p.*, m.uid, m.username, m.groupid, m.adminid, m.regdate, m.lastactivity, m.posts, m.digestposts, m.oltime,^M
m.pageviews, m.credits, m.extcredits1, m.extcredits2, m.extcredits3, m.extcredits4, m.extcredits5, m.extcredits6,^M
m.extcredits7, m.extcredits8, m.email, m.gender, m.showemail, m.invisible, mf.nickname, mf.site,^M
mf.icq, mf.qq, mf.yahoo, mf.msn, mf.taobao, mf.alipay, mf.location, mf.fromcity, mf.fromtown, mf.nowcity, mf.nowtown, mf.medals,^M
mf.sightml AS signature, mf.customstatus, mf.spacename ^M
FROM cdb_posts p^M
LEFT JOIN cdb_members m ON m.uid=p.authorid^M
LEFT JOIN cdb_memberfields mf ON mf.uid=m.uid^M
WHERE p.tid='32691' AND p.invisible='0' ORDER BY dateline LIMIT 10, 10;
# Time: 080727 0:20:13
# User@Host: szxnmysql[szxnmysql] @ localhost []
# Query_time: 266 Lock_time: 0 Rows_sent: 10 Rows_examined: 30459
SELECT t.*, f.name FROM cdb_threads t, cdb_forums f WHERE f.fid=t.fid AND f.fid not in (41) AND t.displayorder not in (-1,-2) AND t.closed NOT LIKE 'moved|%' AND t.replies !=0 ORDER BY t.lastpost DESC LIMIT 0, 10;
# User@Host: szxnmysql[szxnmysql] @ localhost []
# Query_time: 273 Lock_time: 0 Rows_sent: 10 Rows_examined: 30459
SELECT t.*, f.name FROM cdb_threads t, cdb_forums f WHERE f.fid=t.fid AND f.fid not in (41) AND t.displayorder not in (-1,-2) AND t.closed NOT LIKE 'moved|%' AND t.replies !=0 ORDER BY t.lastpost DESC LIMIT 0, 10;
# User@Host: szxnmysql[szxnmysql] @ localhost []
# Query_time: 265 Lock_time: 0 Rows_sent: 10 Rows_examined: 30459 |
|