N
The Daily Insight

What is Blevel in Oracle index?

Author

Olivia Shea

Updated on February 25, 2026

“The BLEVEL (or branch level) is part of the B-tree index format and relates to the number of times Oracle has to narrow its search on the index while searching for a particular record. In some cases, a separate disk hit is requested for each BLEVEL.

What is leaf blocks in Oracle indexes?

Leaf blocks contain the indexed column value and ROWID of the table rows that they address. A branch block contains addresses (like ROWIDs) of a bunch of contiguous leaf blocks, plus the high-value of the LAST leaf block it points to.

Why is Oracle not using my index?

Answer: Oracle SQL not using an index is a common complaint, and it’s often because the optimizer thinks that a full-scan is cheaper than index access. · Bad/incomplete statistics – Make sure to re-analyze the table and index with dbms_stats to ensure that the optimizer has good metadata.

What is normal Oracle index?

Normal indexes. (By default, Oracle Database creates B-tree indexes.) Bitmap indexes, which store rowids associated with a key value as a bitmap. Partitioned indexes, which consist of partitions containing an entry for each value that appears in the indexed column(s) of the table.

How do you check if the index is being used in Oracle?

In Oracle SQL Developer, when you have SQL in the worksheet, there is a button “Explain Plan”, you can also hit F10. After you execute Explain plan, it will show in the bottom view of SQL Developer. There is a column “OBJECT_NAME”, it will tell you what index is being used.

Why index is not being used in SQL?

Analysis: SQL Server might ignore the index if the range is too wide. For example, these two queries will probably hit the index on the LastUpdated column in a 300 million rows table because the range is very narrow. So, a 300 million rows table should process in less than an hour.

Does indexing improve performance?

Effective indexes are one of the best ways to improve performance in a database application. By using the index in the back of a book, a reader can complete the task in a much shorter time. In database terms, a table scan happens when there is no index available to help a query.

Why do we use index in Oracle?

Indexes are used in Oracle to provide quick access to rows in a table. Indexes provide faster access to data for operations that return a small portion of a table’s rows. Sometimes, if an index is not being used by default, you can use a query hint so that the index is used.

How do indexes help performance?

An index is used to speed up data search and SQL query performance. The database indexes reduce the number of data pages that have to be read in order to find the specific record. The biggest challenge with indexing is to determine the right ones for each table.

What is the blevel of an lob index?

BLEVEL is a property of B-tree indexes, and does not make sense for LOB indexes. Even if you collect statistics, BLEVEL for such an index will remain null. Thanks @Balazs for the info.

Does the CBO count the cost of the blevel?

As the Blevel is now 2, the CBO now includes the cost of the Blevel in its calculations. The cost associated with accessing the root block and a branch block all now count. Although overall the costs are still low, this increase actually represents a 100% increase in the use of the index for an equality search.

What is oracle B*tree index?

Oracle B*Tree index is balanced tree where the order is the same at every node and the depth is the same for every leaf, with double linked list for the leaf nodes. The maximum number of children per node is called the order of the tree.