SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001915s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000511s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002479s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.004906s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002841s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000303s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000515s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000383s ]
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.000453s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002240s ]
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:0.828425s ]
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 9520,20 [ RunTime:0.043590s ]
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 ('3093','1515','1394','1146','1038','806','520','318','10616','7428','6353','10132361','10507946','10509065','10439283','10437087','10431640','12114','7353','2176') ORDER BY FIELD(s.id, 3093,1515,1394,1146,1038,806,520,318,10616,7428,6353,10132361,10507946,10509065,10439283,10437087,10431640,12114,7353,2176) [ RunTime:0.005735s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001414s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3093 LIMIT 4 [ RunTime:0.000579s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001132s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3093 ORDER BY `minOrder` ASC [ RunTime:0.001367s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001248s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3093 ORDER BY `unit` DESC [ RunTime:0.000551s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001662s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3093 LIMIT 2 [ RunTime:0.000871s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3093 ORDER BY `minOrder` ASC [ RunTime:0.000229s ]
select * from pdf where partno='228' and brandshort='KEYSTONE' limit 1 [ RunTime:0.005273s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001193s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '228' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.004570s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1515 LIMIT 4 [ RunTime:0.003610s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1515 ORDER BY `minOrder` ASC [ RunTime:0.002686s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1515 ORDER BY `unit` DESC [ RunTime:0.000293s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1515 LIMIT 2 [ RunTime:0.000286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1515 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
select * from pdf where partno='B57321V2103J060' and brandshort='EPCOS' limit 1 [ RunTime:0.008958s ]
select foldpath,foldpath2,filename from pdf_file where id=830276 limit 1 [ RunTime:0.002221s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B57321V2103J060' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.005440s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1394 LIMIT 4 [ RunTime:0.001004s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1394 ORDER BY `minOrder` ASC [ RunTime:0.000660s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1394 ORDER BY `unit` DESC [ RunTime:0.000274s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1394 LIMIT 2 [ RunTime:0.002381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1394 ORDER BY `minOrder` ASC [ RunTime:0.000171s ]
select * from pdf where partno='HS401' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.011948s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HS401' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.010876s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1146 LIMIT 4 [ RunTime:0.002347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1146 ORDER BY `minOrder` ASC [ RunTime:0.002325s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1146 ORDER BY `unit` DESC [ RunTime:0.006941s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1146 LIMIT 2 [ RunTime:0.003320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1146 ORDER BY `minOrder` ASC [ RunTime:0.000845s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74HC4052D,653' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.007555s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1038 LIMIT 4 [ RunTime:0.003864s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1038 ORDER BY `minOrder` ASC [ RunTime:0.013676s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1038 ORDER BY `unit` DESC [ RunTime:0.001855s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1038 LIMIT 2 [ RunTime:0.003893s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1038 ORDER BY `minOrder` ASC [ RunTime:0.000219s ]
select * from pdf where partno='IHLP2525CZER3R3M01' and brandshort='VISHAY' limit 1 [ RunTime:0.006421s ]
select foldpath,foldpath2,filename from pdf_file where id=1044737 limit 1 [ RunTime:0.004196s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IHLP2525CZER3R3M01' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.016268s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 806 LIMIT 4 [ RunTime:0.000914s ]
SELECT * FROM `stock_price` WHERE `stockid` = 806 ORDER BY `minOrder` ASC [ RunTime:0.003555s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 806 ORDER BY `unit` DESC [ RunTime:0.001977s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 806 LIMIT 2 [ RunTime:0.002102s ]
SELECT * FROM `stock_price` WHERE `stockid` = 806 ORDER BY `minOrder` ASC [ RunTime:0.000371s ]
select * from pdf where partno='CRCW060341K2FKEA' and brandshort='VISHAY' limit 1 [ RunTime:0.016939s ]
select foldpath,foldpath2,filename from pdf_file where id=1245034 limit 1 [ RunTime:0.010437s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW060341K2FKEA' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.012759s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 520 LIMIT 4 [ RunTime:0.005268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 520 ORDER BY `minOrder` ASC [ RunTime:0.002892s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 520 ORDER BY `unit` DESC [ RunTime:0.001133s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 520 LIMIT 2 [ RunTime:0.003249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 520 ORDER BY `minOrder` ASC [ RunTime:0.001189s ]
select * from pdf where partno='TAP336M016CCS' and brandshort='KYOCERA AVX' limit 1 [ RunTime:0.013239s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TAP336M016CCS' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.011428s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 318 LIMIT 4 [ RunTime:0.003874s ]
SELECT * FROM `stock_price` WHERE `stockid` = 318 ORDER BY `minOrder` ASC [ RunTime:0.012006s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 318 ORDER BY `unit` DESC [ RunTime:0.008613s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 318 LIMIT 2 [ RunTime:0.005117s ]
SELECT * FROM `stock_price` WHERE `stockid` = 318 ORDER BY `minOrder` ASC [ RunTime:0.000343s ]
select * from pdf where partno='BCX56-16,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.008136s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BCX56-16,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.008098s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10616 LIMIT 4 [ RunTime:0.001442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10616 ORDER BY `minOrder` ASC [ RunTime:0.006172s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10616 ORDER BY `unit` DESC [ RunTime:0.001209s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10616 LIMIT 2 [ RunTime:0.000458s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10616 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32WB55CCU6' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001871s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7428 LIMIT 4 [ RunTime:0.004310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7428 ORDER BY `minOrder` ASC [ RunTime:0.001361s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7428 ORDER BY `unit` DESC [ RunTime:0.002636s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7428 LIMIT 2 [ RunTime:0.000572s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7428 ORDER BY `minOrder` ASC [ RunTime:0.000248s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RS1M' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.016023s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6353 LIMIT 4 [ RunTime:0.006179s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6353 ORDER BY `minOrder` ASC [ RunTime:0.007417s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6353 ORDER BY `unit` DESC [ RunTime:0.000701s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6353 LIMIT 2 [ RunTime:0.000943s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6353 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BD680G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.016708s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10132361 LIMIT 4 [ RunTime:0.004811s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10132361 ORDER BY `minOrder` ASC [ RunTime:0.003792s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10132361 ORDER BY `unit` DESC [ RunTime:0.001110s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10132361 LIMIT 2 [ RunTime:0.000977s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10132361 ORDER BY `minOrder` ASC [ RunTime:0.001375s ]
select * from pdf where partno='C1206X180J5GACAUTO' and brandshort='KEMET' limit 1 [ RunTime:0.005503s ]
select foldpath,foldpath2,filename from pdf_file where id=2045274 limit 1 [ RunTime:0.010814s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10507946 LIMIT 4 [ RunTime:0.005930s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10507946 ORDER BY `minOrder` ASC [ RunTime:0.001880s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10507946 ORDER BY `unit` DESC [ RunTime:0.001648s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10507946 LIMIT 2 [ RunTime:0.001421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10507946 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10509065 LIMIT 4 [ RunTime:0.002087s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10509065 ORDER BY `minOrder` ASC [ RunTime:0.000572s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10509065 ORDER BY `unit` DESC [ RunTime:0.003092s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10509065 LIMIT 2 [ RunTime:0.002086s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10509065 ORDER BY `minOrder` ASC [ RunTime:0.001817s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10439283 LIMIT 4 [ RunTime:0.003807s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10439283 ORDER BY `minOrder` ASC [ RunTime:0.002285s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10439283 ORDER BY `unit` DESC [ RunTime:0.000845s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10439283 LIMIT 2 [ RunTime:0.003604s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10439283 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
select * from pdf where partno='CGJ5F4C0G2H392J085AA' and brandshort='TDK Corporation' limit 1 [ RunTime:0.004103s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10437087 LIMIT 4 [ RunTime:0.003445s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10437087 ORDER BY `minOrder` ASC [ RunTime:0.005327s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10437087 ORDER BY `unit` DESC [ RunTime:0.004537s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10437087 LIMIT 2 [ RunTime:0.000792s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10437087 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10431640 LIMIT 4 [ RunTime:0.000963s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10431640 ORDER BY `minOrder` ASC [ RunTime:0.001223s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10431640 ORDER BY `unit` DESC [ RunTime:0.005994s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10431640 LIMIT 2 [ RunTime:0.002050s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10431640 ORDER BY `minOrder` ASC [ RunTime:0.007641s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12114 LIMIT 4 [ RunTime:0.000487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12114 ORDER BY `minOrder` ASC [ RunTime:0.000436s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12114 ORDER BY `unit` DESC [ RunTime:0.000458s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12114 LIMIT 2 [ RunTime:0.000486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12114 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RK73H1JTTD6810F' OR `brand` LIKE 'KOA%' ) ) LIMIT 1 [ RunTime:0.001055s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7353 LIMIT 4 [ RunTime:0.002132s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7353 ORDER BY `minOrder` ASC [ RunTime:0.001823s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7353 ORDER BY `unit` DESC [ RunTime:0.002848s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7353 LIMIT 2 [ RunTime:0.001088s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7353 ORDER BY `minOrder` ASC [ RunTime:0.002172s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DF62-EP2428PCFA' OR `brand` LIKE 'HIROSE(HRS)%' ) ) LIMIT 1 [ RunTime:0.017977s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2176 LIMIT 4 [ RunTime:0.007408s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2176 ORDER BY `minOrder` ASC [ RunTime:0.008996s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2176 ORDER BY `unit` DESC [ RunTime:0.000777s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2176 LIMIT 2 [ RunTime:0.002240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2176 ORDER BY `minOrder` ASC [ RunTime:0.000308s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '22-23-2051' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.019609s ]
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:0.431682s ]