Q: Performance
From: <martinj_at_pi.net>
Date: 1995/05/30
Message-ID: <NEWTNews.4645.801901266.martinj_at_pi-user.pi.net>#1/1
Date: 1995/05/30
Message-ID: <NEWTNews.4645.801901266.martinj_at_pi-user.pi.net>#1/1
Hello,
Because of daily usage of large tables, I have some performance questions I'd like answers to:
- What's faster:
- select rownum from A where A.field1 NOT IN
(select fieldA from B)
- select rownum from A where NOT EXISTS
(select 'x' from B where A.field1 = B.fieldA)
- Anything else
- Are there performance differences between:
- Select count(*) ...
- Select count(rownum) ...
- Select count('x') ....
- What's faster:
- Insert into ... values (....) as select ...
- Insert with a cursor
