[ DB ] CONNECT:[ UseTime:0.000737s ] mysql:dbname=manuala_agent;host=localhost;port=3306;charset=utf8
[ SQL ] SHOW COLUMNS FROM `mg_brand` [ RunTime:0.000714s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `mg_brand` LIMIT 1 [ RunTime:0.000236s ]
[ SQL ] SHOW COLUMNS FROM `mg_detail` [ RunTime:0.000460s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `mg_detail` LIMIT 1 [ RunTime:0.000153s ]
[ SQL ] SHOW COLUMNS FROM `mg_models` [ RunTime:0.000399s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `mg_models` LIMIT 1 [ RunTime:0.000150s ]
[ SQL ] SELECT `id`,`name`,`slug` FROM `mg_brand` WHERE ( slug = 'ikea' ) LIMIT 1 [ RunTime:0.000291s ]
[ SQL ] SELECT `name`,`product_id`,`type_id`,`id`,`slug` FROM `mg_models` WHERE ( slug = 'udden-cg3' and brand_id = 2 ) LIMIT 1 [ RunTime:0.056095s ]
[ SQL ] SHOW COLUMNS FROM `mg_product` [ RunTime:0.000750s ]
[ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( id = 41 ) LIMIT 1 [ RunTime:0.000252s ]
[ SQL ] SHOW COLUMNS FROM `mg_type` [ RunTime:0.000408s ]
[ SQL ] SELECT `name` FROM `mg_type` WHERE ( id in(2) ) [ RunTime:0.000163s ]
[ SQL ] SELECT `id`,`current_url`,`page`,`size`,`html_id`,`brand_id`,`product_id`,`type_id`,`slug`,`sub_info` FROM `mg_detail` WHERE ( model_id = 265920 ) [ RunTime:0.000289s ]
[ SQL ] SELECT `name`,`slug` FROM `mg_brand` WHERE ( id = 2 ) LIMIT 1 [ RunTime:0.000213s ]
[ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( id = 41 ) LIMIT 1 [ RunTime:0.000193s ]
[ SQL ] SELECT `name` FROM `mg_type` WHERE ( id = 2 ) LIMIT 1 [ RunTime:0.000167s ]
[ SQL ] SHOW COLUMNS FROM `mg_content_tab` [ RunTime:0.000398s ]
[ SQL ] SELECT `content` FROM `mg_content_tab` WHERE ( detail_id = 342948 ) LIMIT 1 [ RunTime:0.000290s ]
[ SQL ] SHOW COLUMNS FROM `mg_brand_product` [ RunTime:0.000518s ]
[ SQL ] SELECT `product_id` FROM `mg_brand_product` WHERE ( brand_id = 2 ) [ RunTime:0.000294s ]
[ SQL ] SELECT `slug`,`name` FROM `mg_product` WHERE ( is_show = 1 and id in(28,32,27,29,31,30,254,231,421,319,84,41,353,634,365,401,39,54) ) [ RunTime:0.000430s ]
[ SQL ] SELECT `name`,`slug` FROM `mg_models` WHERE ( brand_id = 2 and product_id = 41 and id != 265920 ) ORDER BY name asc LIMIT 9 [ RunTime:0.135886s ]