SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002357s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000498s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002136s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000309s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001814s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000308s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 313 LIMIT 1 [ RunTime:0.000468s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 313 [ RunTime:0.000241s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 31 [ RunTime:0.000211s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002131s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` = 313 ) [ RunTime:0.005109s ]
SELECT `s`.`id`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` = 313 ) ORDER BY `id` DESC LIMIT 0,20 [ RunTime:0.007443s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002672s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16089 LIMIT 4 [ RunTime:0.000376s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16089 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001864s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16089 ORDER BY `unit` DESC [ RunTime:0.000244s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002045s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16089 LIMIT 2 [ RunTime:0.000310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16089 ORDER BY `minOrder` ASC [ RunTime:0.000222s ]
select * from pdf where partno='IRF640NPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.000403s ]
select foldpath,foldpath2,filename from pdf_file where id=601823 limit 1 [ RunTime:0.000278s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002000s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF640NPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000322s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15995 LIMIT 4 [ RunTime:0.000297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15995 ORDER BY `minOrder` ASC [ RunTime:0.000283s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15995 ORDER BY `unit` DESC [ RunTime:0.000278s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15995 LIMIT 2 [ RunTime:0.000270s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15995 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
select * from pdf where partno='SK34A' and brandshort='TAIWAN SEMICONDUCTOR' limit 1 [ RunTime:0.000340s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SK34A' OR `brand` LIKE 'TAIWAN SEMICONDUCTOR%' ) ) LIMIT 1 [ RunTime:0.000279s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15853 LIMIT 4 [ RunTime:0.000264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15853 ORDER BY `minOrder` ASC [ RunTime:0.000280s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15853 ORDER BY `unit` DESC [ RunTime:0.000276s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15853 LIMIT 2 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15853 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
select * from pdf where partno='UUD1A101MCL1GS' and brandshort='NICHICON' limit 1 [ RunTime:0.000341s ]
select foldpath,foldpath2,filename from pdf_file where id=2180460 limit 1 [ RunTime:0.000227s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UUD1A101MCL1GS' OR `brand` LIKE 'NICHICON%' ) ) LIMIT 1 [ RunTime:0.000232s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15799 LIMIT 4 [ RunTime:0.000223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15799 ORDER BY `minOrder` ASC [ RunTime:0.000277s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15799 ORDER BY `unit` DESC [ RunTime:0.000263s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15799 LIMIT 2 [ RunTime:0.000254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15799 ORDER BY `minOrder` ASC [ RunTime:0.000219s ]
select * from pdf where partno='MC202472M090B20C7B' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000284s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC202472M090B20C7B' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000228s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15672 LIMIT 4 [ RunTime:0.000231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15672 ORDER BY `minOrder` ASC [ RunTime:0.000237s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15672 ORDER BY `unit` DESC [ RunTime:0.000267s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15672 LIMIT 2 [ RunTime:0.000272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15672 ORDER BY `minOrder` ASC [ RunTime:0.000223s ]
select * from pdf where partno='MAX3380EEUP+' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.000279s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX3380EEUP+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000225s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15653 LIMIT 4 [ RunTime:0.000227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15653 ORDER BY `minOrder` ASC [ RunTime:0.000225s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15653 ORDER BY `unit` DESC [ RunTime:0.000252s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15653 LIMIT 2 [ RunTime:0.000249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15653 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
select * from pdf where partno='IRF4905STRLPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.000284s ]
select foldpath,foldpath2,filename from pdf_file where id=1046418 limit 1 [ RunTime:0.000224s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF4905STRLPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000226s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15487 LIMIT 4 [ RunTime:0.000225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15487 ORDER BY `minOrder` ASC [ RunTime:0.000233s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15487 ORDER BY `unit` DESC [ RunTime:0.000228s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15487 LIMIT 2 [ RunTime:0.000265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15487 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
select * from pdf where partno='IRF3415PBF' and brandshort='INFINEON' limit 1 [ RunTime:0.000350s ]
select foldpath,foldpath2,filename from pdf_file where id=601721 limit 1 [ RunTime:0.000249s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF3415PBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000244s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15305 LIMIT 4 [ RunTime:0.000228s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15305 ORDER BY `minOrder` ASC [ RunTime:0.000225s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15305 ORDER BY `unit` DESC [ RunTime:0.000234s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15305 LIMIT 2 [ RunTime:0.000250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15305 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
select * from pdf where partno='IRF9Z24NPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.000318s ]
select foldpath,foldpath2,filename from pdf_file where id=987574 limit 1 [ RunTime:0.000255s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF9Z24NPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000227s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` = 313 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.005865s ]