9 Loading a PG View into the Graph Server (PGX)
You can load a full property graph view (PG View) 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 property graph view (PG View) into the graph server (PGX).
- Loading a PG View Using the readGraphByName API
You can load a graph into the graph server (PGX) from a property graph view (PG View) by name. - Loading a Graph Using a JSON Configuration File
In order to load a property graph view into the graph server (PGX), you can create a graph configuration file, which contains the metadata of the graph 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 Property Graph Views
You can create a subgraph from a property graph view and load it into memory in the graph server (PGX).
Parent topic: Property Graph Views