10.2.1 Configuring PARALLEL Hint when Loading a Graph
You can also optimize the graph loading performance by configuring a
specific parallel hint value using the GraphConfig field,
PARALLEL_HINT_DEGREE
, which will be used by the underlying SQL
queries. This can be applied when loading a graph using a JSON configuration file or
through the GraphConfigBuilder
API.
The following table describes how the internal queries are configured based
on the specified PARALLEL_HINT_DEGREE
values.
Table 10-2 PARALLEL_HINT_DEGREE values
PARALLEL_HINT_DEGREE Value
|
Parallel hint used in the SQL Statement |
---|---|
Positive integer(n )
|
Uses the given n degree:
|
Zero | Uses a plain hint:
|
Negative integer
(Default value:
|
No PARALLEL hint:
|
See Also:
- Loading a Graph Using a JSON Configuration File for an example using parallel hint configuration.
- Loading a Graph by Defining a Graph Configuration Object for an example using parallel hint configuration.
Parent topic: Loading a Graph Using a JSON Configuration File