SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001845s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001016s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002217s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.000286s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001971s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000272s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 42 LIMIT 1 [ RunTime:0.000306s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 42 [ RunTime:0.000272s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (481,482,483,484,485,486,487,488) [ RunTime:0.000321s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002508s ]
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.002462s ]
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.005070s ]
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.016617s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001896s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9905 LIMIT 4 [ RunTime:0.000441s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002937s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9905 ORDER BY `minOrder` ASC [ RunTime:0.000447s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001902s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9905 ORDER BY `unit` DESC [ RunTime:0.000436s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002580s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9905 LIMIT 2 [ RunTime:0.006423s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9905 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
select * from pdf where partno='2-1393788-2' and brandshort='AXICOM - TE CONNECTIVITY' limit 1 [ RunTime:0.001850s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001334s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2-1393788-2' OR `brand` LIKE 'AXICOM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.006524s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3610 LIMIT 4 [ RunTime:0.000349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3610 ORDER BY `minOrder` ASC [ RunTime:0.001859s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3610 ORDER BY `unit` DESC [ RunTime:0.002519s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3610 LIMIT 2 [ RunTime:0.004365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3610 ORDER BY `minOrder` ASC [ RunTime:0.000203s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RTE24005' OR `brand` LIKE 'POTTER&BRUMFIELD - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000862s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6049 LIMIT 4 [ RunTime:0.000253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6049 ORDER BY `minOrder` ASC [ RunTime:0.003125s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6049 ORDER BY `unit` DESC [ RunTime:0.003333s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6049 LIMIT 2 [ RunTime:0.001295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6049 ORDER BY `minOrder` ASC [ RunTime:0.000725s ]
select * from pdf where partno='HE721C0500' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001127s ]
select foldpath,foldpath2,filename from pdf_file where id=1678321 limit 1 [ RunTime:0.001540s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HE721C0500' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.010554s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2976 LIMIT 4 [ RunTime:0.000349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2976 ORDER BY `minOrder` ASC [ RunTime:0.000276s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2976 ORDER BY `unit` DESC [ RunTime:0.000297s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2976 LIMIT 2 [ RunTime:0.002244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2976 ORDER BY `minOrder` ASC [ RunTime:0.003740s ]
select * from pdf where partno='1-1462039-8' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.001389s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1462039-8' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.011629s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16803 LIMIT 4 [ RunTime:0.005149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16803 ORDER BY `minOrder` ASC [ RunTime:0.005771s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16803 ORDER BY `unit` DESC [ RunTime:0.000884s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16803 LIMIT 2 [ RunTime:0.001190s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16803 ORDER BY `minOrder` ASC [ RunTime:0.001354s ]
select * from pdf where partno='1-1462039-8' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.000279s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1462039-8' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000200s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16211 LIMIT 4 [ RunTime:0.000254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16211 ORDER BY `minOrder` ASC [ RunTime:0.003908s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16211 ORDER BY `unit` DESC [ RunTime:0.001207s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16211 LIMIT 2 [ RunTime:0.001123s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16211 ORDER BY `minOrder` ASC [ RunTime:0.000197s ]
select * from pdf where partno='1123580000' and brandshort='WEIDMULLER' limit 1 [ RunTime:0.000897s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1123580000' OR `brand` LIKE 'WEIDMULLER%' ) ) LIMIT 1 [ RunTime:0.002748s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15784 LIMIT 4 [ RunTime:0.004775s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15784 ORDER BY `minOrder` ASC [ RunTime:0.004133s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15784 ORDER BY `unit` DESC [ RunTime:0.001092s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15784 LIMIT 2 [ RunTime:0.003538s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15784 ORDER BY `minOrder` ASC [ RunTime:0.001409s ]
select * from pdf where partno='1-1462039-8' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.000433s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1462039-8' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000175s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9902 LIMIT 4 [ RunTime:0.000303s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9902 ORDER BY `minOrder` ASC [ RunTime:0.000266s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9902 ORDER BY `unit` DESC [ RunTime:0.000292s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9902 LIMIT 2 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9902 ORDER BY `minOrder` ASC [ RunTime:0.000838s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1393239-6' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001069s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6654 LIMIT 4 [ RunTime:0.000562s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6654 ORDER BY `minOrder` ASC [ RunTime:0.000190s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6654 ORDER BY `unit` DESC [ RunTime:0.000186s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6654 LIMIT 2 [ RunTime:0.000410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6654 ORDER BY `minOrder` ASC [ RunTime:0.000158s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2271-12-001' OR `brand` LIKE 'COTO TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.001512s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 286 LIMIT 4 [ RunTime:0.001691s ]
SELECT * FROM `stock_price` WHERE `stockid` = 286 ORDER BY `minOrder` ASC [ RunTime:0.004427s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 286 ORDER BY `unit` DESC [ RunTime:0.002984s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 286 LIMIT 2 [ RunTime:0.000303s ]
SELECT * FROM `stock_price` WHERE `stockid` = 286 ORDER BY `minOrder` ASC [ RunTime:0.000164s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2332-12-000' OR `brand` LIKE 'COTO TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.000772s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8942 LIMIT 4 [ RunTime:0.000291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8942 ORDER BY `minOrder` ASC [ RunTime:0.000440s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8942 ORDER BY `unit` DESC [ RunTime:0.002093s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8942 LIMIT 2 [ RunTime:0.002565s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8942 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RTB14524..' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000539s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5465 LIMIT 4 [ RunTime:0.000255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5465 ORDER BY `minOrder` ASC [ RunTime:0.000544s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5465 ORDER BY `unit` DESC [ RunTime:0.000299s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5465 LIMIT 2 [ RunTime:0.001983s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5465 ORDER BY `minOrder` ASC [ RunTime:0.000206s ]
select * from pdf where partno='1432792-1' and brandshort='POTTER&BRUMFIELD - TE CONNECTIVITY' limit 1 [ RunTime:0.003441s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1432792-1' OR `brand` LIKE 'POTTER&BRUMFIELD - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000726s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9904 LIMIT 4 [ RunTime:0.000298s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9904 ORDER BY `minOrder` ASC [ RunTime:0.000305s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9904 ORDER BY `unit` DESC [ RunTime:0.000593s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9904 LIMIT 2 [ RunTime:0.001938s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9904 ORDER BY `minOrder` ASC [ RunTime:0.000646s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4-1462037-1' OR `brand` LIKE 'AXICOM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.006567s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4463 LIMIT 4 [ RunTime:0.002355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4463 ORDER BY `minOrder` ASC [ RunTime:0.002625s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4463 ORDER BY `unit` DESC [ RunTime:0.003015s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4463 LIMIT 2 [ RunTime:0.002534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4463 ORDER BY `minOrder` ASC [ RunTime:0.000670s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RY2S-UDC24V' OR `brand` LIKE 'IDEC%' ) ) LIMIT 1 [ RunTime:0.008891s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8904 LIMIT 4 [ RunTime:0.002409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8904 ORDER BY `minOrder` ASC [ RunTime:0.002496s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8904 ORDER BY `unit` DESC [ RunTime:0.002340s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8904 LIMIT 2 [ RunTime:0.002831s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8904 ORDER BY `minOrder` ASC [ RunTime:0.003908s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IM42NS' OR `brand` LIKE 'AXICOM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.004579s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9901 LIMIT 4 [ RunTime:0.010562s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9901 ORDER BY `minOrder` ASC [ RunTime:0.001514s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9901 ORDER BY `unit` DESC [ RunTime:0.000385s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9901 LIMIT 2 [ RunTime:0.000306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9901 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
select * from pdf where partno='6-1419111-4' and brandshort='SCHRACK - TE CONNECTIVITY' limit 1 [ RunTime:0.002167s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '6-1419111-4' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.005567s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10597 LIMIT 4 [ RunTime:0.004586s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10597 ORDER BY `minOrder` ASC [ RunTime:0.000326s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10597 ORDER BY `unit` DESC [ RunTime:0.004053s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10597 LIMIT 2 [ RunTime:0.005384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10597 ORDER BY `minOrder` ASC [ RunTime:0.003104s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '563280240040' OR `brand` LIKE 'FINDER%' ) ) LIMIT 1 [ RunTime:0.000904s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9092 LIMIT 4 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9092 ORDER BY `minOrder` ASC [ RunTime:0.004224s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9092 ORDER BY `unit` DESC [ RunTime:0.002843s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9092 LIMIT 2 [ RunTime:0.001720s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9092 ORDER BY `minOrder` ASC [ RunTime:0.000203s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1122880000' OR `brand` LIKE 'WEIDMULLER%' ) ) LIMIT 1 [ RunTime:0.000747s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9091 LIMIT 4 [ RunTime:0.012074s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9091 ORDER BY `minOrder` ASC [ RunTime:0.000439s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9091 ORDER BY `unit` DESC [ RunTime:0.002362s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9091 LIMIT 2 [ RunTime:0.005099s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9091 ORDER BY `minOrder` ASC [ RunTime:0.004320s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1123580000' OR `brand` LIKE 'WEIDMULLER%' ) ) LIMIT 1 [ RunTime:0.000278s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8424 LIMIT 4 [ RunTime:0.000491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8424 ORDER BY `minOrder` ASC [ RunTime:0.001067s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8424 ORDER BY `unit` DESC [ RunTime:0.003564s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8424 LIMIT 2 [ RunTime:0.002390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8424 ORDER BY `minOrder` ASC [ RunTime:0.017938s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G2RV-SR700-AP AC230' OR `brand` LIKE 'OMRON INDUSTRIAL AUTOMATION%' ) ) LIMIT 1 [ RunTime:0.012085s ]
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.012007s ]