to zzzsssccc:
对于一般问题不过是变量多少问题,但是对于数据库,就是数据量的问题了。
我的切身体会中,最典型的就是一个表中有一个备注字段400字节,如果select了,那么大数据量访问速度立刻减低,因为数据量大,大部分情况会导致磁盘操作,假设数据有100万条,那么就多了400M的数据写+读的存取时间。
I think select a,b,c... is a little faster then select *
because select * clause must be compiled into select a,b,c...
this process may cause a little time,although approaching zero