If I install TG on a single machine, it becomes a cluster of 1 node. I am considering adding DISTRIBUTED keywords to all queries so that my queries can run on a cluster of 1 or cluster of many nodes without any changes. Are there any downsides of doing this assuming I have the cluster just for myself and for the queries I am running at all times?
In general, Distributed Query Mode is likely to improve the performance of a query if the query:
- Starts at a very large set of starting point vertices.
- Performs many hops.
If it’s neither of these cases, it will potentially run faster and allow for more concurrent users if it’s not distributed.