https://www.postgresql.org/docs/9.6/static/indexes-partial.html
create index a index on **ealthdb_shopUserRelationloss (a,khrq) where a ='1'
create index b index on **ealthdb_shopUserRelationloss (b,khrq) where b ='1'
create index c index on **ealthdb_shopUserRelationloss (c,khrq) where c ='1'
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29050044/viewspace-2127446/ ,如需转载,请注明出处,否则将追究法律责任。