SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001023s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000409s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001990s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.133' ) [ RunTime:0.000238s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001052s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000190s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 377 LIMIT 1 [ RunTime:0.000201s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 377 [ RunTime:0.000144s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 37 [ RunTime:0.000145s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001180s ]
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.000592s ]
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.000496s ]
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.000871s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.000936s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9658 LIMIT 4 [ RunTime:0.001070s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002058s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9658 ORDER BY `minOrder` ASC [ RunTime:0.003312s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001059s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9658 ORDER BY `unit` DESC [ RunTime:0.003502s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003525s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9658 LIMIT 2 [ RunTime:0.001521s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9658 ORDER BY `minOrder` ASC [ RunTime:0.001325s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001374s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SZEMI2121MTTAG' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.017610s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8524 LIMIT 4 [ RunTime:0.001827s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8524 ORDER BY `minOrder` ASC [ RunTime:0.002274s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8524 ORDER BY `unit` DESC [ RunTime:0.006102s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8524 LIMIT 2 [ RunTime:0.000348s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8524 ORDER BY `minOrder` ASC [ RunTime:0.002790s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ECMF02-4CMX8' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000844s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12583 LIMIT 4 [ RunTime:0.000396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12583 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12583 ORDER BY `unit` DESC [ RunTime:0.009116s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12583 LIMIT 2 [ RunTime:0.011406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12583 ORDER BY `minOrder` ASC [ RunTime:0.006866s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCZ1210AH900L2TA0G' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.011995s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11685 LIMIT 4 [ RunTime:0.007221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11685 ORDER BY `minOrder` ASC [ RunTime:0.003465s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11685 ORDER BY `unit` DESC [ RunTime:0.000443s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11685 LIMIT 2 [ RunTime:0.006283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11685 ORDER BY `minOrder` ASC [ RunTime:0.000237s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACM4520-142-2P-T000' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.005089s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17125 LIMIT 4 [ RunTime:0.004642s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17125 ORDER BY `minOrder` ASC [ RunTime:0.000451s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17125 ORDER BY `unit` DESC [ RunTime:0.007021s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17125 LIMIT 2 [ RunTime:0.006437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17125 ORDER BY `minOrder` ASC [ RunTime:0.002971s ]
select * from pdf where partno='PA4339.101NLT' and brandshort='PULSE ELECTRONICS' limit 1 [ RunTime:0.006977s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA4339.101NLT' OR `brand` LIKE 'PULSE ELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001077s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16302 LIMIT 4 [ RunTime:0.010344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16302 ORDER BY `minOrder` ASC [ RunTime:0.003466s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16302 ORDER BY `unit` DESC [ RunTime:0.000339s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16302 LIMIT 2 [ RunTime:0.000428s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16302 ORDER BY `minOrder` ASC [ RunTime:0.000220s ]
select * from pdf where partno='ECMF4-20A42N10' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.004458s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ECMF4-20A42N10' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.004052s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16107 LIMIT 4 [ RunTime:0.004257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16107 ORDER BY `minOrder` ASC [ RunTime:0.002070s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16107 ORDER BY `unit` DESC [ RunTime:0.000946s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16107 LIMIT 2 [ RunTime:0.007742s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16107 ORDER BY `minOrder` ASC [ RunTime:0.002856s ]
select * from pdf where partno='PA4339.101NLT' and brandshort='PULSE ELECTRONICS' limit 1 [ RunTime:0.000657s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA4339.101NLT' OR `brand` LIKE 'PULSE ELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000332s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15282 LIMIT 4 [ RunTime:0.012038s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15282 ORDER BY `minOrder` ASC [ RunTime:0.009449s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15282 ORDER BY `unit` DESC [ RunTime:0.001357s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15282 LIMIT 2 [ RunTime:0.006759s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15282 ORDER BY `minOrder` ASC [ RunTime:0.000294s ]
select * from pdf where partno='ECMF4-20A42N10' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000939s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ECMF4-20A42N10' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001049s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11413 LIMIT 4 [ RunTime:0.002541s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11413 ORDER BY `minOrder` ASC [ RunTime:0.007687s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11413 ORDER BY `unit` DESC [ RunTime:0.011166s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11413 LIMIT 2 [ RunTime:0.002442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11413 ORDER BY `minOrder` ASC [ RunTime:0.001352s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ECMF02-2BF3' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002601s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11673 LIMIT 4 [ RunTime:0.009034s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11673 ORDER BY `minOrder` ASC [ RunTime:0.000813s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11673 ORDER BY `unit` DESC [ RunTime:0.001125s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11673 LIMIT 2 [ RunTime:0.002632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11673 ORDER BY `minOrder` ASC [ RunTime:0.005569s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACM2012H-381-2P-T05' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.011435s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7089 LIMIT 4 [ RunTime:0.000753s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7089 ORDER BY `minOrder` ASC [ RunTime:0.002134s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7089 ORDER BY `unit` DESC [ RunTime:0.011603s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7089 LIMIT 2 [ RunTime:0.002315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7089 ORDER BY `minOrder` ASC [ RunTime:0.000463s ]
select * from pdf where partno='ACM2012-121-2P-T001' and brandshort='TDK' limit 1 [ RunTime:0.004479s ]
select foldpath,foldpath2,filename from pdf_file where id=1118495 limit 1 [ RunTime:0.000950s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACM2012-121-2P-T001' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.008927s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13283 LIMIT 4 [ RunTime:0.000564s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13283 ORDER BY `minOrder` ASC [ RunTime:0.007039s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13283 ORDER BY `unit` DESC [ RunTime:0.005626s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13283 LIMIT 2 [ RunTime:0.003189s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13283 ORDER BY `minOrder` ASC [ RunTime:0.000371s ]
select * from pdf where partno='PA4339.101NLT' and brandshort='PULSE ELECTRONICS' limit 1 [ RunTime:0.000415s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA4339.101NLT' OR `brand` LIKE 'PULSE ELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000361s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8823 LIMIT 4 [ RunTime:0.005534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8823 ORDER BY `minOrder` ASC [ RunTime:0.008851s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8823 ORDER BY `unit` DESC [ RunTime:0.008874s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8823 LIMIT 2 [ RunTime:0.003224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8823 ORDER BY `minOrder` ASC [ RunTime:0.010941s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ECMF4-20A42N10' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002119s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11809 LIMIT 4 [ RunTime:0.004941s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11809 ORDER BY `minOrder` ASC [ RunTime:0.003459s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11809 ORDER BY `unit` DESC [ RunTime:0.000805s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11809 LIMIT 2 [ RunTime:0.005576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11809 ORDER BY `minOrder` ASC [ RunTime:0.000419s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLT10HH1026R0PNL' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.011816s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13282 LIMIT 4 [ RunTime:0.000629s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13282 ORDER BY `minOrder` ASC [ RunTime:0.001795s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13282 ORDER BY `unit` DESC [ RunTime:0.000627s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13282 LIMIT 2 [ RunTime:0.017807s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13282 ORDER BY `minOrder` ASC [ RunTime:0.006251s ]
select * from pdf where partno='PA3927NLT' and brandshort='PULSE ELECTRONICS' limit 1 [ RunTime:0.008361s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA3927NLT' OR `brand` LIKE 'PULSE ELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.007845s ]
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.002877s ]