SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001368s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000528s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001536s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.130' ) [ RunTime:0.000270s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002323s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000379s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 309 LIMIT 1 [ RunTime:0.002205s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 309 [ RunTime:0.001178s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 31 [ RunTime:0.004041s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002677s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 309 ) AND `u`.`lockUser` = '0' [ RunTime:0.001134s ]
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` = 309 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013539s ]
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 ('3478','16558','15538','4191','3688','4192','4472','4432','4473','3479','7985','10299','3557') ORDER BY FIELD(s.id, 3478,16558,15538,4191,3688,4192,4472,4432,4473,3479,7985,10299,3557) [ RunTime:0.018761s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002575s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3478 LIMIT 4 [ RunTime:0.000622s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002859s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3478 ORDER BY `minOrder` ASC [ RunTime:0.001559s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004615s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3478 ORDER BY `unit` DESC [ RunTime:0.000689s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003668s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3478 LIMIT 2 [ RunTime:0.000598s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3478 ORDER BY `minOrder` ASC [ RunTime:0.002001s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001869s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4651-103E/ST' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.019448s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16558 LIMIT 4 [ RunTime:0.013666s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16558 ORDER BY `minOrder` ASC [ RunTime:0.003135s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16558 ORDER BY `unit` DESC [ RunTime:0.011908s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16558 LIMIT 2 [ RunTime:0.012675s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16558 ORDER BY `minOrder` ASC [ RunTime:0.005453s ]
select * from pdf where partno='MCP4651-103E/ST' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001846s ]
select foldpath,foldpath2,filename from pdf_file where id=1007320 limit 1 [ RunTime:0.005041s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4651-103E/ST' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.003462s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15538 LIMIT 4 [ RunTime:0.007738s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15538 ORDER BY `minOrder` ASC [ RunTime:0.031633s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15538 ORDER BY `unit` DESC [ RunTime:0.005075s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15538 LIMIT 2 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15538 ORDER BY `minOrder` ASC [ RunTime:0.001199s ]
select * from pdf where partno='MCP4651-103E/ST' and brandshort='MICROCHIP' limit 1 [ RunTime:0.008720s ]
select foldpath,foldpath2,filename from pdf_file where id=1007320 limit 1 [ RunTime:0.000316s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4651-103E/ST' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.002777s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4191 LIMIT 4 [ RunTime:0.005100s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4191 ORDER BY `minOrder` ASC [ RunTime:0.002734s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4191 ORDER BY `unit` DESC [ RunTime:0.003953s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4191 LIMIT 2 [ RunTime:0.000555s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4191 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP40D17T-103E/LT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.022518s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3688 LIMIT 4 [ RunTime:0.000750s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3688 ORDER BY `minOrder` ASC [ RunTime:0.011094s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3688 ORDER BY `unit` DESC [ RunTime:0.009088s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3688 LIMIT 2 [ RunTime:0.005419s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3688 ORDER BY `minOrder` ASC [ RunTime:0.000279s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4017T-103E/LT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.019187s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4192 LIMIT 4 [ RunTime:0.006078s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4192 ORDER BY `minOrder` ASC [ RunTime:0.002543s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4192 ORDER BY `unit` DESC [ RunTime:0.000421s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4192 LIMIT 2 [ RunTime:0.001380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4192 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP40D18T-502E/LT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.008680s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4472 LIMIT 4 [ RunTime:0.002089s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4472 ORDER BY `minOrder` ASC [ RunTime:0.001931s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4472 ORDER BY `unit` DESC [ RunTime:0.004993s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4472 LIMIT 2 [ RunTime:0.001535s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4472 ORDER BY `minOrder` ASC [ RunTime:0.002030s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4652-104E/UN' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.008812s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4432 LIMIT 4 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4432 ORDER BY `minOrder` ASC [ RunTime:0.000283s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4432 ORDER BY `unit` DESC [ RunTime:0.005236s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4432 LIMIT 2 [ RunTime:0.000256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4432 ORDER BY `minOrder` ASC [ RunTime:0.000215s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4011-202E/SN' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.008654s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4473 LIMIT 4 [ RunTime:0.003807s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4473 ORDER BY `minOrder` ASC [ RunTime:0.000430s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4473 ORDER BY `unit` DESC [ RunTime:0.003147s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4473 LIMIT 2 [ RunTime:0.000959s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4473 ORDER BY `minOrder` ASC [ RunTime:0.002002s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4151-103E/SN' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.009562s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3479 LIMIT 4 [ RunTime:0.003266s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3479 ORDER BY `minOrder` ASC [ RunTime:0.017050s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3479 ORDER BY `unit` DESC [ RunTime:0.002640s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3479 LIMIT 2 [ RunTime:0.006979s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3479 ORDER BY `minOrder` ASC [ RunTime:0.007517s ]
select * from pdf where partno='MCP4661-103E/ST' and brandshort='MICROCHIP' limit 1 [ RunTime:0.004165s ]
select foldpath,foldpath2,filename from pdf_file where id=1007323 limit 1 [ RunTime:0.000910s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4661-103E/ST' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.014386s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7985 LIMIT 4 [ RunTime:0.010379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7985 ORDER BY `minOrder` ASC [ RunTime:0.010762s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7985 ORDER BY `unit` DESC [ RunTime:0.000538s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7985 LIMIT 2 [ RunTime:0.003171s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7985 ORDER BY `minOrder` ASC [ RunTime:0.008714s ]
select * from pdf where partno='DS1881E-050+' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.006909s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS1881E-050+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.011579s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10299 LIMIT 4 [ RunTime:0.000578s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10299 ORDER BY `minOrder` ASC [ RunTime:0.001646s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10299 ORDER BY `unit` DESC [ RunTime:0.008335s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10299 LIMIT 2 [ RunTime:0.000518s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10299 ORDER BY `minOrder` ASC [ RunTime:0.001234s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'X95820WV14IZ-2.7T1' OR `brand` LIKE 'RENESAS%' ) ) LIMIT 1 [ RunTime:0.009840s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3557 LIMIT 4 [ RunTime:0.001799s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3557 ORDER BY `minOrder` ASC [ RunTime:0.005862s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3557 ORDER BY `unit` DESC [ RunTime:0.001559s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3557 LIMIT 2 [ RunTime:0.000513s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3557 ORDER BY `minOrder` ASC [ RunTime:0.000373s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP4551-103E/MS' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.015657s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 309 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.009577s ]