SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001317s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000468s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002076s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000271s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001243s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000248s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 39 LIMIT 1 [ RunTime:0.000522s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 39 [ RunTime:0.000352s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419) [ RunTime:0.000387s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002049s ]
SELECT `s`.`id`,`s`.*,`u`.`company`,`t`.`name` FROM `stock` `s` LEFT JOIN `user` `u` ON `u`.`id`=`s`.`userid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-30 17:12:48' ) ) AND `categoryid` IN (403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 20,10 [ RunTime:1.112304s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001858s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3713 LIMIT 4 [ RunTime:0.000438s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001007s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3713 ORDER BY `minOrder` ASC [ RunTime:0.000354s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000980s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3713 ORDER BY `unit` DESC [ RunTime:0.000326s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000976s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3713 LIMIT 2 [ RunTime:0.000301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3713 ORDER BY `minOrder` ASC [ RunTime:0.000190s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000985s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CAT24C256WI-GT3.' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.007011s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11360 LIMIT 4 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11360 ORDER BY `minOrder` ASC [ RunTime:0.000203s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11360 ORDER BY `unit` DESC [ RunTime:0.000198s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11360 LIMIT 2 [ RunTime:0.000183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11360 ORDER BY `minOrder` ASC [ RunTime:0.000176s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24C02-DRDW8TP/K' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000207s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9735 LIMIT 4 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9735 ORDER BY `minOrder` ASC [ RunTime:0.000196s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9735 ORDER BY `unit` DESC [ RunTime:0.000179s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9735 LIMIT 2 [ RunTime:0.000176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9735 ORDER BY `minOrder` ASC [ RunTime:0.000173s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24M02-DRMN6TP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000187s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8012 LIMIT 4 [ RunTime:0.000277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8012 ORDER BY `minOrder` ASC [ RunTime:0.000298s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8012 ORDER BY `unit` DESC [ RunTime:0.000291s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8012 LIMIT 2 [ RunTime:0.000284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8012 ORDER BY `minOrder` ASC [ RunTime:0.000185s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS2430AP+T&R' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000626s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6595 LIMIT 4 [ RunTime:0.000277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6595 ORDER BY `minOrder` ASC [ RunTime:0.000286s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6595 ORDER BY `unit` DESC [ RunTime:0.000289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6595 LIMIT 2 [ RunTime:0.000281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6595 ORDER BY `minOrder` ASC [ RunTime:0.000182s ]
select * from pdf where partno='AT24C16C-SSHM-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.002717s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT24C16C-SSHM-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.020105s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14954 LIMIT 4 [ RunTime:0.000801s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14954 ORDER BY `minOrder` ASC [ RunTime:0.000385s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14954 ORDER BY `unit` DESC [ RunTime:0.000372s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14954 LIMIT 2 [ RunTime:0.000392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14954 ORDER BY `minOrder` ASC [ RunTime:0.000324s ]
select * from pdf where partno='MT40A256M16GE-083E:B' and brandshort='MICRON' limit 1 [ RunTime:0.000620s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MT40A256M16GE-083E:B' OR `brand` LIKE 'MICRON%' ) ) LIMIT 1 [ RunTime:0.000405s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14801 LIMIT 4 [ RunTime:0.000607s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14801 ORDER BY `minOrder` ASC [ RunTime:0.000552s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14801 ORDER BY `unit` DESC [ RunTime:0.000534s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14801 LIMIT 2 [ RunTime:0.000564s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14801 ORDER BY `minOrder` ASC [ RunTime:0.000390s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24C64-WMN6P' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000705s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14803 LIMIT 4 [ RunTime:0.000502s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14803 ORDER BY `minOrder` ASC [ RunTime:0.000517s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14803 ORDER BY `unit` DESC [ RunTime:0.000495s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14803 LIMIT 2 [ RunTime:0.000483s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14803 ORDER BY `minOrder` ASC [ RunTime:0.000376s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24C02-WMN6P' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000897s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1115 LIMIT 4 [ RunTime:0.000499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1115 ORDER BY `minOrder` ASC [ RunTime:0.000531s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1115 ORDER BY `unit` DESC [ RunTime:0.000497s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1115 LIMIT 2 [ RunTime:0.000497s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1115 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '24LC02B-I/SN' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.019035s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8055 LIMIT 4 [ RunTime:0.000728s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8055 ORDER BY `minOrder` ASC [ RunTime:0.000671s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8055 ORDER BY `unit` DESC [ RunTime:0.000521s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8055 LIMIT 2 [ RunTime:0.000520s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8055 ORDER BY `minOrder` ASC [ RunTime:0.000343s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS2431+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000677s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-30 17:12:48' ) ) AND `categoryid` IN (403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:1.845452s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-30 17:12:48' ) ) AND `categoryid` IN (403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419) ) [ RunTime:1.201309s ]