SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001289s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.012296s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001433s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.001181s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001458s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001255s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000487s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.002887s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.000394s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001684s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:1.939755s ]
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` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 9680,20 [ RunTime:0.174414s ]
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 ('804','7568','10520059','10433802','17226','13507','11379','6281','1974','870','2245','10491480','10491448','13590','12983','7138','1099','10443702','10434892','3938') ORDER BY FIELD(s.id, 804,7568,10520059,10433802,17226,13507,11379,6281,1974,870,2245,10491480,10491448,13590,12983,7138,1099,10443702,10434892,3938) [ RunTime:0.012242s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001390s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 804 LIMIT 4 [ RunTime:0.000457s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001483s ]
SELECT * FROM `stock_price` WHERE `stockid` = 804 ORDER BY `minOrder` ASC [ RunTime:0.004175s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001171s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 804 ORDER BY `unit` DESC [ RunTime:0.003190s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001198s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 804 LIMIT 2 [ RunTime:0.004887s ]
SELECT * FROM `stock_price` WHERE `stockid` = 804 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
select * from pdf where partno='CRCW060336K5FKEA' and brandshort='VISHAY' limit 1 [ RunTime:0.011117s ]
select foldpath,foldpath2,filename from pdf_file where id=1918300 limit 1 [ RunTime:0.001621s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001274s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW060336K5FKEA' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.017695s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7568 LIMIT 4 [ RunTime:0.002535s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7568 ORDER BY `minOrder` ASC [ RunTime:0.001052s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7568 ORDER BY `unit` DESC [ RunTime:0.001589s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7568 LIMIT 2 [ RunTime:0.000324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7568 ORDER BY `minOrder` ASC [ RunTime:0.000191s ]
select * from pdf where partno='IRFR3910TRPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.011804s ]
select foldpath,foldpath2,filename from pdf_file where id=1062728 limit 1 [ RunTime:0.002288s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRFR3910TRPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.025653s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10520059 LIMIT 4 [ RunTime:0.004070s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10520059 ORDER BY `minOrder` ASC [ RunTime:0.001674s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10520059 ORDER BY `unit` DESC [ RunTime:0.004314s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10520059 LIMIT 2 [ RunTime:0.003565s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10520059 ORDER BY `minOrder` ASC [ RunTime:0.003048s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10433802 LIMIT 4 [ RunTime:0.002216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10433802 ORDER BY `minOrder` ASC [ RunTime:0.001485s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10433802 ORDER BY `unit` DESC [ RunTime:0.007084s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10433802 LIMIT 2 [ RunTime:0.004921s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10433802 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17226 LIMIT 4 [ RunTime:0.000448s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17226 ORDER BY `minOrder` ASC [ RunTime:0.003346s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17226 ORDER BY `unit` DESC [ RunTime:0.008000s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17226 LIMIT 2 [ RunTime:0.008984s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17226 ORDER BY `minOrder` ASC [ RunTime:0.001056s ]
select * from pdf where partno='XC9572XL-7TQG100C' and brandshort='XILINX' limit 1 [ RunTime:0.004876s ]
select foldpath,foldpath2,filename from pdf_file where id=602452 limit 1 [ RunTime:0.008012s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XC9572XL-7TQG100C' OR `brand` LIKE 'XILINX%' ) ) LIMIT 1 [ RunTime:0.006862s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13507 LIMIT 4 [ RunTime:0.002287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13507 ORDER BY `minOrder` ASC [ RunTime:0.003064s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13507 ORDER BY `unit` DESC [ RunTime:0.003832s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13507 LIMIT 2 [ RunTime:0.000468s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13507 ORDER BY `minOrder` ASC [ RunTime:0.000268s ]
select * from pdf where partno='TAJB106K010RNJ' and brandshort='KYOCERA AVX' limit 1 [ RunTime:0.005463s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TAJB106K010RNJ' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.009379s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11379 LIMIT 4 [ RunTime:0.000448s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11379 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11379 ORDER BY `unit` DESC [ RunTime:0.000383s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11379 LIMIT 2 [ RunTime:0.002421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11379 ORDER BY `minOrder` ASC [ RunTime:0.002731s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F105RBT6TR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.003012s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6281 LIMIT 4 [ RunTime:0.010945s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6281 ORDER BY `minOrder` ASC [ RunTime:0.004818s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6281 ORDER BY `unit` DESC [ RunTime:0.001226s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6281 LIMIT 2 [ RunTime:0.000379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6281 ORDER BY `minOrder` ASC [ RunTime:0.001066s ]
select * from pdf where partno='1586041-2' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.009886s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1586041-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.004494s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1974 LIMIT 4 [ RunTime:0.001546s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1974 ORDER BY `minOrder` ASC [ RunTime:0.008378s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1974 ORDER BY `unit` DESC [ RunTime:0.004444s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1974 LIMIT 2 [ RunTime:0.001454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1974 ORDER BY `minOrder` ASC [ RunTime:0.001159s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0461164181' OR `brand` LIKE 'FAIR-RITE%' ) ) LIMIT 1 [ RunTime:0.008176s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 870 LIMIT 4 [ RunTime:0.001394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 870 ORDER BY `minOrder` ASC [ RunTime:0.001338s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 870 ORDER BY `unit` DESC [ RunTime:0.001404s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 870 LIMIT 2 [ RunTime:0.001064s ]
SELECT * FROM `stock_price` WHERE `stockid` = 870 ORDER BY `minOrder` ASC [ RunTime:0.003137s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WKO102MCPCJ0KR' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.011635s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2245 LIMIT 4 [ RunTime:0.000427s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2245 ORDER BY `minOrder` ASC [ RunTime:0.008994s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2245 ORDER BY `unit` DESC [ RunTime:0.000364s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2245 LIMIT 2 [ RunTime:0.000360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2245 ORDER BY `minOrder` ASC [ RunTime:0.000197s ]
select * from pdf where partno='ST485EBDR' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.003112s ]
select foldpath,foldpath2,filename from pdf_file where id=338914 limit 1 [ RunTime:0.004483s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ST485EBDR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.007600s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10491480 LIMIT 4 [ RunTime:0.006867s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10491480 ORDER BY `minOrder` ASC [ RunTime:0.000390s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10491480 ORDER BY `unit` DESC [ RunTime:0.000443s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10491480 LIMIT 2 [ RunTime:0.000267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10491480 ORDER BY `minOrder` ASC [ RunTime:0.000157s ]
select * from pdf where partno='C4520C0G3F680K200KA' and brandshort='TDK Corporation' limit 1 [ RunTime:0.008039s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10491448 LIMIT 4 [ RunTime:0.005445s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10491448 ORDER BY `minOrder` ASC [ RunTime:0.000716s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10491448 ORDER BY `unit` DESC [ RunTime:0.002288s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10491448 LIMIT 2 [ RunTime:0.003018s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10491448 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
select * from pdf where partno='MCASU32MAB7106KPNA01' and brandshort='Taiyo Yuden' limit 1 [ RunTime:0.005148s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13590 LIMIT 4 [ RunTime:0.002847s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13590 ORDER BY `minOrder` ASC [ RunTime:0.004307s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13590 ORDER BY `unit` DESC [ RunTime:0.000649s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13590 LIMIT 2 [ RunTime:0.000527s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13590 ORDER BY `minOrder` ASC [ RunTime:0.001711s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '36161' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.013807s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12983 LIMIT 4 [ RunTime:0.007139s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12983 ORDER BY `minOrder` ASC [ RunTime:0.004004s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12983 ORDER BY `unit` DESC [ RunTime:0.001965s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12983 LIMIT 2 [ RunTime:0.001978s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12983 ORDER BY `minOrder` ASC [ RunTime:0.004352s ]
select * from pdf where partno='62GB-12E10-06PN' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.008911s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-12E10-06PN' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.002533s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7138 LIMIT 4 [ RunTime:0.001094s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7138 ORDER BY `minOrder` ASC [ RunTime:0.009054s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7138 ORDER BY `unit` DESC [ RunTime:0.007314s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7138 LIMIT 2 [ RunTime:0.002479s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7138 ORDER BY `minOrder` ASC [ RunTime:0.004121s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LIS3MDLTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.008608s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1099 LIMIT 4 [ RunTime:0.007621s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1099 ORDER BY `minOrder` ASC [ RunTime:0.009693s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1099 ORDER BY `unit` DESC [ RunTime:0.000745s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1099 LIMIT 2 [ RunTime:0.004765s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1099 ORDER BY `minOrder` ASC [ RunTime:0.000397s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '71430-030/0800' OR `brand` LIKE 'PREHKEYTEC%' ) ) LIMIT 1 [ RunTime:0.003276s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10443702 LIMIT 4 [ RunTime:0.009901s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10443702 ORDER BY `minOrder` ASC [ RunTime:0.002318s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10443702 ORDER BY `unit` DESC [ RunTime:0.002550s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10443702 LIMIT 2 [ RunTime:0.001572s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10443702 ORDER BY `minOrder` ASC [ RunTime:0.003605s ]
select * from pdf where partno='CKG32KX7R2A225K335AH' and brandshort='TDK Corporation' limit 1 [ RunTime:0.007242s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10434892 LIMIT 4 [ RunTime:0.007796s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10434892 ORDER BY `minOrder` ASC [ RunTime:0.001376s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10434892 ORDER BY `unit` DESC [ RunTime:0.000650s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10434892 LIMIT 2 [ RunTime:0.006695s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10434892 ORDER BY `minOrder` ASC [ RunTime:0.000421s ]
select * from pdf where partno='C3225C0G1H333K160AA' and brandshort='TDK Corporation' limit 1 [ RunTime:0.016953s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3938 LIMIT 4 [ RunTime:0.024819s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3938 ORDER BY `minOrder` ASC [ RunTime:0.024855s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3938 ORDER BY `unit` DESC [ RunTime:0.005069s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3938 LIMIT 2 [ RunTime:0.001550s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3938 ORDER BY `minOrder` ASC [ RunTime:0.002366s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DEU-9P-K87-F0' OR `brand` LIKE 'ITT CANNON%' ) ) LIMIT 1 [ RunTime:0.004018s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:1.794548s ]