SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001136s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000495s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001685s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '18.97.14.82' ) [ RunTime:0.000288s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001315s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000742s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 377 LIMIT 1 [ RunTime:0.000320s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 377 [ RunTime:0.000219s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 37 [ RunTime:0.000214s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001347s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 377 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006098s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND `s`.`id` IN ('9658','8524','12583','11685','17125','16302','16107','15282','11413','11673','7089','13283','8823','11809','13282') ORDER BY FIELD(s.id, 9658,8524,12583,11685,17125,16302,16107,15282,11413,11673,7089,13283,8823,11809,13282) [ RunTime:0.011467s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001107s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9658 LIMIT 4 [ RunTime:0.000397s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9658 ORDER BY `minOrder` ASC [ RunTime:0.003763s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002674s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9658 ORDER BY `unit` DESC [ RunTime:0.004639s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.006275s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9658 LIMIT 2 [ RunTime:0.002966s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9658 ORDER BY `minOrder` ASC [ RunTime:0.003867s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002668s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SZEMI2121MTTAG' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.008961s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8524 LIMIT 4 [ RunTime:0.003222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8524 ORDER BY `minOrder` ASC [ RunTime:0.000714s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8524 ORDER BY `unit` DESC [ RunTime:0.000512s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8524 LIMIT 2 [ RunTime:0.004019s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8524 ORDER BY `minOrder` ASC [ RunTime:0.001289s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ECMF02-4CMX8' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000845s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12583 LIMIT 4 [ RunTime:0.001740s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12583 ORDER BY `minOrder` ASC [ RunTime:0.000651s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12583 ORDER BY `unit` DESC [ RunTime:0.000503s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12583 LIMIT 2 [ RunTime:0.000568s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12583 ORDER BY `minOrder` ASC [ RunTime:0.000270s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCZ1210AH900L2TA0G' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.005333s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11685 LIMIT 4 [ RunTime:0.000828s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11685 ORDER BY `minOrder` ASC [ RunTime:0.000647s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11685 ORDER BY `unit` DESC [ RunTime:0.000364s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11685 LIMIT 2 [ RunTime:0.000342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11685 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACM4520-142-2P-T000' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.004273s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17125 LIMIT 4 [ RunTime:0.000704s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17125 ORDER BY `minOrder` ASC [ RunTime:0.000650s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17125 ORDER BY `unit` DESC [ RunTime:0.000486s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17125 LIMIT 2 [ RunTime:0.000495s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17125 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
select * from pdf where partno='PA4339.101NLT' and brandshort='PULSE ELECTRONICS' limit 1 [ RunTime:0.001184s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA4339.101NLT' OR `brand` LIKE 'PULSE ELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001106s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16302 LIMIT 4 [ RunTime:0.002276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16302 ORDER BY `minOrder` ASC [ RunTime:0.001162s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16302 ORDER BY `unit` DESC [ RunTime:0.000673s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16302 LIMIT 2 [ RunTime:0.000803s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16302 ORDER BY `minOrder` ASC [ RunTime:0.000543s ]
select * from pdf where partno='ECMF4-20A42N10' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.001329s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ECMF4-20A42N10' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000903s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16107 LIMIT 4 [ RunTime:0.001456s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16107 ORDER BY `minOrder` ASC [ RunTime:0.001153s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16107 ORDER BY `unit` DESC [ RunTime:0.000525s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16107 LIMIT 2 [ RunTime:0.000927s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16107 ORDER BY `minOrder` ASC [ RunTime:0.000542s ]
select * from pdf where partno='PA4339.101NLT' and brandshort='PULSE ELECTRONICS' limit 1 [ RunTime:0.000338s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA4339.101NLT' OR `brand` LIKE 'PULSE ELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000346s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15282 LIMIT 4 [ RunTime:0.000482s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15282 ORDER BY `minOrder` ASC [ RunTime:0.001105s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15282 ORDER BY `unit` DESC [ RunTime:0.000506s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15282 LIMIT 2 [ RunTime:0.000716s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15282 ORDER BY `minOrder` ASC [ RunTime:0.000497s ]
select * from pdf where partno='ECMF4-20A42N10' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000361s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ECMF4-20A42N10' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000352s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11413 LIMIT 4 [ RunTime:0.000475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11413 ORDER BY `minOrder` ASC [ RunTime:0.001366s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11413 ORDER BY `unit` DESC [ RunTime:0.000661s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11413 LIMIT 2 [ RunTime:0.000855s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11413 ORDER BY `minOrder` ASC [ RunTime:0.000512s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ECMF02-2BF3' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000639s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11673 LIMIT 4 [ RunTime:0.000860s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11673 ORDER BY `minOrder` ASC [ RunTime:0.000765s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11673 ORDER BY `unit` DESC [ RunTime:0.000508s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11673 LIMIT 2 [ RunTime:0.000601s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11673 ORDER BY `minOrder` ASC [ RunTime:0.000414s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACM2012H-381-2P-T05' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.010450s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7089 LIMIT 4 [ RunTime:0.001273s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7089 ORDER BY `minOrder` ASC [ RunTime:0.002647s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7089 ORDER BY `unit` DESC [ RunTime:0.000549s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7089 LIMIT 2 [ RunTime:0.000569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7089 ORDER BY `minOrder` ASC [ RunTime:0.001873s ]
select * from pdf where partno='ACM2012-121-2P-T001' and brandshort='TDK' limit 1 [ RunTime:0.001509s ]
select foldpath,foldpath2,filename from pdf_file where id=1118495 limit 1 [ RunTime:0.001582s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACM2012-121-2P-T001' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.008731s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13283 LIMIT 4 [ RunTime:0.000614s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13283 ORDER BY `minOrder` ASC [ RunTime:0.000816s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13283 ORDER BY `unit` DESC [ RunTime:0.000519s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13283 LIMIT 2 [ RunTime:0.000556s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13283 ORDER BY `minOrder` ASC [ RunTime:0.000338s ]
select * from pdf where partno='PA4339.101NLT' and brandshort='PULSE ELECTRONICS' limit 1 [ RunTime:0.000389s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA4339.101NLT' OR `brand` LIKE 'PULSE ELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000355s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8823 LIMIT 4 [ RunTime:0.000478s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8823 ORDER BY `minOrder` ASC [ RunTime:0.001224s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8823 ORDER BY `unit` DESC [ RunTime:0.000505s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8823 LIMIT 2 [ RunTime:0.000613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8823 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ECMF4-20A42N10' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000348s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11809 LIMIT 4 [ RunTime:0.000468s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11809 ORDER BY `minOrder` ASC [ RunTime:0.000709s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11809 ORDER BY `unit` DESC [ RunTime:0.000510s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11809 LIMIT 2 [ RunTime:0.000502s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11809 ORDER BY `minOrder` ASC [ RunTime:0.000335s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLT10HH1026R0PNL' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.006958s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13282 LIMIT 4 [ RunTime:0.000771s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13282 ORDER BY `minOrder` ASC [ RunTime:0.000678s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13282 ORDER BY `unit` DESC [ RunTime:0.000527s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13282 LIMIT 2 [ RunTime:0.000483s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13282 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
select * from pdf where partno='PA3927NLT' and brandshort='PULSE ELECTRONICS' limit 1 [ RunTime:0.000984s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA3927NLT' OR `brand` LIKE 'PULSE ELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000626s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 377 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001173s ]