Disclaimer

Sunday 19 December 2021

Indexes in Oracle

 






Level of Blocks means Height of Index

i.e. Level of Block = Height of Index

Height = Root block to Leaf blocks

 



 

To view the height you will have to validate the structure



 






 SQL> select * from hr.empl_demo where employee_id=200;




 










SQL> select employee_id from hr.empl_demo order by employee_id;








SQL> select count(EMPLOYEE_ID) from hr.empl_demo;




SQL> select dep_id,sum(salary) from hr.empl_demo group by dept_id;



























No comments:

Post a Comment

100 Oracle DBA Interview Questions and Answers

  Here are 100 tricky interview questions tailored for a Senior Oracle DBA role. These questions span a wide range of topics, including perf...