Hi,
We are using Oracle 11g database release 2. I would like to know still the rule based tips will improve the performance as i heard all these are taken care in Oracle 10g itself. Some of the Tips i've provided below could you please share me information on this.
Queries like
select count(*) from emp
select count(1) from emp
OR placing driving tables at last
OR the below provided codes
[b]Total CPU = 156 sec[/b]
SELECT ... FROM emp E
WHERE emp_salary > 50000
AND emp_type = 'MANAGER'
AND 25 < (SELECT count(*)
FROM emp
WHERE emp_mgr = e.empno)
[b]Total CPU = 10 sec[/b]
SELECT ... FROM emp E
WHERE 25 < (SELECT count(*)
FROM emp
WHERE emp_mgr = e.empno)
AND emp_salary > 50000
AND emp_type = 'MANAGER'
Thanks in advance