SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001843s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001079s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002614s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000346s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002704s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000370s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 577 LIMIT 1 [ RunTime:0.000345s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 577 [ RunTime:0.000241s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000276s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002247s ]
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` = 577 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005893s ]
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 ('4505','7107','5779','11136','7885','11424','10337','5787','11980','12233','5786','4542','8813','7112','10942','5783','5778','5784','11517','9532') ORDER BY FIELD(s.id, 4505,7107,5779,11136,7885,11424,10337,5787,11980,12233,5786,4542,8813,7112,10942,5783,5778,5784,11517,9532) [ RunTime:0.006927s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002586s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4505 LIMIT 4 [ RunTime:0.003970s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4505 ORDER BY `minOrder` ASC [ RunTime:0.000760s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.008767s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4505 ORDER BY `unit` DESC [ RunTime:0.003376s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.007222s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4505 LIMIT 2 [ RunTime:0.000502s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4505 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002436s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STMPS2151STR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.004419s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7107 LIMIT 4 [ RunTime:0.000338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7107 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7107 ORDER BY `unit` DESC [ RunTime:0.000286s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7107 LIMIT 2 [ RunTime:0.000270s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7107 ORDER BY `minOrder` ASC [ RunTime:0.000272s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS3410GXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000298s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5779 LIMIT 4 [ RunTime:0.000272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5779 ORDER BY `minOrder` ASC [ RunTime:0.000277s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5779 ORDER BY `unit` DESC [ RunTime:0.000270s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5779 LIMIT 2 [ RunTime:0.000257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5779 ORDER BY `minOrder` ASC [ RunTime:0.000255s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS4141NHUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000270s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11136 LIMIT 4 [ RunTime:0.000554s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11136 ORDER BY `minOrder` ASC [ RunTime:0.000811s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11136 ORDER BY `unit` DESC [ RunTime:0.000637s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11136 LIMIT 2 [ RunTime:0.000622s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11136 ORDER BY `minOrder` ASC [ RunTime:0.000556s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE75008ESDXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.015549s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7885 LIMIT 4 [ RunTime:0.004060s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7885 ORDER BY `minOrder` ASC [ RunTime:0.005934s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7885 ORDER BY `unit` DESC [ RunTime:0.002302s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7885 LIMIT 2 [ RunTime:0.001923s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7885 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MIC2009A-1YM6-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.011504s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11424 LIMIT 4 [ RunTime:0.000390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11424 ORDER BY `minOrder` ASC [ RunTime:0.010098s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11424 ORDER BY `unit` DESC [ RunTime:0.001217s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11424 LIMIT 2 [ RunTime:0.001717s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11424 ORDER BY `minOrder` ASC [ RunTime:0.000312s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L99PM62GXPTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000784s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10337 LIMIT 4 [ RunTime:0.000898s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10337 ORDER BY `minOrder` ASC [ RunTime:0.003278s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10337 ORDER BY `unit` DESC [ RunTime:0.002200s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10337 LIMIT 2 [ RunTime:0.000324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10337 ORDER BY `minOrder` ASC [ RunTime:0.002160s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS712204ESAXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.010726s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5787 LIMIT 4 [ RunTime:0.001985s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5787 ORDER BY `minOrder` ASC [ RunTime:0.001842s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5787 ORDER BY `unit` DESC [ RunTime:0.000446s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5787 LIMIT 2 [ RunTime:0.000372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5787 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSP742RIXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.011829s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11980 LIMIT 4 [ RunTime:0.004121s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11980 ORDER BY `minOrder` ASC [ RunTime:0.002449s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11980 ORDER BY `unit` DESC [ RunTime:0.019073s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11980 LIMIT 2 [ RunTime:0.008879s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11980 ORDER BY `minOrder` ASC [ RunTime:0.016611s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE7240SLXUMA4' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.020624s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12233 LIMIT 4 [ RunTime:0.015852s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12233 ORDER BY `minOrder` ASC [ RunTime:0.005107s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12233 ORDER BY `unit` DESC [ RunTime:0.003871s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12233 LIMIT 2 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12233 ORDER BY `minOrder` ASC [ RunTime:0.000189s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS70802EPZXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.005466s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5786 LIMIT 4 [ RunTime:0.000292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5786 ORDER BY `minOrder` ASC [ RunTime:0.007203s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5786 ORDER BY `unit` DESC [ RunTime:0.000895s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5786 LIMIT 2 [ RunTime:0.000306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5786 ORDER BY `minOrder` ASC [ RunTime:0.000218s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSP752RXUMA2' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.007574s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4542 LIMIT 4 [ RunTime:0.001939s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4542 ORDER BY `minOrder` ASC [ RunTime:0.001917s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4542 ORDER BY `unit` DESC [ RunTime:0.000762s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4542 LIMIT 2 [ RunTime:0.004092s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4542 ORDER BY `minOrder` ASC [ RunTime:0.001096s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GLFR1608T100M-LR' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.007528s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8813 LIMIT 4 [ RunTime:0.001649s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8813 ORDER BY `minOrder` ASC [ RunTime:0.000512s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8813 ORDER BY `unit` DESC [ RunTime:0.000483s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8813 LIMIT 2 [ RunTime:0.000534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8813 ORDER BY `minOrder` ASC [ RunTime:0.002194s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ITS4300SSJDXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.006064s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7112 LIMIT 4 [ RunTime:0.003429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7112 ORDER BY `minOrder` ASC [ RunTime:0.002259s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7112 ORDER BY `unit` DESC [ RunTime:0.000310s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7112 LIMIT 2 [ RunTime:0.000940s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7112 ORDER BY `minOrder` ASC [ RunTime:0.004756s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS6163DAUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.011869s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10942 LIMIT 4 [ RunTime:0.000422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10942 ORDER BY `minOrder` ASC [ RunTime:0.019628s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10942 ORDER BY `unit` DESC [ RunTime:0.011972s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10942 LIMIT 2 [ RunTime:0.003173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10942 ORDER BY `minOrder` ASC [ RunTime:0.001031s ]
select * from pdf where partno='TLF35584QVVS2XUMA2' and brandshort='INFINEON' limit 1 [ RunTime:0.001757s ]
select foldpath,foldpath2,filename from pdf_file where id=1324759 limit 1 [ RunTime:0.000341s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLF35584QVVS2XUMA2' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.018348s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5783 LIMIT 4 [ RunTime:0.004577s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5783 ORDER BY `minOrder` ASC [ RunTime:0.004440s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5783 ORDER BY `unit` DESC [ RunTime:0.001571s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5783 LIMIT 2 [ RunTime:0.000836s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5783 ORDER BY `minOrder` ASC [ RunTime:0.001040s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS724GXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.010387s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5778 LIMIT 4 [ RunTime:0.002759s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5778 ORDER BY `minOrder` ASC [ RunTime:0.001989s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5778 ORDER BY `unit` DESC [ RunTime:0.005093s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5778 LIMIT 2 [ RunTime:0.002399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5778 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS4142NHUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.010944s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5784 LIMIT 4 [ RunTime:0.002566s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5784 ORDER BY `minOrder` ASC [ RunTime:0.000452s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5784 ORDER BY `unit` DESC [ RunTime:0.000402s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5784 LIMIT 2 [ RunTime:0.000388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5784 ORDER BY `minOrder` ASC [ RunTime:0.001945s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS716GBXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.010004s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11517 LIMIT 4 [ RunTime:0.005371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11517 ORDER BY `minOrder` ASC [ RunTime:0.000226s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11517 ORDER BY `unit` DESC [ RunTime:0.000155s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11517 LIMIT 2 [ RunTime:0.000152s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11517 ORDER BY `minOrder` ASC [ RunTime:0.000146s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCA9450CHNY' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000168s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9532 LIMIT 4 [ RunTime:0.000147s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9532 ORDER BY `minOrder` ASC [ RunTime:0.000165s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9532 ORDER BY `unit` DESC [ RunTime:0.000148s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9532 LIMIT 2 [ RunTime:0.000149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9532 ORDER BY `minOrder` ASC [ RunTime:0.000145s ]
select * from pdf where partno='FPF2006' and brandshort='ONSEMI' limit 1 [ RunTime:0.000257s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FPF2006' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000148s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 577 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001605s ]