SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002466s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000657s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002760s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.001406s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002404s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.004046s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.001372s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000305s ]
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.000503s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002862s ]
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.417208s ]
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 9500,20 [ RunTime:0.218344s ]
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 ('11848','11602','11366','11039','10917','9342','9291','9043','7648','7518','7206','6734','5811','5531','4624','4533','4303','3890','3328','3154') ORDER BY FIELD(s.id, 11848,11602,11366,11039,10917,9342,9291,9043,7648,7518,7206,6734,5811,5531,4624,4533,4303,3890,3328,3154) [ RunTime:0.019697s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004074s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11848 LIMIT 4 [ RunTime:0.012449s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002430s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11848 ORDER BY `minOrder` ASC [ RunTime:0.005219s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001506s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11848 ORDER BY `unit` DESC [ RunTime:0.003538s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000932s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11848 LIMIT 2 [ RunTime:0.005058s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11848 ORDER BY `minOrder` ASC [ RunTime:0.000291s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000954s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AP3156FVG-7' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.004910s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11602 LIMIT 4 [ RunTime:0.000928s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11602 ORDER BY `minOrder` ASC [ RunTime:0.001885s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11602 ORDER BY `unit` DESC [ RunTime:0.000367s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11602 LIMIT 2 [ RunTime:0.001011s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11602 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-292132-0' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002324s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11366 LIMIT 4 [ RunTime:0.001649s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11366 ORDER BY `minOrder` ASC [ RunTime:0.007672s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11366 ORDER BY `unit` DESC [ RunTime:0.000402s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11366 LIMIT 2 [ RunTime:0.001044s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11366 ORDER BY `minOrder` ASC [ RunTime:0.000264s ]
select * from pdf where partno='505487-8000' and brandshort='MOLEX' limit 1 [ RunTime:0.006066s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '505487-8000' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.018790s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11039 LIMIT 4 [ RunTime:0.001682s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11039 ORDER BY `minOrder` ASC [ RunTime:0.002528s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11039 ORDER BY `unit` DESC [ RunTime:0.000578s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11039 LIMIT 2 [ RunTime:0.001934s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11039 ORDER BY `minOrder` ASC [ RunTime:0.002097s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '105307-1205' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.014334s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10917 LIMIT 4 [ RunTime:0.000457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10917 ORDER BY `minOrder` ASC [ RunTime:0.002817s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10917 ORDER BY `unit` DESC [ RunTime:0.004091s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10917 LIMIT 2 [ RunTime:0.006115s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10917 ORDER BY `minOrder` ASC [ RunTime:0.004187s ]
select * from pdf where partno='66255-2' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.005297s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '66255-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002300s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9342 LIMIT 4 [ RunTime:0.001563s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9342 ORDER BY `minOrder` ASC [ RunTime:0.004273s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9342 ORDER BY `unit` DESC [ RunTime:0.006184s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9342 LIMIT 2 [ RunTime:0.000564s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9342 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VNH7100BASTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.008395s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9291 LIMIT 4 [ RunTime:0.002760s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9291 ORDER BY `minOrder` ASC [ RunTime:0.002263s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9291 ORDER BY `unit` DESC [ RunTime:0.005123s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9291 LIMIT 2 [ RunTime:0.001526s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9291 ORDER BY `minOrder` ASC [ RunTime:0.003410s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GCM188L81H104KA57D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.010547s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9043 LIMIT 4 [ RunTime:0.004720s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9043 ORDER BY `minOrder` ASC [ RunTime:0.001823s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9043 ORDER BY `unit` DESC [ RunTime:0.000333s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9043 LIMIT 2 [ RunTime:0.002246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9043 ORDER BY `minOrder` ASC [ RunTime:0.000166s ]
select * from pdf where partno='C1206X683KCRACTU' and brandshort='KEMET' limit 1 [ RunTime:0.006482s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C1206X683KCRACTU' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.008117s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7648 LIMIT 4 [ RunTime:0.001302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7648 ORDER BY `minOrder` ASC [ RunTime:0.004356s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7648 ORDER BY `unit` DESC [ RunTime:0.003777s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7648 LIMIT 2 [ RunTime:0.003263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7648 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NTMFS4C09NT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.029637s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7518 LIMIT 4 [ RunTime:0.001317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7518 ORDER BY `minOrder` ASC [ RunTime:0.002534s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7518 ORDER BY `unit` DESC [ RunTime:0.005919s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7518 LIMIT 2 [ RunTime:0.007003s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7518 ORDER BY `minOrder` ASC [ RunTime:0.000214s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BC807-25LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.008831s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7206 LIMIT 4 [ RunTime:0.001441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7206 ORDER BY `minOrder` ASC [ RunTime:0.003336s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7206 ORDER BY `unit` DESC [ RunTime:0.003845s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7206 LIMIT 2 [ RunTime:0.007841s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7206 ORDER BY `minOrder` ASC [ RunTime:0.000200s ]
select * from pdf where partno='USB3076-30-A' and brandshort='GCT GLOBAL CONNECTOR TECHNOLOGY' limit 1 [ RunTime:0.005184s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'USB3076-30-A' OR `brand` LIKE 'GCT (GLOBAL CONNECTOR TECHNOLOGY)%' ) ) LIMIT 1 [ RunTime:0.008170s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6734 LIMIT 4 [ RunTime:0.000360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6734 ORDER BY `minOrder` ASC [ RunTime:0.001647s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6734 ORDER BY `unit` DESC [ RunTime:0.019596s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6734 LIMIT 2 [ RunTime:0.002646s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6734 ORDER BY `minOrder` ASC [ RunTime:0.000704s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UVZ1C332MHD1TO' OR `brand` LIKE 'NICHICON%' ) ) LIMIT 1 [ RunTime:0.004655s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5811 LIMIT 4 [ RunTime:0.013530s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5811 ORDER BY `minOrder` ASC [ RunTime:0.007183s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5811 ORDER BY `unit` DESC [ RunTime:0.002572s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5811 LIMIT 2 [ RunTime:0.000879s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5811 ORDER BY `minOrder` ASC [ RunTime:0.002930s ]
select * from pdf where partno='TPSC686K016R0200' and brandshort='KYOCERA AVX' limit 1 [ RunTime:0.009714s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TPSC686K016R0200' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.014707s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5531 LIMIT 4 [ RunTime:0.000886s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5531 ORDER BY `minOrder` ASC [ RunTime:0.003317s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5531 ORDER BY `unit` DESC [ RunTime:0.001277s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5531 LIMIT 2 [ RunTime:0.000332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5531 ORDER BY `minOrder` ASC [ RunTime:0.000191s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SL22 2R515' OR `brand` LIKE 'AMETHERM%' ) ) LIMIT 1 [ RunTime:0.002137s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4624 LIMIT 4 [ RunTime:0.000347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4624 ORDER BY `minOrder` ASC [ RunTime:0.003999s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4624 ORDER BY `unit` DESC [ RunTime:0.003580s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4624 LIMIT 2 [ RunTime:0.001676s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4624 ORDER BY `minOrder` ASC [ RunTime:0.000223s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC1210B222K102CT' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001149s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4533 LIMIT 4 [ RunTime:0.001409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4533 ORDER BY `minOrder` ASC [ RunTime:0.006241s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4533 ORDER BY `unit` DESC [ RunTime:0.009164s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4533 LIMIT 2 [ RunTime:0.007190s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4533 ORDER BY `minOrder` ASC [ RunTime:0.002935s ]
select * from pdf where partno='1N4448WS-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.009639s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4448WS-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.010400s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4303 LIMIT 4 [ RunTime:0.000828s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4303 ORDER BY `minOrder` ASC [ RunTime:0.008639s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4303 ORDER BY `unit` DESC [ RunTime:0.002388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4303 LIMIT 2 [ RunTime:0.006126s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4303 ORDER BY `minOrder` ASC [ RunTime:0.002618s ]
select * from pdf where partno='SMCJ200A' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.019071s ]
select foldpath,foldpath2,filename from pdf_file where id=421890 limit 1 [ RunTime:0.007869s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMCJ200A' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.026350s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3890 LIMIT 4 [ RunTime:0.008212s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3890 ORDER BY `minOrder` ASC [ RunTime:0.002759s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3890 ORDER BY `unit` DESC [ RunTime:0.003329s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3890 LIMIT 2 [ RunTime:0.001748s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3890 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '09450-F/45' OR `brand` LIKE 'QUALTEK ELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.008325s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3328 LIMIT 4 [ RunTime:0.019326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3328 ORDER BY `minOrder` ASC [ RunTime:0.004676s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3328 ORDER BY `unit` DESC [ RunTime:0.000495s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3328 LIMIT 2 [ RunTime:0.000392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3328 ORDER BY `minOrder` ASC [ RunTime:0.000346s ]
select * from pdf where partno='0805YD106KAT2A' and brandshort='KYOCERA AVX' limit 1 [ RunTime:0.000596s ]
select foldpath,foldpath2,filename from pdf_file where id=1537835 limit 1 [ RunTime:0.000280s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0805YD106KAT2A' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.000408s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3154 LIMIT 4 [ RunTime:0.005680s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3154 ORDER BY `minOrder` ASC [ RunTime:0.004666s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3154 ORDER BY `unit` DESC [ RunTime:0.004933s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3154 LIMIT 2 [ RunTime:0.001725s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3154 ORDER BY `minOrder` ASC [ RunTime:0.000437s ]
select * from pdf where partno='CRCW040210R0FKED' and brandshort='VISHAY' limit 1 [ RunTime:0.011128s ]
select foldpath,foldpath2,filename from pdf_file where id=1523774 limit 1 [ RunTime:0.004664s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW040210R0FKED' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.030224s ]
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.414012s ]