SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002743s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000922s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.003424s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.000446s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002291s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.005186s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 194 LIMIT 1 [ RunTime:0.000483s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 194 [ RunTime:0.000358s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 27 [ RunTime:0.000340s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003030s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 194 ) AND `u`.`lockUser` = '0' [ RunTime:0.004257s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 194 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001300s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND `s`.`id` IN ('14920','14910','14912','14917','14918','14909') ORDER BY FIELD(s.id, 14920,14910,14912,14917,14918,14909) [ RunTime:0.001662s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001312s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14920 LIMIT 4 [ RunTime:0.000803s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000829s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14920 ORDER BY `minOrder` ASC [ RunTime:0.000289s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001024s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14920 ORDER BY `unit` DESC [ RunTime:0.003302s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000888s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14920 LIMIT 2 [ RunTime:0.000349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14920 ORDER BY `minOrder` ASC [ RunTime:0.000166s ]
select * from pdf where partno='KSZ8041NLI-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001618s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002331s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ8041NLI-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.026421s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14910 LIMIT 4 [ RunTime:0.003677s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14910 ORDER BY `minOrder` ASC [ RunTime:0.009844s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14910 ORDER BY `unit` DESC [ RunTime:0.000910s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14910 LIMIT 2 [ RunTime:0.000573s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14910 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
select * from pdf where partno='KSZ8041NLI-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000520s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ8041NLI-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000403s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14912 LIMIT 4 [ RunTime:0.000639s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14912 ORDER BY `minOrder` ASC [ RunTime:0.002166s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14912 ORDER BY `unit` DESC [ RunTime:0.004523s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14912 LIMIT 2 [ RunTime:0.001676s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14912 ORDER BY `minOrder` ASC [ RunTime:0.000490s ]
select * from pdf where partno='KSZ9031RNXIC-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001733s ]
select foldpath,foldpath2,filename from pdf_file where id=1503653 limit 1 [ RunTime:0.009357s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ9031RNXIC-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.021289s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14917 LIMIT 4 [ RunTime:0.000601s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14917 ORDER BY `minOrder` ASC [ RunTime:0.000517s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14917 ORDER BY `unit` DESC [ RunTime:0.000541s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14917 LIMIT 2 [ RunTime:0.006123s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14917 ORDER BY `minOrder` ASC [ RunTime:0.000329s ]
select * from pdf where partno='KSZ8081MNXIA-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001143s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ8081MNXIA-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.022069s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14918 LIMIT 4 [ RunTime:0.002312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14918 ORDER BY `minOrder` ASC [ RunTime:0.007598s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14918 ORDER BY `unit` DESC [ RunTime:0.001217s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14918 LIMIT 2 [ RunTime:0.001080s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14918 ORDER BY `minOrder` ASC [ RunTime:0.000330s ]
select * from pdf where partno='KSZ9131RNXI-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001127s ]
select foldpath,foldpath2,filename from pdf_file where id=2182166 limit 1 [ RunTime:0.012430s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ9131RNXI-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.032036s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14909 LIMIT 4 [ RunTime:0.012313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14909 ORDER BY `minOrder` ASC [ RunTime:0.000964s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14909 ORDER BY `unit` DESC [ RunTime:0.004020s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14909 LIMIT 2 [ RunTime:0.003568s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14909 ORDER BY `minOrder` ASC [ RunTime:0.000440s ]
select * from pdf where partno='KSZ9031RNXIA-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001069s ]
select foldpath,foldpath2,filename from pdf_file where id=1503653 limit 1 [ RunTime:0.005232s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ9031RNXIA-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.009974s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 194 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000821s ]