I'm developing an application which processes many data in Oracle database.
In some case, I have to get many object based on a given list of conditions, and I use SELECT ...FROM.. WHERE... IN...
, but the IN
expression just accepts a list whose size is maximum 1,000 items.
So I use OR
expression instead, but as I observe -- perhaps this query (using OR
) is slower than IN
(with the same list of condition). Is it right? And if so, how to improve the speed of query?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…