https://www.jianshu.com/p/99c652ade4e7

 

 

CALL db.labels() YIELD label

 

RETURN {name:'labels', data:COLLECT(label)[..1000]} as result

UNION ALL

CALL db.relationshipTypes() YIELD relationshipType

RETURN {name:'relationshipTypes', data:COLLECT(relationshipType)[..1000]} as result

UNION ALL

CALL db.propertyKeys() YIELD propertyKey

RETURN {name:'propertyKeys', data:COLLECT(propertyKey)[..1000]} as result

UNION ALL

CALL dbms.functions() YIELD name, signature, description

RETURN {name:'functions', data: collect({name: name, signature: signature, description: description})} AS result

UNION ALL

CALL dbms.procedures() YIELD name, signature, description

RETURN {name:'procedures', data:collect({name: name, signature: signature, description: description})} as result

UNION ALL

MATCH () RETURN { name:'nodes', data:count(*) } AS result

UNION ALL

MATCH ()-[]->() RETURN { name:'relationships', data: count(*)} AS result

 

CALL dbms.queryJmx("org.neo4j:instance=*,name=Kernel") yield attribut

es

RETURN {name: 'Kernel', data: collect(attributes)} as result

UNION ALL

CALL dbms.queryJmx("org.neo4j:instance=*,name=Store file sizes") yield attributes

RETURN {name: 'Store file sizes', data: collect(attributes)} as result

UNION ALL

CALL dbms.queryJmx("org.neo4j:instance=*,name=Configuration") yield attributes

RETURN {name: 'Configuration', data: collect(attributes)} as result

 

CALL dbms.queryJmx("org.neo4j:instance=*,name=Kernel") yield attributes

RETURN {name: 'Kernel', data: collect(attributes)} as result

UNION ALL

CALL dbms.queryJmx("org.neo4j:instance=*,name=Store file sizes") yield attributes

RETURN {name: 'Store file sizes', data: collect(attributes)} as result

UNION ALL

CALL dbms.queryJmx("org.neo4j:instance=*,name=Configuration") yield attributes

RETURN {name: 'Configuration', data: collect(attributes)} as result

Logo

一站式 AI 云服务平台

更多推荐