SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002521s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000612s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002661s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '18.97.14.81' ) [ RunTime:0.001643s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.003950s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000427s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 194 LIMIT 1 [ RunTime:0.000496s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 194 [ RunTime:0.000269s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 27 [ RunTime:0.000256s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002433s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 194 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001839s ]
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 IS NULL OR 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.006697s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003996s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14920 LIMIT 4 [ RunTime:0.004922s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001957s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14920 ORDER BY `minOrder` ASC [ RunTime:0.000352s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002414s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14920 ORDER BY `unit` DESC [ RunTime:0.000836s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001896s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14920 LIMIT 2 [ RunTime:0.001313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14920 ORDER BY `minOrder` ASC [ RunTime:0.000323s ]
select * from pdf where partno='KSZ8041NLI-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000533s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002010s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ8041NLI-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.002566s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14910 LIMIT 4 [ RunTime:0.002326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14910 ORDER BY `minOrder` ASC [ RunTime:0.004680s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14910 ORDER BY `unit` DESC [ RunTime:0.005509s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14910 LIMIT 2 [ RunTime:0.002038s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14910 ORDER BY `minOrder` ASC [ RunTime:0.000335s ]
select * from pdf where partno='KSZ8041NLI-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000406s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ8041NLI-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.001773s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14912 LIMIT 4 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14912 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14912 ORDER BY `unit` DESC [ RunTime:0.000315s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14912 LIMIT 2 [ RunTime:0.000305s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14912 ORDER BY `minOrder` ASC [ RunTime:0.000312s ]
select * from pdf where partno='KSZ9031RNXIC-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000369s ]
select foldpath,foldpath2,filename from pdf_file where id=1503653 limit 1 [ RunTime:0.000296s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ9031RNXIC-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000325s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14917 LIMIT 4 [ RunTime:0.000316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14917 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14917 ORDER BY `unit` DESC [ RunTime:0.001704s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14917 LIMIT 2 [ RunTime:0.000307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14917 ORDER BY `minOrder` ASC [ RunTime:0.000309s ]
select * from pdf where partno='KSZ8081MNXIA-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000360s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ8081MNXIA-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000331s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14918 LIMIT 4 [ RunTime:0.002630s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14918 ORDER BY `minOrder` ASC [ RunTime:0.000330s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14918 ORDER BY `unit` DESC [ RunTime:0.000320s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14918 LIMIT 2 [ RunTime:0.004190s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14918 ORDER BY `minOrder` ASC [ RunTime:0.000323s ]
select * from pdf where partno='KSZ9131RNXI-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000360s ]
select foldpath,foldpath2,filename from pdf_file where id=2182166 limit 1 [ RunTime:0.000280s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ9131RNXI-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000323s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14909 LIMIT 4 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14909 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14909 ORDER BY `unit` DESC [ RunTime:0.000311s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14909 LIMIT 2 [ RunTime:0.000310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14909 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
select * from pdf where partno='KSZ9031RNXIA-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000356s ]
select foldpath,foldpath2,filename from pdf_file where id=1503653 limit 1 [ RunTime:0.000329s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ9031RNXIA-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000338s ]
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.000393s ]