According to specialized wording Optimization signifies "Accomplish the better conceivable exhibition in the snappiest measure of time." regarding information base, streamlining includes augmenting the speed and proficiency with which information is recovered.
OrientDB underpins lightweight edges, which implies an immediate connection between the information substances. In basic terms, it is a field-to-handle connection. OrientDB gives various approaches to streamline the data set. It underpins the transformation of ordinary edges to lightweight edges.
The accompanying assertion is the fundamental grammar of the Optimize data set order.
OPTMIZE DATABASE [-lwedges] [-noverbose]
Where lwedges changes over customary edges into lightweight edges and noverbose cripples the yield.
Example
In this model, we will utilize a similar data set named 'demo' that we made in the past section. You can utilize the accompanying advance data set order.
OPTIMIZE DATABASE -lwedges
In the event that it is effectively executed, you will get some fruitful notices alongside the finish message.
Database Optimization completed in 35ms