23.12.6 Get Currently Loading Graphs
serverState.get("graphs_currently_loading")
returns progress information about graphs which are currently loading.
Each entry, corresponding to one graph, is shown as follows:
{
"name": "anonymous_graph_1",
"session_id": "530b5f9a-75c4-4838-9cc3-44df44b035c5",
"start_loading_timestamp": 1605468453030,
"elapsed_loading_time_ms": 281742,
"num_vertices_read": 10000000,
"num_edges_read": 196500000,
"num_edge_providers_loaded": 1,
"num_edge_providers_remaining": 9,
"num_vertex_providers_loaded": 1,
"num_vertex_providers_remaining": 0,
"loading_phase": "reading edges",
"loading_phase_start_timestamp": 1605468453085,
"loading_phase_elapsed_time_ms": 281687,
"loading_phase_state": "current vertex provider index: 1, number of vertices read for prorvider: 0, current edge provider index: 1, number of edges read for prorvider: 76,500,000"
}
The name
field contains a temporary name of the graph. It may not be equal to the name that is assigned to graph after loading.
Fields indicating the number of read vertices and edges are updated in regular intervals of 10,000 entities.
The field loading_phase
indicates the current phase during graph loading. Valid values are "reading edges
" or "building graph indices
". For some loading phases, the field loading_phase_state
contains a string with additional information on the phase. However, not all loading phases provide this additional information.
Note:
graphs_currently_loading
is supported for data formats CSV
, ADJ_LIST
, EDGE_LIST
, TWO_TABLES
and PG (FLAT_FILE)
for homogeneous graphs and for formats CSV
and RDBMS
for partitioned graphs.
Parent topic: Admin API