SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002169s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000537s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002138s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000341s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002351s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000314s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 32 LIMIT 1 [ RunTime:0.000552s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 32 [ RunTime:0.000486s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340) [ RunTime:0.000420s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002215s ]
SELECT `s`.`id`,`s`.*,`u`.`company`,`t`.`name` FROM `stock` `s` LEFT JOIN `user` `u` ON `u`.`id`=`s`.`userid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` = 4 AND `categoryid` IN (318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:0.336681s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001539s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15675 LIMIT 4 [ RunTime:0.000405s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000967s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15675 ORDER BY `minOrder` ASC [ RunTime:0.000212s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000963s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15675 ORDER BY `unit` DESC [ RunTime:0.000190s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000944s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15675 LIMIT 2 [ RunTime:0.000187s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15675 ORDER BY `minOrder` ASC [ RunTime:0.000183s ]
select * from pdf where partno='BGS14PN10E6327XTSA1' and brandshort='INFINEON' limit 1 [ RunTime:0.000621s ]
select foldpath,foldpath2,filename from pdf_file where id=1306793 limit 1 [ RunTime:0.000389s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002210s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BGS14PN10E6327XTSA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000553s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15438 LIMIT 4 [ RunTime:0.000508s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15438 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15438 ORDER BY `unit` DESC [ RunTime:0.000325s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15438 LIMIT 2 [ RunTime:0.000303s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15438 ORDER BY `minOrder` ASC [ RunTime:0.000294s ]
select * from pdf where partno='AS179-92LF' and brandshort='SKYWORKS SOLUTIONS' limit 1 [ RunTime:0.000440s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AS179-92LF' OR `brand` LIKE 'SKYWORKS SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.000334s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( `status` = 4 AND `categoryid` IN (318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:0.411327s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( `status` = 4 AND `categoryid` IN (318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340) ) [ RunTime:0.235459s ]