SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001568s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000698s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001586s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.94' ) [ RunTime:0.014842s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002085s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.058367s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 377 LIMIT 1 [ RunTime:0.021608s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 377 [ RunTime:0.032392s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 37 [ RunTime:0.011066s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002599s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 377 ) AND `u`.`lockUser` = '0' [ RunTime:0.132753s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 377 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.068938s ]
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 = 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.184619s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.016684s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9658 LIMIT 4 [ RunTime:0.037519s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.027199s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9658 ORDER BY `minOrder` ASC [ RunTime:0.044409s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001840s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9658 ORDER BY `unit` DESC [ RunTime:0.076905s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002850s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9658 LIMIT 2 [ RunTime:0.110085s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9658 ORDER BY `minOrder` ASC [ RunTime:0.038041s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001438s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SZEMI2121MTTAG' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.080918s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8524 LIMIT 4 [ RunTime:0.039805s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8524 ORDER BY `minOrder` ASC [ RunTime:0.075444s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8524 ORDER BY `unit` DESC [ RunTime:0.036261s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8524 LIMIT 2 [ RunTime:0.071277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8524 ORDER BY `minOrder` ASC [ RunTime:0.036651s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ECMF02-4CMX8' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.057186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12583 LIMIT 4 [ RunTime:0.048011s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12583 ORDER BY `minOrder` ASC [ RunTime:0.064012s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12583 ORDER BY `unit` DESC [ RunTime:0.040214s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12583 LIMIT 2 [ RunTime:0.020589s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12583 ORDER BY `minOrder` ASC [ RunTime:0.024213s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCZ1210AH900L2TA0G' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.020554s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11685 LIMIT 4 [ RunTime:0.018235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11685 ORDER BY `minOrder` ASC [ RunTime:0.015435s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11685 ORDER BY `unit` DESC [ RunTime:0.002631s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11685 LIMIT 2 [ RunTime:0.004814s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11685 ORDER BY `minOrder` ASC [ RunTime:0.000326s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACM4520-142-2P-T000' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.019224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17125 LIMIT 4 [ RunTime:0.007080s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17125 ORDER BY `minOrder` ASC [ RunTime:0.007903s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17125 ORDER BY `unit` DESC [ RunTime:0.002565s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17125 LIMIT 2 [ RunTime:0.009051s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17125 ORDER BY `minOrder` ASC [ RunTime:0.007829s ]
select * from pdf where partno='PA4339.101NLT' and brandshort='PULSE ELECTRONICS' limit 1 [ RunTime:0.008924s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA4339.101NLT' OR `brand` LIKE 'PULSE ELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.004219s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16302 LIMIT 4 [ RunTime:0.001612s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16302 ORDER BY `minOrder` ASC [ RunTime:0.009540s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16302 ORDER BY `unit` DESC [ RunTime:0.018125s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16302 LIMIT 2 [ RunTime:0.010896s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16302 ORDER BY `minOrder` ASC [ RunTime:0.000604s ]
select * from pdf where partno='ECMF4-20A42N10' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.009259s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ECMF4-20A42N10' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.004707s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16107 LIMIT 4 [ RunTime:0.002351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16107 ORDER BY `minOrder` ASC [ RunTime:0.005597s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16107 ORDER BY `unit` DESC [ RunTime:0.015315s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16107 LIMIT 2 [ RunTime:0.008985s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16107 ORDER BY `minOrder` ASC [ RunTime:0.012499s ]
select * from pdf where partno='PA4339.101NLT' and brandshort='PULSE ELECTRONICS' limit 1 [ RunTime:0.004277s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA4339.101NLT' OR `brand` LIKE 'PULSE ELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002108s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15282 LIMIT 4 [ RunTime:0.003003s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15282 ORDER BY `minOrder` ASC [ RunTime:0.010439s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15282 ORDER BY `unit` DESC [ RunTime:0.009148s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15282 LIMIT 2 [ RunTime:0.011617s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15282 ORDER BY `minOrder` ASC [ RunTime:0.000342s ]
select * from pdf where partno='ECMF4-20A42N10' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.002188s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ECMF4-20A42N10' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000698s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11413 LIMIT 4 [ RunTime:0.000478s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11413 ORDER BY `minOrder` ASC [ RunTime:0.007100s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11413 ORDER BY `unit` DESC [ RunTime:0.000811s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11413 LIMIT 2 [ RunTime:0.008324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11413 ORDER BY `minOrder` ASC [ RunTime:0.001259s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ECMF02-2BF3' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.011678s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11673 LIMIT 4 [ RunTime:0.000742s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11673 ORDER BY `minOrder` ASC [ RunTime:0.002567s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11673 ORDER BY `unit` DESC [ RunTime:0.008412s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11673 LIMIT 2 [ RunTime:0.008552s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11673 ORDER BY `minOrder` ASC [ RunTime:0.005011s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACM2012H-381-2P-T05' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.008415s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7089 LIMIT 4 [ RunTime:0.000527s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7089 ORDER BY `minOrder` ASC [ RunTime:0.003592s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7089 ORDER BY `unit` DESC [ RunTime:0.010943s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7089 LIMIT 2 [ RunTime:0.001028s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7089 ORDER BY `minOrder` ASC [ RunTime:0.002031s ]
select * from pdf where partno='ACM2012-121-2P-T001' and brandshort='TDK' limit 1 [ RunTime:0.008781s ]
select foldpath,foldpath2,filename from pdf_file where id=1118495 limit 1 [ RunTime:0.004727s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACM2012-121-2P-T001' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.008220s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13283 LIMIT 4 [ RunTime:0.000473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13283 ORDER BY `minOrder` ASC [ RunTime:0.000833s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13283 ORDER BY `unit` DESC [ RunTime:0.001214s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13283 LIMIT 2 [ RunTime:0.000581s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13283 ORDER BY `minOrder` ASC [ RunTime:0.002161s ]
select * from pdf where partno='PA4339.101NLT' and brandshort='PULSE ELECTRONICS' limit 1 [ RunTime:0.000318s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA4339.101NLT' OR `brand` LIKE 'PULSE ELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000228s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8823 LIMIT 4 [ RunTime:0.000344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8823 ORDER BY `minOrder` ASC [ RunTime:0.002078s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8823 ORDER BY `unit` DESC [ RunTime:0.000895s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8823 LIMIT 2 [ RunTime:0.004351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8823 ORDER BY `minOrder` ASC [ RunTime:0.000272s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ECMF4-20A42N10' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.004266s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11809 LIMIT 4 [ RunTime:0.004598s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11809 ORDER BY `minOrder` ASC [ RunTime:0.000711s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11809 ORDER BY `unit` DESC [ RunTime:0.000406s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11809 LIMIT 2 [ RunTime:0.005878s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11809 ORDER BY `minOrder` ASC [ RunTime:0.002505s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLT10HH1026R0PNL' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.029505s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13282 LIMIT 4 [ RunTime:0.018517s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13282 ORDER BY `minOrder` ASC [ RunTime:0.018547s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13282 ORDER BY `unit` DESC [ RunTime:0.018837s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13282 LIMIT 2 [ RunTime:0.015154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13282 ORDER BY `minOrder` ASC [ RunTime:0.008362s ]
select * from pdf where partno='PA3927NLT' and brandshort='PULSE ELECTRONICS' limit 1 [ RunTime:0.005872s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA3927NLT' OR `brand` LIKE 'PULSE ELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.009740s ]
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.014213s ]