Types of Index in oracle?

前端 未结 2 2065
刺人心
刺人心 2021-02-05 19:13

What are the type of indexes in oracle? How to identify the index need to create?

2条回答
  •  长情又很酷
    2021-02-05 19:39

    There are a number of index types in Oracle, depending on what object you need to index:

    For heap tables, there are b-tree indexes and bitmap indexes.

    A b-tree index is suitable for most applications; bitmap indexes have their own advantages and disadvantages.

    There are also specialised indexes for specific data types, using Oracle cartridges; e.g. Oracle Text indexes, spatial indexes, and 3rd party indexes.

    Furthermore, an index might be differentiated by other factors:

    • an index on a partitioned table might be global or local
    • an index might consist of one column, or multiple columns
    • an index might be on a normal column, or on an expression (aka "function-based" index)

    For more info, read the documentation.

    An excellent place to find out more than you'll ever want to know about Oracle indexes is Richard Foote's blog.

提交回复
热议问题