Console - INDEXES

Displays all indexes in the current database.

Syntax

INDEXES

Example

  • Display indexes in the current database:

    orientdb {db=GratefulDeadConcerts}> INDEXES
    
    INDEXES
    --------------+------------+-------+--------+---------
     NAME         | TYPE       | CLASS | FIELDS | RECORDS 
    --------------+------------+-------+--------+---------
     dictionary   | DICTIONARY |       |        |       0 
     Group.Grp_Id | UNIQUE     | Group | Grp_Id |       1 
     ORole.name   | UNIQUE     | ORole | name   |       3 
     OUser.name   | UNIQUE     | OUser | name   |       4 
    --------------+------------+----------------+---------
     TOTAL = 4                                          8 
    ------------------------------------------------------
    

For more information on other commands, see Console Commands.