SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002556s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.070187s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002293s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.027450s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002437s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.032183s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.028112s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.011993s ]
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.011351s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002789s ]
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.023391s ]
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 9880,20 [ RunTime:0.092501s ]
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 ('11567','11326','9881','9254','8962','7617','4892','3472','3139','1457','875','14737','9953','10437109','6630','10524411','3943','10488213','10503546','6729') ORDER BY FIELD(s.id, 11567,11326,9881,9254,8962,7617,4892,3472,3139,1457,875,14737,9953,10437109,6630,10524411,3943,10488213,10503546,6729) [ RunTime:0.087097s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.017930s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11567 LIMIT 4 [ RunTime:0.022513s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.013151s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11567 ORDER BY `minOrder` ASC [ RunTime:0.019698s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002038s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11567 ORDER BY `unit` DESC [ RunTime:0.043100s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.026004s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11567 LIMIT 2 [ RunTime:0.056141s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11567 ORDER BY `minOrder` ASC [ RunTime:0.005656s ]
select * from pdf where partno='7-1452668-2' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.082258s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002828s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '7-1452668-2' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.059903s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11326 LIMIT 4 [ RunTime:0.031453s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11326 ORDER BY `minOrder` ASC [ RunTime:0.052697s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11326 ORDER BY `unit` DESC [ RunTime:0.054446s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11326 LIMIT 2 [ RunTime:0.039478s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11326 ORDER BY `minOrder` ASC [ RunTime:0.014417s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMR-06V-N' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.033175s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9881 LIMIT 4 [ RunTime:0.030559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9881 ORDER BY `minOrder` ASC [ RunTime:0.021446s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9881 ORDER BY `unit` DESC [ RunTime:0.018953s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9881 LIMIT 2 [ RunTime:0.021320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9881 ORDER BY `minOrder` ASC [ RunTime:0.011322s ]
select * from pdf where partno='EVQPUL02K' and brandshort='PANASONIC' limit 1 [ RunTime:0.017156s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EVQPUL02K' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.031838s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9254 LIMIT 4 [ RunTime:0.002632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9254 ORDER BY `minOrder` ASC [ RunTime:0.013663s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9254 ORDER BY `unit` DESC [ RunTime:0.004482s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9254 LIMIT 2 [ RunTime:0.008856s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9254 ORDER BY `minOrder` ASC [ RunTime:0.004866s ]
select * from pdf where partno='350218-3' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.008577s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '350218-3' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.017553s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8962 LIMIT 4 [ RunTime:0.006292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8962 ORDER BY `minOrder` ASC [ RunTime:0.026658s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8962 ORDER BY `unit` DESC [ RunTime:0.008521s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8962 LIMIT 2 [ RunTime:0.011716s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8962 ORDER BY `minOrder` ASC [ RunTime:0.012544s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B03B-PSILE-A1(LF)(SN)' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.013809s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7617 LIMIT 4 [ RunTime:0.013851s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7617 ORDER BY `minOrder` ASC [ RunTime:0.003605s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7617 ORDER BY `unit` DESC [ RunTime:0.019170s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7617 LIMIT 2 [ RunTime:0.016121s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7617 ORDER BY `minOrder` ASC [ RunTime:0.012701s ]
select * from pdf where partno='LQP03TN3N9B02D' and brandshort='MURATA' limit 1 [ RunTime:0.017866s ]
select foldpath,foldpath2,filename from pdf_file where id=1055461 limit 1 [ RunTime:0.009558s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LQP03TN3N9B02D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.023072s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4892 LIMIT 4 [ RunTime:0.047019s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4892 ORDER BY `minOrder` ASC [ RunTime:0.016588s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4892 ORDER BY `unit` DESC [ RunTime:0.019148s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4892 LIMIT 2 [ RunTime:0.007829s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4892 ORDER BY `minOrder` ASC [ RunTime:0.020580s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMBJ5.0CA' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.030573s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3472 LIMIT 4 [ RunTime:0.015474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3472 ORDER BY `minOrder` ASC [ RunTime:0.022839s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3472 ORDER BY `unit` DESC [ RunTime:0.038393s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3472 LIMIT 2 [ RunTime:0.015485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3472 ORDER BY `minOrder` ASC [ RunTime:0.014328s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '19198-0050' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.026240s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3139 LIMIT 4 [ RunTime:0.013540s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3139 ORDER BY `minOrder` ASC [ RunTime:0.019385s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3139 ORDER BY `unit` DESC [ RunTime:0.033681s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3139 LIMIT 2 [ RunTime:0.001092s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3139 ORDER BY `minOrder` ASC [ RunTime:0.001381s ]
select * from pdf where partno='MC7805BDTRKG' and brandshort='ONSEMI' limit 1 [ RunTime:0.006470s ]
select foldpath,foldpath2,filename from pdf_file where id=428007 limit 1 [ RunTime:0.008319s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC7805BDTRKG' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.030108s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1457 LIMIT 4 [ RunTime:0.004990s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1457 ORDER BY `minOrder` ASC [ RunTime:0.007881s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1457 ORDER BY `unit` DESC [ RunTime:0.008091s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1457 LIMIT 2 [ RunTime:0.004928s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1457 ORDER BY `minOrder` ASC [ RunTime:0.012363s ]
select * from pdf where partno='C0603C106M9PACTU' and brandshort='KEMET' limit 1 [ RunTime:0.007163s ]
select foldpath,foldpath2,filename from pdf_file where id=2077035 limit 1 [ RunTime:0.011792s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C0603C106M9PACTU' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.006136s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 875 LIMIT 4 [ RunTime:0.022426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 875 ORDER BY `minOrder` ASC [ RunTime:0.023369s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 875 ORDER BY `unit` DESC [ RunTime:0.008650s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 875 LIMIT 2 [ RunTime:0.007088s ]
SELECT * FROM `stock_price` WHERE `stockid` = 875 ORDER BY `minOrder` ASC [ RunTime:0.002661s ]
select * from pdf where partno='350967-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.015781s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '350967-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.010301s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14737 LIMIT 4 [ RunTime:0.000987s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14737 ORDER BY `minOrder` ASC [ RunTime:0.006790s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14737 ORDER BY `unit` DESC [ RunTime:0.013021s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14737 LIMIT 2 [ RunTime:0.004379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14737 ORDER BY `minOrder` ASC [ RunTime:0.017757s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N5817' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.006882s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9953 LIMIT 4 [ RunTime:0.000639s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9953 ORDER BY `minOrder` ASC [ RunTime:0.010175s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9953 ORDER BY `unit` DESC [ RunTime:0.029468s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9953 LIMIT 2 [ RunTime:0.009066s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9953 ORDER BY `minOrder` ASC [ RunTime:0.003739s ]
select * from pdf where partno='769-103' and brandshort='WAGO' limit 1 [ RunTime:0.002176s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '769-103' OR `brand` LIKE 'WAGO%' ) ) LIMIT 1 [ RunTime:0.015862s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10437109 LIMIT 4 [ RunTime:0.008723s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10437109 ORDER BY `minOrder` ASC [ RunTime:0.000817s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10437109 ORDER BY `unit` DESC [ RunTime:0.021998s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10437109 LIMIT 2 [ RunTime:0.008517s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10437109 ORDER BY `minOrder` ASC [ RunTime:0.003542s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6630 LIMIT 4 [ RunTime:0.001764s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6630 ORDER BY `minOrder` ASC [ RunTime:0.013549s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6630 ORDER BY `unit` DESC [ RunTime:0.015795s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6630 LIMIT 2 [ RunTime:0.002124s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6630 ORDER BY `minOrder` ASC [ RunTime:0.008739s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OPB848' OR `brand` LIKE 'TT ELECTRONICS / OPTEK TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.009785s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10524411 LIMIT 4 [ RunTime:0.010145s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10524411 ORDER BY `minOrder` ASC [ RunTime:0.008705s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10524411 ORDER BY `unit` DESC [ RunTime:0.006336s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10524411 LIMIT 2 [ RunTime:0.001772s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10524411 ORDER BY `minOrder` ASC [ RunTime:0.000874s ]
select * from pdf where partno='C3216X6S1V225K160AB' and brandshort='TDK Corporation' limit 1 [ RunTime:0.008291s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3943 LIMIT 4 [ RunTime:0.007751s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3943 ORDER BY `minOrder` ASC [ RunTime:0.004766s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3943 ORDER BY `unit` DESC [ RunTime:0.004801s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3943 LIMIT 2 [ RunTime:0.021248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3943 ORDER BY `minOrder` ASC [ RunTime:0.005249s ]
select * from pdf where partno='2106091-3' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.001471s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2106091-3' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001804s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10488213 LIMIT 4 [ RunTime:0.004126s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10488213 ORDER BY `minOrder` ASC [ RunTime:0.005732s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10488213 ORDER BY `unit` DESC [ RunTime:0.021135s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10488213 LIMIT 2 [ RunTime:0.025727s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10488213 ORDER BY `minOrder` ASC [ RunTime:0.006747s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10503546 LIMIT 4 [ RunTime:0.004279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10503546 ORDER BY `minOrder` ASC [ RunTime:0.006046s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10503546 ORDER BY `unit` DESC [ RunTime:0.000500s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10503546 LIMIT 2 [ RunTime:0.001640s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10503546 ORDER BY `minOrder` ASC [ RunTime:0.000376s ]
select * from pdf where partno='C3225X7R2E104K200AA' and brandshort='TDK Corporation' limit 1 [ RunTime:0.001687s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6729 LIMIT 4 [ RunTime:0.000441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6729 ORDER BY `minOrder` ASC [ RunTime:0.001516s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6729 ORDER BY `unit` DESC [ RunTime:0.000447s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6729 LIMIT 2 [ RunTime:0.024695s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6729 ORDER BY `minOrder` ASC [ RunTime:0.006250s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASMT-YTB7-0AA02' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.004492s ]
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.007022s ]