A distributed, fast open-source graph database featuring horizontal scalability and high availability. This is an archived repo for v2.5 only, from 2.6.0 +, NebulaGraph switched back to https://github.com/vesoft-inc/nebula
Fixed the performance reduction problems caused by the sessions will update at the next upload period when use space. https://github.com/vesoft-inc/nebula-graph/pull/1355
Fixed the performance problems of k8s caused by processing logic of the remote address in connection requests. https://github.com/vesoft-inc/nebula-common/pull/615
Lookup
statement. https://github.com/vesoft-inc/nebula-graph/pull/1188
FindPath
statement. https://github.com/vesoft-inc/nebula-graph/pull/1091
Subgraph
statement. https://github.com/vesoft-inc/nebula-graph/pull/1134
timestamp
function. https://github.com/vesoft-inc/nebula-common/pull/515
EXISTS
function to the MAP
. https://github.com/vesoft-inc/nebula-graph/pull/973
# Add the WITH PROP keyword to the output property
GET SUBGRAPH WITH PROP FROM <vids>
# The original syntax will only output the graph structure without properties
GET SUBGRAPH FROM <vids>
$-.
in ‘ORDER BY’. But in earlier versions, there is no need. Example:Before:
(root@nebula) [basketballplayer]> LOOKUP ON player \
-> YIELD player.age As playerage \
-> | GROUP BY $-.playerage \
-> YIELD $-.playerage as age, count(*) AS number \
-> | ORDER BY number DESC, age DESC;
From v2.5.0
(czp@nebula) [basketballplayer]> LOOKUP ON player \
-> YIELD player.age As playerage \
-> | GROUP BY $-.playerage \
-> YIELD $-.playerage as age, count(*) AS number \
-> | ORDER BY $-.number DESC, $-.age DESC;
StorageClient
https://github.com/vesoft-inc/nebula-common/pull/468
GetFlags
interface adds support for Unsigned Integers https://github.com/vesoft-inc/nebula-common/pull/469
GO
statement fails to yield the source vertex properties https://github.com/vesoft-inc/nebula-graph/pull/859
logs
directory does not exist https://github.com/vesoft-inc/nebula-graph/pull/873 https://github.com/vesoft-inc/nebula-storage/pull/403
FIND SHORTEST PATH xxx UPTO N STEPS
return N+1 steps' path when N is an odd number.https://github.com/vesoft-inc/nebula-graph/pull/912DELETE
statement, SementicError
is returned https://github.com/vesoft-inc/nebula-graph/pull/917
openCypher
if no item is found https://github.com/vesoft-inc/nebula-graph/pull/901 https://github.com/vesoft-inc/nebula-common/pull/480
GetNeighborsIter()
may return partial results in cluster mode. https://github.com/vesoft-inc/nebula-graph/pull/922
MATCH ... WHERE
clause makes graphd
crash. https://github.com/vesoft-inc/nebula-graph/pull/919
SemanticError
problem when seeking by negative vid https://github.com/vesoft-inc/nebula-graph/pull/932
TAG/EDGE
specification does not work in SHOW CREATE TAG/EDGE INDEX
clauses https://github.com/vesoft-inc/nebula-graph/pull/933 https://github.com/vesoft-inc/nebula-storage/pull/426
REBUILD INDEX
returns succeed even if failed sometimes. https://github.com/vesoft-inc/nebula-storage/pull/405
NULL
in substr()
or substring()
makes graphd
crash https://github.com/vesoft-inc/nebula-common/pull/491
vertexID
supports both Integer
and String
.NULL
. NOT NULL
constraint is also supportedString
MATCH
clauseRETURN
, WITH
, UNWIND
, LIMIT
& SKIP
clausesLOOKUP ON
filtering data supports OR
and AND
operators.FIND PATH
supports finding paths with or without regard to direction, and also supports excluding cycles in paths.SHOW HOSTS graph/meta/storage
supports to retrieve the basic information of graphd/metad/storaged hosts.vertexID
must be specified when creating a graph space.FETCH PROP ON
returns a composite object if not specify the result set.metad
, graphd
, and storaged
.Supports local commands mode. :set csv
outputs the query results to the console and the specified CSV file. For more information, please refer to https://github.com/vesoft-inc/nebula-console.
Support connection pool and load balance.
With Studio, you can create a graph schema, load data, execute nGQL statements, and explore graphs in one stop. For more information, please refer to https://github.com/vesoft-inc/nebula-web-docker.
Integer
vertexID support #496 https://github.com/vesoft-inc/nebula-common/pull/351, https://github.com/vesoft-inc/nebula-storage/pull/246, https://github.com/vesoft-inc/nebula-docs/pull/264
FIND PATH
supports to find paths with or without regard to direction #464, and also supports to exclude cycles in paths #461.SHOW HOSTS graph/meta/storage
supports to retrieve the basic information of graphd/metad/storaged hosts. https://github.com/vesoft-inc/nebula-graph/pull/437 https://github.com/vesoft-inc/nebula-common/pull/325 https://github.com/vesoft-inc/nebula-storage/pull/223
BALANCE DATA RESET PLAN
supports resetting the last failed plan https://github.com/vesoft-inc/nebula-common/pull/342 https://github.com/vesoft-inc/nebula-storage/pull/232.MATCH
clause support, for more information please visit Match doc.metad
, graphd
, storaged
. #474, https://github.com/vesoft-inc/nebula-storage/pull/239
Note: Schema & data are not compatible with 1.0 yet. Still working on the compatibility.
DESCRIBE TAG/EDGE INDEX
is to obtain information about the index.REBUILD TAG/EDGE INDEX
is to rebuild an index. SHOW TAG/EDGE INDEXES
is to list the created indexes.SHOW TAG/EDGE INDEXES STATUS
is to return the created index status.LOOKUP ON TAG/EDGE
is to get all vertices of a tag or edges of an edge type.SUBMIT JOB STATS
& SHOW STATS
is to get all vertices and edges in the current space.MATCH
clauseRETURN
& DISTINCT
LIMIT
& SKIP
Note: Schema & data are not compatible with 1.0 yet. Still working on the compatibility.
NULL
, the property for vertices or edges can be set to NULL
. NOT NULL
constraint is supported to ensure the property values are not NULL.DATE
and DATETIME
.size()
returns the number of items in a listtime()
returns the current Timedate()
or datetime()
Returns the current Date or DateTimeid()
returns the id of a vertextags()
and labels()
return the tags of the vertexcollect()
, an aggregation function, returns a list containing the values returned by an expressioncollect_set()
, aggregation function, returns a set containing the values returned by an expressionproperties()
returns a map containing all the properties of a vertex or an edgetype()
returns the edge type of an edgesrc()
returns the src id of an edgedst()
returns the dst id of an edgerank()
returns the rank of an edgeIN
checks if a specified value matches any value in a list.CONTAINS
performs a case-sensitive match regardless of location within a string.STARTS WITH
performs a case-sensitive match for the beginning of a string.ENDS WITH
performs a case-sensitive match for the ending of a string.EXPLAIN
displays the execution plan of a nGQL statement without executing the statement. PROFILE executes the statement, then outputs the execution plan as well as the execution profile.GET SUBGRAPH
statement retrieves information of vertices and edges reachable from the start vertices over the specified edges to the maximum number of hops.MATCH
statement.DELETE
statement can have an input from the pipeline |
.CREATE SPACE
supports specifying the type of vertex ID. The type fixed_string
( int64
will be supported in the next release).UPDATE/UPSERT
statement.UPSERT ... SET
the unspecified properties will be set to the default value when inserting a new vertex/edge. If no default value is set, they will be set to NULL
. If the NOT NULL
constraint is set on the property, an error will return.$-
in the pipeline statement is not equal to $-.id
anymore.DESCRIBE TAG/EDGE INDEX
REBUILD TAG/EDGE INDEX
SHOW TAG/EDGE INDEXES
SHOW TAG/EDGE INDEX STATUS
FETCH PROP ON
multiple tags:set csv
outputs the query results to the console and the specified CSV file. For more information, please refer to nebula-console.Clients support connection pooling and load balancing. For more information, please refer to nebula-clients.