SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002475s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000649s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002347s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000278s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001852s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000269s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000377s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 18 [ RunTime:0.000223s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (85,86,87,88,89,90,91,92,93,94,95,96,97) [ RunTime:0.000291s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001985s ]
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 (85,86,87,88,89,90,91,92,93,94,95,96,97) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:0.397831s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001641s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16114 LIMIT 4 [ RunTime:0.000493s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000896s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16114 ORDER BY `minOrder` ASC [ RunTime:0.000185s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000847s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16114 ORDER BY `unit` DESC [ RunTime:0.000195s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001087s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16114 LIMIT 2 [ RunTime:0.000211s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16114 ORDER BY `minOrder` ASC [ RunTime:0.000196s ]
select * from pdf where partno='PFL2015-682MEC' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000564s ]
select foldpath,foldpath2,filename from pdf_file where id=1990932 limit 1 [ RunTime:0.000429s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002278s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PFL2015-682MEC' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000441s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16080 LIMIT 4 [ RunTime:0.000673s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16080 ORDER BY `minOrder` ASC [ RunTime:0.000288s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16080 ORDER BY `unit` DESC [ RunTime:0.000290s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16080 LIMIT 2 [ RunTime:0.000300s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16080 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
select * from pdf where partno='XAL6060-103MEC' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000391s ]
select foldpath,foldpath2,filename from pdf_file where id=1040481 limit 1 [ RunTime:0.000244s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XAL6060-103MEC' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000272s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15989 LIMIT 4 [ RunTime:0.000616s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15989 ORDER BY `minOrder` ASC [ RunTime:0.000318s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15989 ORDER BY `unit` DESC [ RunTime:0.000265s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15989 LIMIT 2 [ RunTime:0.000267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15989 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
select * from pdf where partno='DO5040H-473MLD' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000396s ]
select foldpath,foldpath2,filename from pdf_file where id=1133360 limit 1 [ RunTime:0.000276s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DO5040H-473MLD' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000299s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15658 LIMIT 4 [ RunTime:0.000541s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15658 ORDER BY `minOrder` ASC [ RunTime:0.000275s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15658 ORDER BY `unit` DESC [ RunTime:0.000323s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15658 LIMIT 2 [ RunTime:0.000294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15658 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
select * from pdf where partno='SRN4026-150M' and brandshort='BOURNS' limit 1 [ RunTime:0.000364s ]
select foldpath,foldpath2,filename from pdf_file where id=1772394 limit 1 [ RunTime:0.000229s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SRN4026-150M' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000330s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15633 LIMIT 4 [ RunTime:0.000468s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15633 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15633 ORDER BY `unit` DESC [ RunTime:0.000269s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15633 LIMIT 2 [ RunTime:0.000290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15633 ORDER BY `minOrder` ASC [ RunTime:0.000294s ]
select * from pdf where partno='MSS1278-473MLD' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000368s ]
select foldpath,foldpath2,filename from pdf_file where id=1051655 limit 1 [ RunTime:0.000237s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSS1278-473MLD' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000263s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( `status` = 4 AND `categoryid` IN (85,86,87,88,89,90,91,92,93,94,95,96,97) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:0.501149s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( `status` = 4 AND `categoryid` IN (85,86,87,88,89,90,91,92,93,94,95,96,97) ) [ RunTime:0.282142s ]