SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001633s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.010960s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.012223s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.79' ) [ RunTime:0.016369s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001897s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.017661s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 534 LIMIT 1 [ RunTime:0.019614s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 534 [ RunTime:0.016483s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 47 [ RunTime:0.027274s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001639s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 534 ) AND `u`.`lockUser` = '0' [ RunTime:0.104578s ]
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` = 534 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045211s ]
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 ('5735','7552','7866','10383','8452','7751','5270','11956','5635','12434','6704','1301') ORDER BY FIELD(s.id, 5735,7552,7866,10383,8452,7751,5270,11956,5635,12434,6704,1301) [ RunTime:0.140810s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.013022s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5735 LIMIT 4 [ RunTime:0.033198s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004032s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5735 ORDER BY `minOrder` ASC [ RunTime:0.117474s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.023632s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5735 ORDER BY `unit` DESC [ RunTime:0.044185s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.032357s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5735 LIMIT 2 [ RunTime:0.063612s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5735 ORDER BY `minOrder` ASC [ RunTime:0.051072s ]
select * from pdf where partno='A000067' and brandshort='ARDUINO' limit 1 [ RunTime:0.082543s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003141s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'A000067' OR `brand` LIKE 'ARDUINO%' ) ) LIMIT 1 [ RunTime:0.041929s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7552 LIMIT 4 [ RunTime:0.058796s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7552 ORDER BY `minOrder` ASC [ RunTime:0.027423s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7552 ORDER BY `unit` DESC [ RunTime:0.037553s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7552 LIMIT 2 [ RunTime:0.012731s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7552 ORDER BY `minOrder` ASC [ RunTime:0.011626s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NUCLEO-F303RE' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.025338s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7866 LIMIT 4 [ RunTime:0.043521s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7866 ORDER BY `minOrder` ASC [ RunTime:0.000741s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7866 ORDER BY `unit` DESC [ RunTime:0.001555s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7866 LIMIT 2 [ RunTime:0.000836s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7866 ORDER BY `minOrder` ASC [ RunTime:0.000783s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407G-DISC1' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001507s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10383 LIMIT 4 [ RunTime:0.001091s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10383 ORDER BY `minOrder` ASC [ RunTime:0.007408s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10383 ORDER BY `unit` DESC [ RunTime:0.001869s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10383 LIMIT 2 [ RunTime:0.003204s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10383 ORDER BY `minOrder` ASC [ RunTime:0.000493s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LPC55S69-EVK' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.052858s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8452 LIMIT 4 [ RunTime:0.011141s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8452 ORDER BY `minOrder` ASC [ RunTime:0.001990s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8452 ORDER BY `unit` DESC [ RunTime:0.016551s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8452 LIMIT 2 [ RunTime:0.001009s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8452 ORDER BY `minOrder` ASC [ RunTime:0.002424s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BBONE-BLUE' OR `brand` LIKE 'BEAGLEBOARD%' ) ) LIMIT 1 [ RunTime:0.029275s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7751 LIMIT 4 [ RunTime:0.011070s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7751 ORDER BY `minOrder` ASC [ RunTime:0.072126s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7751 ORDER BY `unit` DESC [ RunTime:0.024762s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7751 LIMIT 2 [ RunTime:0.016171s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7751 ORDER BY `minOrder` ASC [ RunTime:0.018737s ]
select * from pdf where partno='NUCLEO-L476RG' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.019516s ]
select foldpath,foldpath2,filename from pdf_file where id=1986630 limit 1 [ RunTime:0.002754s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NUCLEO-L476RG' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.019684s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5270 LIMIT 4 [ RunTime:0.007348s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5270 ORDER BY `minOrder` ASC [ RunTime:0.046809s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5270 ORDER BY `unit` DESC [ RunTime:0.011526s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5270 LIMIT 2 [ RunTime:0.027785s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5270 ORDER BY `minOrder` ASC [ RunTime:0.001106s ]
select * from pdf where partno='P0082' and brandshort='TERASIC TECHNOLOGIES' limit 1 [ RunTime:0.011202s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P0082' OR `brand` LIKE 'TERASIC TECHNOLOGIES%' ) ) LIMIT 1 [ RunTime:0.006863s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11956 LIMIT 4 [ RunTime:0.004406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11956 ORDER BY `minOrder` ASC [ RunTime:0.008638s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11956 ORDER BY `unit` DESC [ RunTime:0.005157s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11956 LIMIT 2 [ RunTime:0.009362s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11956 ORDER BY `minOrder` ASC [ RunTime:0.028086s ]
select * from pdf where partno='471-036-1' and brandshort='DIGILENT' limit 1 [ RunTime:0.028633s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '471-036-1' OR `brand` LIKE 'DIGILENT%' ) ) LIMIT 1 [ RunTime:0.025449s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5635 LIMIT 4 [ RunTime:0.012184s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5635 ORDER BY `minOrder` ASC [ RunTime:0.040352s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5635 ORDER BY `unit` DESC [ RunTime:0.042410s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5635 LIMIT 2 [ RunTime:0.051711s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5635 ORDER BY `minOrder` ASC [ RunTime:0.026874s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MBS-SAM9X35' OR `brand` LIKE 'EMBEST%' ) ) LIMIT 1 [ RunTime:0.031100s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12434 LIMIT 4 [ RunTime:0.070379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12434 ORDER BY `minOrder` ASC [ RunTime:0.048530s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12434 ORDER BY `unit` DESC [ RunTime:0.046589s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12434 LIMIT 2 [ RunTime:0.038107s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12434 ORDER BY `minOrder` ASC [ RunTime:0.054273s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '783525-02' OR `brand` LIKE 'NI%' ) ) LIMIT 1 [ RunTime:0.018544s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6704 LIMIT 4 [ RunTime:0.017662s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6704 ORDER BY `minOrder` ASC [ RunTime:0.074055s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6704 ORDER BY `unit` DESC [ RunTime:0.114725s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6704 LIMIT 2 [ RunTime:0.011819s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6704 ORDER BY `minOrder` ASC [ RunTime:0.023956s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MARS BOARD WITH 9.7\"LCD.' OR `brand` LIKE 'EMBEST%' ) ) LIMIT 1 [ RunTime:0.018859s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1301 LIMIT 4 [ RunTime:0.044589s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1301 ORDER BY `minOrder` ASC [ RunTime:0.032688s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1301 ORDER BY `unit` DESC [ RunTime:0.075855s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1301 LIMIT 2 [ RunTime:0.176026s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1301 ORDER BY `minOrder` ASC [ RunTime:0.028047s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RE210-S2' OR `brand` LIKE 'ROTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000371s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 534 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.093079s ]