create table t1 (
a1 bigint not null primary key auto_increment,
c10 char(10),
c100 char(100),
c200 char(200),
c30 char(255),
c300 text
)
insert into t1 (c10,c100,c200,c30,c300)values ('a','a','a','a','a');
insert into t1 (c10,c100,c200,c30,c300) select lpad(c10,10,'1'),lpad(c100,100,'1'),lpad(c200,190,'a'),lpad(c30,250,'1'),lpad(c300,2000,'1') from t1;
root@localhost [test]>select count(a1) from t1;
+-----------+
| count(a1) |
+-----------+
| 65536 |
select SQL_NO_CACHE count(1) from (
select a1 from t1 IGNORE INDEX (primary) order by c10 desc limit 1000 ) a;
select SQL_NO_CACHE count(1) from (
select a1,c100 from t1 IGNORE INDEX (primary) order by c10 desc limit 1000 ) a;
select SQL_NO_CACHE count(1) from (
select a1,c100,c200 from t1 IGNORE INDEX (primary) order by c10 desc limit 1000 ) a;
select SQL_NO_CACHE count(1) from (
select a1,c100,c200,c30 from t1 IGNORE INDEX (primary) order by c10 desc limit 1000 ) a;
select SQL_NO_CACHE count(1) from (
select a1,c100,c200,c30 ,c300 from t1 IGNORE INDEX (primary) order by c10 desc limit 1000 ) a;
select SQL_NO_CACHE count(1) from (
select * from t1 IGNORE INDEX (primary) order by c10 desc limit 1000 ) a;
在做網(wǎng)站、網(wǎng)站建設(shè)過程中,需要針對客戶的行業(yè)特點(diǎn)、產(chǎn)品特性、目標(biāo)受眾和市場情況進(jìn)行定位分析,以確定網(wǎng)站的風(fēng)格、色彩、版式、交互等方面的設(shè)計(jì)方向。創(chuàng)新互聯(lián)還需要根據(jù)客戶的需求進(jìn)行功能模塊的開發(fā)和設(shè)計(jì),包括內(nèi)容管理、前臺展示、用戶權(quán)限管理、數(shù)據(jù)統(tǒng)計(jì)和安全保護(hù)等功能。
分享標(biāo)題:orderby的時候select上的列導(dǎo)致的影響分析
文章起源:http://aaarwkj.com/article0/pcchoo.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供微信小程序、企業(yè)建站、定制開發(fā)、微信公眾號、網(wǎng)站維護(hù)、網(wǎng)站設(shè)計(jì)公司
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)