10 Loading a PGQL property graph into the Graph Server (PGX)
You can load a full PGQL property graph or a subgraph into the graph server (PGX).
Note:
Ensure that you drop the graph when it is no longer in use to release the graph server (PGX) memory. See Deleting a Graph for more information.There are several ways to load a PGQL property graph into the graph server (PGX).
- Loading a PGQL Property Graph Using the readGraphByName API
You can load a PGQL property graph by name into the graph server (PGX). - Loading a Graph Using a JSON Configuration File
To load a PGQL property graph into the graph server (PGX), you can create a graph configuration file, which contains the graph metadata to be loaded. - Loading a Graph by Defining a Graph Configuration Object
You can load a graph from Oracle Database by first defining the graph configuration object using theGraphConfigBuilder
class and then reading the graph into the graph server (PGX). - Loading a Subgraph from a PGQL Property Graph
You can create a subgraph from a PGQL property graph and load it into memory in the graph server (PGX).
Parent topic: PGQL Property Graphs