SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002059s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000498s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002293s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.153' ) [ RunTime:0.000325s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001806s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000332s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 149 LIMIT 1 [ RunTime:0.000266s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 149 [ RunTime:0.000220s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 25 [ RunTime:0.000212s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002171s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 149 ) [ RunTime:0.000335s ]
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` = 149 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000408s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001937s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3872 LIMIT 4 [ RunTime:0.000298s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002123s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3872 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001635s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3872 ORDER BY `unit` DESC [ RunTime:0.000295s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001706s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3872 LIMIT 2 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3872 ORDER BY `minOrder` ASC [ RunTime:0.000225s ]
select * from pdf where partno='CG75L' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000395s ]
select foldpath,foldpath2,filename from pdf_file where id=1191817 limit 1 [ RunTime:0.000249s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002251s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CG75L' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000347s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12374 LIMIT 4 [ RunTime:0.000288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12374 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12374 ORDER BY `unit` DESC [ RunTime:0.000229s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12374 LIMIT 2 [ RunTime:0.000225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12374 ORDER BY `minOrder` ASC [ RunTime:0.000219s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B88069X1913T902' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.000225s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6786 LIMIT 4 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6786 ORDER BY `minOrder` ASC [ RunTime:0.000277s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6786 ORDER BY `unit` DESC [ RunTime:0.000246s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6786 LIMIT 2 [ RunTime:0.000227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6786 ORDER BY `minOrder` ASC [ RunTime:0.000216s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2036-07-SMLF' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000239s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5513 LIMIT 4 [ RunTime:0.000235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5513 ORDER BY `minOrder` ASC [ RunTime:0.000224s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5513 ORDER BY `unit` DESC [ RunTime:0.000277s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5513 LIMIT 2 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5513 ORDER BY `minOrder` ASC [ RunTime:0.000220s ]
select * from pdf where partno='CG35.0L' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000364s ]
select foldpath,foldpath2,filename from pdf_file where id=1114268 limit 1 [ RunTime:0.000224s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CG35.0L' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5693 LIMIT 4 [ RunTime:0.000229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5693 ORDER BY `minOrder` ASC [ RunTime:0.000230s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5693 ORDER BY `unit` DESC [ RunTime:0.000243s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5693 LIMIT 2 [ RunTime:0.000271s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5693 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2097-200-DLF' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5692 LIMIT 4 [ RunTime:0.000233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5692 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5692 ORDER BY `unit` DESC [ RunTime:0.000225s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5692 LIMIT 2 [ RunTime:0.000220s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5692 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2049-25-BLF' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000242s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 149 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000278s ]