SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001435s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000545s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002669s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.222' ) [ RunTime:0.000382s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002143s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000338s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000356s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000278s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.000490s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002593s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'P6SMB6.8CA%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.004983s ]
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 ( `partno` LIKE 'P6SMB6.8CA%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001056s ]
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 ('4311484','6630450','4323833','4323191','4315239','4768426','4324155','4784139','4770901','4823','29354','19964','6659838','6640966','6640616','6640565','6640315','6638215','4799101','4798404') ORDER BY FIELD(s.id, 4311484,6630450,4323833,4323191,4315239,4768426,4324155,4784139,4770901,4823,29354,19964,6659838,6640966,6640616,6640565,6640315,6638215,4799101,4798404) [ RunTime:0.002973s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001616s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4311484 LIMIT 4 [ RunTime:0.001893s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005718s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4311484 ORDER BY `minOrder` ASC [ RunTime:0.005696s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002965s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4311484 ORDER BY `unit` DESC [ RunTime:0.006966s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004283s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4311484 LIMIT 2 [ RunTime:0.001616s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4311484 ORDER BY `minOrder` ASC [ RunTime:0.002053s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6630450 LIMIT 4 [ RunTime:0.000559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6630450 ORDER BY `minOrder` ASC [ RunTime:0.000275s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6630450 ORDER BY `unit` DESC [ RunTime:0.000240s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6630450 LIMIT 2 [ RunTime:0.006208s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6630450 ORDER BY `minOrder` ASC [ RunTime:0.000162s ]
select * from pdf where partno='P6SMB6.8CA' and brandshort='Littelfuse Inc.' limit 1 [ RunTime:0.005112s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4323833 LIMIT 4 [ RunTime:0.001794s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4323833 ORDER BY `minOrder` ASC [ RunTime:0.000501s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4323833 ORDER BY `unit` DESC [ RunTime:0.003378s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4323833 LIMIT 2 [ RunTime:0.006413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4323833 ORDER BY `minOrder` ASC [ RunTime:0.000287s ]
select * from pdf where partno='P6SMB6.8CA-E3/52' and brandshort='Vishay General Semiconductor - Diodes Division' limit 1 [ RunTime:0.000700s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4323191 LIMIT 4 [ RunTime:0.003821s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4323191 ORDER BY `minOrder` ASC [ RunTime:0.000505s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4323191 ORDER BY `unit` DESC [ RunTime:0.002093s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4323191 LIMIT 2 [ RunTime:0.001782s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4323191 ORDER BY `minOrder` ASC [ RunTime:0.000247s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4315239 LIMIT 4 [ RunTime:0.000943s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4315239 ORDER BY `minOrder` ASC [ RunTime:0.000470s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4315239 ORDER BY `unit` DESC [ RunTime:0.000406s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4315239 LIMIT 2 [ RunTime:0.003256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4315239 ORDER BY `minOrder` ASC [ RunTime:0.005528s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4768426 LIMIT 4 [ RunTime:0.004872s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4768426 ORDER BY `minOrder` ASC [ RunTime:0.001637s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4768426 ORDER BY `unit` DESC [ RunTime:0.001027s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4768426 LIMIT 2 [ RunTime:0.001107s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4768426 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4324155 LIMIT 4 [ RunTime:0.000879s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4324155 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4324155 ORDER BY `unit` DESC [ RunTime:0.000376s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4324155 LIMIT 2 [ RunTime:0.002680s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4324155 ORDER BY `minOrder` ASC [ RunTime:0.002583s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4784139 LIMIT 4 [ RunTime:0.001154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4784139 ORDER BY `minOrder` ASC [ RunTime:0.005795s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4784139 ORDER BY `unit` DESC [ RunTime:0.002160s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4784139 LIMIT 2 [ RunTime:0.002795s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4784139 ORDER BY `minOrder` ASC [ RunTime:0.001357s ]
select * from pdf where partno='P6SMB6.8CA-E3/5B' and brandshort='Vishay General Semiconductor - Diodes Division' limit 1 [ RunTime:0.000740s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4770901 LIMIT 4 [ RunTime:0.001810s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4770901 ORDER BY `minOrder` ASC [ RunTime:0.001505s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4770901 ORDER BY `unit` DESC [ RunTime:0.006480s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4770901 LIMIT 2 [ RunTime:0.002055s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4770901 ORDER BY `minOrder` ASC [ RunTime:0.001123s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4823 LIMIT 4 [ RunTime:0.000242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4823 ORDER BY `minOrder` ASC [ RunTime:0.002103s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4823 ORDER BY `unit` DESC [ RunTime:0.002473s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4823 LIMIT 2 [ RunTime:0.001399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4823 ORDER BY `minOrder` ASC [ RunTime:0.000170s ]
select * from pdf where partno='P6SMB6.8CA' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001517s ]
select foldpath,foldpath2,filename from pdf_file where id=881656 limit 1 [ RunTime:0.000478s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001402s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P6SMB6.8CA' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.007339s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29354 LIMIT 4 [ RunTime:0.005903s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29354 ORDER BY `minOrder` ASC [ RunTime:0.001138s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29354 ORDER BY `unit` DESC [ RunTime:0.000346s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29354 LIMIT 2 [ RunTime:0.000337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29354 ORDER BY `minOrder` ASC [ RunTime:0.000952s ]
select * from pdf where partno='P6SMB6.8CA' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000259s ]
select foldpath,foldpath2,filename from pdf_file where id=881656 limit 1 [ RunTime:0.000149s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P6SMB6.8CA' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000177s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19964 LIMIT 4 [ RunTime:0.000231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19964 ORDER BY `minOrder` ASC [ RunTime:0.006914s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19964 ORDER BY `unit` DESC [ RunTime:0.004327s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19964 LIMIT 2 [ RunTime:0.000400s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19964 ORDER BY `minOrder` ASC [ RunTime:0.004229s ]
select * from pdf where partno='P6SMB6.8CA' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000271s ]
select foldpath,foldpath2,filename from pdf_file where id=881656 limit 1 [ RunTime:0.000147s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P6SMB6.8CA' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000166s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6659838 LIMIT 4 [ RunTime:0.000630s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6659838 ORDER BY `minOrder` ASC [ RunTime:0.000628s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6659838 ORDER BY `unit` DESC [ RunTime:0.000228s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6659838 LIMIT 2 [ RunTime:0.004937s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6659838 ORDER BY `minOrder` ASC [ RunTime:0.006200s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6640966 LIMIT 4 [ RunTime:0.000551s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6640966 ORDER BY `minOrder` ASC [ RunTime:0.003631s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6640966 ORDER BY `unit` DESC [ RunTime:0.000246s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6640966 LIMIT 2 [ RunTime:0.000223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6640966 ORDER BY `minOrder` ASC [ RunTime:0.002014s ]
select * from pdf where partno='P6SMB6.8CA-M3/5B' and brandshort='Vishay General Semiconductor - Diodes Division' limit 1 [ RunTime:0.000653s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6640616 LIMIT 4 [ RunTime:0.001039s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6640616 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6640616 ORDER BY `unit` DESC [ RunTime:0.000228s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6640616 LIMIT 2 [ RunTime:0.001541s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6640616 ORDER BY `minOrder` ASC [ RunTime:0.003617s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6640565 LIMIT 4 [ RunTime:0.001787s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6640565 ORDER BY `minOrder` ASC [ RunTime:0.001321s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6640565 ORDER BY `unit` DESC [ RunTime:0.000230s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6640565 LIMIT 2 [ RunTime:0.000223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6640565 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6640315 LIMIT 4 [ RunTime:0.000369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6640315 ORDER BY `minOrder` ASC [ RunTime:0.001792s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6640315 ORDER BY `unit` DESC [ RunTime:0.003469s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6640315 LIMIT 2 [ RunTime:0.000942s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6640315 ORDER BY `minOrder` ASC [ RunTime:0.000167s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6638215 LIMIT 4 [ RunTime:0.002175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6638215 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6638215 ORDER BY `unit` DESC [ RunTime:0.001218s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6638215 LIMIT 2 [ RunTime:0.005249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6638215 ORDER BY `minOrder` ASC [ RunTime:0.000163s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4799101 LIMIT 4 [ RunTime:0.002119s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4799101 ORDER BY `minOrder` ASC [ RunTime:0.001588s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4799101 ORDER BY `unit` DESC [ RunTime:0.000656s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4799101 LIMIT 2 [ RunTime:0.000732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4799101 ORDER BY `minOrder` ASC [ RunTime:0.003135s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4798404 LIMIT 4 [ RunTime:0.000552s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4798404 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4798404 ORDER BY `unit` DESC [ RunTime:0.004544s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4798404 LIMIT 2 [ RunTime:0.001456s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4798404 ORDER BY `minOrder` ASC [ RunTime:0.001809s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'P6SMB6.8CA%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000814s ]