SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002610s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.007014s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002077s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.018157s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001818s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000274s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 42 LIMIT 1 [ RunTime:0.000328s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 42 [ RunTime:0.000520s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (481,482,483,484,485,486,487,488) [ RunTime:0.005476s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002177s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` IN (481,482,483,484,485,486,487,488) ) AND `u`.`lockUser` = '0' [ RunTime:0.016022s ]
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 AND `categoryid` IN (481,482,483,484,485,486,487,488) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009530s ]
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 ('9905','3610','6049','2976','16803','16211','15784','9902','6654','286','8942','5465','9904','4463','8904','9901','10597','9092','9091','8424') ORDER BY FIELD(s.id, 9905,3610,6049,2976,16803,16211,15784,9902,6654,286,8942,5465,9904,4463,8904,9901,10597,9092,9091,8424) [ RunTime:0.013844s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.010565s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9905 LIMIT 4 [ RunTime:0.002162s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002069s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9905 ORDER BY `minOrder` ASC [ RunTime:0.000417s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002009s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9905 ORDER BY `unit` DESC [ RunTime:0.000422s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001747s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9905 LIMIT 2 [ RunTime:0.000375s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9905 ORDER BY `minOrder` ASC [ RunTime:0.004573s ]
select * from pdf where partno='2-1393788-2' and brandshort='AXICOM - TE CONNECTIVITY' limit 1 [ RunTime:0.002859s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002431s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2-1393788-2' OR `brand` LIKE 'AXICOM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002047s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3610 LIMIT 4 [ RunTime:0.000281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3610 ORDER BY `minOrder` ASC [ RunTime:0.000285s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3610 ORDER BY `unit` DESC [ RunTime:0.000270s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3610 LIMIT 2 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3610 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RTE24005' OR `brand` LIKE 'POTTER&BRUMFIELD - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000285s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6049 LIMIT 4 [ RunTime:0.000457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6049 ORDER BY `minOrder` ASC [ RunTime:0.006932s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6049 ORDER BY `unit` DESC [ RunTime:0.000484s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6049 LIMIT 2 [ RunTime:0.003234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6049 ORDER BY `minOrder` ASC [ RunTime:0.001416s ]
select * from pdf where partno='HE721C0500' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.003820s ]
select foldpath,foldpath2,filename from pdf_file where id=1678321 limit 1 [ RunTime:0.001143s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HE721C0500' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.011974s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2976 LIMIT 4 [ RunTime:0.001600s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2976 ORDER BY `minOrder` ASC [ RunTime:0.000222s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2976 ORDER BY `unit` DESC [ RunTime:0.000154s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2976 LIMIT 2 [ RunTime:0.000161s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2976 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
select * from pdf where partno='1-1462039-8' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.000249s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1462039-8' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000170s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16803 LIMIT 4 [ RunTime:0.000146s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16803 ORDER BY `minOrder` ASC [ RunTime:0.000147s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16803 ORDER BY `unit` DESC [ RunTime:0.000352s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16803 LIMIT 2 [ RunTime:0.000191s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16803 ORDER BY `minOrder` ASC [ RunTime:0.008806s ]
select * from pdf where partno='1-1462039-8' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.000200s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1462039-8' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000164s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16211 LIMIT 4 [ RunTime:0.000154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16211 ORDER BY `minOrder` ASC [ RunTime:0.000168s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16211 ORDER BY `unit` DESC [ RunTime:0.000178s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16211 LIMIT 2 [ RunTime:0.000220s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16211 ORDER BY `minOrder` ASC [ RunTime:0.000181s ]
select * from pdf where partno='1123580000' and brandshort='WEIDMULLER' limit 1 [ RunTime:0.000229s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1123580000' OR `brand` LIKE 'WEIDMULLER%' ) ) LIMIT 1 [ RunTime:0.000174s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15784 LIMIT 4 [ RunTime:0.000178s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15784 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15784 ORDER BY `unit` DESC [ RunTime:0.000180s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15784 LIMIT 2 [ RunTime:0.000178s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15784 ORDER BY `minOrder` ASC [ RunTime:0.000147s ]
select * from pdf where partno='1-1462039-8' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.000202s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1462039-8' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000187s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9902 LIMIT 4 [ RunTime:0.000181s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9902 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9902 ORDER BY `unit` DESC [ RunTime:0.000148s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9902 LIMIT 2 [ RunTime:0.000147s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9902 ORDER BY `minOrder` ASC [ RunTime:0.000147s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1393239-6' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000163s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6654 LIMIT 4 [ RunTime:0.000368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6654 ORDER BY `minOrder` ASC [ RunTime:0.001747s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6654 ORDER BY `unit` DESC [ RunTime:0.005282s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6654 LIMIT 2 [ RunTime:0.004475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6654 ORDER BY `minOrder` ASC [ RunTime:0.000582s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2271-12-001' OR `brand` LIKE 'COTO TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.001250s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 286 LIMIT 4 [ RunTime:0.001706s ]
SELECT * FROM `stock_price` WHERE `stockid` = 286 ORDER BY `minOrder` ASC [ RunTime:0.006871s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 286 ORDER BY `unit` DESC [ RunTime:0.005284s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 286 LIMIT 2 [ RunTime:0.003117s ]
SELECT * FROM `stock_price` WHERE `stockid` = 286 ORDER BY `minOrder` ASC [ RunTime:0.000520s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2332-12-000' OR `brand` LIKE 'COTO TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.002047s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8942 LIMIT 4 [ RunTime:0.000217s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8942 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8942 ORDER BY `unit` DESC [ RunTime:0.000180s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8942 LIMIT 2 [ RunTime:0.000181s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8942 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RTB14524..' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5465 LIMIT 4 [ RunTime:0.000220s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5465 ORDER BY `minOrder` ASC [ RunTime:0.000189s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5465 ORDER BY `unit` DESC [ RunTime:0.000352s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5465 LIMIT 2 [ RunTime:0.000395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5465 ORDER BY `minOrder` ASC [ RunTime:0.000313s ]
select * from pdf where partno='1432792-1' and brandshort='POTTER&BRUMFIELD - TE CONNECTIVITY' limit 1 [ RunTime:0.000419s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1432792-1' OR `brand` LIKE 'POTTER&BRUMFIELD - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001835s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9904 LIMIT 4 [ RunTime:0.000305s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9904 ORDER BY `minOrder` ASC [ RunTime:0.000301s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9904 ORDER BY `unit` DESC [ RunTime:0.000334s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9904 LIMIT 2 [ RunTime:0.000311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9904 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4-1462037-1' OR `brand` LIKE 'AXICOM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000321s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4463 LIMIT 4 [ RunTime:0.000338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4463 ORDER BY `minOrder` ASC [ RunTime:0.000307s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4463 ORDER BY `unit` DESC [ RunTime:0.009120s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4463 LIMIT 2 [ RunTime:0.000365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4463 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RY2S-UDC24V' OR `brand` LIKE 'IDEC%' ) ) LIMIT 1 [ RunTime:0.000454s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8904 LIMIT 4 [ RunTime:0.000422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8904 ORDER BY `minOrder` ASC [ RunTime:0.000422s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8904 ORDER BY `unit` DESC [ RunTime:0.000415s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8904 LIMIT 2 [ RunTime:0.000410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8904 ORDER BY `minOrder` ASC [ RunTime:0.000389s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IM42NS' OR `brand` LIKE 'AXICOM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000414s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9901 LIMIT 4 [ RunTime:0.000416s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9901 ORDER BY `minOrder` ASC [ RunTime:0.000438s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9901 ORDER BY `unit` DESC [ RunTime:0.000421s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9901 LIMIT 2 [ RunTime:0.000395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9901 ORDER BY `minOrder` ASC [ RunTime:0.000397s ]
select * from pdf where partno='6-1419111-4' and brandshort='SCHRACK - TE CONNECTIVITY' limit 1 [ RunTime:0.000585s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '6-1419111-4' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000445s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10597 LIMIT 4 [ RunTime:0.000443s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10597 ORDER BY `minOrder` ASC [ RunTime:0.000390s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10597 ORDER BY `unit` DESC [ RunTime:0.000408s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10597 LIMIT 2 [ RunTime:0.000414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10597 ORDER BY `minOrder` ASC [ RunTime:0.000422s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '563280240040' OR `brand` LIKE 'FINDER%' ) ) LIMIT 1 [ RunTime:0.000430s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9092 LIMIT 4 [ RunTime:0.000413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9092 ORDER BY `minOrder` ASC [ RunTime:0.000384s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9092 ORDER BY `unit` DESC [ RunTime:0.000404s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9092 LIMIT 2 [ RunTime:0.000385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9092 ORDER BY `minOrder` ASC [ RunTime:0.000384s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1122880000' OR `brand` LIKE 'WEIDMULLER%' ) ) LIMIT 1 [ RunTime:0.000401s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9091 LIMIT 4 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9091 ORDER BY `minOrder` ASC [ RunTime:0.000384s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9091 ORDER BY `unit` DESC [ RunTime:0.000383s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9091 LIMIT 2 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9091 ORDER BY `minOrder` ASC [ RunTime:0.004172s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1123580000' OR `brand` LIKE 'WEIDMULLER%' ) ) LIMIT 1 [ RunTime:0.001247s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8424 LIMIT 4 [ RunTime:0.004088s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8424 ORDER BY `minOrder` ASC [ RunTime:0.006332s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8424 ORDER BY `unit` DESC [ RunTime:0.001546s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8424 LIMIT 2 [ RunTime:0.001913s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8424 ORDER BY `minOrder` ASC [ RunTime:0.000312s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G2RV-SR700-AP AC230' OR `brand` LIKE 'OMRON INDUSTRIAL AUTOMATION%' ) ) LIMIT 1 [ RunTime:0.000300s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (481,482,483,484,485,486,487,488) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.004505s ]