SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001181s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.006522s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002359s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.0' ) [ RunTime:0.001836s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002233s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.006477s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 31 LIMIT 1 [ RunTime:0.005888s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 31 [ RunTime:0.001804s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (306,307,308,309,310,311,312,313,314,315,316,317) [ RunTime:0.014452s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002709s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` IN (306,307,308,309,310,311,312,313,314,315,316,317) ) AND `u`.`lockUser` = '0' [ RunTime:0.018412s ]
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` = 4 AND `status` <> 2 AND `categoryid` IN (306,307,308,309,310,311,312,313,314,315,316,317) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014612s ]
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 ('16089','15995','15853','15799','15672','15653','15538','15487','15305') ORDER BY FIELD(s.id, 16089,15995,15853,15799,15672,15653,15538,15487,15305) [ RunTime:0.017976s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003647s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16089 LIMIT 4 [ RunTime:0.004727s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004087s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16089 ORDER BY `minOrder` ASC [ RunTime:0.011970s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003034s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16089 ORDER BY `unit` DESC [ RunTime:0.004574s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001819s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16089 LIMIT 2 [ RunTime:0.002486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16089 ORDER BY `minOrder` ASC [ RunTime:0.001408s ]
select * from pdf where partno='IRF640NPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.002529s ]
select foldpath,foldpath2,filename from pdf_file where id=601823 limit 1 [ RunTime:0.004942s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001512s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF640NPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000474s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15995 LIMIT 4 [ RunTime:0.004285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15995 ORDER BY `minOrder` ASC [ RunTime:0.012074s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15995 ORDER BY `unit` DESC [ RunTime:0.003847s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15995 LIMIT 2 [ RunTime:0.014856s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15995 ORDER BY `minOrder` ASC [ RunTime:0.002221s ]
select * from pdf where partno='SK34A' and brandshort='TAIWAN SEMICONDUCTOR' limit 1 [ RunTime:0.014974s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SK34A' OR `brand` LIKE 'TAIWAN SEMICONDUCTOR%' ) ) LIMIT 1 [ RunTime:0.006210s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15853 LIMIT 4 [ RunTime:0.004649s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15853 ORDER BY `minOrder` ASC [ RunTime:0.002144s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15853 ORDER BY `unit` DESC [ RunTime:0.005866s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15853 LIMIT 2 [ RunTime:0.011409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15853 ORDER BY `minOrder` ASC [ RunTime:0.001834s ]
select * from pdf where partno='UUD1A101MCL1GS' and brandshort='NICHICON' limit 1 [ RunTime:0.006317s ]
select foldpath,foldpath2,filename from pdf_file where id=2180460 limit 1 [ RunTime:0.001765s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UUD1A101MCL1GS' OR `brand` LIKE 'NICHICON%' ) ) LIMIT 1 [ RunTime:0.013616s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15799 LIMIT 4 [ RunTime:0.014783s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15799 ORDER BY `minOrder` ASC [ RunTime:0.002941s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15799 ORDER BY `unit` DESC [ RunTime:0.003193s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15799 LIMIT 2 [ RunTime:0.004345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15799 ORDER BY `minOrder` ASC [ RunTime:0.001524s ]
select * from pdf where partno='MC202472M090B20C7B' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.019900s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC202472M090B20C7B' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.011414s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15672 LIMIT 4 [ RunTime:0.004653s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15672 ORDER BY `minOrder` ASC [ RunTime:0.043998s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15672 ORDER BY `unit` DESC [ RunTime:0.006576s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15672 LIMIT 2 [ RunTime:0.024597s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15672 ORDER BY `minOrder` ASC [ RunTime:0.009301s ]
select * from pdf where partno='MAX3380EEUP+' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.006905s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX3380EEUP+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.012029s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15653 LIMIT 4 [ RunTime:0.003391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15653 ORDER BY `minOrder` ASC [ RunTime:0.001594s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15653 ORDER BY `unit` DESC [ RunTime:0.013634s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15653 LIMIT 2 [ RunTime:0.003038s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15653 ORDER BY `minOrder` ASC [ RunTime:0.007921s ]
select * from pdf where partno='IRF4905STRLPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.032697s ]
select foldpath,foldpath2,filename from pdf_file where id=1046418 limit 1 [ RunTime:0.025803s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF4905STRLPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.035718s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15538 LIMIT 4 [ RunTime:0.009827s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15538 ORDER BY `minOrder` ASC [ RunTime:0.030296s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15538 ORDER BY `unit` DESC [ RunTime:0.006149s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15538 LIMIT 2 [ RunTime:0.031812s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15538 ORDER BY `minOrder` ASC [ RunTime:0.003128s ]
select * from pdf where partno='MCP4651-103E/ST' and brandshort='MICROCHIP' limit 1 [ RunTime:0.020565s ]
select foldpath,foldpath2,filename from pdf_file where id=1007320 limit 1 [ RunTime:0.006144s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4651-103E/ST' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.009512s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15487 LIMIT 4 [ RunTime:0.044397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15487 ORDER BY `minOrder` ASC [ RunTime:0.014290s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15487 ORDER BY `unit` DESC [ RunTime:0.022401s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15487 LIMIT 2 [ RunTime:0.018986s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15487 ORDER BY `minOrder` ASC [ RunTime:0.018101s ]
select * from pdf where partno='IRF3415PBF' and brandshort='INFINEON' limit 1 [ RunTime:0.018105s ]
select foldpath,foldpath2,filename from pdf_file where id=601721 limit 1 [ RunTime:0.001079s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF3415PBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.012814s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15305 LIMIT 4 [ RunTime:0.002343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15305 ORDER BY `minOrder` ASC [ RunTime:0.002537s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15305 ORDER BY `unit` DESC [ RunTime:0.000717s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15305 LIMIT 2 [ RunTime:0.002299s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15305 ORDER BY `minOrder` ASC [ RunTime:0.004250s ]
select * from pdf where partno='IRF9Z24NPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.004130s ]
select foldpath,foldpath2,filename from pdf_file where id=987574 limit 1 [ RunTime:0.002230s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF9Z24NPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.024145s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` IN (306,307,308,309,310,311,312,313,314,315,316,317) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.008602s ]