реализовать

Application Log
Timestamp Level Category Message
17:48:33.852049 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SHOW FULL COLUMNS FROM
`tbl_bazar_similar`)
17:48:33.852818 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `tbl_bazar_similar`)
17:48:33.852952 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SHOW CREATE TABLE `tbl_bazar_similar`)
17:48:33.853135 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SHOW CREATE TABLE `tbl_bazar_similar`)
17:48:33.853287 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SHOW FULL COLUMNS FROM
`tbl_bazar_basifier`)
17:48:33.853952 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `tbl_bazar_basifier`)
17:48:33.853998 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SHOW CREATE TABLE `tbl_bazar_basifier`)
17:48:33.854162 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SHOW CREATE TABLE `tbl_bazar_basifier`)
17:48:33.854305 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT `t`.`term` AS `t0_c0`, `t`.`slice`
AS `t0_c1`, `t`.`similar` AS `t0_c2`, `t`.`weight` AS `t0_c3`,
`basifier`.`wf` AS `t1_c0`, `basifier`.`term` AS `t1_c1` FROM
`tbl_bazar_similar` `t`  LEFT OUTER JOIN `tbl_bazar_basifier` `basifier` ON
(`t`.`term`=`basifier`.`term`) WHERE (slice = :slice AND wf = :wf) ORDER BY
weight DESC)
17:48:33.856194 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT `t`.`term` AS `t0_c0`, `t`.`slice` AS
`t0_c1`, `t`.`similar` AS `t0_c2`, `t`.`weight` AS `t0_c3`, `basifier`.`wf`
AS `t1_c0`, `basifier`.`term` AS `t1_c1` FROM `tbl_bazar_similar` `t`  LEFT
OUTER JOIN `tbl_bazar_basifier` `basifier` ON
(`t`.`term`=`basifier`.`term`) WHERE (slice = :slice AND wf = :wf) ORDER BY
weight DESC)
17:48:33.857376 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `tbl_action_log`)
17:48:33.858015 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `tbl_action_log`)
17:48:33.858092 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SHOW CREATE TABLE `tbl_action_log`)
17:48:33.858233 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SHOW CREATE TABLE `tbl_action_log`)
17:48:33.858299 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SHOW FULL COLUMNS FROM
`tbl_action_log_bazar`)
17:48:33.858894 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SHOW FULL COLUMNS FROM
`tbl_action_log_bazar`)
17:48:33.858963 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SHOW CREATE TABLE `tbl_action_log_bazar`)
17:48:33.859103 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SHOW CREATE TABLE `tbl_action_log_bazar`)
Profiling Summary Report (Time: 0.01342s, Memory: 1,104KB)
Procedure Count Total (s) Avg. (s) Min. (s) Max. (s)
system.db.CDbCommand.query(SELECT `t`.`term` AS `t0_c0`, `t`.`slice` AS `t0_c1`, `t`.`similar` AS `t0_c2`, `t`.`weight` AS `t0_c3`, `basifier`.`wf` AS `t1_c0`, `basifier`.`term` AS `t1_c1` FROM `tbl_bazar_similar` `t` LEFT OUTER JOIN `tbl_bazar_basifier` `basifier` ON (`t`.`term`=`basifier`.`term`) WHERE (slice = :slice AND wf = :wf) ORDER BY weight DESC) 1 0.00189 0.00189 0.00189 0.00189
system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `tbl_bazar_similar`) 1 0.00077 0.00077 0.00077 0.00077
system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `tbl_bazar_basifier`) 1 0.00066 0.00066 0.00066 0.00066
system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `tbl_action_log`) 1 0.00064 0.00064 0.00064 0.00064
system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `tbl_action_log_bazar`) 1 0.00060 0.00060 0.00060 0.00060
system.db.CDbCommand.query(SHOW CREATE TABLE `tbl_bazar_similar`) 1 0.00018 0.00018 0.00018 0.00018
system.db.CDbCommand.query(SHOW CREATE TABLE `tbl_bazar_basifier`) 1 0.00016 0.00016 0.00016 0.00016
system.db.CDbCommand.query(SHOW CREATE TABLE `tbl_action_log`) 1 0.00014 0.00014 0.00014 0.00014
system.db.CDbCommand.query(SHOW CREATE TABLE `tbl_action_log_bazar`) 1 0.00014 0.00014 0.00014 0.00014