SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002101s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000629s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002885s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.187' ) [ RunTime:0.000365s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001896s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000274s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 25 LIMIT 1 [ RunTime:0.000331s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 25 [ RunTime:0.000224s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (147,148,149,150,151,152,153,154,155,156,157,158,159) [ RunTime:0.000276s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001996s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` IN (147,148,149,150,151,152,153,154,155,156,157,158,159) ) [ RunTime:0.000356s ]
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` IN (147,148,149,150,151,152,153,154,155,156,157,158,159) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007549s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002094s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 72 LIMIT 4 [ RunTime:0.000300s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001669s ]
SELECT * FROM `stock_price` WHERE `stockid` = 72 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001627s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 72 ORDER BY `unit` DESC [ RunTime:0.000242s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001994s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 72 LIMIT 2 [ RunTime:0.000249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 72 ORDER BY `minOrder` ASC [ RunTime:0.000255s ]
select * from pdf where partno='B72207S0301K101' and brandshort='EPCOS' limit 1 [ RunTime:0.000370s ]
select foldpath,foldpath2,filename from pdf_file where id=566331 limit 1 [ RunTime:0.000243s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002076s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72207S0301K101' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.000298s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 66 LIMIT 4 [ RunTime:0.000232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66 ORDER BY `minOrder` ASC [ RunTime:0.000232s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 66 ORDER BY `unit` DESC [ RunTime:0.000223s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 66 LIMIT 2 [ RunTime:0.000219s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66 ORDER BY `minOrder` ASC [ RunTime:0.000215s ]
select * from pdf where partno='B72207S0251K101' and brandshort='EPCOS' limit 1 [ RunTime:0.000354s ]
select foldpath,foldpath2,filename from pdf_file where id=566331 limit 1 [ RunTime:0.000223s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72207S0251K101' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.000235s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1012 LIMIT 4 [ RunTime:0.000428s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1012 ORDER BY `minOrder` ASC [ RunTime:0.016900s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1012 ORDER BY `unit` DESC [ RunTime:0.001428s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1012 LIMIT 2 [ RunTime:0.000408s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1012 ORDER BY `minOrder` ASC [ RunTime:0.000882s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '10207101009' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.004886s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7476 LIMIT 4 [ RunTime:0.004061s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7476 ORDER BY `minOrder` ASC [ RunTime:0.002750s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7476 ORDER BY `unit` DESC [ RunTime:0.000415s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7476 LIMIT 2 [ RunTime:0.000342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7476 ORDER BY `minOrder` ASC [ RunTime:0.000939s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC000830' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000462s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 250 LIMIT 4 [ RunTime:0.001675s ]
SELECT * FROM `stock_price` WHERE `stockid` = 250 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 250 ORDER BY `unit` DESC [ RunTime:0.000254s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 250 LIMIT 2 [ RunTime:0.000241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 250 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
select * from pdf where partno='V275LA20AP' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000513s ]
select foldpath,foldpath2,filename from pdf_file where id=299558 limit 1 [ RunTime:0.000359s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V275LA20AP' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000316s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 973 LIMIT 4 [ RunTime:0.000284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 973 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 973 ORDER BY `unit` DESC [ RunTime:0.000242s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 973 LIMIT 2 [ RunTime:0.000239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 973 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0853.0551' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.000245s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6047 LIMIT 4 [ RunTime:0.000241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6047 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6047 ORDER BY `unit` DESC [ RunTime:0.000249s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6047 LIMIT 2 [ RunTime:0.000242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6047 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3557-2' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.000286s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7477 LIMIT 4 [ RunTime:0.002472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7477 ORDER BY `minOrder` ASC [ RunTime:0.002721s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7477 ORDER BY `unit` DESC [ RunTime:0.003964s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7477 LIMIT 2 [ RunTime:0.000344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7477 ORDER BY `minOrder` ASC [ RunTime:0.001095s ]
select * from pdf where partno='MC000832' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001661s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC000832' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000438s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 249 LIMIT 4 [ RunTime:0.000256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 249 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 249 ORDER BY `unit` DESC [ RunTime:0.000252s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 249 LIMIT 2 [ RunTime:0.000243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 249 ORDER BY `minOrder` ASC [ RunTime:0.006221s ]
select * from pdf where partno='V100ZA15P' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000767s ]
select foldpath,foldpath2,filename from pdf_file where id=179201 limit 1 [ RunTime:0.000401s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V100ZA15P' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000449s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 248 LIMIT 4 [ RunTime:0.000318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 248 ORDER BY `minOrder` ASC [ RunTime:0.000322s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 248 ORDER BY `unit` DESC [ RunTime:0.000314s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 248 LIMIT 2 [ RunTime:0.000308s ]
SELECT * FROM `stock_price` WHERE `stockid` = 248 ORDER BY `minOrder` ASC [ RunTime:0.000303s ]
select * from pdf where partno='V27ZA1P' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000677s ]
select foldpath,foldpath2,filename from pdf_file where id=213253 limit 1 [ RunTime:0.000348s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V27ZA1P' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000356s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4569 LIMIT 4 [ RunTime:0.000557s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4569 ORDER BY `minOrder` ASC [ RunTime:0.000506s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4569 ORDER BY `unit` DESC [ RunTime:0.000502s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4569 LIMIT 2 [ RunTime:0.000497s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4569 ORDER BY `minOrder` ASC [ RunTime:0.002905s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '01110501Z.' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.008711s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13951 LIMIT 4 [ RunTime:0.002495s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13951 ORDER BY `minOrder` ASC [ RunTime:0.000344s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13951 ORDER BY `unit` DESC [ RunTime:0.000321s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13951 LIMIT 2 [ RunTime:0.000306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13951 ORDER BY `minOrder` ASC [ RunTime:0.000303s ]
select * from pdf where partno='B72520T0040M062' and brandshort='EPCOS' limit 1 [ RunTime:0.000824s ]
select foldpath,foldpath2,filename from pdf_file where id=643217 limit 1 [ RunTime:0.000357s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72520T0040M062' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.000356s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 717 LIMIT 4 [ RunTime:0.000300s ]
SELECT * FROM `stock_price` WHERE `stockid` = 717 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 717 ORDER BY `unit` DESC [ RunTime:0.000312s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 717 LIMIT 2 [ RunTime:0.000301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 717 ORDER BY `minOrder` ASC [ RunTime:0.000303s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0020' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.000580s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3941 LIMIT 4 [ RunTime:0.000413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3941 ORDER BY `minOrder` ASC [ RunTime:0.000387s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3941 ORDER BY `unit` DESC [ RunTime:0.000385s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3941 LIMIT 2 [ RunTime:0.000391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3941 ORDER BY `minOrder` ASC [ RunTime:0.000380s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MLV0805E32503T' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000339s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 71 LIMIT 4 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 71 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 71 ORDER BY `unit` DESC [ RunTime:0.000349s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 71 LIMIT 2 [ RunTime:0.000318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 71 ORDER BY `minOrder` ASC [ RunTime:0.000309s ]
select * from pdf where partno='B72220S0271K101' and brandshort='EPCOS' limit 1 [ RunTime:0.000445s ]
select foldpath,foldpath2,filename from pdf_file where id=566343 limit 1 [ RunTime:0.000351s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72220S0271K101' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.000343s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1179 LIMIT 4 [ RunTime:0.004234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1179 ORDER BY `minOrder` ASC [ RunTime:0.000638s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1179 ORDER BY `unit` DESC [ RunTime:0.002236s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1179 LIMIT 2 [ RunTime:0.003685s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1179 ORDER BY `minOrder` ASC [ RunTime:0.000426s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-NSMF020-2' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.004129s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4237 LIMIT 4 [ RunTime:0.000428s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4237 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4237 ORDER BY `unit` DESC [ RunTime:0.004015s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4237 LIMIT 2 [ RunTime:0.000385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4237 ORDER BY `minOrder` ASC [ RunTime:0.000384s ]
select * from pdf where partno='V510LA80BP' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000397s ]
select foldpath,foldpath2,filename from pdf_file where id=178035 limit 1 [ RunTime:0.007278s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V510LA80BP' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000358s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2812 LIMIT 4 [ RunTime:0.002132s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2812 ORDER BY `minOrder` ASC [ RunTime:0.001386s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2812 ORDER BY `unit` DESC [ RunTime:0.000797s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2812 LIMIT 2 [ RunTime:0.000582s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2812 ORDER BY `minOrder` ASC [ RunTime:0.000338s ]
select * from pdf where partno='65600001009' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001118s ]
select foldpath,foldpath2,filename from pdf_file where id=1212905 limit 1 [ RunTime:0.004124s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '65600001009' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.015969s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 789 LIMIT 4 [ RunTime:0.001181s ]
SELECT * FROM `stock_price` WHERE `stockid` = 789 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 789 ORDER BY `unit` DESC [ RunTime:0.000351s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 789 LIMIT 2 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 789 ORDER BY `minOrder` ASC [ RunTime:0.000322s ]
select * from pdf where partno='4301.1401' and brandshort='SCHURTER' limit 1 [ RunTime:0.000375s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4301.1401' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.000364s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3137 LIMIT 4 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3137 ORDER BY `minOrder` ASC [ RunTime:0.000330s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3137 ORDER BY `unit` DESC [ RunTime:0.000324s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3137 LIMIT 2 [ RunTime:0.000316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3137 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
select * from pdf where partno='0031.3901' and brandshort='SCHURTER' limit 1 [ RunTime:0.000642s ]
select foldpath,foldpath2,filename from pdf_file where id=897021 limit 1 [ RunTime:0.000327s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0031.3901' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.000340s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (147,148,149,150,151,152,153,154,155,156,157,158,159) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000489s ]