SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001557s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000540s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002449s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.163' ) [ RunTime:0.000300s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001234s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000239s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000301s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 18 [ RunTime:0.000186s ]
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.000230s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001452s ]
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:1.827626s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001352s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16114 LIMIT 4 [ RunTime:0.000246s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000827s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16114 ORDER BY `minOrder` ASC [ RunTime:0.000189s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000835s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16114 ORDER BY `unit` DESC [ RunTime:0.000171s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000814s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16114 LIMIT 2 [ RunTime:0.000166s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16114 ORDER BY `minOrder` ASC [ RunTime:0.000155s ]
select * from pdf where partno='PFL2015-682MEC' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000286s ]
select foldpath,foldpath2,filename from pdf_file where id=1990932 limit 1 [ RunTime:0.000204s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001463s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PFL2015-682MEC' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000204s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16080 LIMIT 4 [ RunTime:0.000176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16080 ORDER BY `minOrder` ASC [ RunTime:0.000196s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16080 ORDER BY `unit` DESC [ RunTime:0.000192s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16080 LIMIT 2 [ RunTime:0.000152s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16080 ORDER BY `minOrder` ASC [ RunTime:0.000169s ]
select * from pdf where partno='XAL6060-103MEC' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000449s ]
select foldpath,foldpath2,filename from pdf_file where id=1040481 limit 1 [ RunTime:0.000184s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XAL6060-103MEC' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000210s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15989 LIMIT 4 [ RunTime:0.000183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15989 ORDER BY `minOrder` ASC [ RunTime:0.000198s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15989 ORDER BY `unit` DESC [ RunTime:0.000183s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15989 LIMIT 2 [ RunTime:0.000180s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15989 ORDER BY `minOrder` ASC [ RunTime:0.000176s ]
select * from pdf where partno='DO5040H-473MLD' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000224s ]
select foldpath,foldpath2,filename from pdf_file where id=1133360 limit 1 [ RunTime:0.000171s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DO5040H-473MLD' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000193s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15658 LIMIT 4 [ RunTime:0.000367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15658 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15658 ORDER BY `unit` DESC [ RunTime:0.000301s ]
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.000155s ]
select * from pdf where partno='SRN4026-150M' and brandshort='BOURNS' limit 1 [ RunTime:0.000769s ]
select foldpath,foldpath2,filename from pdf_file where id=1772394 limit 1 [ RunTime:0.000259s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SRN4026-150M' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.001935s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15633 LIMIT 4 [ RunTime:0.000168s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15633 ORDER BY `minOrder` ASC [ RunTime:0.000157s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15633 ORDER BY `unit` DESC [ RunTime:0.000152s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15633 LIMIT 2 [ RunTime:0.000147s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15633 ORDER BY `minOrder` ASC [ RunTime:0.000147s ]
select * from pdf where partno='MSS1278-473MLD' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000426s ]
select foldpath,foldpath2,filename from pdf_file where id=1051655 limit 1 [ RunTime:0.000193s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSS1278-473MLD' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000194s ]
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:2.830934s ]
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:1.581989s ]