SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001501s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000394s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001387s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.000364s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001261s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.003694s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 615 LIMIT 1 [ RunTime:0.000252s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 615 [ RunTime:0.000176s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000180s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001050s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 615 ) AND `u`.`lockUser` = '0' [ RunTime:0.002526s ]
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` = 615 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001448s ]
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 ('5354','14707','2251','10287','5852','3548','7891','2841','14710','7677','5357','4987','5356','1728','7679','5851','2753','2247','12692','11210') ORDER BY FIELD(s.id, 5354,14707,2251,10287,5852,3548,7891,2841,14710,7677,5357,4987,5356,1728,7679,5851,2753,2247,12692,11210) [ RunTime:0.005892s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002313s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5354 LIMIT 4 [ RunTime:0.005243s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5354 ORDER BY `minOrder` ASC [ RunTime:0.000594s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000960s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5354 ORDER BY `unit` DESC [ RunTime:0.000265s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002552s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5354 LIMIT 2 [ RunTime:0.000301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5354 ORDER BY `minOrder` ASC [ RunTime:0.003340s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001024s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL431AIDBZR,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.005562s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14707 LIMIT 4 [ RunTime:0.000311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14707 ORDER BY `minOrder` ASC [ RunTime:0.001330s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14707 ORDER BY `unit` DESC [ RunTime:0.004872s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14707 LIMIT 2 [ RunTime:0.000918s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14707 ORDER BY `minOrder` ASC [ RunTime:0.001376s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM317T' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001094s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2251 LIMIT 4 [ RunTime:0.002069s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2251 ORDER BY `minOrder` ASC [ RunTime:0.000745s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2251 ORDER BY `unit` DESC [ RunTime:0.003627s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2251 LIMIT 2 [ RunTime:0.001464s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2251 ORDER BY `minOrder` ASC [ RunTime:0.000484s ]
select * from pdf where partno='LD1117S33CTR' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.001661s ]
select foldpath,foldpath2,filename from pdf_file where id=533327 limit 1 [ RunTime:0.004486s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LD1117S33CTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.005385s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10287 LIMIT 4 [ RunTime:0.000361s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10287 ORDER BY `minOrder` ASC [ RunTime:0.001338s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10287 ORDER BY `unit` DESC [ RunTime:0.000368s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10287 LIMIT 2 [ RunTime:0.000349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10287 ORDER BY `minOrder` ASC [ RunTime:0.001164s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NCP718ASN330T1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.009207s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5852 LIMIT 4 [ RunTime:0.002305s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5852 ORDER BY `minOrder` ASC [ RunTime:0.005666s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5852 ORDER BY `unit` DESC [ RunTime:0.003911s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5852 LIMIT 2 [ RunTime:0.001311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5852 ORDER BY `minOrder` ASC [ RunTime:0.000200s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L78M05CDT-TR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000848s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3548 LIMIT 4 [ RunTime:0.000253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3548 ORDER BY `minOrder` ASC [ RunTime:0.000512s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3548 ORDER BY `unit` DESC [ RunTime:0.002845s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3548 LIMIT 2 [ RunTime:0.010616s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3548 ORDER BY `minOrder` ASC [ RunTime:0.006289s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'A4403GEUTR-T' OR `brand` LIKE 'ALLEGRO MICROSYSTEMS%' ) ) LIMIT 1 [ RunTime:0.001179s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7891 LIMIT 4 [ RunTime:0.000437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7891 ORDER BY `minOrder` ASC [ RunTime:0.001456s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7891 ORDER BY `unit` DESC [ RunTime:0.007558s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7891 LIMIT 2 [ RunTime:0.000919s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7891 ORDER BY `minOrder` ASC [ RunTime:0.000324s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MIC5504-3.3YM5-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.015776s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2841 LIMIT 4 [ RunTime:0.001206s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2841 ORDER BY `minOrder` ASC [ RunTime:0.000677s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2841 ORDER BY `unit` DESC [ RunTime:0.002497s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2841 LIMIT 2 [ RunTime:0.008039s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2841 ORDER BY `minOrder` ASC [ RunTime:0.000329s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TC2117-3.3VDBTR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.013717s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14710 LIMIT 4 [ RunTime:0.006083s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14710 ORDER BY `minOrder` ASC [ RunTime:0.001314s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14710 ORDER BY `unit` DESC [ RunTime:0.003268s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14710 LIMIT 2 [ RunTime:0.006660s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14710 ORDER BY `minOrder` ASC [ RunTime:0.011078s ]
select * from pdf where partno='L7824CV' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.002348s ]
select foldpath,foldpath2,filename from pdf_file where id=375849 limit 1 [ RunTime:0.000830s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L7824CV' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001878s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7677 LIMIT 4 [ RunTime:0.007707s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7677 ORDER BY `minOrder` ASC [ RunTime:0.006191s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7677 ORDER BY `unit` DESC [ RunTime:0.002614s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7677 LIMIT 2 [ RunTime:0.001746s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7677 ORDER BY `minOrder` ASC [ RunTime:0.000359s ]
select * from pdf where partno='TLE42744DV50ATMA1' and brandshort='INFINEON' limit 1 [ RunTime:0.002238s ]
select foldpath,foldpath2,filename from pdf_file where id=1472930 limit 1 [ RunTime:0.002531s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE42744DV50ATMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.016556s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5357 LIMIT 4 [ RunTime:0.009899s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5357 ORDER BY `minOrder` ASC [ RunTime:0.004548s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5357 ORDER BY `unit` DESC [ RunTime:0.010126s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5357 LIMIT 2 [ RunTime:0.001630s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5357 ORDER BY `minOrder` ASC [ RunTime:0.003358s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL431BQDBZR,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.014046s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4987 LIMIT 4 [ RunTime:0.011813s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4987 ORDER BY `minOrder` ASC [ RunTime:0.003259s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4987 ORDER BY `unit` DESC [ RunTime:0.007218s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4987 LIMIT 2 [ RunTime:0.004310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4987 ORDER BY `minOrder` ASC [ RunTime:0.000735s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NCV4274ADT50RKG' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.018492s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5356 LIMIT 4 [ RunTime:0.008196s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5356 ORDER BY `minOrder` ASC [ RunTime:0.007843s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5356 ORDER BY `unit` DESC [ RunTime:0.004205s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5356 LIMIT 2 [ RunTime:0.003849s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5356 ORDER BY `minOrder` ASC [ RunTime:0.000734s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL431BIDBZR,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.015015s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1728 LIMIT 4 [ RunTime:0.012556s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1728 ORDER BY `minOrder` ASC [ RunTime:0.002889s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1728 ORDER BY `unit` DESC [ RunTime:0.010014s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1728 LIMIT 2 [ RunTime:0.001217s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1728 ORDER BY `minOrder` ASC [ RunTime:0.002043s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L78M05ABDT-TR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000897s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7679 LIMIT 4 [ RunTime:0.000641s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7679 ORDER BY `minOrder` ASC [ RunTime:0.000593s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7679 ORDER BY `unit` DESC [ RunTime:0.003193s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7679 LIMIT 2 [ RunTime:0.002821s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7679 ORDER BY `minOrder` ASC [ RunTime:0.000402s ]
select * from pdf where partno='TLE4284DV50ATMA1' and brandshort='INFINEON' limit 1 [ RunTime:0.001491s ]
select foldpath,foldpath2,filename from pdf_file where id=1472939 limit 1 [ RunTime:0.003373s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE4284DV50ATMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.018202s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5851 LIMIT 4 [ RunTime:0.014586s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5851 ORDER BY `minOrder` ASC [ RunTime:0.013161s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5851 ORDER BY `unit` DESC [ RunTime:0.002092s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5851 LIMIT 2 [ RunTime:0.002553s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5851 ORDER BY `minOrder` ASC [ RunTime:0.001414s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L78L05ABUTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.005961s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2753 LIMIT 4 [ RunTime:0.003408s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2753 ORDER BY `minOrder` ASC [ RunTime:0.002481s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2753 ORDER BY `unit` DESC [ RunTime:0.012748s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2753 LIMIT 2 [ RunTime:0.003945s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2753 ORDER BY `minOrder` ASC [ RunTime:0.000554s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP1824T-ADJE/OT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.026507s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2247 LIMIT 4 [ RunTime:0.001334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2247 ORDER BY `minOrder` ASC [ RunTime:0.006010s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2247 ORDER BY `unit` DESC [ RunTime:0.001226s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2247 LIMIT 2 [ RunTime:0.000666s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2247 ORDER BY `minOrder` ASC [ RunTime:0.000404s ]
select * from pdf where partno='L78L05ABUTR' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.001088s ]
select foldpath,foldpath2,filename from pdf_file where id=126063 limit 1 [ RunTime:0.003336s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L78L05ABUTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001365s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12692 LIMIT 4 [ RunTime:0.001704s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12692 ORDER BY `minOrder` ASC [ RunTime:0.000866s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12692 ORDER BY `unit` DESC [ RunTime:0.001089s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12692 LIMIT 2 [ RunTime:0.000875s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12692 ORDER BY `minOrder` ASC [ RunTime:0.000426s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE4269GMXUMA2' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.010664s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11210 LIMIT 4 [ RunTime:0.000589s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11210 ORDER BY `minOrder` ASC [ RunTime:0.000825s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11210 ORDER BY `unit` DESC [ RunTime:0.004746s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11210 LIMIT 2 [ RunTime:0.000653s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11210 ORDER BY `minOrder` ASC [ RunTime:0.000752s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE4254GSXUMA4' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.013138s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 615 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002680s ]