SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001797s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000580s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002691s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.108' ) [ RunTime:0.000277s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001015s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000271s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001161s ]
SELECT * FROM `stock_search` WHERE `partno` = '1N4148WS' LIMIT 1 [ RunTime:0.001740s ]
UPDATE `stock_search` SET `count` = 2 WHERE `partno` = '1N4148WS' [ RunTime:0.002084s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000380s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000310s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.000617s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003409s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE '1N4148WS%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.007158s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `partno` LIKE '1N4148WS%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002288s ]
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 ('7399','4517','6209','2913','9940','16287','15267','8715','10092192') ORDER BY FIELD(s.id, 7399,4517,6209,2913,9940,16287,15267,8715,10092192) [ RunTime:0.001730s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001275s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7399 LIMIT 4 [ RunTime:0.001372s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000810s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7399 ORDER BY `minOrder` ASC [ RunTime:0.003422s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.006456s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7399 ORDER BY `unit` DESC [ RunTime:0.001545s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001450s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7399 LIMIT 2 [ RunTime:0.000278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7399 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
select * from pdf where partno='1N4148WS' and brandshort='ONSEMI' limit 1 [ RunTime:0.004764s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001771s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.012863s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4517 LIMIT 4 [ RunTime:0.002472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4517 ORDER BY `minOrder` ASC [ RunTime:0.001846s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4517 ORDER BY `unit` DESC [ RunTime:0.002484s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4517 LIMIT 2 [ RunTime:0.004929s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4517 ORDER BY `minOrder` ASC [ RunTime:0.005158s ]
select * from pdf where partno='1N4148WS-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001244s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.004234s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6209 LIMIT 4 [ RunTime:0.003294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6209 ORDER BY `minOrder` ASC [ RunTime:0.004057s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6209 ORDER BY `unit` DESC [ RunTime:0.000586s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6209 LIMIT 2 [ RunTime:0.000588s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6209 ORDER BY `minOrder` ASC [ RunTime:0.001165s ]
select * from pdf where partno='1N4148WS-7-F' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.006985s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-7-F' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.008891s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2913 LIMIT 4 [ RunTime:0.000576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2913 ORDER BY `minOrder` ASC [ RunTime:0.000984s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2913 ORDER BY `unit` DESC [ RunTime:0.000768s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2913 LIMIT 2 [ RunTime:0.001629s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2913 ORDER BY `minOrder` ASC [ RunTime:0.005450s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-V-GS18' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.011975s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9940 LIMIT 4 [ RunTime:0.005522s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9940 ORDER BY `minOrder` ASC [ RunTime:0.003589s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9940 ORDER BY `unit` DESC [ RunTime:0.002176s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9940 LIMIT 2 [ RunTime:0.001762s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9940 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-E3-18' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.007259s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16287 LIMIT 4 [ RunTime:0.000437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16287 ORDER BY `minOrder` ASC [ RunTime:0.000732s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16287 ORDER BY `unit` DESC [ RunTime:0.000643s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16287 LIMIT 2 [ RunTime:0.001774s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16287 ORDER BY `minOrder` ASC [ RunTime:0.001605s ]
select * from pdf where partno='1N4148WS' and brandshort='ONSEMI' limit 1 [ RunTime:0.000419s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000313s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15267 LIMIT 4 [ RunTime:0.003300s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15267 ORDER BY `minOrder` ASC [ RunTime:0.006468s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15267 ORDER BY `unit` DESC [ RunTime:0.000569s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15267 LIMIT 2 [ RunTime:0.000405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15267 ORDER BY `minOrder` ASC [ RunTime:0.011454s ]
select * from pdf where partno='1N4148WS' and brandshort='ONSEMI' limit 1 [ RunTime:0.003786s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000504s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8715 LIMIT 4 [ RunTime:0.000770s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8715 ORDER BY `minOrder` ASC [ RunTime:0.005696s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8715 ORDER BY `unit` DESC [ RunTime:0.005725s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8715 LIMIT 2 [ RunTime:0.007090s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8715 ORDER BY `minOrder` ASC [ RunTime:0.000527s ]
select * from pdf where partno='1N4148WS-E3-08' and brandshort='VISHAY' limit 1 [ RunTime:0.003568s ]
select foldpath,foldpath2,filename from pdf_file where id=1330504 limit 1 [ RunTime:0.000850s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-E3-08' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.018964s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10092192 LIMIT 4 [ RunTime:0.001164s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10092192 ORDER BY `minOrder` ASC [ RunTime:0.003008s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10092192 ORDER BY `unit` DESC [ RunTime:0.018569s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10092192 LIMIT 2 [ RunTime:0.009292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10092192 ORDER BY `minOrder` ASC [ RunTime:0.004787s ]
select * from pdf where partno='1N4148WS' and brandshort='CJ/' limit 1 [ RunTime:0.001738s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS' OR `brand` LIKE 'CJ(江苏长电/长晶)%' ) ) LIMIT 1 [ RunTime:0.012189s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '1N4148WS%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001569s ]