Console - LIST CLUSTERS

Displays all configured clusters in the current database.

Syntax:

  • Long Syntax:

    1. LIST CLUSTERS
  • Short Syntax:

    1. CLUSTERS

Example:

  • List current clusters on database:

    1. orientdb> LIST CLUSTERS
    2.  
    3. CLUSTERS
    4. -------------+------+-----------+-----------
    5. NAME | ID | TYPE | ELEMENTS
    6. -------------+------+-----------+-----------
    7. metadata | 0 | Physical | 11
    8. index | 1 | Physical | 0
    9. default | 2 | Physical | 779
    10. csv | 3 | Physical | 1000
    11. binary | 4 | Physical | 1001
    12. person | 5 | Physical | 7
    13. animal | 6 | Physical | 5
    14. animalrace | -2 | Logical | 0
    15. animaltype | -3 | Logical | 1
    16. orderitem | -4 | Logical | 0
    17. order | -5 | Logical | 0
    18. city | -6 | Logical | 3
    19. -------------+------+-----------+-----------
    20. TOTAL 2807
    21. --------------------------------------------

For information on creating new clusters in the current database, see the CREATE CLUSTER command. For more information on other commands, see Console Commands.