9.7 OPG_APIS.CLONE_GRAPH
Format
OPG_APIS.CLONE_GRAPH( orgGraph IN VARCHAR2, newGraph IN VARCHAR2, dop IN INTEGER DEFAULT 4, num_hash_ptns IN INTEGER DEFAULT 8, tbs IN VARCHAR2 DEFAULT NULL);
Description
Makes a clone of the original graph, giving the new graph a new name.
Parameters
- orgGraph
-
Name of the original property graph.
- newGraph
-
Name of the new (clone) property graph.
- dop
-
Degree of parallelism for the operation.
- num_hash_ptns
-
Number of hash partitions used to partition the vertices and edges tables. It is recommended to use a power of 2 (2, 4, 8, 16, and so on).
- tbs
-
Name of the tablespace to hold all the graph data and index data.
Usage Notes
The original property graph must aleady exist in the database.
Examples
The following example creates a clone graph named mypgclone
from the property graph mypg
in the tablespace my_ts
using a degree of parallelism of 4 and 8 partitions.
EXECUTE OPG_APIS.CLONE_GRAPH('mypg', 'mypgclone', 4, 8, 'my_ts');
Parent topic: OPG_APIS Package Subprograms