[ DB ] CONNECT:[ UseTime:0.000717s ] mysql:dbname=manuala_agent;host=localhost;port=3306;charset=utf8
[ SQL ] SHOW COLUMNS FROM `mg_brand` [ RunTime:0.000787s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `mg_brand` LIMIT 1 [ RunTime:0.000237s ]
[ SQL ] SHOW COLUMNS FROM `mg_detail` [ RunTime:0.000469s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `mg_detail` LIMIT 1 [ RunTime:0.000160s ]
[ SQL ] SHOW COLUMNS FROM `mg_models` [ RunTime:0.000445s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `mg_models` LIMIT 1 [ RunTime:0.000156s ]
[ SQL ] SELECT `id`,`name`,`slug` FROM `mg_brand` WHERE ( slug = 'ikea' ) LIMIT 1 [ RunTime:0.000365s ]
[ SQL ] SELECT `name`,`product_id`,`type_id`,`id`,`slug` FROM `mg_models` WHERE ( slug = 'ibs550pww00' and brand_id = 2 ) LIMIT 1 [ RunTime:0.060042s ]
[ SQL ] SHOW COLUMNS FROM `mg_product` [ RunTime:0.000755s ]
[ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( id = 41 ) LIMIT 1 [ RunTime:0.000283s ]
[ SQL ] SHOW COLUMNS FROM `mg_type` [ RunTime:0.000412s ]
[ SQL ] SELECT `name` FROM `mg_type` WHERE ( id in(2) ) [ RunTime:0.000164s ]
[ SQL ] SELECT `id`,`current_url`,`page`,`size`,`html_id`,`brand_id`,`product_id`,`type_id`,`slug`,`sub_info` FROM `mg_detail` WHERE ( model_id = 265922 ) [ RunTime:0.000294s ]
[ SQL ] SELECT `name`,`slug` FROM `mg_brand` WHERE ( id = 2 ) LIMIT 1 [ RunTime:0.000199s ]
[ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( id = 41 ) LIMIT 1 [ RunTime:0.000164s ]
[ SQL ] SELECT `name` FROM `mg_type` WHERE ( id = 2 ) LIMIT 1 [ RunTime:0.000156s ]
[ SQL ] SHOW COLUMNS FROM `mg_content_tab` [ RunTime:0.000356s ]
[ SQL ] SELECT `content` FROM `mg_content_tab` WHERE ( detail_id = 342945 ) LIMIT 1 [ RunTime:0.000642s ]
[ SQL ] SHOW COLUMNS FROM `mg_brand_product` [ RunTime:0.000787s ]
[ SQL ] SELECT `product_id` FROM `mg_brand_product` WHERE ( brand_id = 2 ) [ RunTime:0.000366s ]
[ 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.000398s ]
[ SQL ] SELECT `name`,`slug` FROM `mg_models` WHERE ( brand_id = 2 and product_id = 41 and id != 265922 ) ORDER BY name asc LIMIT 9 [ RunTime:0.126868s ]