SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002266s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000508s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002749s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000315s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001825s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000280s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 121 LIMIT 1 [ RunTime:0.000335s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 121 [ RunTime:0.000219s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 21 [ RunTime:0.000216s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002043s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 121 ) [ RunTime:0.000837s ]
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` <> 2 AND `categoryid` = 121 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001008s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001781s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4031 LIMIT 4 [ RunTime:0.012924s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4031 ORDER BY `minOrder` ASC [ RunTime:0.000569s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001867s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4031 ORDER BY `unit` DESC [ RunTime:0.000427s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003851s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4031 LIMIT 2 [ RunTime:0.000487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4031 ORDER BY `minOrder` ASC [ RunTime:0.003697s ]
select * from pdf where partno='1N4148WT-7' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001427s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001441s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WT-7' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.007196s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8351 LIMIT 4 [ RunTime:0.003001s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8351 ORDER BY `minOrder` ASC [ RunTime:0.000892s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8351 ORDER BY `unit` DESC [ RunTime:0.000548s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8351 LIMIT 2 [ RunTime:0.000302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8351 ORDER BY `minOrder` ASC [ RunTime:0.000157s ]
select * from pdf where partno='BAW56S,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001644s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAW56S,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.005329s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4047 LIMIT 4 [ RunTime:0.002036s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4047 ORDER BY `minOrder` ASC [ RunTime:0.000274s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4047 ORDER BY `unit` DESC [ RunTime:0.000333s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4047 LIMIT 2 [ RunTime:0.002323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4047 ORDER BY `minOrder` ASC [ RunTime:0.000161s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148W-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000335s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2585 LIMIT 4 [ RunTime:0.000229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2585 ORDER BY `minOrder` ASC [ RunTime:0.004463s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2585 ORDER BY `unit` DESC [ RunTime:0.005124s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2585 LIMIT 2 [ RunTime:0.002707s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2585 ORDER BY `minOrder` ASC [ RunTime:0.000931s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1SS355TE-17' OR `brand` LIKE 'ROHM%' ) ) LIMIT 1 [ RunTime:0.000192s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7482 LIMIT 4 [ RunTime:0.001445s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7482 ORDER BY `minOrder` ASC [ RunTime:0.001965s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7482 ORDER BY `unit` DESC [ RunTime:0.003230s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7482 LIMIT 2 [ RunTime:0.003725s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7482 ORDER BY `minOrder` ASC [ RunTime:0.008792s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAW56LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.005958s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7153 LIMIT 4 [ RunTime:0.000846s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7153 ORDER BY `minOrder` ASC [ RunTime:0.000157s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7153 ORDER BY `unit` DESC [ RunTime:0.000154s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7153 LIMIT 2 [ RunTime:0.000149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7153 ORDER BY `minOrder` ASC [ RunTime:0.000152s ]
select * from pdf where partno='1N4148W-E3-08' and brandshort='VISHAY' limit 1 [ RunTime:0.000228s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148W-E3-08' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000162s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4950 LIMIT 4 [ RunTime:0.000326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4950 ORDER BY `minOrder` ASC [ RunTime:0.008718s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4950 ORDER BY `unit` DESC [ RunTime:0.001478s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4950 LIMIT 2 [ RunTime:0.002066s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4950 ORDER BY `minOrder` ASC [ RunTime:0.000163s ]
select * from pdf where partno='BAS70-06,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000663s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS70-06,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.012494s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14976 LIMIT 4 [ RunTime:0.002369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14976 ORDER BY `minOrder` ASC [ RunTime:0.002141s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14976 ORDER BY `unit` DESC [ RunTime:0.001456s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14976 LIMIT 2 [ RunTime:0.001021s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14976 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
select * from pdf where partno='MMBD4148SE' and brandshort='ON' limit 1 [ RunTime:0.001657s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MMBD4148SE' OR `brand` LIKE 'ON%' ) ) LIMIT 1 [ RunTime:0.016251s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7400 LIMIT 4 [ RunTime:0.002105s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7400 ORDER BY `minOrder` ASC [ RunTime:0.000389s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7400 ORDER BY `unit` DESC [ RunTime:0.000831s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7400 LIMIT 2 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7400 ORDER BY `minOrder` ASC [ RunTime:0.004057s ]
select * from pdf where partno='1N4148WT' and brandshort='ONSEMI' limit 1 [ RunTime:0.001913s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WT' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.006189s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4656 LIMIT 4 [ RunTime:0.000355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4656 ORDER BY `minOrder` ASC [ RunTime:0.000853s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4656 ORDER BY `unit` DESC [ RunTime:0.000943s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4656 LIMIT 2 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4656 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
select * from pdf where partno='BAV21W-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001745s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV21W-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.001010s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14982 LIMIT 4 [ RunTime:0.000535s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14982 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14982 ORDER BY `unit` DESC [ RunTime:0.000387s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14982 LIMIT 2 [ RunTime:0.000378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14982 ORDER BY `minOrder` ASC [ RunTime:0.000247s ]
select * from pdf where partno='MMBD3004S-7-F' and brandshort='DIODES' limit 1 [ RunTime:0.000799s ]
select foldpath,foldpath2,filename from pdf_file where id=613255 limit 1 [ RunTime:0.001158s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MMBD3004S-7-F' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.002677s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7486 LIMIT 4 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7486 ORDER BY `minOrder` ASC [ RunTime:0.000331s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7486 ORDER BY `unit` DESC [ RunTime:0.000324s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7486 LIMIT 2 [ RunTime:0.001876s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7486 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS45AL,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.003884s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 291 LIMIT 4 [ RunTime:0.000507s ]
SELECT * FROM `stock_price` WHERE `stockid` = 291 ORDER BY `minOrder` ASC [ RunTime:0.000578s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 291 ORDER BY `unit` DESC [ RunTime:0.000367s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 291 LIMIT 2 [ RunTime:0.000315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 291 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS20,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.002841s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4533 LIMIT 4 [ RunTime:0.000320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4533 ORDER BY `minOrder` ASC [ RunTime:0.000365s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4533 ORDER BY `unit` DESC [ RunTime:0.000916s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4533 LIMIT 2 [ RunTime:0.007719s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4533 ORDER BY `minOrder` ASC [ RunTime:0.001427s ]
select * from pdf where partno='1N4448WS-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001865s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4448WS-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000692s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4949 LIMIT 4 [ RunTime:0.000388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4949 ORDER BY `minOrder` ASC [ RunTime:0.002275s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4949 ORDER BY `unit` DESC [ RunTime:0.002719s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4949 LIMIT 2 [ RunTime:0.004114s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4949 ORDER BY `minOrder` ASC [ RunTime:0.000305s ]
select * from pdf where partno='BAS40L,315' and brandshort='NEXPERIA' limit 1 [ RunTime:0.002871s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS40L,315' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.003001s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7484 LIMIT 4 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7484 ORDER BY `minOrder` ASC [ RunTime:0.000344s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7484 ORDER BY `unit` DESC [ RunTime:0.002233s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7484 LIMIT 2 [ RunTime:0.005172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7484 ORDER BY `minOrder` ASC [ RunTime:0.001691s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS20HT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.007959s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4947 LIMIT 4 [ RunTime:0.003775s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4947 ORDER BY `minOrder` ASC [ RunTime:0.001991s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4947 ORDER BY `unit` DESC [ RunTime:0.000927s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4947 LIMIT 2 [ RunTime:0.000931s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4947 ORDER BY `minOrder` ASC [ RunTime:0.002325s ]
select * from pdf where partno='BAS16H,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.002574s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS16H,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.003559s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16762 LIMIT 4 [ RunTime:0.000406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16762 ORDER BY `minOrder` ASC [ RunTime:0.002297s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16762 ORDER BY `unit` DESC [ RunTime:0.004304s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16762 LIMIT 2 [ RunTime:0.002678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16762 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
select * from pdf where partno='BAW56LT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.002111s ]
select foldpath,foldpath2,filename from pdf_file where id=568830 limit 1 [ RunTime:0.000668s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAW56LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000328s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16442 LIMIT 4 [ RunTime:0.000256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16442 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16442 ORDER BY `unit` DESC [ RunTime:0.000243s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16442 LIMIT 2 [ RunTime:0.000239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16442 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
select * from pdf where partno='1SS355TE-17' and brandshort='ROHM' limit 1 [ RunTime:0.000676s ]
select foldpath,foldpath2,filename from pdf_file where id=1106100 limit 1 [ RunTime:0.000348s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1SS355TE-17' OR `brand` LIKE 'ROHM%' ) ) LIMIT 1 [ RunTime:0.000296s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16343 LIMIT 4 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16343 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16343 ORDER BY `unit` DESC [ RunTime:0.005288s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16343 LIMIT 2 [ RunTime:0.008948s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16343 ORDER BY `minOrder` ASC [ RunTime:0.000213s ]
select * from pdf where partno='BAV74LT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.001604s ]
select foldpath,foldpath2,filename from pdf_file where id=668717 limit 1 [ RunTime:0.006219s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV74LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.010432s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 121 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.010926s ]