iT邦幫忙

0

sql optimaze query

sql
  • 分享至 

  • xImage
  •  

optimaze query
create index and use index to query:
step1: create index for table.
step2: query parma has the index columns.

eg: search a user with userid.
if user is a member of group.
then set the groupid as index of table user.
because groupid's number is smaller then userid.
so search a user with(groupid,userid).


圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言