SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001836s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.013988s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002018s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.79' ) [ RunTime:0.004492s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002608s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.002440s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 42 LIMIT 1 [ RunTime:0.000345s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 42 [ RunTime:0.000231s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (481,482,483,484,485,486,487,488) [ RunTime:0.000260s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002327s ]
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.012524s ]
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.004621s ]
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.004090s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001332s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9905 LIMIT 4 [ RunTime:0.001244s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9905 ORDER BY `minOrder` ASC [ RunTime:0.000776s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002442s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9905 ORDER BY `unit` DESC [ RunTime:0.002956s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001043s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9905 LIMIT 2 [ RunTime:0.001195s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9905 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
select * from pdf where partno='2-1393788-2' and brandshort='AXICOM - TE CONNECTIVITY' limit 1 [ RunTime:0.009849s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001406s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2-1393788-2' OR `brand` LIKE 'AXICOM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.052830s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3610 LIMIT 4 [ RunTime:0.003669s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3610 ORDER BY `minOrder` ASC [ RunTime:0.013307s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3610 ORDER BY `unit` DESC [ RunTime:0.045550s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3610 LIMIT 2 [ RunTime:0.003321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3610 ORDER BY `minOrder` ASC [ RunTime:0.026684s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RTE24005' OR `brand` LIKE 'POTTER&BRUMFIELD - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.021764s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6049 LIMIT 4 [ RunTime:0.011821s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6049 ORDER BY `minOrder` ASC [ RunTime:0.015580s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6049 ORDER BY `unit` DESC [ RunTime:0.017934s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6049 LIMIT 2 [ RunTime:0.022813s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6049 ORDER BY `minOrder` ASC [ RunTime:0.003230s ]
select * from pdf where partno='HE721C0500' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.013784s ]
select foldpath,foldpath2,filename from pdf_file where id=1678321 limit 1 [ RunTime:0.003402s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HE721C0500' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.015067s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2976 LIMIT 4 [ RunTime:0.002909s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2976 ORDER BY `minOrder` ASC [ RunTime:0.060120s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2976 ORDER BY `unit` DESC [ RunTime:0.020752s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2976 LIMIT 2 [ RunTime:0.014040s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2976 ORDER BY `minOrder` ASC [ RunTime:0.005922s ]
select * from pdf where partno='1-1462039-8' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.009239s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1462039-8' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.023937s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16803 LIMIT 4 [ RunTime:0.015058s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16803 ORDER BY `minOrder` ASC [ RunTime:0.014005s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16803 ORDER BY `unit` DESC [ RunTime:0.019782s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16803 LIMIT 2 [ RunTime:0.020306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16803 ORDER BY `minOrder` ASC [ RunTime:0.007368s ]
select * from pdf where partno='1-1462039-8' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.004658s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1462039-8' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000552s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16211 LIMIT 4 [ RunTime:0.011126s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16211 ORDER BY `minOrder` ASC [ RunTime:0.010236s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16211 ORDER BY `unit` DESC [ RunTime:0.018331s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16211 LIMIT 2 [ RunTime:0.006391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16211 ORDER BY `minOrder` ASC [ RunTime:0.002509s ]
select * from pdf where partno='1123580000' and brandshort='WEIDMULLER' limit 1 [ RunTime:0.000873s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1123580000' OR `brand` LIKE 'WEIDMULLER%' ) ) LIMIT 1 [ RunTime:0.002717s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15784 LIMIT 4 [ RunTime:0.003407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15784 ORDER BY `minOrder` ASC [ RunTime:0.015625s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15784 ORDER BY `unit` DESC [ RunTime:0.020600s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15784 LIMIT 2 [ RunTime:0.033552s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15784 ORDER BY `minOrder` ASC [ RunTime:0.006344s ]
select * from pdf where partno='1-1462039-8' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.006282s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1462039-8' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003001s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9902 LIMIT 4 [ RunTime:0.000878s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9902 ORDER BY `minOrder` ASC [ RunTime:0.001148s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9902 ORDER BY `unit` DESC [ RunTime:0.001737s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9902 LIMIT 2 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9902 ORDER BY `minOrder` ASC [ RunTime:0.000341s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1393239-6' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000260s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6654 LIMIT 4 [ RunTime:0.000526s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6654 ORDER BY `minOrder` ASC [ RunTime:0.007827s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6654 ORDER BY `unit` DESC [ RunTime:0.004793s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6654 LIMIT 2 [ RunTime:0.031619s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6654 ORDER BY `minOrder` ASC [ RunTime:0.012686s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2271-12-001' OR `brand` LIKE 'COTO TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.016127s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 286 LIMIT 4 [ RunTime:0.005133s ]
SELECT * FROM `stock_price` WHERE `stockid` = 286 ORDER BY `minOrder` ASC [ RunTime:0.011124s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 286 ORDER BY `unit` DESC [ RunTime:0.003944s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 286 LIMIT 2 [ RunTime:0.000559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 286 ORDER BY `minOrder` ASC [ RunTime:0.001069s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2332-12-000' OR `brand` LIKE 'COTO TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.006302s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8942 LIMIT 4 [ RunTime:0.006931s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8942 ORDER BY `minOrder` ASC [ RunTime:0.000411s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8942 ORDER BY `unit` DESC [ RunTime:0.000270s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8942 LIMIT 2 [ RunTime:0.000253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8942 ORDER BY `minOrder` ASC [ RunTime:0.000273s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RTB14524..' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000316s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5465 LIMIT 4 [ RunTime:0.000287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5465 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5465 ORDER BY `unit` DESC [ RunTime:0.000244s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5465 LIMIT 2 [ RunTime:0.000240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5465 ORDER BY `minOrder` ASC [ RunTime:0.000424s ]
select * from pdf where partno='1432792-1' and brandshort='POTTER&BRUMFIELD - TE CONNECTIVITY' limit 1 [ RunTime:0.002133s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1432792-1' OR `brand` LIKE 'POTTER&BRUMFIELD - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000330s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9904 LIMIT 4 [ RunTime:0.000759s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9904 ORDER BY `minOrder` ASC [ RunTime:0.004198s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9904 ORDER BY `unit` DESC [ RunTime:0.009053s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9904 LIMIT 2 [ RunTime:0.010984s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9904 ORDER BY `minOrder` ASC [ RunTime:0.009991s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4-1462037-1' OR `brand` LIKE 'AXICOM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001202s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4463 LIMIT 4 [ RunTime:0.000745s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4463 ORDER BY `minOrder` ASC [ RunTime:0.003213s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4463 ORDER BY `unit` DESC [ RunTime:0.000606s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4463 LIMIT 2 [ RunTime:0.000273s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4463 ORDER BY `minOrder` ASC [ RunTime:0.004842s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RY2S-UDC24V' OR `brand` LIKE 'IDEC%' ) ) LIMIT 1 [ RunTime:0.003200s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8904 LIMIT 4 [ RunTime:0.010165s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8904 ORDER BY `minOrder` ASC [ RunTime:0.000493s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8904 ORDER BY `unit` DESC [ RunTime:0.010711s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8904 LIMIT 2 [ RunTime:0.010972s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8904 ORDER BY `minOrder` ASC [ RunTime:0.000764s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IM42NS' OR `brand` LIKE 'AXICOM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003908s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9901 LIMIT 4 [ RunTime:0.000396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9901 ORDER BY `minOrder` ASC [ RunTime:0.000342s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9901 ORDER BY `unit` DESC [ RunTime:0.002419s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9901 LIMIT 2 [ RunTime:0.000721s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9901 ORDER BY `minOrder` ASC [ RunTime:0.004553s ]
select * from pdf where partno='6-1419111-4' and brandshort='SCHRACK - TE CONNECTIVITY' limit 1 [ RunTime:0.002252s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '6-1419111-4' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003352s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10597 LIMIT 4 [ RunTime:0.001950s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10597 ORDER BY `minOrder` ASC [ RunTime:0.000540s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10597 ORDER BY `unit` DESC [ RunTime:0.000460s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10597 LIMIT 2 [ RunTime:0.000451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10597 ORDER BY `minOrder` ASC [ RunTime:0.001340s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '563280240040' OR `brand` LIKE 'FINDER%' ) ) LIMIT 1 [ RunTime:0.000737s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9092 LIMIT 4 [ RunTime:0.002270s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9092 ORDER BY `minOrder` ASC [ RunTime:0.000472s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9092 ORDER BY `unit` DESC [ RunTime:0.000527s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9092 LIMIT 2 [ RunTime:0.000454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9092 ORDER BY `minOrder` ASC [ RunTime:0.002859s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1122880000' OR `brand` LIKE 'WEIDMULLER%' ) ) LIMIT 1 [ RunTime:0.000353s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9091 LIMIT 4 [ RunTime:0.000354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9091 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9091 ORDER BY `unit` DESC [ RunTime:0.000305s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9091 LIMIT 2 [ RunTime:0.000300s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9091 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1123580000' OR `brand` LIKE 'WEIDMULLER%' ) ) LIMIT 1 [ RunTime:0.000320s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8424 LIMIT 4 [ RunTime:0.000301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8424 ORDER BY `minOrder` ASC [ RunTime:0.000326s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8424 ORDER BY `unit` DESC [ RunTime:0.000296s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8424 LIMIT 2 [ RunTime:0.000285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8424 ORDER BY `minOrder` ASC [ RunTime:0.005556s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G2RV-SR700-AP AC230' OR `brand` LIKE 'OMRON INDUSTRIAL AUTOMATION%' ) ) LIMIT 1 [ RunTime:0.003393s ]
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.008372s ]