SQL - improve NOT EXISTS query performance

前端 未结 7 1831
名媛妹妹
名媛妹妹 2021-02-07 09:08

Is there a way I can improve this kind of SQL query performance:

INSERT
INTO ...
WHERE NOT EXISTS(Validation...)

The problem is when I have ma

7条回答
  •  名媛妹妹
    2021-02-07 09:42

    Make sure you are searching on indexed columns, with no manipulation of the data within those columns (like substring etc.)

提交回复
热议问题