improve perf by add index to table