Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions pages/database-management/enabling-memgraph-enterprise.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,26 @@ higher-priority source wins.
storage so it remains active across restarts even if the CLI flags or environment
variables are no longer passed.

## License types

Memgraph issues three license types. All three unlock the Enterprise features
listed at the top of this page; the difference lies in how the license-imposed
memory limit is applied.

| Type | Feature gating | What the license memory limit gates |
| -------------- | -------------- | ----------------------------------- |
| `enterprise` | Enterprise | **Total** tracked memory (graph + vector index combined). |
| `ai_platform` | Enterprise | **Graph memory only** (vertices, edges, properties). Vector index memory grows unconstrained, gated only by the system [`--memory-limit`](/configuration/configuration-settings) flag. |
| `oem` | OEM-specific | Reserved for OEM deployments. |

The license type for the active license is reported by
[`SHOW LICENSE INFO`](/database-management/server-stats#license-information)
under the `license_type` field.

The AI Platform license is intended for vector-heavy workloads (RAG,
similarity search, AI/ML pipelines) where the embedding storage typically
dominates total memory and should not consume the licensed graph capacity.

## Providing the license

If you want to enable the Enterprise Edition on startup, [set the configuration
Expand Down
2 changes: 1 addition & 1 deletion pages/database-management/server-stats.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ SHOW LICENSE INFO;
| organization_name | Organization name for the enterprise license. |
| license_key | Encoded license key. |
| is_valid | Whether the license is currently valid. Uses the same validation logic as enterprise feature checks. |
| license_type | Enterprise / OEM |
| license_type | `enterprise` / `ai_platform` / `oem` |
| valid_until | Date when the license expires, or `FOREVER` for non-expiring licenses. |
| memory_limit | Memory limit (in GiB). |
| status | Descriptive status of the license validity. |
Expand Down
4 changes: 4 additions & 0 deletions pages/querying/vector-search.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,10 @@ Two fields are relevant:

Together, these two fields sum to `memory_tracked` (the total tracked allocation). The instance-level `--memory-limit` applies to the combined total: if inserting a vector would exceed the limit, Memgraph throws a `Memory limit exceeded` error.

<Callout type="info">
With the [AI Platform license](/database-management/enabling-memgraph-enterprise#license-types), the license-imposed memory limit gates only `graph_memory_tracked`. Vector index memory grows up to the system `--memory-limit`, so embedding storage does not consume the licensed graph capacity.
</Callout>

<Callout type="warning">
Deleting vertices or removing a vector property from nodes does **not** free `vector_index_memory_tracked`. However, that memory is reused when new vectors are inserted into the same index, so the reserved capacity is not wasted. Memory is fully released only when the entire index is dropped with `DROP VECTOR INDEX`.
</Callout>
Expand Down