SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001708s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000503s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001829s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.215' ) [ RunTime:0.000363s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001495s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000318s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 133 LIMIT 1 [ RunTime:0.000741s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 133 [ RunTime:0.000465s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 22 [ RunTime:0.000256s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002506s ]
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-10-07 15:35:47' ) ) AND `categoryid` = 133 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:1.964505s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001425s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3434 LIMIT 4 [ RunTime:0.000406s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000882s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3434 ORDER BY `minOrder` ASC [ RunTime:0.000309s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000877s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3434 ORDER BY `unit` DESC [ RunTime:0.000290s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001216s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3434 LIMIT 2 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3434 ORDER BY `minOrder` ASC [ RunTime:0.000169s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000911s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLP521-4' OR `brand` LIKE 'ISOCOM%' ) ) LIMIT 1 [ RunTime:0.000492s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5841 LIMIT 4 [ RunTime:0.000255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5841 ORDER BY `minOrder` ASC [ RunTime:0.000266s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5841 ORDER BY `unit` DESC [ RunTime:0.000288s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5841 LIMIT 2 [ RunTime:0.000253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5841 ORDER BY `minOrder` ASC [ RunTime:0.000161s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TCMT1117' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.005734s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5993 LIMIT 4 [ RunTime:0.000293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5993 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5993 ORDER BY `unit` DESC [ RunTime:0.000528s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5993 LIMIT 2 [ RunTime:0.000445s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5993 ORDER BY `minOrder` ASC [ RunTime:0.000158s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KP-1608P1C' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.000625s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16768 LIMIT 4 [ RunTime:0.000256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16768 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16768 ORDER BY `unit` DESC [ RunTime:0.000270s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16768 LIMIT 2 [ RunTime:0.000252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16768 ORDER BY `minOrder` ASC [ RunTime:0.000159s ]
select * from pdf where partno='TCMT1113' and brandshort='VISHAY' limit 1 [ RunTime:0.003559s ]
select foldpath,foldpath2,filename from pdf_file where id=1059931 limit 1 [ RunTime:0.000958s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TCMT1113' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.010760s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15749 LIMIT 4 [ RunTime:0.000621s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15749 ORDER BY `minOrder` ASC [ RunTime:0.000592s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15749 ORDER BY `unit` DESC [ RunTime:0.000585s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15749 LIMIT 2 [ RunTime:0.000481s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15749 ORDER BY `minOrder` ASC [ RunTime:0.000313s ]
select * from pdf where partno='TCMT1113' and brandshort='VISHAY' limit 1 [ RunTime:0.000608s ]
select foldpath,foldpath2,filename from pdf_file where id=1059931 limit 1 [ RunTime:0.000304s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TCMT1113' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000323s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2920 LIMIT 4 [ RunTime:0.000730s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2920 ORDER BY `minOrder` ASC [ RunTime:0.000560s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2920 ORDER BY `unit` DESC [ RunTime:0.000522s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2920 LIMIT 2 [ RunTime:0.000509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2920 ORDER BY `minOrder` ASC [ RunTime:0.000343s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ILD621GB' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.010412s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6410 LIMIT 4 [ RunTime:0.000408s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6410 ORDER BY `minOrder` ASC [ RunTime:0.000342s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6410 ORDER BY `unit` DESC [ RunTime:0.000326s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6410 LIMIT 2 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6410 ORDER BY `minOrder` ASC [ RunTime:0.000317s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FOD817A3SD' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000345s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5995 LIMIT 4 [ RunTime:0.000494s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5995 ORDER BY `minOrder` ASC [ RunTime:0.000506s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5995 ORDER BY `unit` DESC [ RunTime:0.000507s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5995 LIMIT 2 [ RunTime:0.000476s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5995 ORDER BY `minOrder` ASC [ RunTime:0.000348s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L-53P3C' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.001149s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3435 LIMIT 4 [ RunTime:0.000514s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3435 ORDER BY `minOrder` ASC [ RunTime:0.000519s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3435 ORDER BY `unit` DESC [ RunTime:0.000538s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3435 LIMIT 2 [ RunTime:0.000499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3435 ORDER BY `minOrder` ASC [ RunTime:0.000357s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'H11D1' OR `brand` LIKE 'ISOCOM%' ) ) LIMIT 1 [ RunTime:0.000775s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5840 LIMIT 4 [ RunTime:0.000515s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5840 ORDER BY `minOrder` ASC [ RunTime:0.000539s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5840 ORDER BY `unit` DESC [ RunTime:0.000533s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5840 LIMIT 2 [ RunTime:0.000495s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5840 ORDER BY `minOrder` ASC [ RunTime:0.000372s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TCMT1113' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000368s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-07 15:35:47' ) ) AND `categoryid` = 133 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:2.561533s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-07 15:35:47' ) ) AND `categoryid` = 133 ) [ RunTime:1.673121s ]