SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001625s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000600s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001508s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.001350s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001330s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000285s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000373s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000228s ]
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.000489s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001480s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.000375s ]
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 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 9480,20 [ RunTime:0.043584s ]
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 ('10516765','10443669','14507','10506913','10503622','10477298','10444805','10443736','10441496','10439254','10432673','10092800','14964','14794','14745','14393','13926','12736','12111','12095') ORDER BY FIELD(s.id, 10516765,10443669,14507,10506913,10503622,10477298,10444805,10443736,10441496,10439254,10432673,10092800,14964,14794,14745,14393,13926,12736,12111,12095) [ RunTime:0.015637s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002103s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10516765 LIMIT 4 [ RunTime:0.007861s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001011s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10516765 ORDER BY `minOrder` ASC [ RunTime:0.000693s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001409s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10516765 ORDER BY `unit` DESC [ RunTime:0.003902s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001267s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10516765 LIMIT 2 [ RunTime:0.000432s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10516765 ORDER BY `minOrder` ASC [ RunTime:0.000899s ]
select * from pdf where partno='FA28C0G2A1R5CNU06' and brandshort='TDK Corporation' limit 1 [ RunTime:0.015253s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10443669 LIMIT 4 [ RunTime:0.016164s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10443669 ORDER BY `minOrder` ASC [ RunTime:0.001194s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10443669 ORDER BY `unit` DESC [ RunTime:0.003814s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10443669 LIMIT 2 [ RunTime:0.000784s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10443669 ORDER BY `minOrder` ASC [ RunTime:0.001282s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14507 LIMIT 4 [ RunTime:0.000588s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14507 ORDER BY `minOrder` ASC [ RunTime:0.001574s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14507 ORDER BY `unit` DESC [ RunTime:0.008592s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14507 LIMIT 2 [ RunTime:0.000806s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14507 ORDER BY `minOrder` ASC [ RunTime:0.002743s ]
select * from pdf where partno='MCR106-8G' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.007675s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002104s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCR106-8G' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.011979s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10506913 LIMIT 4 [ RunTime:0.001116s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10506913 ORDER BY `minOrder` ASC [ RunTime:0.000556s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10506913 ORDER BY `unit` DESC [ RunTime:0.000543s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10506913 LIMIT 2 [ RunTime:0.000759s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10506913 ORDER BY `minOrder` ASC [ RunTime:0.000617s ]
select * from pdf where partno='CGA8L4X7R2J683K160KA' and brandshort='TDK Corporation' limit 1 [ RunTime:0.016055s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10503622 LIMIT 4 [ RunTime:0.001422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10503622 ORDER BY `minOrder` ASC [ RunTime:0.001151s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10503622 ORDER BY `unit` DESC [ RunTime:0.003011s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10503622 LIMIT 2 [ RunTime:0.001275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10503622 ORDER BY `minOrder` ASC [ RunTime:0.000354s ]
select * from pdf where partno='RDER71H154K1K1H03B' and brandshort='Murata Electronics' limit 1 [ RunTime:0.006784s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10477298 LIMIT 4 [ RunTime:0.002060s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10477298 ORDER BY `minOrder` ASC [ RunTime:0.001013s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10477298 ORDER BY `unit` DESC [ RunTime:0.001208s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10477298 LIMIT 2 [ RunTime:0.001226s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10477298 ORDER BY `minOrder` ASC [ RunTime:0.001022s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10444805 LIMIT 4 [ RunTime:0.002469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10444805 ORDER BY `minOrder` ASC [ RunTime:0.000638s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10444805 ORDER BY `unit` DESC [ RunTime:0.001045s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10444805 LIMIT 2 [ RunTime:0.014281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10444805 ORDER BY `minOrder` ASC [ RunTime:0.005165s ]
select * from pdf where partno='CKG45NX7R1H685M500JJ' and brandshort='TDK Corporation' limit 1 [ RunTime:0.007642s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10443736 LIMIT 4 [ RunTime:0.008704s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10443736 ORDER BY `minOrder` ASC [ RunTime:0.005925s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10443736 ORDER BY `unit` DESC [ RunTime:0.003547s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10443736 LIMIT 2 [ RunTime:0.004829s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10443736 ORDER BY `minOrder` ASC [ RunTime:0.000491s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10441496 LIMIT 4 [ RunTime:0.002030s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10441496 ORDER BY `minOrder` ASC [ RunTime:0.005418s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10441496 ORDER BY `unit` DESC [ RunTime:0.001481s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10441496 LIMIT 2 [ RunTime:0.000536s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10441496 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
select * from pdf where partno='C4532CH2J473K320KA' and brandshort='TDK Corporation' limit 1 [ RunTime:0.001632s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10439254 LIMIT 4 [ RunTime:0.006201s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10439254 ORDER BY `minOrder` ASC [ RunTime:0.006068s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10439254 ORDER BY `unit` DESC [ RunTime:0.006215s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10439254 LIMIT 2 [ RunTime:0.011396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10439254 ORDER BY `minOrder` ASC [ RunTime:0.003759s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10432673 LIMIT 4 [ RunTime:0.016389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10432673 ORDER BY `minOrder` ASC [ RunTime:0.015365s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10432673 ORDER BY `unit` DESC [ RunTime:0.006278s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10432673 LIMIT 2 [ RunTime:0.004316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10432673 ORDER BY `minOrder` ASC [ RunTime:0.004503s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10092800 LIMIT 4 [ RunTime:0.004104s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10092800 ORDER BY `minOrder` ASC [ RunTime:0.001629s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10092800 ORDER BY `unit` DESC [ RunTime:0.000570s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10092800 LIMIT 2 [ RunTime:0.000515s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10092800 ORDER BY `minOrder` ASC [ RunTime:0.000990s ]
select * from pdf where partno='C0805X106K500NT' and brandshort='NA' limit 1 [ RunTime:0.002402s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C0805X106K500NT' OR `brand` LIKE 'NA%' ) ) LIMIT 1 [ RunTime:0.005457s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14964 LIMIT 4 [ RunTime:0.000655s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14964 ORDER BY `minOrder` ASC [ RunTime:0.001951s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14964 ORDER BY `unit` DESC [ RunTime:0.003313s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14964 LIMIT 2 [ RunTime:0.000676s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14964 ORDER BY `minOrder` ASC [ RunTime:0.002433s ]
select * from pdf where partno='DMN6066SSD-13' and brandshort='DIODES' limit 1 [ RunTime:0.008052s ]
select foldpath,foldpath2,filename from pdf_file where id=969557 limit 1 [ RunTime:0.007055s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DMN6066SSD-13' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.010859s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14794 LIMIT 4 [ RunTime:0.000447s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14794 ORDER BY `minOrder` ASC [ RunTime:0.001538s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14794 ORDER BY `unit` DESC [ RunTime:0.000278s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14794 LIMIT 2 [ RunTime:0.001441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14794 ORDER BY `minOrder` ASC [ RunTime:0.003285s ]
select * from pdf where partno='2N5551' and brandshort='ONSEMI' limit 1 [ RunTime:0.007831s ]
select foldpath,foldpath2,filename from pdf_file where id=498059 limit 1 [ RunTime:0.003179s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2N5551' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.016112s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14745 LIMIT 4 [ RunTime:0.000818s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14745 ORDER BY `minOrder` ASC [ RunTime:0.000632s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14745 ORDER BY `unit` DESC [ RunTime:0.005750s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14745 LIMIT 2 [ RunTime:0.001008s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14745 ORDER BY `minOrder` ASC [ RunTime:0.000287s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMAJ5.0A-TR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002833s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14393 LIMIT 4 [ RunTime:0.000641s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14393 ORDER BY `minOrder` ASC [ RunTime:0.006015s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14393 ORDER BY `unit` DESC [ RunTime:0.010461s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14393 LIMIT 2 [ RunTime:0.008385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14393 ORDER BY `minOrder` ASC [ RunTime:0.002356s ]
select * from pdf where partno='MRS25000C6801FCT00' and brandshort='VISHAY' limit 1 [ RunTime:0.008211s ]
select foldpath,foldpath2,filename from pdf_file where id=1917907 limit 1 [ RunTime:0.007694s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MRS25000C6801FCT00' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.032301s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13926 LIMIT 4 [ RunTime:0.000962s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13926 ORDER BY `minOrder` ASC [ RunTime:0.029265s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13926 ORDER BY `unit` DESC [ RunTime:0.006824s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13926 LIMIT 2 [ RunTime:0.007186s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13926 ORDER BY `minOrder` ASC [ RunTime:0.013646s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PUMD48,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.015184s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12736 LIMIT 4 [ RunTime:0.031690s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12736 ORDER BY `minOrder` ASC [ RunTime:0.009749s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12736 ORDER BY `unit` DESC [ RunTime:0.019380s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12736 LIMIT 2 [ RunTime:0.009306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12736 ORDER BY `minOrder` ASC [ RunTime:0.002801s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RP2040TR7' OR `brand` LIKE 'RASPBERRY-PI%' ) ) LIMIT 1 [ RunTime:0.004727s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12111 LIMIT 4 [ RunTime:0.004363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12111 ORDER BY `minOrder` ASC [ RunTime:0.006466s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12111 ORDER BY `unit` DESC [ RunTime:0.007909s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12111 LIMIT 2 [ RunTime:0.002889s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12111 ORDER BY `minOrder` ASC [ RunTime:0.002409s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RK73H1JTTD4753F' OR `brand` LIKE 'KOA%' ) ) LIMIT 1 [ RunTime:0.004235s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12095 LIMIT 4 [ RunTime:0.000484s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12095 ORDER BY `minOrder` ASC [ RunTime:0.000515s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12095 ORDER BY `unit` DESC [ RunTime:0.006369s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12095 LIMIT 2 [ RunTime:0.000705s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12095 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RK73H1ETTP3003F' OR `brand` LIKE 'KOA%' ) ) LIMIT 1 [ RunTime:0.012176s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002969s ]