- 最后登录
- 2023-8-16
- 在线时间
- 1686 小时
- 威望
- 2135
- 金钱
- 50532
- 注册时间
- 2011-10-12
- 阅读权限
- 200
- 帖子
- 5207
- 精华
- 39
- 积分
- 2135
- UID
- 2
|
2#
发表于 2013-7-26 11:23:10
Logical reads: 411,739.03 55,555.83
Block changes: 64.12 8.65
Physical reads: 12,123.48 1,635.82
每秒3g的逻辑读 94M的物理读 , 508次解析, 4次硬解析
Parses: 508.94 68.67
Hard parses: 3.94 0.53
CPU Elapsd
Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
--------------- ------------ -------------- ------ -------- --------- ----------
1,003,366,741 456,677 2,197.1 4.8 6160.73 6094.90 1678524824
select epgfoldera0_.ID as ID, epgfoldera0_.FOLDERID as FOLDERID,
epgfoldera0_.ASSETTYPE as ASSETTYPE, epgfoldera0_.ASSETID as AS
SETID, epgfoldera0_.SORTINDEX as SORTINDEX, epgfoldera0_.LOCATES
TRING as LOCATEST6_, epgfoldera0_.SERVICEIDS as SERVICEIDS from
VOD_EPG_FLDER2ASSET epgfoldera0_, VOD_EPG_FOLDER epgfolder1_ whe
580,035,904 264,000 2,197.1 2.8 3571.65 3533.63 3766717047
select epgfoldera0_.ID as ID, epgfoldera0_.FOLDERID as FOLDERID,
epgfoldera0_.ASSETTYPE as ASSETTYPE, epgfoldera0_.ASSETID as AS
SETID, epgfoldera0_.SORTINDEX as SORTINDEX, epgfoldera0_.LOCATES
TRING as LOCATEST6_, epgfoldera0_.SERVICEIDS as SERVICEIDS from
VOD_EPG_FLDER2ASSET epgfoldera0_, VOD_EPG_FOLDER epgfolder1_ whe
343,336,421 156,133 2,199.0 1.7 2121.50 2102.04 2835583068
select epgfoldera0_.ID as ID, epgfoldera0_.FOLDERID as FOLDERID,
epgfoldera0_.ASSETTYPE as ASSETTYPE, epgfoldera0_.ASSETID as AS
SETID, epgfoldera0_.SORTINDEX as SORTINDEX, epgfoldera0_.LOCATES
TRING as LOCATEST6_, epgfoldera0_.SERVICEIDS as SERVICEIDS from
VOD_EPG_FLDER2ASSET epgfoldera0_, VOD_EPG_FOLDER epgfolder1_ whe
287,729,577 131,121 2,194.4 1.4 1775.70 1756.41 2484472369
select epgfoldera0_.ID as ID, epgfoldera0_.FOLDERID as FOLDERID,
epgfoldera0_.ASSETTYPE as ASSETTYPE, epgfoldera0_.ASSETID as AS
SETID, epgfoldera0_.SORTINDEX as SORTINDEX, epgfoldera0_.LOCATES
TRING as LOCATEST6_, epgfoldera0_.SERVICEIDS as SERVICEIDS from
VOD_EPG_FLDER2ASSET epgfoldera0_, VOD_EPG_FOLDER epgfolder1_ whe
271,255,235 123,845 2,190.3 1.3 1674.34 1655.88 856708771
select epgfoldera0_.ID as ID, epgfoldera0_.FOLDERID as FOLDERID,
epgfoldera0_.ASSETTYPE as ASSETTYPE, epgfoldera0_.ASSETID as AS
SETID, epgfoldera0_.SORTINDEX as SORTINDEX, epgfoldera0_.LOCATES
TRING as LOCATEST6_, epgfoldera0_.SERVICEIDS as SERVICEIDS from
VOD_EPG_FLDER2ASSET epgfoldera0_, VOD_EPG_FOLDER epgfolder1_ whe
先优化SQL 吧, 单次逻辑读 一般在2000
没有看到optimizer_mode 估计用的CHOOSE 且无统计信息可用 |
|