SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002286s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001724s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002416s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.79' ) [ RunTime:0.000283s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001987s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000266s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 31 LIMIT 1 [ RunTime:0.000485s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 31 [ RunTime:0.001426s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (306,307,308,309,310,311,312,313,314,315,316,317) [ RunTime:0.000400s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002896s ]
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.013000s ]
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.015355s ]
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.013831s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001795s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16089 LIMIT 4 [ RunTime:0.000753s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002220s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16089 ORDER BY `minOrder` ASC [ RunTime:0.000469s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001849s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16089 ORDER BY `unit` DESC [ RunTime:0.000873s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001881s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16089 LIMIT 2 [ RunTime:0.007040s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16089 ORDER BY `minOrder` ASC [ RunTime:0.005457s ]
select * from pdf where partno='IRF640NPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.009250s ]
select foldpath,foldpath2,filename from pdf_file where id=601823 limit 1 [ RunTime:0.000392s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002143s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF640NPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000524s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15995 LIMIT 4 [ RunTime:0.001632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15995 ORDER BY `minOrder` ASC [ RunTime:0.001492s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15995 ORDER BY `unit` DESC [ RunTime:0.002894s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15995 LIMIT 2 [ RunTime:0.005361s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15995 ORDER BY `minOrder` ASC [ RunTime:0.003760s ]
select * from pdf where partno='SK34A' and brandshort='TAIWAN SEMICONDUCTOR' limit 1 [ RunTime:0.003428s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SK34A' OR `brand` LIKE 'TAIWAN SEMICONDUCTOR%' ) ) LIMIT 1 [ RunTime:0.000721s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15853 LIMIT 4 [ RunTime:0.000434s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15853 ORDER BY `minOrder` ASC [ RunTime:0.005559s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15853 ORDER BY `unit` DESC [ RunTime:0.010304s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15853 LIMIT 2 [ RunTime:0.002248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15853 ORDER BY `minOrder` ASC [ RunTime:0.000687s ]
select * from pdf where partno='UUD1A101MCL1GS' and brandshort='NICHICON' limit 1 [ RunTime:0.000673s ]
select foldpath,foldpath2,filename from pdf_file where id=2180460 limit 1 [ RunTime:0.000359s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UUD1A101MCL1GS' OR `brand` LIKE 'NICHICON%' ) ) LIMIT 1 [ RunTime:0.000433s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15799 LIMIT 4 [ RunTime:0.000399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15799 ORDER BY `minOrder` ASC [ RunTime:0.000331s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15799 ORDER BY `unit` DESC [ RunTime:0.000329s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15799 LIMIT 2 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15799 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
select * from pdf where partno='MC202472M090B20C7B' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000419s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC202472M090B20C7B' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.002064s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15672 LIMIT 4 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15672 ORDER BY `minOrder` ASC [ RunTime:0.000325s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15672 ORDER BY `unit` DESC [ RunTime:0.000326s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15672 LIMIT 2 [ RunTime:0.000354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15672 ORDER BY `minOrder` ASC [ RunTime:0.000373s ]
select * from pdf where partno='MAX3380EEUP+' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.000806s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX3380EEUP+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000577s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15653 LIMIT 4 [ RunTime:0.000413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15653 ORDER BY `minOrder` ASC [ RunTime:0.000390s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15653 ORDER BY `unit` DESC [ RunTime:0.000405s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15653 LIMIT 2 [ RunTime:0.000402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15653 ORDER BY `minOrder` ASC [ RunTime:0.000370s ]
select * from pdf where partno='IRF4905STRLPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.000519s ]
select foldpath,foldpath2,filename from pdf_file where id=1046418 limit 1 [ RunTime:0.000349s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF4905STRLPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000392s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15538 LIMIT 4 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15538 ORDER BY `minOrder` ASC [ RunTime:0.000363s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15538 ORDER BY `unit` DESC [ RunTime:0.000363s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15538 LIMIT 2 [ RunTime:0.000358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15538 ORDER BY `minOrder` ASC [ RunTime:0.000370s ]
select * from pdf where partno='MCP4651-103E/ST' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000504s ]
select foldpath,foldpath2,filename from pdf_file where id=1007320 limit 1 [ RunTime:0.000347s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4651-103E/ST' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000377s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15487 LIMIT 4 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15487 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15487 ORDER BY `unit` DESC [ RunTime:0.000362s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15487 LIMIT 2 [ RunTime:0.000357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15487 ORDER BY `minOrder` ASC [ RunTime:0.000362s ]
select * from pdf where partno='IRF3415PBF' and brandshort='INFINEON' limit 1 [ RunTime:0.000443s ]
select foldpath,foldpath2,filename from pdf_file where id=601721 limit 1 [ RunTime:0.000359s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF3415PBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000395s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15305 LIMIT 4 [ RunTime:0.000362s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15305 ORDER BY `minOrder` ASC [ RunTime:0.003747s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15305 ORDER BY `unit` DESC [ RunTime:0.000373s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15305 LIMIT 2 [ RunTime:0.000373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15305 ORDER BY `minOrder` ASC [ RunTime:0.000363s ]
select * from pdf where partno='IRF9Z24NPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.000507s ]
select foldpath,foldpath2,filename from pdf_file where id=987574 limit 1 [ RunTime:0.000339s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF9Z24NPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000389s ]
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.005237s ]