OrientDB Interview Questions and Answers
Ques 6. What is an edge in OrientDB?
An edge in OrientDB represents a relationship between two vertices in a graph database and can also have properties.
Ques 7. How does OrientDB ensure data consistency?
OrientDB ensures data consistency through the support of ACID transactions, providing Atomicity, Consistency, Isolation, and Durability.
Ques 8. What is the difference between a lightweight and a heavyweight edge in OrientDB?
A lightweight edge only stores the record IDs of connected vertices, while a heavyweight edge stores complete vertex records. Lightweight edges are more efficient for certain use cases.
Ques 9. Explain sharding in OrientDB.
Sharding in OrientDB involves distributing data across multiple servers to improve scalability and performance.
Ques 10. How does OrientDB handle indexing?
OrientDB supports automatic indexing for better query performance, and it provides various index types, including unique, not unique, and full-text indexes.
Most helpful rated by users: