2016年5月18日 星期三

count (*)快

count(column)相當耗用I/O,這是因為count(column)需要額外檢查該欄位是否存在null
count (*) 比coun(column)快,整體系統查詢效能提高20倍以上

沒有留言: