SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001716s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000685s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001764s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000335s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001582s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000295s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000369s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000225s ]
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.000492s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001750s ]
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:3.392632s ]
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 9620,20 [ RunTime:0.301137s ]
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 ('10902975','10831963','2461','456','10751830','10478429','10478428','10478427','14280','14067','13188','12770','12229','9766','6519','6377','5127','4949','3767','2438') ORDER BY FIELD(s.id, 10902975,10831963,2461,456,10751830,10478429,10478428,10478427,14280,14067,13188,12770,12229,9766,6519,6377,5127,4949,3767,2438) [ RunTime:0.015009s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001248s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10902975 LIMIT 4 [ RunTime:0.010289s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001056s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10902975 ORDER BY `minOrder` ASC [ RunTime:0.015133s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001789s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10902975 ORDER BY `unit` DESC [ RunTime:0.000448s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004441s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10902975 LIMIT 2 [ RunTime:0.004237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10902975 ORDER BY `minOrder` ASC [ RunTime:0.004309s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10831963 LIMIT 4 [ RunTime:0.002594s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10831963 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10831963 ORDER BY `unit` DESC [ RunTime:0.006740s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10831963 LIMIT 2 [ RunTime:0.000628s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10831963 ORDER BY `minOrder` ASC [ RunTime:0.004788s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2461 LIMIT 4 [ RunTime:0.002191s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2461 ORDER BY `minOrder` ASC [ RunTime:0.005587s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2461 ORDER BY `unit` DESC [ RunTime:0.004971s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2461 LIMIT 2 [ RunTime:0.003470s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2461 ORDER BY `minOrder` ASC [ RunTime:0.002849s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001171s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '705430107' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.012627s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 456 LIMIT 4 [ RunTime:0.000668s ]
SELECT * FROM `stock_price` WHERE `stockid` = 456 ORDER BY `minOrder` ASC [ RunTime:0.002016s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 456 ORDER BY `unit` DESC [ RunTime:0.003030s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 456 LIMIT 2 [ RunTime:0.012343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 456 ORDER BY `minOrder` ASC [ RunTime:0.000669s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1658621-8' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.007934s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10751830 LIMIT 4 [ RunTime:0.009859s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10751830 ORDER BY `minOrder` ASC [ RunTime:0.002043s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10751830 ORDER BY `unit` DESC [ RunTime:0.003265s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10751830 LIMIT 2 [ RunTime:0.004740s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10751830 ORDER BY `minOrder` ASC [ RunTime:0.003186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10478429 LIMIT 4 [ RunTime:0.001562s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10478429 ORDER BY `minOrder` ASC [ RunTime:0.005700s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10478429 ORDER BY `unit` DESC [ RunTime:0.005883s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10478429 LIMIT 2 [ RunTime:0.001595s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10478429 ORDER BY `minOrder` ASC [ RunTime:0.000844s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10478428 LIMIT 4 [ RunTime:0.000673s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10478428 ORDER BY `minOrder` ASC [ RunTime:0.000658s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10478428 ORDER BY `unit` DESC [ RunTime:0.000608s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10478428 LIMIT 2 [ RunTime:0.001154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10478428 ORDER BY `minOrder` ASC [ RunTime:0.000389s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10478427 LIMIT 4 [ RunTime:0.000599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10478427 ORDER BY `minOrder` ASC [ RunTime:0.000589s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10478427 ORDER BY `unit` DESC [ RunTime:0.001352s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10478427 LIMIT 2 [ RunTime:0.002639s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10478427 ORDER BY `minOrder` ASC [ RunTime:0.002919s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14280 LIMIT 4 [ RunTime:0.003502s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14280 ORDER BY `minOrder` ASC [ RunTime:0.011380s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14280 ORDER BY `unit` DESC [ RunTime:0.008283s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14280 LIMIT 2 [ RunTime:0.001995s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14280 ORDER BY `minOrder` ASC [ RunTime:0.000477s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF12 20R' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.004541s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14067 LIMIT 4 [ RunTime:0.000628s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14067 ORDER BY `minOrder` ASC [ RunTime:0.005094s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14067 ORDER BY `unit` DESC [ RunTime:0.002880s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14067 LIMIT 2 [ RunTime:0.000633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14067 ORDER BY `minOrder` ASC [ RunTime:0.000533s ]
select * from pdf where partno='RC1206FR-0739KL' and brandshort='YAGEO' limit 1 [ RunTime:0.011283s ]
select foldpath,foldpath2,filename from pdf_file where id=1976034 limit 1 [ RunTime:0.006312s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RC1206FR-0739KL' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.010697s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13188 LIMIT 4 [ RunTime:0.004155s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13188 ORDER BY `minOrder` ASC [ RunTime:0.001945s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13188 ORDER BY `unit` DESC [ RunTime:0.002823s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13188 LIMIT 2 [ RunTime:0.004651s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13188 ORDER BY `minOrder` ASC [ RunTime:0.000336s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ADM7171ACPZ-1.8-R7' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.001410s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12770 LIMIT 4 [ RunTime:0.000496s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12770 ORDER BY `minOrder` ASC [ RunTime:0.001887s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12770 ORDER BY `unit` DESC [ RunTime:0.005014s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12770 LIMIT 2 [ RunTime:0.003028s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12770 ORDER BY `minOrder` ASC [ RunTime:0.000262s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMCJ33A-E3/9AT' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.042058s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12229 LIMIT 4 [ RunTime:0.002415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12229 ORDER BY `minOrder` ASC [ RunTime:0.006734s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12229 ORDER BY `unit` DESC [ RunTime:0.006152s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12229 LIMIT 2 [ RunTime:0.015568s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12229 ORDER BY `minOrder` ASC [ RunTime:0.005155s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'US1NWF-7' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.005752s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9766 LIMIT 4 [ RunTime:0.011572s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9766 ORDER BY `minOrder` ASC [ RunTime:0.013966s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9766 ORDER BY `unit` DESC [ RunTime:0.005931s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9766 LIMIT 2 [ RunTime:0.004015s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9766 ORDER BY `minOrder` ASC [ RunTime:0.000329s ]
select * from pdf where partno='1-480701-0' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.005391s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-480701-0' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.010719s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6519 LIMIT 4 [ RunTime:0.001284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6519 ORDER BY `minOrder` ASC [ RunTime:0.000888s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6519 ORDER BY `unit` DESC [ RunTime:0.005439s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6519 LIMIT 2 [ RunTime:0.000944s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6519 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DR331-474BE' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.006476s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6377 LIMIT 4 [ RunTime:0.004991s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6377 ORDER BY `minOrder` ASC [ RunTime:0.002099s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6377 ORDER BY `unit` DESC [ RunTime:0.006250s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6377 LIMIT 2 [ RunTime:0.001554s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6377 ORDER BY `minOrder` ASC [ RunTime:0.006089s ]
select * from pdf where partno='BUK9Y59-60E,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.008783s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BUK9Y59-60E,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.010533s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5127 LIMIT 4 [ RunTime:0.001312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5127 ORDER BY `minOrder` ASC [ RunTime:0.001594s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5127 ORDER BY `unit` DESC [ RunTime:0.000723s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5127 LIMIT 2 [ RunTime:0.000463s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5127 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
select * from pdf where partno='ERJ3GEYJ102V' and brandshort='PANASONIC' limit 1 [ RunTime:0.000596s ]
select foldpath,foldpath2,filename from pdf_file where id=745464 limit 1 [ RunTime:0.000382s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ERJ3GEYJ102V' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000348s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4949 LIMIT 4 [ RunTime:0.002151s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4949 ORDER BY `minOrder` ASC [ RunTime:0.006790s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4949 ORDER BY `unit` DESC [ RunTime:0.003141s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4949 LIMIT 2 [ RunTime:0.000756s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4949 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
select * from pdf where partno='BAS40L,315' and brandshort='NEXPERIA' limit 1 [ RunTime:0.012243s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS40L,315' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.005482s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3767 LIMIT 4 [ RunTime:0.001658s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3767 ORDER BY `minOrder` ASC [ RunTime:0.000892s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3767 ORDER BY `unit` DESC [ RunTime:0.003624s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3767 LIMIT 2 [ RunTime:0.007247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3767 ORDER BY `minOrder` ASC [ RunTime:0.005314s ]
select * from pdf where partno='CRCW08051K00FKEAHP.' and brandshort='VISHAY' limit 1 [ RunTime:0.021403s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW08051K00FKEAHP.' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.015042s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2438 LIMIT 4 [ RunTime:0.010937s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2438 ORDER BY `minOrder` ASC [ RunTime:0.003715s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2438 ORDER BY `unit` DESC [ RunTime:0.004187s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2438 LIMIT 2 [ RunTime:0.002254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2438 ORDER BY `minOrder` ASC [ RunTime:0.001887s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KPEG242' OR `brand` LIKE 'KINGSTATE%' ) ) LIMIT 1 [ RunTime:0.005391s ]
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:2.129462s ]