[PERFORM] Performance difference in similar queries

2004-12-03 Thread Kiran Mukhyala
Hi Folks, I have two queries that are of the form : select ... from ... where ... in (list1) AND ... in (list2). The two queries differ only in the size of list2 by 1, but their performances are quite different. Query2 runs much faster than Query1. The queries are: Query 1: SELECT svm,pmo

[PERFORM] Performance difference in similar queries

2004-12-03 Thread Kiran Mukhyala
Hi Folks, I have two queries that are of the form : select ... from ... where ... in (list1) AND ... in (list2). The two queries differ only in the size of list2 by 1, but their performances are quite different. Query2 runs much faster than Query1. The queries are: Query 1: SELECT svm,pmo