SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002774s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000613s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.003391s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000597s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002534s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000325s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 26 LIMIT 1 [ RunTime:0.000328s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 26 [ RunTime:0.000243s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186) [ RunTime:0.000348s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002126s ]
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 (160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:0.574693s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001579s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15966 LIMIT 4 [ RunTime:0.000432s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001012s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15966 ORDER BY `minOrder` ASC [ RunTime:0.000312s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000961s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15966 ORDER BY `unit` DESC [ RunTime:0.000286s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000978s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15966 LIMIT 2 [ RunTime:0.000296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15966 ORDER BY `minOrder` ASC [ RunTime:0.000162s ]
select * from pdf where partno='AQV252G' and brandshort='PANASONIC' limit 1 [ RunTime:0.001428s ]
select foldpath,foldpath2,filename from pdf_file where id=1746134 limit 1 [ RunTime:0.000631s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002261s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252G' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.006040s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15928 LIMIT 4 [ RunTime:0.000432s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15928 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15928 ORDER BY `unit` DESC [ RunTime:0.000347s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15928 LIMIT 2 [ RunTime:0.000332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15928 ORDER BY `minOrder` ASC [ RunTime:0.000299s ]
select * from pdf where partno='AQY212SX.' and brandshort='PANASONIC' limit 1 [ RunTime:0.000875s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQY212SX.' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.005104s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15916 LIMIT 4 [ RunTime:0.000355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15916 ORDER BY `minOrder` ASC [ RunTime:0.000421s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15916 ORDER BY `unit` DESC [ RunTime:0.000339s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15916 LIMIT 2 [ RunTime:0.000324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15916 ORDER BY `minOrder` ASC [ RunTime:0.000305s ]
select * from pdf where partno='G5RL-1A-E-HR DC12' and brandshort='OMRON ELECTRONIC COMPONENTS' limit 1 [ RunTime:0.001067s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G5RL-1A-E-HR DC12' OR `brand` LIKE 'OMRON ELECTRONIC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000521s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15831 LIMIT 4 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15831 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15831 ORDER BY `unit` DESC [ RunTime:0.000374s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15831 LIMIT 2 [ RunTime:0.000334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15831 ORDER BY `minOrder` ASC [ RunTime:0.000248s ]
select * from pdf where partno='95.85.3SMA' and brandshort='FINDER' limit 1 [ RunTime:0.001098s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '95.85.3SMA' OR `brand` LIKE 'FINDER%' ) ) LIMIT 1 [ RunTime:0.000565s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15486 LIMIT 4 [ RunTime:0.000326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15486 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15486 ORDER BY `unit` DESC [ RunTime:0.000383s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15486 LIMIT 2 [ RunTime:0.000383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15486 ORDER BY `minOrder` ASC [ RunTime:0.000266s ]
select * from pdf where partno='AQY211G2S' and brandshort='PANASONIC' limit 1 [ RunTime:0.001148s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQY211G2S' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.005014s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15388 LIMIT 4 [ RunTime:0.000390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15388 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15388 ORDER BY `unit` DESC [ RunTime:0.000338s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15388 LIMIT 2 [ RunTime:0.000320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15388 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
select * from pdf where partno='2342-12-000' and brandshort='COTO TECHNOLOGY' limit 1 [ RunTime:0.001324s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2342-12-000' OR `brand` LIKE 'COTO TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.000516s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15331 LIMIT 4 [ RunTime:0.000388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15331 ORDER BY `minOrder` ASC [ RunTime:0.000338s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15331 ORDER BY `unit` DESC [ RunTime:0.000336s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15331 LIMIT 2 [ RunTime:0.000336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15331 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
select * from pdf where partno='34.51.7.012.0010' and brandshort='FINDER' limit 1 [ RunTime:0.001113s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '34.51.7.012.0010' OR `brand` LIKE 'FINDER%' ) ) LIMIT 1 [ RunTime:0.000569s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15182 LIMIT 4 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15182 ORDER BY `minOrder` ASC [ RunTime:0.000403s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15182 ORDER BY `unit` DESC [ RunTime:0.000361s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15182 LIMIT 2 [ RunTime:0.000336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15182 ORDER BY `minOrder` ASC [ RunTime:0.000247s ]
select * from pdf where partno='779006-01' and brandshort='NI' limit 1 [ RunTime:0.001091s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '779006-01' OR `brand` LIKE 'NI%' ) ) LIMIT 1 [ RunTime:0.000324s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( `status` = 4 AND `categoryid` IN (160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:0.693420s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( `status` = 4 AND `categoryid` IN (160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186) ) [ RunTime:0.411720s ]