SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002657s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000524s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001660s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000295s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001722s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000267s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 133 LIMIT 1 [ RunTime:0.000318s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 133 [ RunTime:0.000219s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 22 [ RunTime:0.000228s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002228s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 133 ) [ RunTime:0.003585s ]
SELECT `s`.`id`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 133 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001932s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001966s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3434 LIMIT 4 [ RunTime:0.000258s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001639s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3434 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001876s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3434 ORDER BY `unit` DESC [ RunTime:0.000248s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001655s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3434 LIMIT 2 [ RunTime:0.000239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3434 ORDER BY `minOrder` ASC [ RunTime:0.000229s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001702s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLP521-4' OR `brand` LIKE 'ISOCOM%' ) ) LIMIT 1 [ RunTime:0.000280s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5841 LIMIT 4 [ RunTime:0.000432s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5841 ORDER BY `minOrder` ASC [ RunTime:0.006292s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5841 ORDER BY `unit` DESC [ RunTime:0.002713s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5841 LIMIT 2 [ RunTime:0.003510s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5841 ORDER BY `minOrder` ASC [ RunTime:0.003253s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TCMT1117' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.012619s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5993 LIMIT 4 [ RunTime:0.000412s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5993 ORDER BY `minOrder` ASC [ RunTime:0.002469s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5993 ORDER BY `unit` DESC [ RunTime:0.000243s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5993 LIMIT 2 [ RunTime:0.000226s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5993 ORDER BY `minOrder` ASC [ RunTime:0.000215s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KP-1608P1C' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.000252s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16768 LIMIT 4 [ RunTime:0.000390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16768 ORDER BY `minOrder` ASC [ RunTime:0.005833s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16768 ORDER BY `unit` DESC [ RunTime:0.002854s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16768 LIMIT 2 [ RunTime:0.000426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16768 ORDER BY `minOrder` ASC [ RunTime:0.002707s ]
select * from pdf where partno='TCMT1113' and brandshort='VISHAY' limit 1 [ RunTime:0.008250s ]
select foldpath,foldpath2,filename from pdf_file where id=1059931 limit 1 [ RunTime:0.008172s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TCMT1113' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.026282s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15749 LIMIT 4 [ RunTime:0.007047s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15749 ORDER BY `minOrder` ASC [ RunTime:0.006473s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15749 ORDER BY `unit` DESC [ RunTime:0.005313s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15749 LIMIT 2 [ RunTime:0.003500s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15749 ORDER BY `minOrder` ASC [ RunTime:0.000414s ]
select * from pdf where partno='TCMT1113' and brandshort='VISHAY' limit 1 [ RunTime:0.000718s ]
select foldpath,foldpath2,filename from pdf_file where id=1059931 limit 1 [ RunTime:0.000354s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TCMT1113' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000417s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2920 LIMIT 4 [ RunTime:0.000550s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2920 ORDER BY `minOrder` ASC [ RunTime:0.002689s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2920 ORDER BY `unit` DESC [ RunTime:0.000400s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2920 LIMIT 2 [ RunTime:0.000365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2920 ORDER BY `minOrder` ASC [ RunTime:0.000367s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ILD621GB' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000413s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6410 LIMIT 4 [ RunTime:0.000557s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6410 ORDER BY `minOrder` ASC [ RunTime:0.004970s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6410 ORDER BY `unit` DESC [ RunTime:0.000390s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6410 LIMIT 2 [ RunTime:0.000379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6410 ORDER BY `minOrder` ASC [ RunTime:0.000364s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FOD817A3SD' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5995 LIMIT 4 [ RunTime:0.000367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5995 ORDER BY `minOrder` ASC [ RunTime:0.000407s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5995 ORDER BY `unit` DESC [ RunTime:0.000375s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5995 LIMIT 2 [ RunTime:0.000366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5995 ORDER BY `minOrder` ASC [ RunTime:0.000367s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L-53P3C' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.000384s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3435 LIMIT 4 [ RunTime:0.000364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3435 ORDER BY `minOrder` ASC [ RunTime:0.000366s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3435 ORDER BY `unit` DESC [ RunTime:0.000378s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3435 LIMIT 2 [ RunTime:0.000394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3435 ORDER BY `minOrder` ASC [ RunTime:0.000412s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'H11D1' OR `brand` LIKE 'ISOCOM%' ) ) LIMIT 1 [ RunTime:0.000406s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5840 LIMIT 4 [ RunTime:0.000858s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5840 ORDER BY `minOrder` ASC [ RunTime:0.000605s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5840 ORDER BY `unit` DESC [ RunTime:0.001660s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5840 LIMIT 2 [ RunTime:0.000608s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5840 ORDER BY `minOrder` ASC [ RunTime:0.002095s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TCMT1113' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000463s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6409 LIMIT 4 [ RunTime:0.001249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6409 ORDER BY `minOrder` ASC [ RunTime:0.000604s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6409 ORDER BY `unit` DESC [ RunTime:0.000578s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6409 LIMIT 2 [ RunTime:0.000544s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6409 ORDER BY `minOrder` ASC [ RunTime:0.000384s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4N35SR2M' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.014333s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 133 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.013170s ]