13.1 Loading a Graph Into the Graph Server (PGX)
Data from relational tables can be modeled as a property graph and loaded into the graph server.
The graph server (PGX) supports various data sources and data formats for loading graph data, including file system and database formats. See Data Format Support Matrix to get more information on the supported data formats.
In order to perform graph analysis with the graph server (PGX), you must first read a graph into PGX.
There are three ways to read a graph into the graph server (PGX):
- Loading a graph from Oracle Database tables by using the GraphConfigBuilder class to create Oracle RDBMS graph configs programmatically via Java methods.
See Defining the Graph Configuration via Java for more details.
- Loading a graph from Oracle Database tables by writing a PGX graph configuration file in JSON format.
See Creating a JSON Configuration to Load a Graph for more details.
- Loading a graph using PGQL -
CREATE PROPERTY GRAPH
statement.See Creating a Property Graph using PGQL for more details.