SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001405s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000439s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002549s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000353s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001773s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000278s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 20 LIMIT 1 [ RunTime:0.000318s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 20 [ RunTime:0.000220s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (102,103,104,105,106,107,108,109,110,111,112,113,114,115) [ RunTime:0.000275s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001857s ]
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 (102,103,104,105,106,107,108,109,110,111,112,113,114,115) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:0.026034s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002187s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15978 LIMIT 4 [ RunTime:0.000582s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001628s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15978 ORDER BY `minOrder` ASC [ RunTime:0.000467s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001781s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15978 ORDER BY `unit` DESC [ RunTime:0.000418s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002119s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15978 LIMIT 2 [ RunTime:0.000412s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15978 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
select * from pdf where partno='74HC4538DB,118' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000515s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001889s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74HC4538DB,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.006583s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15806 LIMIT 4 [ RunTime:0.000396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15806 ORDER BY `minOrder` ASC [ RunTime:0.000416s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15806 ORDER BY `unit` DESC [ RunTime:0.000394s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15806 LIMIT 2 [ RunTime:0.000407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15806 ORDER BY `minOrder` ASC [ RunTime:0.000279s ]
select * from pdf where partno='MC74HC595ADTR2G' and brandshort='ONSEMI' limit 1 [ RunTime:0.002427s ]
select foldpath,foldpath2,filename from pdf_file where id=1135691 limit 1 [ RunTime:0.000596s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC595ADTR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.013665s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15740 LIMIT 4 [ RunTime:0.000449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15740 ORDER BY `minOrder` ASC [ RunTime:0.000459s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15740 ORDER BY `unit` DESC [ RunTime:0.000550s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15740 LIMIT 2 [ RunTime:0.000561s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15740 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
select * from pdf where partno='MC74HC74ADR2G' and brandshort='ONSEMI' limit 1 [ RunTime:0.001530s ]
select foldpath,foldpath2,filename from pdf_file where id=532743 limit 1 [ RunTime:0.000547s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC74ADR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.014128s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15531 LIMIT 4 [ RunTime:0.000654s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15531 ORDER BY `minOrder` ASC [ RunTime:0.000625s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15531 ORDER BY `unit` DESC [ RunTime:0.000589s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15531 LIMIT 2 [ RunTime:0.000609s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15531 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
select * from pdf where partno='MM74HC595MTCX' and brandshort='ONSEMI' limit 1 [ RunTime:0.001093s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MM74HC595MTCX' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.014299s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15249 LIMIT 4 [ RunTime:0.000926s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15249 ORDER BY `minOrder` ASC [ RunTime:0.000645s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15249 ORDER BY `unit` DESC [ RunTime:0.000598s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15249 LIMIT 2 [ RunTime:0.000574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15249 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
select * from pdf where partno='74HC14PW,118' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001157s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74HC14PW,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.006791s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( `status` = 4 AND `categoryid` IN (102,103,104,105,106,107,108,109,110,111,112,113,114,115) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:0.033244s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( `status` = 4 AND `categoryid` IN (102,103,104,105,106,107,108,109,110,111,112,113,114,115) ) [ RunTime:0.010503s ]