LTE
LTE is short for Load to Engine, it is used to load disk-based properties into Ultipa's high performance graph computing engine. Loaded properties can be used by various filtering operations. Before executing LTE, make sure there is adequate memory for a better performance and more stable operation environment.
As the unit cost of DRAM (Dynamic Random Access Memory) keeps going down, big memory and persistent memory are gaining popularity, and the invention of Network Virtualization memory arrays, the trend of database development, especially graph database and graph computing will see more and more smart utilization of memory to increase system throughput rate. Memory is the new disk!
Syntax:
// To load a certain node property under a certain node schema in the current graphset
LTE().node_property(@<schema>.<property>)
// To load a certain node property (if has) under all node schemas in the current graphset
LTE().node_property(@*.<property>)
// To load a certain edge property under a certain edge schema in the current graphset
LTE().edge_property(@<schema>.<property>)
// To load a certain edge property (if has) under all edge schemas in the current graphset
LTE().edge_property(@*.<property>)
UFE
UFE is short for Unload from Engine. When a property is not needed for acceleration or filtering operations, UFE()
will help to reduce memory usage by deleting it from the memory. The property continues to persist on the disk unless it is deleted. Note that deleting a property will trigger UFE()
if the property is already LTEed.
The UFE()
will take some time depending on the size of the data, but will not affect other operations.
Syntax:
// To unload a certain node property under a certain node schema in the current graphset
UFE().node_property(@<schema>.<property>)
// To unload a certain node property (if has) under all node schemas in the current graphset
UFE().node_property(@*.<property>)
// To unload a certain edge property under a certain edge schema in the current graphset
UFE().edge_property(@<schema>.<property>)
// To unload a certain edge property (if has) under all edge schemas in the current graphset
UFE().edge_property(@*.<property>)