SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001037s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001107s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001575s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.170' ) [ RunTime:0.000282s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001479s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000423s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 42 LIMIT 1 [ RunTime:0.000846s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 42 [ RunTime:0.000534s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (481,482,483,484,485,486,487,488) [ RunTime:0.006980s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001431s ]
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.023525s ]
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.021084s ]
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.012201s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002033s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9905 LIMIT 4 [ RunTime:0.011319s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002091s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9905 ORDER BY `minOrder` ASC [ RunTime:0.013628s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001175s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9905 ORDER BY `unit` DESC [ RunTime:0.018695s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002697s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9905 LIMIT 2 [ RunTime:0.036688s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9905 ORDER BY `minOrder` ASC [ RunTime:0.008537s ]
select * from pdf where partno='2-1393788-2' and brandshort='AXICOM - TE CONNECTIVITY' limit 1 [ RunTime:0.007628s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001133s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2-1393788-2' OR `brand` LIKE 'AXICOM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.006311s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3610 LIMIT 4 [ RunTime:0.040347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3610 ORDER BY `minOrder` ASC [ RunTime:0.017676s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3610 ORDER BY `unit` DESC [ RunTime:0.022061s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3610 LIMIT 2 [ RunTime:0.006010s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3610 ORDER BY `minOrder` ASC [ RunTime:0.007605s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RTE24005' OR `brand` LIKE 'POTTER&BRUMFIELD - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.017932s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6049 LIMIT 4 [ RunTime:0.002369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6049 ORDER BY `minOrder` ASC [ RunTime:0.002310s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6049 ORDER BY `unit` DESC [ RunTime:0.000439s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6049 LIMIT 2 [ RunTime:0.000354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6049 ORDER BY `minOrder` ASC [ RunTime:0.003471s ]
select * from pdf where partno='HE721C0500' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.009715s ]
select foldpath,foldpath2,filename from pdf_file where id=1678321 limit 1 [ RunTime:0.000546s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HE721C0500' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.001872s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2976 LIMIT 4 [ RunTime:0.022273s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2976 ORDER BY `minOrder` ASC [ RunTime:0.008635s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2976 ORDER BY `unit` DESC [ RunTime:0.004058s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2976 LIMIT 2 [ RunTime:0.003246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2976 ORDER BY `minOrder` ASC [ RunTime:0.001588s ]
select * from pdf where partno='1-1462039-8' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.001180s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1462039-8' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003729s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16803 LIMIT 4 [ RunTime:0.001151s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16803 ORDER BY `minOrder` ASC [ RunTime:0.000266s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16803 ORDER BY `unit` DESC [ RunTime:0.001505s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16803 LIMIT 2 [ RunTime:0.000777s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16803 ORDER BY `minOrder` ASC [ RunTime:0.000279s ]
select * from pdf where partno='1-1462039-8' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.000283s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1462039-8' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000235s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16211 LIMIT 4 [ RunTime:0.000491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16211 ORDER BY `minOrder` ASC [ RunTime:0.006595s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16211 ORDER BY `unit` DESC [ RunTime:0.006332s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16211 LIMIT 2 [ RunTime:0.017262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16211 ORDER BY `minOrder` ASC [ RunTime:0.017606s ]
select * from pdf where partno='1123580000' and brandshort='WEIDMULLER' limit 1 [ RunTime:0.004355s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1123580000' OR `brand` LIKE 'WEIDMULLER%' ) ) LIMIT 1 [ RunTime:0.003773s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15784 LIMIT 4 [ RunTime:0.009276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15784 ORDER BY `minOrder` ASC [ RunTime:0.013210s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15784 ORDER BY `unit` DESC [ RunTime:0.005334s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15784 LIMIT 2 [ RunTime:0.006354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15784 ORDER BY `minOrder` ASC [ RunTime:0.000388s ]
select * from pdf where partno='1-1462039-8' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.000437s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1462039-8' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000341s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9902 LIMIT 4 [ RunTime:0.000595s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9902 ORDER BY `minOrder` ASC [ RunTime:0.000519s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9902 ORDER BY `unit` DESC [ RunTime:0.008582s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9902 LIMIT 2 [ RunTime:0.000542s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9902 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1393239-6' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001016s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6654 LIMIT 4 [ RunTime:0.000335s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6654 ORDER BY `minOrder` ASC [ RunTime:0.000329s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6654 ORDER BY `unit` DESC [ RunTime:0.000309s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6654 LIMIT 2 [ RunTime:0.000306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6654 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2271-12-001' OR `brand` LIKE 'COTO TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.000322s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 286 LIMIT 4 [ RunTime:0.000286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 286 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 286 ORDER BY `unit` DESC [ RunTime:0.000306s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 286 LIMIT 2 [ RunTime:0.000309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 286 ORDER BY `minOrder` ASC [ RunTime:0.000299s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2332-12-000' OR `brand` LIKE 'COTO TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.000321s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8942 LIMIT 4 [ RunTime:0.000574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8942 ORDER BY `minOrder` ASC [ RunTime:0.004418s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8942 ORDER BY `unit` DESC [ RunTime:0.001060s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8942 LIMIT 2 [ RunTime:0.000489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8942 ORDER BY `minOrder` ASC [ RunTime:0.000284s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RTB14524..' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000864s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5465 LIMIT 4 [ RunTime:0.000525s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5465 ORDER BY `minOrder` ASC [ RunTime:0.003662s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5465 ORDER BY `unit` DESC [ RunTime:0.001208s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5465 LIMIT 2 [ RunTime:0.008723s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5465 ORDER BY `minOrder` ASC [ RunTime:0.003084s ]
select * from pdf where partno='1432792-1' and brandshort='POTTER&BRUMFIELD - TE CONNECTIVITY' limit 1 [ RunTime:0.002388s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1432792-1' OR `brand` LIKE 'POTTER&BRUMFIELD - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.010775s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9904 LIMIT 4 [ RunTime:0.012472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9904 ORDER BY `minOrder` ASC [ RunTime:0.012215s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9904 ORDER BY `unit` DESC [ RunTime:0.005190s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9904 LIMIT 2 [ RunTime:0.002495s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9904 ORDER BY `minOrder` ASC [ RunTime:0.006792s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4-1462037-1' OR `brand` LIKE 'AXICOM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001253s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4463 LIMIT 4 [ RunTime:0.003295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4463 ORDER BY `minOrder` ASC [ RunTime:0.001174s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4463 ORDER BY `unit` DESC [ RunTime:0.018453s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4463 LIMIT 2 [ RunTime:0.012262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4463 ORDER BY `minOrder` ASC [ RunTime:0.002628s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RY2S-UDC24V' OR `brand` LIKE 'IDEC%' ) ) LIMIT 1 [ RunTime:0.010306s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8904 LIMIT 4 [ RunTime:0.004789s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8904 ORDER BY `minOrder` ASC [ RunTime:0.009042s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8904 ORDER BY `unit` DESC [ RunTime:0.003123s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8904 LIMIT 2 [ RunTime:0.000446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8904 ORDER BY `minOrder` ASC [ RunTime:0.000468s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IM42NS' OR `brand` LIKE 'AXICOM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003233s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9901 LIMIT 4 [ RunTime:0.001794s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9901 ORDER BY `minOrder` ASC [ RunTime:0.007502s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9901 ORDER BY `unit` DESC [ RunTime:0.014282s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9901 LIMIT 2 [ RunTime:0.004114s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9901 ORDER BY `minOrder` ASC [ RunTime:0.002511s ]
select * from pdf where partno='6-1419111-4' and brandshort='SCHRACK - TE CONNECTIVITY' limit 1 [ RunTime:0.003430s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '6-1419111-4' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.004138s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10597 LIMIT 4 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10597 ORDER BY `minOrder` ASC [ RunTime:0.000199s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10597 ORDER BY `unit` DESC [ RunTime:0.000191s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10597 LIMIT 2 [ RunTime:0.000192s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10597 ORDER BY `minOrder` ASC [ RunTime:0.000181s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '563280240040' OR `brand` LIKE 'FINDER%' ) ) LIMIT 1 [ RunTime:0.000207s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9092 LIMIT 4 [ RunTime:0.000495s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9092 ORDER BY `minOrder` ASC [ RunTime:0.001288s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9092 ORDER BY `unit` DESC [ RunTime:0.000223s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9092 LIMIT 2 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9092 ORDER BY `minOrder` ASC [ RunTime:0.000189s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1122880000' OR `brand` LIKE 'WEIDMULLER%' ) ) LIMIT 1 [ RunTime:0.000170s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9091 LIMIT 4 [ RunTime:0.000243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9091 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9091 ORDER BY `unit` DESC [ RunTime:0.006729s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9091 LIMIT 2 [ RunTime:0.014183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9091 ORDER BY `minOrder` ASC [ RunTime:0.010448s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1123580000' OR `brand` LIKE 'WEIDMULLER%' ) ) LIMIT 1 [ RunTime:0.000321s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8424 LIMIT 4 [ RunTime:0.000844s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8424 ORDER BY `minOrder` ASC [ RunTime:0.009367s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8424 ORDER BY `unit` DESC [ RunTime:0.010733s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8424 LIMIT 2 [ RunTime:0.012784s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8424 ORDER BY `minOrder` ASC [ RunTime:0.003842s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G2RV-SR700-AP AC230' OR `brand` LIKE 'OMRON INDUSTRIAL AUTOMATION%' ) ) LIMIT 1 [ RunTime:0.010277s ]
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.001939s ]