Overview
The use of Ultipa requires licenses. Ultipa Powerhouse v5 offers two licenses:
- Server License
- Algo License
Dumping License
To dump or print out information about the current server license:
license.dump()
It returns a table license
with the following fields:
Field |
Description |
---|---|
license_uuid |
The unique identifier (UUID) for the license. |
company |
The name of the company that owns the license. |
department |
The department within the company that owns the license. |
limited_user |
The maximum number of database users allowed. |
limited_graph |
The maximum number of graphsets allowed. |
limited_node |
The maximum number of nodes that each graphset can contain. |
limited_edge |
The maximum number of edges that each graphset can contain. |
limited_shard |
The maximum number of shard servers allowed. |
limited_hdc |
The maximum number of HDC servers allowed. |
expired_date |
The expiration date of the license. |
Updating License
To update both server license and algo license:
license().update("<server_license_contxt>", "<algo_license_context>")
To update server license only:
license().update("<server_license_contxt>", "")
To update algo license only:
license().update("", "<algo_license_context>")