Profiling Summary Report (Time: 1.70399s, Memory: 21,329KB)
Procedure Count Total (s) Avg. (s) Min. (s) Max. (s)
system.db.CDbCommand.query(SELECT * FROM `view_shelf_music` `t` WHERE catesub_id=:catesub_id AND SongActive=1 AND status="P" AND (FLV_MV=1 OR URLmv_YOUTUBE != "") ORDER BY weight DESC LIMIT 18 OFFSET 18) 1 0.77958 0.77958 0.77958 0.77958
system.db.CDbCommand.query(SELECT COUNT(*) FROM `view_shelf_music` `t` WHERE catesub_id=:catesub_id AND SongActive=1 AND status="P" AND (FLV_MV=1 OR URLmv_YOUTUBE != "")) 1 0.31540 0.31540 0.31540 0.31540
system.db.CDbCommand.query(SELECT gmmd_code,cover,mv_youtube,chord_guitar,chord_ukulele,code_download,text_song,text_mv FROM `gm_music` `t` WHERE gmmd_code=:gmmd_code AND status="P" LIMIT 1) 18 0.01011 0.00056 0.00052 0.00061
system.db.CDbCommand.query(SELECT GMMD_CODE, AlbumId, SongNameTH,AlbumNameTH, ArtistConceptName_CallName FROM `dcpview` `t` WHERE GMMD_CODE=:GMMD_CODE AND SongActive=1 LIMIT 1) 13 0.00822 0.00063 0.00058 0.00073
ads 1 0.00193 0.00193 0.00193 0.00193
system.db.CDbCommand.query(SELECT * FROM `gm_ads_network` `t` WHERE section_id=:section_id and position=:position AND status='P' LIMIT 1) 1 0.00071 0.00071 0.00071 0.00071