SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002125s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000542s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002203s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.113' ) [ RunTime:0.000339s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002861s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000928s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 31 LIMIT 1 [ RunTime:0.001607s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 31 [ RunTime:0.000459s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (306,307,308,309,310,311,312,313,314,315,316,317) [ RunTime:0.003739s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002009s ]
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.006547s ]
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.005279s ]
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.001171s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002180s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16089 LIMIT 4 [ RunTime:0.005922s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001769s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16089 ORDER BY `minOrder` ASC [ RunTime:0.000496s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.006141s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16089 ORDER BY `unit` DESC [ RunTime:0.002470s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003129s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16089 LIMIT 2 [ RunTime:0.000973s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16089 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
select * from pdf where partno='IRF640NPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.002072s ]
select foldpath,foldpath2,filename from pdf_file where id=601823 limit 1 [ RunTime:0.004610s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002074s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF640NPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.011429s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15995 LIMIT 4 [ RunTime:0.000576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15995 ORDER BY `minOrder` ASC [ RunTime:0.000461s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15995 ORDER BY `unit` DESC [ RunTime:0.000480s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15995 LIMIT 2 [ RunTime:0.000437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15995 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
select * from pdf where partno='SK34A' and brandshort='TAIWAN SEMICONDUCTOR' limit 1 [ RunTime:0.003290s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SK34A' OR `brand` LIKE 'TAIWAN SEMICONDUCTOR%' ) ) LIMIT 1 [ RunTime:0.001194s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15853 LIMIT 4 [ RunTime:0.000281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15853 ORDER BY `minOrder` ASC [ RunTime:0.004171s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15853 ORDER BY `unit` DESC [ RunTime:0.004004s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15853 LIMIT 2 [ RunTime:0.000431s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15853 ORDER BY `minOrder` ASC [ RunTime:0.000197s ]
select * from pdf where partno='UUD1A101MCL1GS' and brandshort='NICHICON' limit 1 [ RunTime:0.000281s ]
select foldpath,foldpath2,filename from pdf_file where id=2180460 limit 1 [ RunTime:0.000213s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UUD1A101MCL1GS' OR `brand` LIKE 'NICHICON%' ) ) LIMIT 1 [ RunTime:0.000243s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15799 LIMIT 4 [ RunTime:0.006022s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15799 ORDER BY `minOrder` ASC [ RunTime:0.005340s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15799 ORDER BY `unit` DESC [ RunTime:0.003421s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15799 LIMIT 2 [ RunTime:0.000594s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15799 ORDER BY `minOrder` ASC [ RunTime:0.002643s ]
select * from pdf where partno='MC202472M090B20C7B' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.010067s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC202472M090B20C7B' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.023232s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15672 LIMIT 4 [ RunTime:0.003536s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15672 ORDER BY `minOrder` ASC [ RunTime:0.010640s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15672 ORDER BY `unit` DESC [ RunTime:0.014972s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15672 LIMIT 2 [ RunTime:0.004996s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15672 ORDER BY `minOrder` ASC [ RunTime:0.002597s ]
select * from pdf where partno='MAX3380EEUP+' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.012042s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX3380EEUP+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.009704s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15653 LIMIT 4 [ RunTime:0.005037s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15653 ORDER BY `minOrder` ASC [ RunTime:0.009360s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15653 ORDER BY `unit` DESC [ RunTime:0.004560s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15653 LIMIT 2 [ RunTime:0.008531s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15653 ORDER BY `minOrder` ASC [ RunTime:0.006138s ]
select * from pdf where partno='IRF4905STRLPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.012647s ]
select foldpath,foldpath2,filename from pdf_file where id=1046418 limit 1 [ RunTime:0.019212s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF4905STRLPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.021280s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15538 LIMIT 4 [ RunTime:0.013228s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15538 ORDER BY `minOrder` ASC [ RunTime:0.025496s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15538 ORDER BY `unit` DESC [ RunTime:0.013215s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15538 LIMIT 2 [ RunTime:0.009773s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15538 ORDER BY `minOrder` ASC [ RunTime:0.008803s ]
select * from pdf where partno='MCP4651-103E/ST' and brandshort='MICROCHIP' limit 1 [ RunTime:0.017924s ]
select foldpath,foldpath2,filename from pdf_file where id=1007320 limit 1 [ RunTime:0.015422s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4651-103E/ST' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.026903s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15487 LIMIT 4 [ RunTime:0.015922s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15487 ORDER BY `minOrder` ASC [ RunTime:0.019051s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15487 ORDER BY `unit` DESC [ RunTime:0.035888s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15487 LIMIT 2 [ RunTime:0.011875s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15487 ORDER BY `minOrder` ASC [ RunTime:0.001843s ]
select * from pdf where partno='IRF3415PBF' and brandshort='INFINEON' limit 1 [ RunTime:0.016847s ]
select foldpath,foldpath2,filename from pdf_file where id=601721 limit 1 [ RunTime:0.012804s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF3415PBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.017858s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15305 LIMIT 4 [ RunTime:0.015929s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15305 ORDER BY `minOrder` ASC [ RunTime:0.016971s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15305 ORDER BY `unit` DESC [ RunTime:0.017432s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15305 LIMIT 2 [ RunTime:0.004809s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15305 ORDER BY `minOrder` ASC [ RunTime:0.003149s ]
select * from pdf where partno='IRF9Z24NPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.011377s ]
select foldpath,foldpath2,filename from pdf_file where id=987574 limit 1 [ RunTime:0.005141s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF9Z24NPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000849s ]
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.007031s ]