абстрагирование

Application Log
Timestamp Level Category Message
01:23:51.440768 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SHOW FULL COLUMNS FROM
`tbl_bazar_similar`)
01:23:51.441977 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `tbl_bazar_similar`)
01:23:51.442141 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SHOW CREATE TABLE `tbl_bazar_similar`)
01:23:51.442470 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SHOW CREATE TABLE `tbl_bazar_similar`)
01:23:51.442702 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SHOW FULL COLUMNS FROM
`tbl_bazar_basifier`)
01:23:51.443790 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `tbl_bazar_basifier`)
01:23:51.443866 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SHOW CREATE TABLE `tbl_bazar_basifier`)
01:23:51.444179 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SHOW CREATE TABLE `tbl_bazar_basifier`)
01:23:51.444391 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)
01:23:51.449160 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)
01:23:51.451369 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `tbl_action_log`)
01:23:51.452711 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `tbl_action_log`)
01:23:51.452858 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SHOW CREATE TABLE `tbl_action_log`)
01:23:51.453210 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SHOW CREATE TABLE `tbl_action_log`)
01:23:51.453340 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SHOW FULL COLUMNS FROM
`tbl_action_log_bazar`)
01:23:51.454638 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SHOW FULL COLUMNS FROM
`tbl_action_log_bazar`)
01:23:51.454780 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SHOW CREATE TABLE `tbl_action_log_bazar`)
01:23:51.455142 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SHOW CREATE TABLE `tbl_action_log_bazar`)
Profiling Summary Report (Time: 0.01925s, 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.00477 0.00477 0.00477 0.00477
system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `tbl_action_log`) 1 0.00134 0.00134 0.00134 0.00134
system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `tbl_action_log_bazar`) 1 0.00130 0.00130 0.00130 0.00130
system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `tbl_bazar_similar`) 1 0.00121 0.00121 0.00121 0.00121
system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `tbl_bazar_basifier`) 1 0.00109 0.00109 0.00109 0.00109
system.db.CDbCommand.query(SHOW CREATE TABLE `tbl_action_log_bazar`) 1 0.00036 0.00036 0.00036 0.00036
system.db.CDbCommand.query(SHOW CREATE TABLE `tbl_action_log`) 1 0.00035 0.00035 0.00035 0.00035
system.db.CDbCommand.query(SHOW CREATE TABLE `tbl_bazar_similar`) 1 0.00033 0.00033 0.00033 0.00033
system.db.CDbCommand.query(SHOW CREATE TABLE `tbl_bazar_basifier`) 1 0.00031 0.00031 0.00031 0.00031