Questions tagged [dgraph]

Dgraph is a free, open source graph database that uses a customised version of graphql as a query language. DO NOT USE this tag for general graphql questions nor for other graph DBs.

Dgraph is an open source, scalable, distributed and highly available graph database. It's sharded storage and query processing were specifically designed to minimize the number of network calls. The database server and tools, written in go, are open-sourced and available under AGPL v3.0. The query language is named GraphQL+- and is based on Facebook’s GraphQL.

The clients communicate with the server using Protocol Buffers over gRPC. In the current version (v1.0.11), the available official clients are limited to the languages Go, Java, Javascript and Python.

For more information check following FAQ topics:

Useful links

Related Tags

106 questions
1
vote
0 answers

How to do Connection Pooling in Dgraph Java client?

I am a newbie to Dgraph and I want to build an application (in Java) using Dgraph's Java Client. The DgraphJavaSample talks about creating a DgraphClient, like this: ManagedChannel channel = ManagedChannelBuilder.forAddress("localhost",…
himanshuIIITian
  • 5,985
  • 6
  • 50
  • 70
1
vote
1 answer

How can we use lagom's Read-side processor with Dgraph?

I am a newbie to lagom and dgraph. And I got stuck to how to use lagom's read-side processor with Dgraph. Just to give you an idea following is the code which uses Cassandra with lagom. import akka.NotUsed; import…
umang
  • 13
  • 2
1
vote
1 answer

Is there a direct way to upload files to an SSD Persistent Disk on Google Cloud?

My Kubernetes cluster is used for running my graph database (Dgraph). However, I have to load the initial dataset (1TB) that comes as different folders and files into Dgraph. I've processed the data locally and can now upload the files to my 6…
1
vote
2 answers

Can dgraph be used to model a street network?

is dgraph appropriate to model real world maps (street maps, indoor maps)? Let's assume you took complete Europe as map and model it as a dgraph. Then do tasks like route calculation, spatial queries ... . Will it perform well or will another data…
1
vote
1 answer

Oracle endeca partial update changes not reflecting in endeca ref app

I am trying to implement oracle endeca partial update . My changes are visible in the forge output file which is placed in the dgraph_input/updates directory but the change is not reflecting in the endeca reference app. Can anyone help me in this.…
user1858851
  • 127
  • 1
  • 1
  • 12
1
vote
1 answer

List all outgoing edges using GraphQL in DGraph

I have freebase dump in a distributed environment in Dgraph. I also have 4.5 Million node addresses and want to iterate over the edges of those nodes. I am using GraphQL. Can you point me in the right direction as to how I can (enumerate?) over the…
Karan_Saxena
  • 67
  • 10
0
votes
0 answers

Insert / Upsert using DQL with RDF format, escaping rules for
I am trying to understand which characters need to be escaped when performing an insert or upsert using the RDF syntax on Dgraph. When looking at the following: . I already understood the when using special characters…
Sam
  • 333
  • 3
  • 16
0
votes
0 answers

Dgraph deployed using helm chart not working as expected in K8s

We have deployed the latest version of Dgraph cluster using Helm chart. We are able to open the ratel UI. But the ACL function is not available for us. We also tried the ACL helm method mention in this…
Kunal
  • 5
  • 1
0
votes
2 answers

DGraph: @auth directive not enforced properly?

I am currently trying out DGraph on a free cloud instance for some side project, and after creating the schema, I added an @auth directive, together with the necessary config as can be seen in the docs: type Device @auth(query: {rule: "query ($ID:…
leonhma
  • 110
  • 9
0
votes
1 answer

how to reflect the changes in a docker volume after modifiying my code

first off english is not my first language so sorry for any mispelling mistakes i am not very experienced using docker and i am having a ton of problems while triying to run my code. i am trying to make a web app but i need to rebuild the image from…
0
votes
0 answers

How do I implement a weighted edge graph using GraphQL?

I'm building a system that analyses sentences and stores the frequency that words follow one another. The idea is that after analysing the following sentences: what is the time the time is 4pm The database would contain: [start of sentence]:…
0
votes
1 answer

Check if a field is undefined in DGraph query

I want to get only the nodes if one certain predicate is undefined. Golang default values don't get stored as of now, and changing the current DGraph configuration would be pretty difficult. I could filter them in the code afterwards, but I would…
Dennis Gloss
  • 2,307
  • 4
  • 21
  • 27
0
votes
1 answer

Unable to Run Query with Cascade after Version upgrade from 20.07.2 to 20.07.3

We are new to the dgraph database. After Upgrading the server we are unable to run the below query with the cascade option `query get_tenantlevel_data($tenantuid:string){ get_tenantlevel_data(func:…
0
votes
1 answer

How to do nested query filtering in graph

I have some movie data in my Dgraph [ { name: movie1 release: 2016 mainActor: { uid: 0x12 name: actor1 birth: 1990 } }, { name: movie2 release: 2017 …
0
votes
1 answer

How to use Apollo Studio to explore Dgraph

I've setup a Dgraph using the docker version. I'm currently able to manipulate the schema and query the graph using Ratel (dgraphs' official tooling); but I want to be able to connect to my graph using Apollo Studio. I tried http://localhost:8080…
behnam-io
  • 31
  • 1
  • 5