SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001369s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001196s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002135s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '18.97.9.171' ) [ RunTime:0.000848s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001563s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000647s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 194 [ RunTime:0.000792s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 194 LIMIT 1 [ RunTime:0.000346s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002585s ]
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` FORCE INDEX ( idx_categoryid ) LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`categoryid` = '194' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000891s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001332s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14920 LIMIT 5 [ RunTime:0.000388s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001190s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14920 ORDER BY `minOrder` ASC [ RunTime:0.000480s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001761s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14920 ORDER BY `unit` DESC [ RunTime:0.000540s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001166s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14920 LIMIT 2 [ RunTime:0.000373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14920 ORDER BY `minOrder` ASC [ RunTime:0.000377s ]
select * from pdf where partno='KSZ8041NLI-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.002549s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002864s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ8041NLI-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.019392s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14910 LIMIT 5 [ RunTime:0.000663s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14910 ORDER BY `minOrder` ASC [ RunTime:0.000556s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14910 ORDER BY `unit` DESC [ RunTime:0.000439s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14910 LIMIT 2 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14910 ORDER BY `minOrder` ASC [ RunTime:0.000450s ]
select * from pdf where partno='KSZ8041NLI-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000874s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ8041NLI-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.015285s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14912 LIMIT 5 [ RunTime:0.000508s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14912 ORDER BY `minOrder` ASC [ RunTime:0.000458s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14912 ORDER BY `unit` DESC [ RunTime:0.000502s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14912 LIMIT 2 [ RunTime:0.000422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14912 ORDER BY `minOrder` ASC [ RunTime:0.000428s ]
select * from pdf where partno='KSZ9031RNXIC-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001036s ]
select foldpath,foldpath2,filename from pdf_file where id=1503653 limit 1 [ RunTime:0.002658s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ9031RNXIC-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.018418s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14917 LIMIT 5 [ RunTime:0.000733s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14917 ORDER BY `minOrder` ASC [ RunTime:0.000522s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14917 ORDER BY `unit` DESC [ RunTime:0.000462s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14917 LIMIT 2 [ RunTime:0.000423s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14917 ORDER BY `minOrder` ASC [ RunTime:0.000642s ]
select * from pdf where partno='KSZ8081MNXIA-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001176s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ8081MNXIA-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.019627s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14918 LIMIT 5 [ RunTime:0.000841s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14918 ORDER BY `minOrder` ASC [ RunTime:0.000622s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14918 ORDER BY `unit` DESC [ RunTime:0.000525s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14918 LIMIT 2 [ RunTime:0.000446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14918 ORDER BY `minOrder` ASC [ RunTime:0.000445s ]
select * from pdf where partno='KSZ9131RNXI-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.002392s ]
select foldpath,foldpath2,filename from pdf_file where id=2182166 limit 1 [ RunTime:0.000703s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ9131RNXI-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.012005s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14909 LIMIT 5 [ RunTime:0.000508s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14909 ORDER BY `minOrder` ASC [ RunTime:0.000452s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14909 ORDER BY `unit` DESC [ RunTime:0.000940s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14909 LIMIT 2 [ RunTime:0.000732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14909 ORDER BY `minOrder` ASC [ RunTime:0.000622s ]
select * from pdf where partno='KSZ9031RNXIA-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001109s ]
select foldpath,foldpath2,filename from pdf_file where id=1503653 limit 1 [ RunTime:0.000521s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ9031RNXIA-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.019547s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` FORCE INDEX ( idx_categoryid ) LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`categoryid` = '194' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000908s ]
SELECT brand, count(*) as count FROM ( SELECT `brand` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`categoryid` = '194' ) LIMIT 6 ) tmp GROUP BY `brand` [ RunTime:0.000902s ]