SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002218s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.004453s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002396s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.130' ) [ RunTime:0.003841s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001899s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.008733s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 347 LIMIT 1 [ RunTime:0.005483s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 347 [ RunTime:0.000260s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 33 [ RunTime:0.000259s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002052s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 347 ) AND `u`.`lockUser` = '0' [ RunTime:0.009851s ]
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` = 347 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005565s ]
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 ('5311','7852','176','4079','11496','2261','16892','15873','2420','6817','13572','8340') ORDER BY FIELD(s.id, 5311,7852,176,4079,11496,2261,16892,15873,2420,6817,13572,8340) [ RunTime:0.010858s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001282s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5311 LIMIT 4 [ RunTime:0.011635s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001501s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5311 ORDER BY `minOrder` ASC [ RunTime:0.012176s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001387s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5311 ORDER BY `unit` DESC [ RunTime:0.006545s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001580s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5311 LIMIT 2 [ RunTime:0.015649s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5311 ORDER BY `minOrder` ASC [ RunTime:0.007077s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001531s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TEFD4300' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.031020s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7852 LIMIT 4 [ RunTime:0.040854s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7852 ORDER BY `minOrder` ASC [ RunTime:0.027013s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7852 ORDER BY `unit` DESC [ RunTime:0.051453s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7852 LIMIT 2 [ RunTime:0.025012s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7852 ORDER BY `minOrder` ASC [ RunTime:0.005292s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VEMD2523SLX01' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.054659s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 176 LIMIT 4 [ RunTime:0.021381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 176 ORDER BY `minOrder` ASC [ RunTime:0.012672s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 176 ORDER BY `unit` DESC [ RunTime:0.012833s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 176 LIMIT 2 [ RunTime:0.019524s ]
SELECT * FROM `stock_price` WHERE `stockid` = 176 ORDER BY `minOrder` ASC [ RunTime:0.006839s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BPW21R' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.044947s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4079 LIMIT 4 [ RunTime:0.030426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4079 ORDER BY `minOrder` ASC [ RunTime:0.035406s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4079 ORDER BY `unit` DESC [ RunTime:0.028833s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4079 LIMIT 2 [ RunTime:0.052694s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4079 ORDER BY `minOrder` ASC [ RunTime:0.006856s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VEMD2020X01' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.065099s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11496 LIMIT 4 [ RunTime:0.049059s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11496 ORDER BY `minOrder` ASC [ RunTime:0.024499s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11496 ORDER BY `unit` DESC [ RunTime:0.026307s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11496 LIMIT 2 [ RunTime:0.026857s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11496 ORDER BY `minOrder` ASC [ RunTime:0.029035s ]
select * from pdf where partno='VEMD4110X01' and brandshort='VISHAY' limit 1 [ RunTime:0.014364s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VEMD4110X01' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.031684s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2261 LIMIT 4 [ RunTime:0.011104s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2261 ORDER BY `minOrder` ASC [ RunTime:0.014777s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2261 ORDER BY `unit` DESC [ RunTime:0.016722s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2261 LIMIT 2 [ RunTime:0.018325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2261 ORDER BY `minOrder` ASC [ RunTime:0.004537s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BPW20RF' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.017802s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16892 LIMIT 4 [ RunTime:0.017122s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16892 ORDER BY `minOrder` ASC [ RunTime:0.012097s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16892 ORDER BY `unit` DESC [ RunTime:0.012171s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16892 LIMIT 2 [ RunTime:0.010546s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16892 ORDER BY `minOrder` ASC [ RunTime:0.007024s ]
select * from pdf where partno='S1223' and brandshort='HAMAMATSU' limit 1 [ RunTime:0.011949s ]
select foldpath,foldpath2,filename from pdf_file where id=613920 limit 1 [ RunTime:0.004704s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S1223' OR `brand` LIKE 'HAMAMATSU%' ) ) LIMIT 1 [ RunTime:0.002233s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15873 LIMIT 4 [ RunTime:0.004371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15873 ORDER BY `minOrder` ASC [ RunTime:0.003837s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15873 ORDER BY `unit` DESC [ RunTime:0.000359s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15873 LIMIT 2 [ RunTime:0.000303s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15873 ORDER BY `minOrder` ASC [ RunTime:0.009571s ]
select * from pdf where partno='S1223' and brandshort='HAMAMATSU' limit 1 [ RunTime:0.007203s ]
select foldpath,foldpath2,filename from pdf_file where id=613920 limit 1 [ RunTime:0.002900s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S1223' OR `brand` LIKE 'HAMAMATSU%' ) ) LIMIT 1 [ RunTime:0.001486s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2420 LIMIT 4 [ RunTime:0.000475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2420 ORDER BY `minOrder` ASC [ RunTime:0.019390s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2420 ORDER BY `unit` DESC [ RunTime:0.000920s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2420 LIMIT 2 [ RunTime:0.001020s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2420 ORDER BY `minOrder` ASC [ RunTime:0.002198s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S1223' OR `brand` LIKE 'HAMAMATSU%' ) ) LIMIT 1 [ RunTime:0.000535s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6817 LIMIT 4 [ RunTime:0.000675s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6817 ORDER BY `minOrder` ASC [ RunTime:0.019052s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6817 ORDER BY `unit` DESC [ RunTime:0.005236s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6817 LIMIT 2 [ RunTime:0.002289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6817 ORDER BY `minOrder` ASC [ RunTime:0.002740s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HCNR201-500E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.012814s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13572 LIMIT 4 [ RunTime:0.000766s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13572 ORDER BY `minOrder` ASC [ RunTime:0.005014s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13572 ORDER BY `unit` DESC [ RunTime:0.000952s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13572 LIMIT 2 [ RunTime:0.006411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13572 ORDER BY `minOrder` ASC [ RunTime:0.007991s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OSD15-5T.' OR `brand` LIKE 'CENTRONIC%' ) ) LIMIT 1 [ RunTime:0.008289s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8340 LIMIT 4 [ RunTime:0.003459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8340 ORDER BY `minOrder` ASC [ RunTime:0.000847s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8340 ORDER BY `unit` DESC [ RunTime:0.001303s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8340 LIMIT 2 [ RunTime:0.015757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8340 ORDER BY `minOrder` ASC [ RunTime:0.018740s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VEMD5060X01' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.029945s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 347 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.011437s ]