SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001620s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000876s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001310s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.001592s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001118s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001794s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.004986s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.008718s ]
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.004072s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001621s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.000269s ]
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 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 9800,20 [ RunTime:0.040764s ]
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 ('7525','5654','10445883','8771','736','10487181','10490374','11783','1628','523','10715','10442','9846','5910','1458','160','14760','10445905','14354','4369') ORDER BY FIELD(s.id, 7525,5654,10445883,8771,736,10487181,10490374,11783,1628,523,10715,10442,9846,5910,1458,160,14760,10445905,14354,4369) [ RunTime:0.012900s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002170s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7525 LIMIT 4 [ RunTime:0.000852s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001967s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7525 ORDER BY `minOrder` ASC [ RunTime:0.006497s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004256s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7525 ORDER BY `unit` DESC [ RunTime:0.005221s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002904s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7525 LIMIT 2 [ RunTime:0.004268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7525 ORDER BY `minOrder` ASC [ RunTime:0.002020s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002445s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NCV1455BDR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.013763s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5654 LIMIT 4 [ RunTime:0.007376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5654 ORDER BY `minOrder` ASC [ RunTime:0.011640s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5654 ORDER BY `unit` DESC [ RunTime:0.013582s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5654 LIMIT 2 [ RunTime:0.002569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5654 ORDER BY `minOrder` ASC [ RunTime:0.001108s ]
select * from pdf where partno='CRCW0805169RFKEA.' and brandshort='VISHAY' limit 1 [ RunTime:0.007543s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW0805169RFKEA.' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.025685s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10445883 LIMIT 4 [ RunTime:0.004828s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10445883 ORDER BY `minOrder` ASC [ RunTime:0.005207s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10445883 ORDER BY `unit` DESC [ RunTime:0.018466s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10445883 LIMIT 2 [ RunTime:0.006770s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10445883 ORDER BY `minOrder` ASC [ RunTime:0.003119s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8771 LIMIT 4 [ RunTime:0.001193s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8771 ORDER BY `minOrder` ASC [ RunTime:0.006769s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8771 ORDER BY `unit` DESC [ RunTime:0.005429s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8771 LIMIT 2 [ RunTime:0.028974s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8771 ORDER BY `minOrder` ASC [ RunTime:0.021561s ]
select * from pdf where partno='PMR18EZPFU8L00' and brandshort='ROHM' limit 1 [ RunTime:0.015268s ]
select foldpath,foldpath2,filename from pdf_file where id=1015147 limit 1 [ RunTime:0.045452s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PMR18EZPFU8L00' OR `brand` LIKE 'ROHM%' ) ) LIMIT 1 [ RunTime:0.067368s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 736 LIMIT 4 [ RunTime:0.048997s ]
SELECT * FROM `stock_price` WHERE `stockid` = 736 ORDER BY `minOrder` ASC [ RunTime:0.025441s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 736 ORDER BY `unit` DESC [ RunTime:0.027925s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 736 LIMIT 2 [ RunTime:0.019708s ]
SELECT * FROM `stock_price` WHERE `stockid` = 736 ORDER BY `minOrder` ASC [ RunTime:0.016605s ]
select * from pdf where partno='515-1064F' and brandshort='DIALIGHT' limit 1 [ RunTime:0.007073s ]
select foldpath,foldpath2,filename from pdf_file where id=930827 limit 1 [ RunTime:0.009376s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '515-1064F' OR `brand` LIKE 'DIALIGHT%' ) ) LIMIT 1 [ RunTime:0.014264s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10487181 LIMIT 4 [ RunTime:0.011771s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10487181 ORDER BY `minOrder` ASC [ RunTime:0.006915s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10487181 ORDER BY `unit` DESC [ RunTime:0.020983s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10487181 LIMIT 2 [ RunTime:0.014863s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10487181 ORDER BY `minOrder` ASC [ RunTime:0.008490s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10490374 LIMIT 4 [ RunTime:0.005766s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10490374 ORDER BY `minOrder` ASC [ RunTime:0.004585s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10490374 ORDER BY `unit` DESC [ RunTime:0.025566s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10490374 LIMIT 2 [ RunTime:0.033114s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10490374 ORDER BY `minOrder` ASC [ RunTime:0.020382s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11783 LIMIT 4 [ RunTime:0.005490s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11783 ORDER BY `minOrder` ASC [ RunTime:0.014606s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11783 ORDER BY `unit` DESC [ RunTime:0.005070s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11783 LIMIT 2 [ RunTime:0.007809s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11783 ORDER BY `minOrder` ASC [ RunTime:0.012187s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '965786-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.063357s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1628 LIMIT 4 [ RunTime:0.034102s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1628 ORDER BY `minOrder` ASC [ RunTime:0.024918s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1628 ORDER BY `unit` DESC [ RunTime:0.031225s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1628 LIMIT 2 [ RunTime:0.035296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1628 ORDER BY `minOrder` ASC [ RunTime:0.020865s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP9700A-E/TO' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.026466s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 523 LIMIT 4 [ RunTime:0.035378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 523 ORDER BY `minOrder` ASC [ RunTime:0.033546s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 523 ORDER BY `unit` DESC [ RunTime:0.016996s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 523 LIMIT 2 [ RunTime:0.046353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 523 ORDER BY `minOrder` ASC [ RunTime:0.000652s ]
select * from pdf where partno='TAP105M035CCS' and brandshort='KYOCERA AVX' limit 1 [ RunTime:0.014266s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TAP105M035CCS' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.051412s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10715 LIMIT 4 [ RunTime:0.021269s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10715 ORDER BY `minOrder` ASC [ RunTime:0.085462s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10715 ORDER BY `unit` DESC [ RunTime:0.025057s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10715 LIMIT 2 [ RunTime:0.038645s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10715 ORDER BY `minOrder` ASC [ RunTime:0.003695s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T7733AX' OR `brand` LIKE 'RASPBERRY-PI%' ) ) LIMIT 1 [ RunTime:0.016692s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10442 LIMIT 4 [ RunTime:0.031801s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10442 ORDER BY `minOrder` ASC [ RunTime:0.030816s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10442 ORDER BY `unit` DESC [ RunTime:0.067918s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10442 LIMIT 2 [ RunTime:0.012885s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10442 ORDER BY `minOrder` ASC [ RunTime:0.007202s ]
select * from pdf where partno='TPS7A8001DRBR' and brandshort='TEXAS INSTRUMENTS' limit 1 [ RunTime:0.011030s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TPS7A8001DRBR' OR `brand` LIKE 'TEXAS INSTRUMENTS%' ) ) LIMIT 1 [ RunTime:0.025679s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9846 LIMIT 4 [ RunTime:0.032693s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9846 ORDER BY `minOrder` ASC [ RunTime:0.045387s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9846 ORDER BY `unit` DESC [ RunTime:0.026268s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9846 LIMIT 2 [ RunTime:0.015704s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9846 ORDER BY `minOrder` ASC [ RunTime:0.021602s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2301826-2' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.081609s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5910 LIMIT 4 [ RunTime:0.012031s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5910 ORDER BY `minOrder` ASC [ RunTime:0.024826s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5910 ORDER BY `unit` DESC [ RunTime:0.056304s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5910 LIMIT 2 [ RunTime:0.021249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5910 ORDER BY `minOrder` ASC [ RunTime:0.013160s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B57703M0103G040' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.006381s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1458 LIMIT 4 [ RunTime:0.017276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1458 ORDER BY `minOrder` ASC [ RunTime:0.022597s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1458 ORDER BY `unit` DESC [ RunTime:0.017168s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1458 LIMIT 2 [ RunTime:0.018404s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1458 ORDER BY `minOrder` ASC [ RunTime:0.017863s ]
select * from pdf where partno='C0603C105K3PACTU' and brandshort='KEMET' limit 1 [ RunTime:0.022895s ]
select foldpath,foldpath2,filename from pdf_file where id=1346828 limit 1 [ RunTime:0.034529s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C0603C105K3PACTU' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.022826s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 160 LIMIT 4 [ RunTime:0.016559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 160 ORDER BY `minOrder` ASC [ RunTime:0.078631s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 160 ORDER BY `unit` DESC [ RunTime:0.034735s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 160 LIMIT 2 [ RunTime:0.214756s ]
SELECT * FROM `stock_price` WHERE `stockid` = 160 ORDER BY `minOrder` ASC [ RunTime:0.091442s ]
select * from pdf where partno='M20-9990246' and brandshort='HARWIN' limit 1 [ RunTime:0.045487s ]
select foldpath,foldpath2,filename from pdf_file where id=1064501 limit 1 [ RunTime:0.031960s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M20-9990246' OR `brand` LIKE 'HARWIN%' ) ) LIMIT 1 [ RunTime:0.033911s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14760 LIMIT 4 [ RunTime:0.042646s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14760 ORDER BY `minOrder` ASC [ RunTime:0.072162s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14760 ORDER BY `unit` DESC [ RunTime:0.077323s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14760 LIMIT 2 [ RunTime:0.057403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14760 ORDER BY `minOrder` ASC [ RunTime:0.013079s ]
select * from pdf where partno='N2514-6002RB' and brandshort='3M' limit 1 [ RunTime:0.016681s ]
select foldpath,foldpath2,filename from pdf_file where id=1045755 limit 1 [ RunTime:0.016759s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'N2514-6002RB' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.088773s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10445905 LIMIT 4 [ RunTime:0.053382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10445905 ORDER BY `minOrder` ASC [ RunTime:0.035913s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10445905 ORDER BY `unit` DESC [ RunTime:0.024100s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10445905 LIMIT 2 [ RunTime:0.037283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10445905 ORDER BY `minOrder` ASC [ RunTime:0.026604s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14354 LIMIT 4 [ RunTime:0.008179s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14354 ORDER BY `minOrder` ASC [ RunTime:0.019096s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14354 ORDER BY `unit` DESC [ RunTime:0.024338s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14354 LIMIT 2 [ RunTime:0.035122s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14354 ORDER BY `minOrder` ASC [ RunTime:0.029580s ]
select * from pdf where partno='MCGPR25V107M6.3X11' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.033761s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCGPR25V107M6.3X11' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.034138s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4369 LIMIT 4 [ RunTime:0.061616s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4369 ORDER BY `minOrder` ASC [ RunTime:0.071648s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4369 ORDER BY `unit` DESC [ RunTime:0.029306s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4369 LIMIT 2 [ RunTime:0.002876s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4369 ORDER BY `minOrder` ASC [ RunTime:0.030725s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PHDR-12VS' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.002845s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.008714s ]